Browse Source

engine: vgui: add EnableTextInput to the API

pull/2/head
Alibek Omarov 2 years ago
parent
commit
05016f8639
  1. 2
      engine/client/vgui/vgui_draw.c
  2. 2
      engine/vgui_api.h

2
engine/client/vgui/vgui_draw.c

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

2
engine/vgui_api.h

@ -180,7 +180,7 @@ typedef struct vguiapi_s @@ -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 );

Loading…
Cancel
Save