Subversion Repositories Kolibri OS

Rev

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

Rev 7284 Rev 7285
Line 18... Line 18...
18
#include "../lib/patterns/history.h"
18
#include "../lib/patterns/history.h"
19
#include "../lib/patterns/http_downloader.h"
19
#include "../lib/patterns/http_downloader.h"
20
#include "../browser/download_manager.h"
20
#include "../browser/download_manager.h"
Line 21... Line 21...
21
 
21
 
22
char default_dir[] = "/rd/1";
22
char default_dir[] = "/rd/1";
Line 23... Line 23...
23
od_filter filter2 = {0,0};
23
od_filter filter2 = { 16, "TXT\0HTM\0HTML\0\0" };
Line 24... Line 24...
24
 
24
 
25
char accept_language[]= "Accept-Language: ru\n";
25
char accept_language[]= "Accept-Language: ru\n";
Line 63... Line 63...
63
dword CursorFile = FROM "pointer.cur";
63
dword CursorFile = FROM "pointer.cur";
Line 64... Line 64...
64
 
64
 
65
#include "favicon.h"
65
#include "favicon.h"
66
#include "ini.h"
66
#include "ini.h"
67
#include "gui.h"
-
 
68
#include "label.h"
67
#include "gui.h"
69
#include "link.h"
68
#include "link.h"
70
#include "tag.h"
69
#include "canvas.h"
71
#include "prepare_page.h"
70
#include "prepare_page.h"
Line 72... Line 71...
72
//#include "special_symbols.h"
71
//#include "special.h"
Line 73... Line 72...
73
 
72
 
74
#define SANDWICH_MENU "Refresh page\nEdit page\nHistory\nDownloader\nAbout"
73
#define SANDWICH_MENU "Refresh page\nEdit page\nHistory\nDownloader\nAbout"
Line 87... Line 86...
87
 
86
 
88
void main()
87
void main()
89
{   
88
{   
90
	InitDlls();	
89
	InitDlls();	
91
	OpenDialog_init stdcall (#o_dialog);
-
 
92
	CursorPointer.Load(#CursorFile);
90
	OpenDialog_init stdcall (#o_dialog);
93
	kfont.init(DEFAULT_FONT);
91
	kfont.init(DEFAULT_FONT);
94
	Libimg_LoadImage(#skin, abspath("toolbar.png"));
92
	Libimg_LoadImage(#skin, abspath("toolbar.png"));
95
	LoadIniSettings();
93
	LoadIniSettings();
96
	list.no_selection = true;
94
	list.no_selection = true;
Line 468... Line 466...
468
	address_box.offset = 0;
466
	address_box.offset = 0;
469
	edit_box_draw stdcall(#address_box);
467
	edit_box_draw stdcall(#address_box);
470
	favicon.draw(address_box.left-18, address_box.top-1);
468
	favicon.draw(address_box.left-18, address_box.top-1);
471
	DrawBar(address_box.left-2, address_box.top+1, 2, 13, 0xFFFfff);
469
	DrawBar(address_box.left-2, address_box.top+1, 2, 13, 0xFFFfff);
472
}
470
}
473
471
-
 
472