Subversion Repositories Kolibri OS

Rev

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

Rev 977 Rev 984
Line 1... Line 1...
1
#include "imgs\logo.txt"
1
#include "imgs\logo.txt"
Line 2... Line 2...
2
 
2
 
3
?define add_new_path 1
3
?define add_new_path 1
Line -... Line 4...
-
 
4
?define go_back 2
-
 
5
 
-
 
6
?define ONLY_SHOW	0
-
 
7
?define WITH_REDRAW	1
-
 
8
?define ONLY_OPEN	2
-
 
9
 
-
 
10
?define REDRAW	1
-
 
11
?define ANIM	2 
4
?define go_back 2
12
?define NOTIP	3
5
 
13
 
6
/*
14
/*
7
//IPC
15
//IPC
Line 39... Line 47...
39
		case evReDraw:
47
		case evReDraw:
40
			WindowRedrawStatus(1);
48
			WindowRedrawStatus(1);
41
			DefineAndDrawWindow(500,200,181,256,0x34,0x10EFEBEF,0,0,"About Eolite");
49
			DefineAndDrawWindow(500,200,181,256,0x34,0x10EFEBEF,0,0,"About Eolite");
42
			DrawBar(0,0,172,50,0x8494C4); //ãîëóáîå ñçàäè
50
			DrawBar(0,0,172,50,0x8494C4); //ãîëóáîå ñçàäè
43
			PutPaletteImage(#logo,85,85,48,7,#logo_pal);
51
			PutPaletteImage(#logo,85,85,48,7,#logo_pal);
44
			WriteText(33,100,0x80,0xBF40BF,"Eolite v0.98.3 RC2",0);
52
			WriteText(33,100,0x80,0xBF40BF,"Eolite v0.98.5 RC2",0);
45
			WriteText(55,120,0x80,0,"Developers:",0); 
53
			WriteText(55,120,0x80,0,"Developers:",0); 
46
			WriteText(39,130,0x80,0,"Leency & Veliant",0); 
54
			WriteText(39,130,0x80,0,"Leency & Veliant",0); 
47
			WriteText(30,140,0x80,0,"Diamond, Lrz, Nable",0);
55
			WriteText(30,140,0x80,0,"Diamond, Lrz, Nable",0);
48
			WriteText(21,160,0x80,0,"Made using C-- in 2008",0);
56
			WriteText(21,160,0x80,0,"Made using C-- in 2008",0);
49
			WriteText(18,170,0x80,0,"Visit www.kolibrios.org",0);
57
			WriteText(18,170,0x80,0,"Visit www.kolibrios.org",0);
Line 82... Line 90...
82
	m.get();
90
	m.get();
83
}*/
91
}*/
Line 84... Line 92...
84
 
92
 
85
 
93
 
Line 86... Line 94...
86
dword onLeft(dword right,left) {EAX=Form.width-right-left;}
94
dword onLeft(dword right,left) {EAX=Form.width-right-left;}
87
dword onTop(dword down,up) {EAX=Form.height-skin_width-down-up;}
95
dword onTop(dword down,up) {EAX=Form.height-GetSkinWidth()-down-up;}
88
 
96
 
89
 
97
 
90
dword ConvertSize(dword bytes)
98
dword ConvertSize(dword bytes)
91
{
99
{
92
	char size_prefix[7], temp[3];
100
	byte size_prefix[8], temp[3];
93
	IF (bytes>=1073741824) copystr(" Gb",#temp);
101
	IF (bytes>=1073741824) copystr(" Gb",#temp);