Skip to content

Commit

Permalink
Sync SDL3_ttf header -> wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed Jan 24, 2025
1 parent 5f4341b commit c05a944
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SDL3_ttf/TTF_AppendTextString.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ bool TTF_AppendTextString(TTF_Text *text, const char *string, size_t length);
(bool) Returns true on success or false on failure; call SDL_GetError() for
more information.
## Remarks
This function may cause the internal text representation to be rebuilt.
## Thread Safety
This function should be called on the thread that created the text.
Expand Down
4 changes: 4 additions & 0 deletions SDL3_ttf/TTF_DeleteTextString.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ bool TTF_DeleteTextString(TTF_Text *text, int offset, int length);
(bool) Returns true on success or false on failure; call SDL_GetError() for
more information.
## Remarks
This function may cause the internal text representation to be rebuilt.
## Thread Safety
This function should be called on the thread that created the text.
Expand Down
4 changes: 4 additions & 0 deletions SDL3_ttf/TTF_InsertTextString.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ bool TTF_InsertTextString(TTF_Text *text, int offset, const char *string, size_t
(bool) Returns true on success or false on failure; call SDL_GetError() for
more information.
## Remarks
This function may cause the internal text representation to be rebuilt.
## Thread Safety
This function should be called on the thread that created the text.
Expand Down
4 changes: 4 additions & 0 deletions SDL3_ttf/TTF_SetTextEngine.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ bool TTF_SetTextEngine(TTF_Text *text, TTF_TextEngine *engine);
(bool) Returns true on success or false on failure; call SDL_GetError() for
more information.
## Remarks
This function may cause the internal text representation to be rebuilt.
## Thread Safety
This function should be called on the thread that created the text.
Expand Down
2 changes: 2 additions & 0 deletions SDL3_ttf/TTF_SetTextFont.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ When a text object has a font, any changes to the font will automatically
regenerate the text. If you set the font to NULL, the text will continue to
render but changes to the font will no longer affect the text.
This function may cause the internal text representation to be rebuilt.
## Thread Safety
This function should be called on the thread that created the text.
Expand Down
2 changes: 2 additions & 0 deletions SDL3_ttf/TTF_SetTextPosition.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ bool TTF_SetTextPosition(TTF_Text *text, int x, int y);
This can be used to position multiple text objects within a single wrapping
text area.
This function may cause the internal text representation to be rebuilt.
## Thread Safety
This function should be called on the thread that created the text.
Expand Down
4 changes: 4 additions & 0 deletions SDL3_ttf/TTF_SetTextString.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ bool TTF_SetTextString(TTF_Text *text, const char *string, size_t length);
(bool) Returns true on success or false on failure; call SDL_GetError() for
more information.
## Remarks
This function may cause the internal text representation to be rebuilt.
## Thread Safety
This function should be called on the thread that created the text.
Expand Down
2 changes: 2 additions & 0 deletions SDL3_ttf/TTF_SetTextWrapWhitespaceVisible.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ alignment and wrapping. This is good for editing, but looks better when
centered or aligned if whitespace around line wrapping is hidden. This
defaults false.
This function may cause the internal text representation to be rebuilt.
## Thread Safety
This function should be called on the thread that created the text.
Expand Down
4 changes: 4 additions & 0 deletions SDL3_ttf/TTF_SetTextWrapWidth.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ bool TTF_SetTextWrapWidth(TTF_Text *text, int wrap_width);
(bool) Returns true on success or false on failure; call SDL_GetError() for
more information.
## Remarks
This function may cause the internal text representation to be rebuilt.
## Thread Safety
This function should be called on the thread that created the text.
Expand Down

0 comments on commit c05a944

Please sign in to comment.