mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-04 11:25:58 -04:00
Specify default argument values, as per documentation
This commit is contained in:
parent
c9d26eaa18
commit
e439ce849c
@ -160,7 +160,7 @@ public:
|
|||||||
/// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC22
|
/// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC22
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
void SetStyle(int style);
|
void SetStyle(int style = TTF_STYLE_NORMAL);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Get the current outline size of the loaded font
|
/// \brief Get the current outline size of the loaded font
|
||||||
@ -185,7 +185,7 @@ public:
|
|||||||
/// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC24
|
/// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC24
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
void SetOutline(int outline);
|
void SetOutline(int outline = 0);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Get the current hinting setting of the loaded font
|
/// \brief Get the current hinting setting of the loaded font
|
||||||
@ -218,7 +218,7 @@ public:
|
|||||||
/// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC26
|
/// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC26
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
void SetHinting(int hinting);
|
void SetHinting(int hinting = TTF_HINTING_NORMAL);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Get the current kerning setting of the loaded font
|
/// \brief Get the current kerning setting of the loaded font
|
||||||
@ -247,7 +247,7 @@ public:
|
|||||||
/// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC28
|
/// \see https://www.libsdl.org/projects/SDL_ttf/docs/SDL_ttf.html#SEC28
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
void SetKerning(bool allowed);
|
void SetKerning(bool allowed = true);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Get the maximum pixel height of all glyphs of the loaded font
|
/// \brief Get the maximum pixel height of all glyphs of the loaded font
|
||||||
|
Loading…
x
Reference in New Issue
Block a user