MythTV master
graphic.h
Go to the documentation of this file.
1#ifndef GRAPHIC_H
2#define GRAPHIC_H
3
4struct Color
5{
6 unsigned short r, v, b;
7};
8
9extern const Color BLACK;
10extern const Color WHITE;
11extern const Color RED;
12extern const Color BLUE;
13extern const Color GREEN;
14extern const Color YELLOW;
15extern const Color ORANGE;
16extern const Color VIOLET;
17
18//inline void setPixelRGB (unsigned int * buffer, unsigned int x, unsigned int y, Color c);
19//inline void getPixelRGB (unsigned int * buffer, unsigned int x, unsigned int y, Color * c);
20
21#endif /* GRAPHIC_H */
const Color VIOLET
Definition: graphic.cpp:10
const Color BLUE
Definition: graphic.cpp:7
const Color YELLOW
Definition: graphic.cpp:8
const Color RED
Definition: graphic.cpp:5
const Color WHITE
Definition: graphic.cpp:4
const Color ORANGE
Definition: graphic.cpp:9
const Color BLACK
Definition: graphic.cpp:3
const Color GREEN
Definition: graphic.cpp:6
Definition: graphic.h:5
unsigned short b
Definition: graphic.h:6
unsigned short v
Definition: graphic.h:6
unsigned short r
Definition: graphic.h:6