FreeWRL/FreeX3D  3.0.0
statusbarStub.c
1 /*
2 
3 */
4 
5 /****************************************************************************
6  This file is part of the FreeWRL/FreeX3D Distribution.
7 
8  Copyright 2009 CRC Canada. (http://www.crc.gc.ca)
9 
10  FreeWRL/FreeX3D is free software: you can redistribute it and/or modify
11  it under the terms of the GNU Lesser Public License as published by
12  the Free Software Foundation, either version 3 of the License, or
13  (at your option) any later version.
14 
15  FreeWRL/FreeX3D is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with FreeWRL/FreeX3D. If not, see <http://www.gnu.org/licenses/>.
22 ****************************************************************************/
23 
24 #include <config.h>
25 
26 // OLD_IPHONE_AQUA #if !defined(AQUA)
27 #ifdef OLDCODE
28 void kill_status (void) {
29 }
30 void update_status(char* msg)
31 {
32 }
33 void hudSetConsoleMessage(char *buffer){}
34 void handleButtonOver(){}
35 void handleOptionPress(){}
36 void handleButtonPress(){}
37 
38 void setMenuButton_collision(int val){}
39 void setMenuButton_texSize(int size){}
40 void setMenuButton_headlight(int val){}
41 void setMenuButton_navModes(int type){}
42 int handleStatusbarHud(int mev, int* clipplane)
43 {return 0;}
44 #endif
45 void statusbar_init(struct tstatusbar *t){
46 }
47 void statusbar_set_window_size(int width, int height)
48 {
49  fwl_setScreenDim(width, height);
50 }
51 void statusbar_handle_mouse(int mev, int butnum, int mouseX, int mouseY)
52 {
53  fwl_handle_aqua(mev, butnum, mouseX, mouseY); /* ,gcWheelDelta); */
54 }
55 
56 void drawStatusBar()
57 {
58 }
59 
60 // OLD_IPHONE_AQUA #endif //AQUA