Browse Source

vgui_support: added VGUI_TextInput callback stub

pull/2/head
SNMetamorph 2 years ago committed by a1batross
parent
commit
974f0787a4
  1. 5
      vgui_support/vgui_input.cpp
  2. 1
      vgui_support/vgui_int.cpp
  3. 2
      vgui_support/vgui_main.h

5
vgui_support/vgui_input.cpp

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

1
vgui_support/vgui_int.cpp

@ -119,4 +119,5 @@ extern "C" EXPORT void InitAPI(vguiapi_t * api) @@ -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;
}

2
vgui_support/vgui_main.h

@ -140,6 +140,8 @@ void VGui_Paint( void ); @@ -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
//

Loading…
Cancel
Save