32 #include "Portability.h" 33 #include "StringRef.h" 40 #ifndef DOXYGEN_SHOULD_SKIP_THIS 57 #ifndef DOXYGEN_SHOULD_SKIP_THIS 61 struct EnableBitmaskOperators<WindowHints> {
62 static constexpr
bool value =
true;
166 void setPosition(
Vector2i position);
191 Vector2i getFramebufferSize()
const;
198 void setFullscreen(
bool full =
true);
203 void toggleFullscreen();
211 return m_isFullscreen;
226 bool isMinimized()
const;
245 bool isMaximized()
const;
257 bool isVisible()
const;
279 void setVisible(
bool visible =
true);
286 bool isDecorated()
const;
294 void setDecorated(
bool decorated =
true);
301 bool isFocused()
const;
308 bool isResizable()
const;
318 void setResizable(
bool resizable =
true);
349 bool pollEvent(
Event& event);
375 bool waitEvent(
Event& event);
395 void setVerticalSyncEnabled(
bool enabled);
403 bool isVerticalSyncEnabled()
const;
414 void setFramerateLimit(
unsigned int limit);
442 void setMouseCursorVisible(
bool visible);
456 void setMouseCursorGrabbed(
bool grabbed);
468 void setMouseCursor(
const Cursor& cursor);
477 SDL_Window *m_window;
489 #ifndef DOXYGEN_SHOULD_SKIP_THIS 495 #endif // GL_WINDOW_H
bool isFullscreen() const
Check if the window is fullscreen or not.
Definition: Window.h:210
Bitfield relying on an enumeration.
Definition: Flags.h:46
constexpr AllType All
Constant to represent "all".
Definition: Types.h:61
WindowHints
Hints for window creation.
Definition: Window.h:51
The cell is visible (computed by FoV)
Represents a time value.
Definition: Time.h:65
The namespace for gf classes.
Definition: Action.h:35
A class to represent the library.
Definition: Library.h:44
An OS window.
Definition: Window.h:81
A constant reference to a string and its size.
Definition: StringRef.h:41
A mouse cursor.
Definition: Cursor.h:62
Defines a system event and its parameters.
Definition: Event.h:97
Utility class that measures the elapsed time.
Definition: Clock.h:61
An event is pending on the sockets.
Definition: SocketSelector.h:47