Rev 6058 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6058 | Rev 6059 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | #include "../lib/obj/box_lib.h" |
8 | #include "../lib/obj/box_lib.h" |
9 | #include "../lib/obj/libini.h" |
9 | #include "../lib/obj/libini.h" |
10 | #include "../lib/obj/iconv.h" |
10 | #include "../lib/obj/iconv.h" |
11 | #include "../lib/obj/proc_lib.h" |
11 | #include "../lib/obj/proc_lib.h" |
12 | #include "../lib/obj/http.h" |
12 | #include "../lib/obj/http.h" |
- | 13 | #include "../lib/cursor.h" |
|
13 | #include "../lib/patterns/libimg_load_skin.h" |
14 | #include "../lib/patterns/libimg_load_skin.h" |
14 | #include "../lib/patterns/simple_open_dialog.h" |
15 | #include "../lib/patterns/simple_open_dialog.h" |
15 | #include "../lib/patterns/history.h" |
16 | #include "../lib/patterns/history.h" |
16 | #include "../lib/patterns/http_downloader.h" |
17 | #include "../lib/patterns/http_downloader.h" |
Line 53... | Line 54... | ||
53 | 54 | ||
54 | char address[UML]="http://"; |
55 | char address[UML]="http://"; |
55 | int mouse_address_box; |
56 | int mouse_address_box; |
Line -... | Line 57... | ||
- | 57 | edit_box address_box = {250,56,34,0xffffff,0x94AECE,0xffffff,0xffffff,0,UML,#address,#mouse_address_box,2,19,19}; |
|
- | 58 | ||
- | 59 | CustomCursor CursorPointer; |
|
56 | edit_box address_box = {250,56,34,0xffffff,0x94AECE,0xffffff,0xffffff,0,UML,#address,#mouse_address_box,2,19,19}; |
60 | dword CursorFile = FROM "pointer.cur"; |
57 | 61 | ||
58 | #include "ini.h" |
62 | #include "ini.h" |
59 | #include "gui.h" |
63 | #include "gui.h" |
60 | #include "label.h" |
64 | #include "label.h" |
Line 78... | Line 82... | ||
78 | 82 | ||
79 | void main() |
83 | void main() |
80 | { |
84 | { |
81 | InitDlls(); |
85 | InitDlls(); |
- | 86 | OpenDialog_init stdcall (#o_dialog); |
|
82 | OpenDialog_init stdcall (#o_dialog); |
87 | CursorPointer.Load(#CursorFile); |
83 | label.init(DEFAULT_FONT); |
88 | label.init(DEFAULT_FONT); |
84 | Libimg_LoadImage(#skin, abspath("toolbar.png")); |
89 | Libimg_LoadImage(#skin, abspath("toolbar.png")); |
85 | LoadIniSettings(); |
90 | LoadIniSettings(); |
86 | list.no_selection = true; |
91 | list.no_selection = true; |