The Game Engine
1
Main Page
Related Pages
Classes
Files
File List
File Members
Color.h
Go to the documentation of this file.
1
#ifndef __COLOR_H__
2
#define __COLOR_H__
3
#include <SDL/SDL.h>
4
#if defined(_WIN32)
5
#include <Windows.h>
6
#endif
7
#include <GL/gl.h>
8
//#include <GL/glu.h>
9
16
class
Color
17
{
18
public
:
19
Uint8
R
;
20
Uint8
G
;
21
Uint8
B
;
22
Uint8
A
;
23
24
static
const
Color
WHITE
;
25
29
SDL_Color
toSDLColor
();
30
34
GLfloat
getRed
();
35
39
GLfloat
getGreen
();
40
44
GLfloat
getBlue
();
45
49
GLfloat
getAlpha
();
50
51
protected
:
52
};
53
#endif
Color.h
Generated on Tue Apr 16 2013 02:32:41 for The Game Engine by
1.8.3.1