vgui_support: added VGUI_TextInput callback stub

This commit is contained in:
SNMetamorph 2022-04-27 22:39:15 +04:00 committed by a1batross
parent 87ceb0f9cb
commit 974f0787a4
3 changed files with 8 additions and 0 deletions

View File

@ -83,4 +83,9 @@ void VGUI_MouseMove(int x, int y)
return;
pApp->internalCursorMoved( x, y, surface );
}
void VGUI_TextInput(const char *text)
{
// stub
}
}

View File

@ -119,4 +119,5 @@ extern "C" EXPORT void InitAPI(vguiapi_t * api)
g_api->Mouse = VGUI_Mouse;
g_api->MouseMove = VGUI_MouseMove;
g_api->Key = VGUI_Key;
g_api->TextInput = VGUI_TextInput;
}

View File

@ -140,6 +140,8 @@ void VGui_Paint( void );
void VGUI_Mouse(VGUI_MouseAction action, int code);
void VGUI_Key(VGUI_KeyAction action, VGUI_KeyCode code);
void VGUI_MouseMove(int x, int y);
void VGUI_TextInput(const char *text);
//
// vgui_clip.cpp
//