|
| Window ()=default |
|
| Window (const Window &)=delete |
|
| Window (Window &&)=delete |
|
Window & | operator= (const Window &)=delete |
|
Window & | operator= (Window &&)=delete |
|
virtual | ~Window ()=default |
|
virtual bool | beginFrame (const lug::System::Time &elapsedTime)=0 |
|
virtual bool | endFrame ()=0 |
|
| Window (const Window &)=delete |
|
| Window (Window &&)=delete |
|
Window & | operator= (const Window &)=delete |
|
Window & | operator= (Window &&)=delete |
|
bool | isOpen () const |
| Determines if the window is open. More...
|
|
virtual bool | pollEvent (lug::Window::Event &event) |
| Checks if an event is available from the window implementation, and fill it in the event parameter. More...
|
|
void | close () |
| Close the window gracefully. More...
|
|
void | setKeyRepeat (bool state) |
| Enables or disables key repeat. More...
|
|
bool | isKeyPressed (Keyboard::Key key) const |
| Determines if a key pressed. More...
|
|
bool | isMousePressed (Mouse::Button button) const |
| Determines if a mouse button pressed. More...
|
|
const Math::Vec2i & | getMousePos () const |
| Retrieves the mouses position. More...
|
|
void | setMousePos (const Math::Vec2i &mousePosition) |
| Sets the mouse position. More...
|
|
Math::Vec2i | getWindowSize () const |
| Gets the window size. More...
|
|
void | setMouseCursorVisible (bool visible) |
| Sets the visibility of the mouse cursor (hide/show) More...
|
|
| Target ()=default |
|
| Target (const Target &)=delete |
|
| Target (Target &&)=delete |
|
Target & | operator= (const Target &)=delete |
|
Target & | operator= (Target &&)=delete |
|
virtual | ~Target ()=default |
|
virtual View * | createView (View::InitInfo &initInfo)=0 |
|
virtual bool | render ()=0 |
|
virtual uint16_t | getWidth () const =0 |
|
virtual uint16_t | getHeight () const =0 |
|
const std::vector< std::unique_ptr< View > > & | getRenderViews () const |
|
std::vector< std::unique_ptr< View > > & | getRenderViews () |
|