Loading...
Searching...
No Matches
RenderWindow.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
76 RenderWindow(VideoMode mode, const String& title, Uint32 style = Style::Default, const ContextSettings& settings = ContextSettings());
RenderWindow(WindowHandle handle, const ContextSettings &settings=ContextSettings())
Construct the window from an existing control.
virtual bool isSrgb() const
Tell if the window will use sRGB encoding when drawing on it.
virtual Vector2u getSize() const
Get the size of the rendering region of the window.
RenderWindow(VideoMode mode, const String &title, Uint32 style=Style::Default, const ContextSettings &settings=ContextSettings())
Construct a new window.
bool setActive(bool active=true)
Activate or deactivate the window as the current target for OpenGL rendering.
Utility string class that automatically handles conversions between types and encodings.
Definition String.hpp:46
platform specific WindowHandle
Define a low-level window handle type, specific to each platform.
Definition WindowHandle.hpp:68
Definition AlResource.hpp:35
Structure defining the settings of the OpenGL context attached to a window.
Definition ContextSettings.hpp:38