mirror of
https://github.com/SFML/SFML.git
synced 2024-11-29 06:41:05 +08:00
Fixed a few glitches in the documentation
This commit is contained in:
parent
b868833191
commit
49f2a76d93
@ -247,7 +247,7 @@ private :
|
|||||||
/// consumed; it fills it again and inserts it back into the
|
/// consumed; it fills it again and inserts it back into the
|
||||||
/// playing queue.
|
/// playing queue.
|
||||||
///
|
///
|
||||||
/// \param buffer Number of the buffer to fill (in [0, BufferCount])
|
/// \param bufferNum Number of the buffer to fill (in [0, BufferCount])
|
||||||
///
|
///
|
||||||
/// \return True if the stream source has requested to stop, false otherwise
|
/// \return True if the stream source has requested to stop, false otherwise
|
||||||
///
|
///
|
||||||
|
@ -478,7 +478,7 @@ private :
|
|||||||
/// accordingly.
|
/// accordingly.
|
||||||
/// The returned size is greater than or equal to the original size.
|
/// The returned size is greater than or equal to the original size.
|
||||||
///
|
///
|
||||||
/// \param Size size to convert
|
/// \param size size to convert
|
||||||
///
|
///
|
||||||
/// \return Valid nearest size (greater than or equal to specified size)
|
/// \return Valid nearest size (greater than or equal to specified size)
|
||||||
///
|
///
|
||||||
|
@ -94,7 +94,7 @@ public :
|
|||||||
bool loadImageFromStream(InputStream& stream, std::vector<Uint8>& pixels, Vector2u& size);
|
bool loadImageFromStream(InputStream& stream, std::vector<Uint8>& pixels, Vector2u& size);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \bref Save an array of pixels as an image file
|
/// \brief Save an array of pixels as an image file
|
||||||
///
|
///
|
||||||
/// \param filename Path of image file to save
|
/// \param filename Path of image file to save
|
||||||
/// \param pixels Array of pixels to save to image
|
/// \param pixels Array of pixels to save to image
|
||||||
|
@ -137,7 +137,7 @@ namespace sf {
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Compute the position of the cursor
|
/// \brief Compute the position of the cursor
|
||||||
///
|
///
|
||||||
/// \param eventOrNil
|
/// \param eventOrNil if nil the cursor position is the current one
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
-(NSPoint)cursorPositionFromEvent:(NSEvent*)eventOrNil;
|
-(NSPoint)cursorPositionFromEvent:(NSEvent*)eventOrNil;
|
||||||
|
Loading…
Reference in New Issue
Block a user