mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Minor documentation fixes
This commit is contained in:
parent
7a1f6d8f0d
commit
da2b2441f3
@ -1,6 +1,6 @@
|
||||
/*
|
||||
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
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
@ -45,10 +45,12 @@ class AudioSpec;
|
||||
class AudioDevice {
|
||||
public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \ingroup audio
|
||||
/// \headerfile SDL2pp/AudioDevice.hh
|
||||
/// \brief SDL2pp::AudioDevice lock
|
||||
///
|
||||
/// \ingroup audio
|
||||
///
|
||||
/// \headerfile SDL2pp/AudioDevice.hh
|
||||
///
|
||||
/// Audio devices may be locked, which means that audio
|
||||
/// callback will not be called in a locked state, allowing
|
||||
/// to change data it accesses in a thread-safe way.
|
||||
@ -101,7 +103,6 @@ public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Create no-op lock
|
||||
///
|
||||
/// \details
|
||||
/// This may be initialized with real lock later with move
|
||||
/// assignment operator
|
||||
///
|
||||
@ -111,7 +112,6 @@ public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Destructor
|
||||
///
|
||||
/// \details
|
||||
/// Releases the lock
|
||||
///
|
||||
/// \see http://wiki.libsdl.org/SDL_UnlockAudioDevice
|
||||
|
@ -55,9 +55,11 @@ private:
|
||||
public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief SDL2pp::Surface lock
|
||||
///
|
||||
/// \ingroup rendering
|
||||
///
|
||||
/// \details
|
||||
/// \headerfile SDL2pp/Surface.hh
|
||||
///
|
||||
/// For direct pixel access, SDL surface may need to be locked.
|
||||
/// This class represents the lock and controls its lifetime
|
||||
/// as the lock is released as soon as LockHandle is destroyed.
|
||||
@ -83,7 +85,6 @@ public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Create no-op lock
|
||||
///
|
||||
/// \details
|
||||
/// This may be initialized with real lock later with move
|
||||
/// assignment operator
|
||||
///
|
||||
@ -93,7 +94,6 @@ public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Destructor
|
||||
///
|
||||
/// \details
|
||||
/// Releases the lock
|
||||
///
|
||||
/// \see http://wiki.libsdl.org/SDL_UnlockSurface
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
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
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
@ -55,9 +55,11 @@ private:
|
||||
public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief SDL2pp::Texture lock
|
||||
///
|
||||
/// \ingroup rendering
|
||||
///
|
||||
/// \details
|
||||
/// \headerfile SDL2pp/Texture.hh
|
||||
///
|
||||
/// Textures with SDL_TEXTUREACCESS_STREAMING access mode may
|
||||
/// be locked, which provides (writeonly) access to their raw
|
||||
/// pixel data. This may be used to update texture contents.
|
||||
@ -113,7 +115,6 @@ public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Create no-op lock
|
||||
///
|
||||
/// \details
|
||||
/// This may be initialized with real lock later with move
|
||||
/// assignment operator
|
||||
///
|
||||
@ -123,7 +124,6 @@ public:
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Destructor
|
||||
///
|
||||
/// \details
|
||||
/// Releases the lock
|
||||
///
|
||||
/// \see http://wiki.libsdl.org/SDL_UnlockTexture
|
||||
|
Loading…
x
Reference in New Issue
Block a user