1 /*
2 ===========================================================================
3 Copyright (C) 2013 - 2015, OpenJK contributors
4 
5 This file is part of the OpenJK source code.
6 
7 OpenJK is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License version 2 as
9 published by the Free Software Foundation.
10 
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, see <http://www.gnu.org/licenses/>.
18 ===========================================================================
19 */
20 
21 #pragma once
22 
23 void		UIVM_Init				( qboolean inGameLoad );
24 void		UIVM_Shutdown			( void );
25 void		UIVM_KeyEvent			( int key, qboolean down );
26 void		UIVM_MouseEvent			( int dx, int dy );
27 void		UIVM_Refresh			( int realtime );
28 qboolean	UIVM_IsFullscreen		( void );
29 void		UIVM_SetActiveMenu		( uiMenuCommand_t menu );
30 qboolean	UIVM_ConsoleCommand		( int realTime );
31 void		UIVM_DrawConnectScreen	( qboolean overlay );
32 
33 void CL_BindUI( void );
34 void CL_UnbindUI( void );
35