engine: platform: updated clipboard read/write functions

This commit is contained in:
SNMetamorph
2022-04-22 21:28:19 +04:00
committed by a1batross
parent 5402e1a259
commit 15eb6808c4
3 changed files with 16 additions and 7 deletions

View File

@@ -80,8 +80,8 @@ void Platform_SetMousePos( int x, int y );
void Platform_PreCreateMove( void );
void Platform_MouseMove( float *x, float *y );
// Clipboard
void Platform_GetClipboardText( char *buffer, size_t size );
void Platform_SetClipboardText( const char *buffer, size_t size );
int Platform_GetClipboardText( char *buffer, size_t size );
void Platform_SetClipboardText( const char *buffer );
#if XASH_SDL == 12
#define SDL_SetWindowGrab( wnd, state ) SDL_WM_GrabInput( (state) )