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