engine: client: vgui: added VGui_UpdateInternalCursorState function
This commit is contained in:
parent
c1fe547925
commit
8cbe0e5b30
2 changed files with 5 additions and 4 deletions
|
@ -51,11 +51,7 @@ void GAME_EXPORT VGUI_GetMousePos( int *_x, int *_y )
|
|||
void GAME_EXPORT VGUI_CursorSelect( VGUI_DefaultCursor cursor )
|
||||
{
|
||||
if( s_currentCursor != cursor )
|
||||
{
|
||||
Platform_SetCursorType( cursor );
|
||||
|
||||
s_currentCursor = cursor;
|
||||
}
|
||||
}
|
||||
|
||||
byte GAME_EXPORT VGUI_GetColor( int i, int j)
|
||||
|
@ -488,6 +484,10 @@ void VGui_RunFrame( void )
|
|||
//stub
|
||||
}
|
||||
|
||||
void VGui_UpdateInternalCursorState( VGUI_DefaultCursor cursorType )
|
||||
{
|
||||
s_currentCursor = cursorType;
|
||||
}
|
||||
|
||||
void *GAME_EXPORT VGui_GetPanel( void )
|
||||
{
|
||||
|
|
|
@ -36,6 +36,7 @@ void VGui_MouseMove( int x, int y );
|
|||
qboolean VGui_IsActive( void );
|
||||
void *VGui_GetPanel( void );
|
||||
void VGui_ReportTextInput( const char *text );
|
||||
void VGui_UpdateInternalCursorState( VGUI_DefaultCursor cursorType );
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue