A window using the Wayland display server protocol. More...
Public Member Functions | |
| WindowWayland (std::string name, std::uint32_t width, std::uint32_t height) | |
| Constructs a Wayland window with a given name and size. | |
| ~WindowWayland () | |
| Destructor cleans up Wayland-specific window resources. | |
Public Member Functions inherited from Crafter::Window | |
| Window (std::string name, std::uint32_t width, std::uint32_t height) | |
| Constructs a Window with a given name and dimensions. | |
| ScaleData | ScaleElement (const UiElement &element) |
| Calculates the real position and size of an UiElement. | |
Additional Inherited Members | |
Public Attributes inherited from Crafter::Window | |
| Event< MousePoint > | onMouseRightClick |
| Event< MousePoint > | onMouseLeftClick |
| Event< MousePoint > | onMouseRightHold |
| Event< MousePoint > | onMouseLeftHold |
| Event< MousePoint > | onMouseRightRelease |
| Event< MousePoint > | onMouseLeftRelease |
| Event< MouseMoveEvent > | onMouseMove |
| Event< MouseMoveEvent > | onMouseEnter |
| Event< MouseMoveEvent > | onMouseLeave |
| Event< double > | onMouseScroll |
| Event< void > | onClose |
| MousePoint | currentMousePos |
| MousePoint | lastMousePos |
| MousePoint | mouseDelta |
| bool | mouseLeftHeld = false |
| bool | mouseRightHeld = false |
| bool | heldkeys [255] = {} |
| Event< void > | onKeyDown [255] |
| Event< void > | onKeyHold [255] |
| Event< void > | onKeyUp [255] |
| Event< char > | onAnyKeyDown |
| Event< char > | onAnyKeyHold |
| Event< char > | onAnyKeyUp |
| std::vector< UiElement > | elements |
| std::string | name |
| std::uint32_t | width |
| std::uint32_t | height |
| float | scale = 1 |
| bool | open = true |
A window using the Wayland display server protocol.
This class inherits from the base Window class and provides functionality specific to Wayland for creating and managing windows.