From 70f05160c574a58f46ee476aec7e7880b99cedb1 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Thu, 27 Nov 2025 00:17:06 +0100 Subject: [PATCH] fixed examples --- examples/HelloAnimation/main.cpp | 2 +- examples/HelloUI/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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