Browse Source

Platform: doc++

pull/7/head
Vladimír Vondruš 13 years ago
parent
commit
027df55637
  1. 2
      src/Platform/GlutApplication.h
  2. 2
      src/Platform/Sdl2Application.h
  3. 2
      src/Platform/WindowlessGlxApplication.h

2
src/Platform/GlutApplication.h

@ -42,7 +42,7 @@ changing cursor and mouse tracking and warping.
@section GlutApplication-usage Usage @section GlutApplication-usage Usage
You need to implement at least drawEvent() and viewportEvent() to be able to You need to implement at least drawEvent() and viewportEvent() to be able to
draw on the screen. The subclass can be then used directly in `main()` - see draw on the screen. The subclass can be then used directly in `main()` -- see
convenience macro MAGNUM_GLUTAPPLICATION_MAIN(). convenience macro MAGNUM_GLUTAPPLICATION_MAIN().
@code @code
class MyApplication: public Magnum::Platform::GlutApplication { class MyApplication: public Magnum::Platform::GlutApplication {

2
src/Platform/Sdl2Application.h

@ -45,7 +45,7 @@ buffer. Supports keyboard and mouse handling.
@section Sdl2Application-usage Usage @section Sdl2Application-usage Usage
You need to implement at least drawEvent() and viewportEvent() to be able to You need to implement at least drawEvent() and viewportEvent() to be able to
draw on the screen. The subclass can be then used directly in `main()` - see draw on the screen. The subclass can be then used directly in `main()` -- see
convenience macro MAGNUM_SDL2APPLICATION_MAIN(). convenience macro MAGNUM_SDL2APPLICATION_MAIN().
@code @code
class MyApplication: public Magnum::Platform::Sdl2Application { class MyApplication: public Magnum::Platform::Sdl2Application {

2
src/Platform/WindowlessGlxApplication.h

@ -37,7 +37,7 @@ namespace Magnum { namespace Platform {
@section WindowlessGlxApplication-usage Usage @section WindowlessGlxApplication-usage Usage
Place your code into exec(). The subclass can be then used directly in Place your code into exec(). The subclass can be then used directly in
`main()` - see convenience macro MAGNUM_WINDOWLESSGLXAPPLICATION_MAIN(). `main()` -- see convenience macro MAGNUM_WINDOWLESSGLXAPPLICATION_MAIN().
@code @code
class MyApplication: public Magnum::Platform::WindowlessGlxApplication { class MyApplication: public Magnum::Platform::WindowlessGlxApplication {
// implement required methods... // implement required methods...

Loading…
Cancel
Save