32 #include "Portability.h" 33 #include "StringRef.h" 40 #ifndef DOXYGEN_SHOULD_SKIP_THIS 63 #ifndef DOXYGEN_SHOULD_SKIP_THIS 68 static constexpr
bool value =
true;
172 void setPosition(
Vector2i position);
197 Vector2u getFramebufferSize()
const;
204 void setFullscreen(
bool full =
true);
209 void toggleFullscreen();
217 return m_isFullscreen;
264 void setVisible(
bool visible =
true);
272 void setDecorated(
bool decorated =
true);
279 bool isFocused()
const;
286 bool isMinimized()
const;
293 bool isResizable()
const;
300 bool isVisible()
const;
307 bool isDecorated()
const;
337 bool pollEvent(
Event& event);
363 bool waitEvent(
Event& event);
383 void setVerticalSyncEnabled(
bool enabled);
391 bool isVerticalSyncEnabled()
const;
402 void setFramerateLimit(
unsigned int limit);
430 void setMouseCursorVisible(
bool visible);
444 void setMouseCursorGrabbed(
bool grabbed);
453 SDL_Window *m_window;
463 #ifndef DOXYGEN_SHOULD_SKIP_THIS 469 #endif // GL_WINDOW_H
bool isFullscreen() const
Check if the window is fullscreen or not.
Definition: Window.h:216
Bitfield relying on an enumeration.
Definition: Flags.h:68
constexpr AllType All
Constant to represent "all".
Definition: Types.h:61
WindowHints
Hints for window creation.
Definition: Window.h:51
Represents a time value.
Definition: Time.h:73
Flags< WindowHints > WindowFlags
Flags for window creation.
Definition: Window.h:62
The namespace for gf classes.
Definition: Action.h:34
A class to represent the library.
Definition: Library.h:44
An OS window.
Definition: Window.h:87
A constant reference to a string and its size.
Definition: StringRef.h:41
Defines a system event and its parameters.
Definition: Event.h:118
Utility class that measures the elapsed time.
Definition: Clock.h:67