aboutsummaryrefslogtreecommitdiff
path: root/src/layout/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/mod.rs')
-rw-r--r--src/layout/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs
index bc5c8dcf..bbca41c9 100644
--- a/src/layout/mod.rs
+++ b/src/layout/mod.rs
@@ -95,6 +95,7 @@ pub trait LayoutElement {
renderer: &mut R,
location: Point<i32, Logical>,
scale: Scale<f64>,
+ alpha: f32,
) -> Vec<LayoutElementRenderElement<R>>;
fn request_size(&self, size: Size<i32, Logical>);
@@ -1856,6 +1857,7 @@ mod tests {
_renderer: &mut R,
_location: Point<i32, Logical>,
_scale: Scale<f64>,
+ _alpha: f32,
) -> Vec<LayoutElementRenderElement<R>> {
vec![]
}