Browse Source

Platform: doc++

pull/300/head
Vladimír Vondruš 7 years ago
parent
commit
ed564b525e
  1. 6
      src/Magnum/Platform/GlfwApplication.h
  2. 8
      src/Magnum/Platform/Sdl2Application.h

6
src/Magnum/Platform/GlfwApplication.h

@ -587,7 +587,7 @@ CORRADE_ENUMSET_OPERATORS(GlfwApplication::Flags)
/** /**
@brief OpenGL context configuration @brief OpenGL context configuration
The created window is always with double-buffered OpenGL context. The created window is always with a double-buffered OpenGL context.
@note This function is available only if Magnum is compiled with @note This function is available only if Magnum is compiled with
@ref MAGNUM_TARGET_GL enabled (done by default). See @ref building-features @ref MAGNUM_TARGET_GL enabled (done by default). See @ref building-features
@ -600,7 +600,7 @@ class GlfwApplication::GLConfiguration {
/** /**
* @brief Context flag * @brief Context flag
* *
* @see @ref Flags, @ref setFlags(), @ref Context::Flag * @see @ref Flags, @ref setFlags(), @ref GL::Context::Flag
*/ */
enum class Flag: UnsignedByte { enum class Flag: UnsignedByte {
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES
@ -631,7 +631,7 @@ class GlfwApplication::GLConfiguration {
/** /**
* @brief Context flags * @brief Context flags
* *
* @see @ref setFlags() * @see @ref setFlags(), @ref GL::Context::Flags
*/ */
typedef Containers::EnumSet<Flag> Flags; typedef Containers::EnumSet<Flag> Flags;

8
src/Magnum/Platform/Sdl2Application.h

@ -666,7 +666,7 @@ class Sdl2Application {
* zero vector, use @ref dpiScaling(const Configuration&) const for * zero vector, use @ref dpiScaling(const Configuration&) const for
* calculating a value independently. See @ref Platform-Sdl2Application-dpi * calculating a value independently. See @ref Platform-Sdl2Application-dpi
* for more information. * for more information.
* @see @ref Sdl2Application::dpiScaling(), @ref framebufferSize() * @see @ref framebufferSize()
*/ */
Vector2 dpiScaling() const { return _dpiScaling; } Vector2 dpiScaling() const { return _dpiScaling; }
@ -1023,7 +1023,7 @@ class Sdl2Application {
/** /**
@brief OpenGL context configuration @brief OpenGL context configuration
The created window is always with double-buffered OpenGL context. The created window is always with a double-buffered OpenGL context.
@note This function is available only if Magnum is compiled with @note This function is available only if Magnum is compiled with
@ref MAGNUM_TARGET_GL enabled (done by default). See @ref building-features @ref MAGNUM_TARGET_GL enabled (done by default). See @ref building-features
@ -1037,7 +1037,7 @@ class Sdl2Application::GLConfiguration {
/** /**
* @brief Context flag * @brief Context flag
* *
* @see @ref Flags, @ref setFlags(), @ref Context::Flag * @see @ref Flags, @ref setFlags(), @ref GL::Context::Flag
* @requires_gles Context flags are not available in WebGL. * @requires_gles Context flags are not available in WebGL.
*/ */
enum class Flag: int { enum class Flag: int {
@ -1064,7 +1064,7 @@ class Sdl2Application::GLConfiguration {
/** /**
* @brief Context flags * @brief Context flags
* *
* @see @ref setFlags(), @ref Context::Flags * @see @ref setFlags(), @ref GL::Context::Flags
* @requires_gles Context flags are not available in WebGL. * @requires_gles Context flags are not available in WebGL.
*/ */
#ifndef DOXYGEN_GENERATING_OUTPUT #ifndef DOXYGEN_GENERATING_OUTPUT

Loading…
Cancel
Save