|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
Platform-agnostic window wrapper. More...
#include <Window.hpp>
Inheritance diagram for MayaFlux::Core::Window:
Collaboration diagram for MayaFlux::Core::Window:Public Member Functions | |
| virtual | ~Window ()=default |
| virtual void | show ()=0 |
| Show the window. | |
| virtual void | hide ()=0 |
| Hide the window. | |
| virtual bool | should_close () const =0 |
| Poll for window events (non-blocking) | |
| virtual const WindowState & | get_state () const =0 |
| Get the current window state. | |
| virtual const WindowCreateInfo & | get_create_info () const =0 |
| virtual void | set_input_config (const InputConfig &config)=0 |
| Set input configuration (keyboard, mouse, cursor) | |
| virtual const InputConfig & | get_input_config () const =0 |
| Get current input configuration. | |
| virtual void | set_event_callback (WindowEventCallback callback)=0 |
| Set the callback function for window events. | |
| virtual void * | get_native_handle () const =0 |
| Get native window handle (platform-specific) | |
| virtual void * | get_native_display () const =0 |
| Get native display handle (platform-specific) | |
| virtual void | set_title (const std::string &title)=0 |
| Set window title, size, or position. | |
| virtual void | set_size (uint32_t width, uint32_t height)=0 |
| Resize the window. | |
| virtual void | set_position (uint32_t x, uint32_t y)=0 |
| Move the window to a new position. | |
| virtual Vruta::EventSource & | get_event_source ()=0 |
| Gets the event source for awaiting events. | |
| virtual const Vruta::EventSource & | get_event_source () const =0 |
| virtual bool | is_graphics_registered () const =0 |
| Check if window is registered with graphics subsystem. | |
| virtual void | set_graphics_registered (bool registered)=0 |
| Mark window as registered/unregistered with graphics Called by GraphicsSubsystem during register/unregister. | |
Platform-agnostic window wrapper.
Wraps a window (provided via a backend) and provides a unified interface for window management, event handling, and state tracking.
Definition at line 18 of file Window.hpp.