This category contains functions for reading/writing clipboard data.
More...
This category contains functions for reading/writing clipboard data.
◆ fplGetClipboardText()
fpl_platform_api bool fplGetClipboardText |
( |
char * |
dest, |
|
|
const uint32_t |
maxDestLen |
|
) |
| |
Retrieves the current clipboard text.
- Parameters
-
dest | The destination string buffer to write the clipboard text into. |
maxDestLen | The total number of characters available in the destination buffer. |
- Returns
- Returns true when the clipboard contained text which is copied into the dest buffer, fpl_null otherwise.
◆ fplSetClipboardText()
Overwrites the current clipboard text with the given one.
- Parameters
-
text | The new clipboard string. |
- Returns
- Returns true when the text in the clipboard was changed, false otherwise.