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_GetColor,
VGUI_IsInGame,
NULL,
Key_EnableTextInput,
VGUI_GetMousePos,
VGUI_UtfProcessChar,
Platform_GetClipboardText,

View File

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