Subversion Repositories Kolibri OS

Rev

Rev 7995 | Rev 9439 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7995 Rev 8381
Line 8... Line 8...
8
#define ENTRY_POINT #main
8
#define ENTRY_POINT #main
Line 9... Line 9...
9
 
9
 
10
#include "..\lib\gui.h"
10
#include "..\lib\gui.h"
Line 11... Line -...
11
#include "..\lib\random.h"
-
 
12
 
11
#include "..\lib\random.h"
Line 13... Line 12...
13
#include "..\lib\obj\libio.h"
12
 
14
#include "..\lib\obj\libimg.h"
13
#include "..\lib\obj\libimg.h"
15
 
14
 
Line 43... Line 42...
43
int count;
42
int count;
Line 44... Line 43...
44
 
43
 
45
void main()
44
void main()
46
{   
45
{   
47
	dword id;
-
 
48
	load_dll(libio,  #libio_init,1);
46
	dword id;
Line 49... Line 47...
49
	load_dll(libimg, #libimg_init,1);
47
	load_dll(libimg, #libimg_init,1);
Line 50... Line 48...
50
 
48
 
Line 155... Line 153...
155
			DrawBar(xx + 3, yy + 3, CELL_SIZE-5, CELL_SIZE-5, 0xFFFfff);//background
153
			DrawBar(xx + 3, yy + 3, CELL_SIZE-5, CELL_SIZE-5, 0xFFFfff);//background
156
			BREAK;
154
			BREAK;
157
		case BTN_OPEN:
155
		case BTN_OPEN:
158
			DrawBar(xx+1, yy+1, CELL_SIZE-1, CELL_SIZE-1, 0xFFFfff);//background
156
			DrawBar(xx+1, yy+1, CELL_SIZE-1, CELL_SIZE-1, 0xFFFfff);//background
159
	}
157
	}
160
	DrawIcon32(xx+6, yy+6, 0xFFFfff, bitpict[id]);
158
	DrawIcon32(xx+6, yy+6, 0xFFFfff, bitpict[id]+51); //skip first 51 icons as they are boring for game
161
}
159
}
Line 162... Line 160...
162
 
160
 
163
void Draw_Panel()
161
void Draw_Panel()
164
{
162
{