diff options
| author | Ray <raysan5@gmail.com> | 2019-02-11 18:03:06 +0100 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2019-02-11 18:03:06 +0100 |
| commit | e996fe2ff511a60ac67b56996ac04a7e69fe8a69 (patch) | |
| tree | 40f9cb63ae5d1b99c4e5f213bf4c29282e6810ff /src/raylib.h | |
| parent | 6dbec4748858d84ecf48837270fb040c3de0aac8 (diff) | |
| download | raylib-e996fe2ff511a60ac67b56996ac04a7e69fe8a69.tar.gz raylib-e996fe2ff511a60ac67b56996ac04a7e69fe8a69.zip | |
ADDED: GetClipboardText(), SetClipboardText()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h index 7709b10f..f09a2a24 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -884,6 +884,8 @@ RLAPI int GetMonitorHeight(int monitor); // Get primary RLAPI int GetMonitorPhysicalWidth(int monitor); // Get primary monitor physical width in millimetres RLAPI int GetMonitorPhysicalHeight(int monitor); // Get primary monitor physical height in millimetres RLAPI const char *GetMonitorName(int monitor); // Get the human-readable, UTF-8 encoded name of the primary monitor +RLAPI const char *GetClipboardText(void); // Get clipboard text content +RLAPI void SetClipboardText(const char *text); // Set clipboard text content // Cursor-related functions RLAPI void ShowCursor(void); // Shows cursor @@ -1176,8 +1178,7 @@ RLAPI const char *TextSubtext(const char *text, int position, int length); RLAPI const char *TextReplace(char *text, const char *replace, const char *by); // Replace text string (memory should be freed!) RLAPI const char *TextInsert(const char *text, const char *insert, int position); // Insert text in a position (memory should be freed!) RLAPI const char *TextJoin(const char **textList, int count, const char *delimiter); // Join text strings with delimiter -RLAPI char **TextSplit(const char *text, char delimiter, int *count); // Split text into multiple strings (memory should be freed!) -RLAPI void TextSplitEx(const char *text, char delimiter, int *count, const char **ptrs, int *lengths); // Get pointers to substrings separated by delimiter +RLAPI const char **TextSplit(const char *text, char delimiter, int *count); // Split text into multiple strings RLAPI void TextAppend(char *text, const char *append, int *position); // Append text at specific position and move cursor! RLAPI int TextFindIndex(const char *text, const char *find); // Find first text occurrence within a string RLAPI const char *TextToUpper(const char *text); // Get upper case version of provided string |
