galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
WindowResized.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_EVENTS_WINDOWRESIZED_HPP_
9#define GALAXY_EVENTS_WINDOWRESIZED_HPP_
10
12
13namespace galaxy
14{
18 struct WindowResized final : public Event
19 {
26 WindowResized(const int width, const int height) noexcept;
27
31 int m_width = 0;
32
36 int m_height = 0;
37 };
38} // namespace galaxy
39
40#endif
Base type of all events.
Definition Event.hpp:17
Application.hpp galaxy.
New width and height of window being resized.
int m_height
New height of window.
int m_width
New width of window.
WindowResized(const int width, const int height) noexcept
Constructor.