4 #ifndef _AXWIN_HEADER_H
\r
5 #define _AXWIN_HEADER_H
\r
7 #include <acess/sys.h>
\r
10 #define SCREEN_WIDTH 640
\r
11 #define SCREEN_HEIGHT 480
\r
12 #define SCREEN_PX_COUNT (SCREEN_WIDTH*SCREEN_HEIGHT)
\r
13 #define SCREEN_BUFFER_SIZE (SCREEN_WIDTH*SCREEN_HEIGHT*4)
\r
15 #define NULL ((void*)0)
\r
17 typedef uint32_t Uint32;
\r
18 typedef uint16_t Uint16;
\r
19 typedef uint8_t Uint8;
\r
22 extern Uint32 *gScreenBuffer;
\r
26 typedef struct sWINDOW{
\r
35 struct sWINDOW *next, *prev;
\r
36 struct sWINDOW *first_child, *last_child;
\r
37 struct sWINDOW *parent;
\r
43 extern void wmUpdateWindows();
\r
44 extern void memcpyd(void *to, void *from, int count);
\r
45 extern void draw_line(int x1, int y1, int x2, int y2, Uint32 colour);
\r
46 extern void draw_rect(int x, int y, int w, int h, Uint32 colour);
\r
47 extern void draw_bmp(BITMAP *bmp, RECT *rc);
\r