28 #ifndef BERSERK_EVENTWINDOW_HPP
29 #define BERSERK_EVENTWINDOW_HPP
103 Size2i mFramebufferSize{};
#define BRK_NS_END
Definition: Config.hpp:48
#define BRK_API
Definition: Config.hpp:32
StringName based event type.
Event dispatched when window state changed.
Definition: EventWindow.hpp:48
BRK_API const Vec2f & GetPixelRatio() const
Definition: EventWindow.cpp:88
BRK_API void SetPixelRatio(const Vec2f &ratio)
Definition: EventWindow.cpp:60
BRK_API void SetFocus(bool focus)
Definition: EventWindow.cpp:64
BRK_API const Point2i & GetPosition() const
Definition: EventWindow.cpp:84
BRK_API void SetFramebufferSize(const Size2i &size)
Definition: EventWindow.cpp:52
BRK_API Type GetType() const
Definition: EventWindow.cpp:96
BRK_API ~EventWindow() override=default
BRK_API const Ref< Window > & GetWindow() const
Definition: EventWindow.cpp:72
BRK_API const Size2i & GetWindowSize() const
Definition: EventWindow.cpp:76
BRK_API void SetPosition(const Point2i &position)
Definition: EventWindow.cpp:56
BRK_API const Size2i & GetFramebufferSize() const
Definition: EventWindow.cpp:80
static BRK_API const EventType & GetEventTypeStatic()
Definition: EventWindow.cpp:38
BRK_API void SetWindow(Ref< Window > window)
Definition: EventWindow.cpp:43
BRK_API bool GetFocus() const
Definition: EventWindow.cpp:92
BRK_API void SetWindowSize(const Size2i &size)
Definition: EventWindow.cpp:48
BRK_API EventWindow()=default
BRK_API void SetType(Type type)
Definition: EventWindow.cpp:68
BRK_API const EventType & GetEventType() const override
Definition: EventWindow.cpp:34
Type
Definition: EventWindow.hpp:51
Base class for any engine event.
Definition: Event.hpp:56
Definition: GLDevice.cpp:46