FreeWRL/FreeX3D  3.0.0
CursorDraw.h
1 /*
2 
3 
4 UI declarations.
5 
6 */
7 
8 /****************************************************************************
9  This file is part of the FreeWRL/FreeX3D Distribution.
10 
11  Copyright 2009 CRC Canada. (http://www.crc.gc.ca)
12 
13  FreeWRL/FreeX3D is free software: you can redistribute it and/or modify
14  it under the terms of the GNU Lesser Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  FreeWRL/FreeX3D is distributed in the hope that it will be useful,
19  but WITHOUT ANY WARRANTY; without even the implied warranty of
20  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  GNU General Public License for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with FreeWRL/FreeX3D. If not, see <http://www.gnu.org/licenses/>.
25 ****************************************************************************/
26 
27 #ifndef __FREEWRL_CURSORDRAW_UI_H__
28 #define __FREEWRL_CURSORDRAW_UI_H__
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 void cursorDraw(int ID, int x, int y, float angle);
35 void fiducialDraw(int ID, int x, int y, float angle);
36 void fiducialDrawB(int cursortype, int x, int y);
37 enum cursor_type {
38  CURSOR_UP = 0,
39  CURSOR_DOWN,
40  CURSOR_HOVER,
41  CURSOR_OVER,
42  CURSOR_FIDUCIALS
43 };
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif /* __FREEWRL_CURSURDRAW_UI_H__ */
49