Class Window

Class Documentation

class sixtyfps::Window

This class represents a window towards the windowing system, that’s used to render the scene of a component. It provides API to control windowing system specific aspects such as the position on the screen.

Public Functions

Window(const Window &other) = delete
Window &operator=(const Window &other) = delete
Window(Window &&other) = delete
Window &operator=(Window &&other) = delete
~Window() = default

Destroys this window. Window instances are explicitly shared and reference counted. If this window instance is the last one referencing the window towards the windowing system, then it will also become hidden and destroyed.

inline void show()

Registers the window with the windowing system in order to make it visible on the screen.

inline void hide()

De-registers the window from the windowing system, therefore hiding it.