diff --git a/examples/HelloAnimation/main.cpp b/examples/HelloAnimation/main.cpp index 3a05e41..c4a0e99 100644 --- a/examples/HelloAnimation/main.cpp +++ b/examples/HelloAnimation/main.cpp @@ -7,7 +7,7 @@ int main() { WindowWayland window(1280, 720, "Hello Input!"); RenderingElementScaling element( - true, //opaque, wether the element is opague or semi-transparant + OpaqueType::FullyOpaque, //opaque, wether the element is opague or semi-transparant 2, //bufferWidth: the width of this elements pixel buffer 1, //bufferHeight: the height of this elements pixel buffer FractionalToMapped(0.5), //anchorX: relative position where this elements x anchor (top-left) is placed to its parent x anchor diff --git a/examples/HelloUI/main.cpp b/examples/HelloUI/main.cpp index 5f72961..6115476 100644 --- a/examples/HelloUI/main.cpp +++ b/examples/HelloUI/main.cpp @@ -7,7 +7,7 @@ int main() { WindowWayland window(1280, 720, "Hello Input!"); RenderingElement element( - true, + OpaqueType::FullyOpaque, 2, 1, FractionalToMapped(0.5), //anchorX: relative position where this elements x anchor (top-left) is placed to its parent x anchor