28 #ifndef BERSERK_WINDOW_HPP 
   29 #define BERSERK_WINDOW_HPP 
   67         return s[1] > 0 ? 
static_cast<float>(s[0]) / 
static_cast<float>(s[1]) : 1.0f;
 
#define BRK_NS_END
Definition: Config.hpp:48
 
#define BRK_API
Definition: Config.hpp:32
 
Reference counted base object.
Definition: RefCnt.hpp:52
 
Cached shared utf-8 string id.
Definition: StringName.hpp:61
 
Utf-8 encoded std based default string class.
 
Platform specific OS window for rendering.
Definition: Window.hpp:48
 
virtual BRK_API float GetAspectRatio() const
Definition: Window.hpp:65
 
virtual BRK_API Point2i GetPosition() const =0
 
virtual BRK_API bool IsClosed() const =0
 
BRK_API ~Window() override=default
 
virtual BRK_API Size2i GetSize() const =0
 
virtual BRK_API bool IsInFocus() const =0
 
virtual BRK_API String GetTitle() const =0
 
virtual BRK_API Vec2f GetPixelRatio() const =0
 
virtual BRK_API Size2i GetFramebufferSize() const =0
 
virtual BRK_API StringName GetName() const =0
 
Definition: GLDevice.cpp:46