2 {* Function prototypes *}
5 * \brief Put UTF-8 text into the clipboard
7 * \sa SDL_GetClipboardText()
9 function SDL_SetClipboardText(const text: PAnsiChar): Integer cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_SetClipboardText' {$ENDIF} {$ENDIF};
12 * \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free()
14 * \sa SDL_SetClipboardText()
16 function SDL_GetClipboardText(): PAnsiChar cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_GetClipboardText' {$ENDIF} {$ENDIF};
19 * \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty
21 * \sa SDL_GetClipboardText()
23 function SDL_HasClipboardText(): TSDL_Bool cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_HasClipboardText' {$ENDIF} {$ENDIF};