![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
New width and height of window being resized. More...
#include <WindowResized.hpp>
Inheritance diagram for galaxy::WindowResized:
Collaboration diagram for galaxy::WindowResized:Public Member Functions | |
| WindowResized (const int width, const int height) noexcept | |
| Constructor. | |
Public Member Functions inherited from galaxy::Event | |
| Event () noexcept | |
| Constructor. | |
| Event (Event &&) noexcept | |
| Move constructor. | |
| Event & | operator= (Event &&) noexcept |
| Move assignment operator. | |
| Event (const Event &) noexcept | |
| Copy constructor. | |
| Event & | operator= (const Event &) noexcept |
| Copy assignment operator. | |
| virtual | ~Event () noexcept |
| Destructor. | |
| void | consume () noexcept |
| Mark this event as consumed. | |
| bool | consumed () const noexcept |
| Is this event already consumed? | |
Public Attributes | |
| int | m_width = 0 |
| New width of window. | |
| int | m_height = 0 |
| New height of window. | |
Additional Inherited Members | |
Protected Attributes inherited from galaxy::Event | |
| bool | m_handled |
| Keeps track if event has been used already. | |
New width and height of window being resized.
Definition at line 18 of file WindowResized.hpp.
|
noexcept |
Constructor.
| width | New width of window. |
| height | New height of window. |
Definition at line 12 of file WindowResized.cpp.
| int galaxy::WindowResized::m_width = 0 |
New width of window.
Definition at line 31 of file WindowResized.hpp.
| int galaxy::WindowResized::m_height = 0 |
New height of window.
Definition at line 36 of file WindowResized.hpp.