MythTV  master
graphic.c
Go to the documentation of this file.
1 #include "graphic.h"
2 
3 const Color BLACK = { 0, 0, 0 };
4 const Color WHITE = { 0xff, 0xff, 0xff };
5 const Color RED = { 0xff, 0, 0 };
6 const Color GREEN = { 0, 0xff, 0 };
7 const Color BLUE = { 0, 0, 0xff };
8 const Color YELLOW = { 0xff, 0xff, 0x33 };
9 const Color ORANGE = { 0xff, 0xcc, 0x00 };
10 const Color VIOLET = { 0x55, 0x00, 0xff };
11 
12 unsigned int SIZE;
13 unsigned int HEIGHT;
14 unsigned int WIDTH;
15 
16 int *rand_tab = 0;
17 //unsigned short int rand_pos = 0;
18 /*
19 inline unsigned int RAND(void)
20 {
21  rand_pos++;
22  return rand_tab[rand_pos];
23 }
24 
25 inline unsigned int iRAND(int i)
26 {
27  rand_pos++;
28  return (rand_tab[rand_pos])%i;
29 }
30 */
unsigned int SIZE
Definition: graphic.c:12
const Color YELLOW
Definition: graphic.c:8
int * rand_tab
Definition: graphic.c:16
Definition: graphic.h:6
const Color BLACK
Definition: graphic.c:3
const Color RED
Definition: graphic.c:5
const Color BLUE
Definition: graphic.c:7
unsigned int HEIGHT
Definition: graphic.c:13
const Color VIOLET
Definition: graphic.c:10
unsigned int WIDTH
Definition: graphic.c:14
const Color WHITE
Definition: graphic.c:4
const Color ORANGE
Definition: graphic.c:9
const Color GREEN
Definition: graphic.c:6