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