class EE::Window::WindowSettings¶
Overview¶
WindowSettings A small class that contains the window settings. More…
#include <window.hpp> class WindowSettings { public: // fields Uint32 Style { WindowStyle::Default }; Uint32 Width { 800 }; Uint32 Height { 600 }; Uint32 BitsPerPixel { 32 }; std::string Icon; std::string Title; WindowBackend Backend { WindowBackend::Default }; Float PixelDensity { 1 }; bool UseScreenKeyboard { EE_SCREEN_KEYBOARD_ENABLED }; bool DisableHiDPI { false }; // construction WindowSettings( Uint32 width, Uint32 height, const std::string& title = std::string(), Uint32 style = WindowStyle::Default, WindowBackend backend = WindowBackend::Default, Uint32 bpp = 32, const std::string& icon = std::string(), const Float& pixelDensity = 1, const bool& useScreenKeyboard = EE_SCREEN_KEYBOARD_ENABLED, bool disableHiDPI = false ); WindowSettings(); };
Detailed Documentation¶
WindowSettings A small class that contains the window settings.
Fields¶
Uint32 Height { 600 }
In screen coordinates (pixels * scale)
Uint32 BitsPerPixel { 32 }
In screen coordinates (pixels * scale)