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
using
Uint
=
unsigned
int;
5
6
struct
Color
7
{
8
unsigned
short
r
,
v
,
b
;
9
};
10
11
extern
const
Color
BLACK
;
12
extern
const
Color
WHITE
;
13
extern
const
Color
RED
;
14
extern
const
Color
BLUE
;
15
extern
const
Color
GREEN
;
16
extern
const
Color
YELLOW
;
17
extern
const
Color
ORANGE
;
18
extern
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 */
VIOLET
const Color VIOLET
Definition:
graphic.cpp:10
Uint
unsigned int Uint
Definition:
graphic.h:4
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:7
Color::b
unsigned short b
Definition:
graphic.h:8
Color::v
unsigned short v
Definition:
graphic.h:8
Color::r
unsigned short r
Definition:
graphic.h:8
Generated on Sun Dec 14 2025 03:16:47 for MythTV by
1.9.4