1 /////////////////////////////////////////
2 //
3 //   OpenLieroX
4 //
5 //   Primitives for Graphics User Interface
6 //
7 //   based on the work of JasonB
8 //   enhanced by Karel Petranek and Albert Zeyer
9 //
10 //   Created 12/08/08
11 //   By Karel Petranek
12 //
13 //   code under LGPL
14 //
15 /////////////////////////////////////////
16 
17 
18 
19 #ifndef __GUIPRIMITIVES_H__
20 #define __GUIPRIMITIVES_H__
21 
22 struct SDL_Surface;
23 #include "Color.h"
24 
25 enum ArrowDirection  {
26 	ardUp,
27 	ardDown,
28 	ardLeft,
29 	ardRight
30 };
31 
32 void DrawSimpleButton(SDL_Surface *bmpDest, int x, int y, int w, int h, Color face, Color light, Color dark, bool down);
33 void DrawArrow(SDL_Surface *bmpDest, int x, int y, int w, int h, ArrowDirection dir, Color col);
34 void DrawCheck(SDL_Surface *bmpDest, int x, int y, int w, int h, Color col);
35 
36 
37 #endif  // __GUIPRIMITIVES_H__
38