Subversion Repositories Kolibri OS

Rev

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

Rev 3107 Rev 3363
Line 2... Line 2...
2
//Copyright 2007-2012 by Veliant & Leency
2
//Copyright 2007-2012 by Veliant & Leency
3
//Asper, lev, Lrz, Barsuk, Nable...
3
//Asper, lev, Lrz, Barsuk, Nable...
4
//home icon - rachel fu, GPL licence
4
//home icon - rachel fu, GPL licence
Line 5... Line 5...
5
 
5
 
-
 
6
//libraries
6
//libraries
7
#define MEMSIZE 0x100000
7
#include "..\lib\kolibri.h"
8
#include "..\lib\kolibri.h"
8
#include "..\lib\strings.h"
9
#include "..\lib\strings.h"
9
#include "..\lib\figures.h"
10
#include "..\lib\figures.h"
10
#include "..\lib\encoding.h"
11
#include "..\lib\encoding.h"
Line 40... Line 41...
40
proc_info Form;
41
proc_info Form;
41
#define WIN_W 640
42
#define WIN_W 640
42
#define WIN_H 480
43
#define WIN_H 480
Line 43... Line 44...
43
 
44
 
44
 
45
 
Line 45... Line 46...
45
dword stak[100]; //ìåíþ ÏÊÌ 
46
char stak[100]; //ìåíþ ÏÊÌ 
46
mouse m;
47
mouse m;
Line 232... Line 233...
232
	}
233
	}
233
	if (Form.height<120) MoveSize(OLD,OLD,OLD,120);
234
	if (Form.height<120) MoveSize(OLD,OLD,OLD,120);
234
	if (Form.width<280) MoveSize(OLD,OLD,280,OLD);
235
	if (Form.width<280) MoveSize(OLD,OLD,280,OLD);
Line 235... Line 236...
235
	
236
	
236
	PutPaletteImage(#toolbar,200,42,0,0,8,#toolbar_pal);
237
	PutPaletteImage(#toolbar,200,42,0,0,8,#toolbar_pal);
Line 237... Line 238...
237
	if (GetProcessSlot(downloader_id)<>0) PutImage(#stop_btn,24,24,88,10);
238
	if (GetProcessSlot(downloader_id)<>0) _PutImage(88,10, 24,24, #stop_btn);
238
	
239
	
239
	DrawBar(200,0,onLeft(200,9),43,0xE4DFE1); //çàêðàøèâàåì ôîí ïîä òóëáàðîì
240
	DrawBar(200,0,onLeft(200,9),43,0xE4DFE1); //çàêðàøèâàåì ôîí ïîä òóëáàðîì
240
	DrawBar(0,42,onLeft(5,4),1,0xE2DBDC); //âûïóêëîñòü
241
	DrawBar(0,42,onLeft(5,4),1,0xE2DBDC); //âûïóêëîñòü
241
	DrawBar(0,43,onLeft(5,4),1,0xD2CED0); //âûïóêëîñòü
242
	DrawBar(0,43,onLeft(5,4),1,0xD2CED0); //âûïóêëîñòü
242
	for (j=0; j<5; j++) DefineButton(j*37+11, 7, 29, 29, 300+j+BT_HIDE, 0xE4DFE1);
243
	for (j=0; j<5; j++) DefineButton(j*37+11, 7, 29, 29, 300+j+BT_HIDE, 0xE4DFE1);
243
	PutImage(#URLgoto,40,19,onLeft(57,0),14);
244
	_PutImage(onLeft(57,0),14, 40,19, #URLgoto);
244
	DefineButton(onLeft(37,0),15, 18, 16, GOTOURL+BT_HIDE, 0xE4DFE1);
245
	DefineButton(onLeft(37,0),15, 18, 16, GOTOURL+BT_HIDE, 0xE4DFE1);
245
	DefineButton(onLeft(56,0),15, 17, 16, SEARCHWEB+BT_HIDE, 0xE4DFE1);
246
	DefineButton(onLeft(56,0),15, 17, 16, SEARCHWEB+BT_HIDE, 0xE4DFE1);