class
ConfigurationConfiguration.
Public functions
-
auto title() const -> Containers::
StringView - Window title.
-
auto setTitle(Containers::
StringView title) -> Configuration& - Set window title.
- auto size() const -> Vector2i
- Window size.
- auto setSize(const Vector2i& size) -> Configuration&
- Set window size.
Function documentation
Containers:: StringView Magnum:: Platform:: AbstractXApplication:: Configuration:: title() const
Window title.
The returned view is always Containers::
Configuration& Magnum:: Platform:: AbstractXApplication:: Configuration:: setTitle(Containers:: StringView title)
Set window title.
Returns | Reference to self (for method chaining) |
---|
Default is "Magnum X Application"
.
Configuration& Magnum:: Platform:: AbstractXApplication:: Configuration:: setSize(const Vector2i& size)
Set window size.
Returns | Reference to self (for method chaining) |
---|
Default is {800, 600}
.