Minor documentation fixes

This commit is contained in:
Dmitry Marakasov 2015-01-10 23:02:36 +03:00
parent 7a1f6d8f0d
commit da2b2441f3
3 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
/* /*
libSDL2pp - C++11 bindings/wrapper for SDL2 libSDL2pp - C++11 bindings/wrapper for SDL2
Copyright (C) 2014 Dmitry Marakasov <amdmi3@amdmi3.ru> Copyright (C) 2014-2015 Dmitry Marakasov <amdmi3@amdmi3.ru>
This software is provided 'as-is', without any express or implied This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages warranty. In no event will the authors be held liable for any damages
@ -45,10 +45,12 @@ class AudioSpec;
class AudioDevice { class AudioDevice {
public: public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \ingroup audio
/// \headerfile SDL2pp/AudioDevice.hh
/// \brief SDL2pp::AudioDevice lock /// \brief SDL2pp::AudioDevice lock
/// ///
/// \ingroup audio
///
/// \headerfile SDL2pp/AudioDevice.hh
///
/// Audio devices may be locked, which means that audio /// Audio devices may be locked, which means that audio
/// callback will not be called in a locked state, allowing /// callback will not be called in a locked state, allowing
/// to change data it accesses in a thread-safe way. /// to change data it accesses in a thread-safe way.
@ -101,7 +103,6 @@ public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Create no-op lock /// \brief Create no-op lock
/// ///
/// \details
/// This may be initialized with real lock later with move /// This may be initialized with real lock later with move
/// assignment operator /// assignment operator
/// ///
@ -111,7 +112,6 @@ public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Destructor /// \brief Destructor
/// ///
/// \details
/// Releases the lock /// Releases the lock
/// ///
/// \see http://wiki.libsdl.org/SDL_UnlockAudioDevice /// \see http://wiki.libsdl.org/SDL_UnlockAudioDevice

View File

@ -55,9 +55,11 @@ private:
public: public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief SDL2pp::Surface lock /// \brief SDL2pp::Surface lock
///
/// \ingroup rendering /// \ingroup rendering
/// ///
/// \details /// \headerfile SDL2pp/Surface.hh
///
/// For direct pixel access, SDL surface may need to be locked. /// For direct pixel access, SDL surface may need to be locked.
/// This class represents the lock and controls its lifetime /// This class represents the lock and controls its lifetime
/// as the lock is released as soon as LockHandle is destroyed. /// as the lock is released as soon as LockHandle is destroyed.
@ -83,7 +85,6 @@ public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Create no-op lock /// \brief Create no-op lock
/// ///
/// \details
/// This may be initialized with real lock later with move /// This may be initialized with real lock later with move
/// assignment operator /// assignment operator
/// ///
@ -93,7 +94,6 @@ public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Destructor /// \brief Destructor
/// ///
/// \details
/// Releases the lock /// Releases the lock
/// ///
/// \see http://wiki.libsdl.org/SDL_UnlockSurface /// \see http://wiki.libsdl.org/SDL_UnlockSurface

View File

@ -1,6 +1,6 @@
/* /*
libSDL2pp - C++11 bindings/wrapper for SDL2 libSDL2pp - C++11 bindings/wrapper for SDL2
Copyright (C) 2013-2014 Dmitry Marakasov <amdmi3@amdmi3.ru> Copyright (C) 2013-2015 Dmitry Marakasov <amdmi3@amdmi3.ru>
This software is provided 'as-is', without any express or implied This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages warranty. In no event will the authors be held liable for any damages
@ -55,9 +55,11 @@ private:
public: public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief SDL2pp::Texture lock /// \brief SDL2pp::Texture lock
///
/// \ingroup rendering /// \ingroup rendering
/// ///
/// \details /// \headerfile SDL2pp/Texture.hh
///
/// Textures with SDL_TEXTUREACCESS_STREAMING access mode may /// Textures with SDL_TEXTUREACCESS_STREAMING access mode may
/// be locked, which provides (writeonly) access to their raw /// be locked, which provides (writeonly) access to their raw
/// pixel data. This may be used to update texture contents. /// pixel data. This may be used to update texture contents.
@ -113,7 +115,6 @@ public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Create no-op lock /// \brief Create no-op lock
/// ///
/// \details
/// This may be initialized with real lock later with move /// This may be initialized with real lock later with move
/// assignment operator /// assignment operator
/// ///
@ -123,7 +124,6 @@ public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Destructor /// \brief Destructor
/// ///
/// \details
/// Releases the lock /// Releases the lock
/// ///
/// \see http://wiki.libsdl.org/SDL_UnlockTexture /// \see http://wiki.libsdl.org/SDL_UnlockTexture