2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 03:11:06 +01:00

engine: vgui: add EnableTextInput to the API

This commit is contained in:
Alibek Omarov 2023-02-06 16:40:36 +03:00
parent 12154de6f5
commit 05016f8639
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ static struct
VGUI_CursorSelect, VGUI_CursorSelect,
VGUI_GetColor, VGUI_GetColor,
VGUI_IsInGame, VGUI_IsInGame,
NULL, Key_EnableTextInput,
VGUI_GetMousePos, VGUI_GetMousePos,
VGUI_UtfProcessChar, VGUI_UtfProcessChar,
Platform_GetClipboardText, Platform_GetClipboardText,

View File

@ -180,7 +180,7 @@ typedef struct vguiapi_s
void (*CursorSelect)( VGUI_DefaultCursor cursor ); void (*CursorSelect)( VGUI_DefaultCursor cursor );
byte (*GetColor)( int i, int j ); byte (*GetColor)( int i, int j );
qboolean (*IsInGame)( void ); qboolean (*IsInGame)( void );
void (*Unused)( void ); void (*EnableTextInput)( qboolean enable, qboolean force );
void (*GetCursorPos)( int *x, int *y ); void (*GetCursorPos)( int *x, int *y );
int (*ProcessUtfChar)( int ch ); int (*ProcessUtfChar)( int ch );
int (*GetClipboardText)( char *buffer, size_t bufferSize ); int (*GetClipboardText)( char *buffer, size_t bufferSize );