Implement opacity window rule

This commit is contained in:
Ivan Molodetskikh
2024-03-24 08:30:26 +04:00
parent a16a0f0e52
commit 8b4a9d68e0
8 changed files with 34 additions and 5 deletions
+2
View File
@@ -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![]
}