equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
2 |
2 |
3 #ifndef GFX_H |
3 #ifndef GFX_H |
4 #define GFX_H |
4 #define GFX_H |
5 |
5 |
|
6 #include "misc/rect.hpp" |
6 |
7 |
7 enum WindowKeyCodes { |
8 enum WindowKeyCodes { |
8 WKC_SHIFT = 0x8000, |
9 WKC_SHIFT = 0x8000, |
9 WKC_CTRL = 0x4000, |
10 WKC_CTRL = 0x4000, |
10 WKC_ALT = 0x2000, |
11 WKC_ALT = 0x2000, |
88 |
89 |
89 void CreateConsole(void); |
90 void CreateConsole(void); |
90 |
91 |
91 typedef int32 CursorID; |
92 typedef int32 CursorID; |
92 typedef byte Pixel; |
93 typedef byte Pixel; |
93 |
|
94 typedef struct Point { |
|
95 int x,y; |
|
96 } Point; |
|
97 |
94 |
98 typedef struct Rect { |
95 typedef struct Rect { |
99 int left,top,right,bottom; |
96 int left,top,right,bottom; |
100 } Rect; |
97 } Rect; |
101 |
98 |