Browse Source

Platform: doc++

pull/51/head
Vladimír Vondruš 13 years ago
parent
commit
e1e21bc9c5
  1. 9
      src/Platform/AbstractXApplication.h
  2. 2
      src/Platform/Sdl2Application.h

9
src/Platform/AbstractXApplication.h

@ -216,15 +216,10 @@ class AbstractXApplication::Configuration {
return *this; return *this;
} }
/** @brief Window size */ /** @copydoc GlutApplication::Configuration::size() */
Vector2i size() const { return _size; } Vector2i size() const { return _size; }
/** /** @copydoc GlutApplication::Configuration::setSize() */
* @brief Set window size
* @return Reference to self (for method chaining)
*
* Default is `{800, 600}`.
*/
Configuration& setSize(const Vector2i& size) { Configuration& setSize(const Vector2i& size) {
_size = size; _size = size;
return *this; return *this;

2
src/Platform/Sdl2Application.h

@ -397,7 +397,7 @@ class Sdl2Application::Configuration {
/** /**
* @brief Window title * @brief Window title
* *
* @note Not available in @ref CORRADE_TARGET_EMSCRIPTEN. * @note Not available in @ref CORRADE_TARGET_EMSCRIPTEN "Emscripten".
*/ */
std::string title() const { return _title; } std::string title() const { return _title; }
#endif #endif

Loading…
Cancel
Save