Magnum::Platform::AbstractXApplication::Configuration class

Configuration.

Contents

Public functions

auto title() const -> std::string
Window title.
auto setTitle(std::string title) -> Configuration&
Set window title.
auto size() const -> Vector2i
Window size.
auto setSize(const Vector2i& size) -> Configuration&
Set window size.

Function documentation

Configuration& Magnum::Platform::AbstractXApplication::Configuration::setTitle(std::string 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}.