Subversion Repositories programming

Rev

Rev 311 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 311 Rev 312
Line 7... Line 7...
7
#ifndef DRAW_H
7
#ifndef DRAW_H
8
#define DRAW_H
8
#define DRAW_H
9
 
9
 
10
#include <ggi/ggi.h>
10
#include <ggi/ggi.h>
11
 
11
 
-
 
12
#ifdef __cplusplus
-
 
13
extern "C"
-
 
14
{
-
 
15
#endif
-
 
16
 
12
/* Colors */
17
/* Colors */
13
#define BLACK   0
18
#define BLACK   0
14
#define AQUA    1
19
#define AQUA    1
15
#define BLUE    2
20
#define BLUE    2
16
#define FUCHSIA 3
21
#define FUCHSIA 3
Line 41... Line 46...
41
extern void draw_box (int x, int y, int width, int height, int color);
46
extern void draw_box (int x, int y, int width, int height, int color);
42
extern void draw_line (int x1, int y1, int x2, int y2, int color);
47
extern void draw_line (int x1, int y1, int x2, int y2, int color);
43
extern void draw_putc (int x, int y, char c, int color);
48
extern void draw_putc (int x, int y, char c, int color);
44
extern void draw_puts (int x, int y, const char *str, int color);
49
extern void draw_puts (int x, int y, const char *str, int color);
45
 
50
 
-
 
51
#ifdef __cplusplus
-
 
52
}
-
 
53
#endif
-
 
54
 
46
#endif
55
#endif
47
 
56