MythTV
master
mythtv
libs
libmythtv
visualisations
goom
graphic.h
Go to the documentation of this file.
1
#ifndef GRAPHIC_H
2
#define GRAPHIC_H
3
4
struct
Color
5
{
6
unsigned
short
r
,
v
,
b
;
7
};
8
9
extern
const
Color
BLACK
;
10
extern
const
Color
WHITE
;
11
extern
const
Color
RED
;
12
extern
const
Color
BLUE
;
13
extern
const
Color
GREEN
;
14
extern
const
Color
YELLOW
;
15
extern
const
Color
ORANGE
;
16
extern
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 */
VIOLET
const Color VIOLET
Definition:
graphic.cpp:10
BLUE
const Color BLUE
Definition:
graphic.cpp:7
YELLOW
const Color YELLOW
Definition:
graphic.cpp:8
RED
const Color RED
Definition:
graphic.cpp:5
WHITE
const Color WHITE
Definition:
graphic.cpp:4
ORANGE
const Color ORANGE
Definition:
graphic.cpp:9
BLACK
const Color BLACK
Definition:
graphic.cpp:3
GREEN
const Color GREEN
Definition:
graphic.cpp:6
Color
Definition:
graphic.h:5
Color::b
unsigned short b
Definition:
graphic.h:6
Color::v
unsigned short v
Definition:
graphic.h:6
Color::r
unsigned short r
Definition:
graphic.h:6
Generated on Thu May 21 2026 03:15:46 for MythTV by
1.9.4