mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: client: vgui: added VGui_UpdateInternalCursorState function
This commit is contained in:
parent
c1fe547925
commit
8cbe0e5b30
@ -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…
x
Reference in New Issue
Block a user