Rev 7286 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7286 | Rev 7291 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | GO_FORWARD, |
54 | GO_FORWARD, |
55 | SANDWICH |
55 | SANDWICH |
56 | }; |
56 | }; |
Line 57... | Line 57... | ||
57 | 57 | ||
58 | char address[UML]="http://"; |
- | |
59 | int mouse_address_box; |
58 | char address[UML]="http://"; |
60 | edit_box address_box = {250,56,34,0xffffff,0x94AECE,0xffffff,0xffffff,0,UML,#address,#mouse_address_box,2,19,19}; |
- | |
61 | - | ||
62 | CustomCursor CursorPointer; |
- | |
Line 63... | Line 59... | ||
63 | dword CursorFile = FROM "pointer.cur"; |
59 | edit_box address_box = {250,56,34,0xffffff,0x94AECE,0xffffff,0xffffff,0,UML,#address,NULL,2,19,19}; |
64 | 60 | ||
65 | #include "favicon.h" |
61 | #include "favicon.h" |
66 | #include "ini.h" |
62 | #include "ini.h" |
Line 220... | Line 216... | ||
220 | void HandleMouseEvent() |
216 | void HandleMouseEvent() |
221 | { |
217 | { |
222 | edit_box_mouse stdcall (#address_box); |
218 | edit_box_mouse stdcall (#address_box); |
223 | mouse.get(); |
219 | mouse.get(); |
224 | list.wheel_size = 7; |
220 | list.wheel_size = 7; |
225 | link.hover(); |
221 | if (link.hover()) { |
- | 222 | if (link.active == -1) { |
|
- | 223 | debugln("unhovered"); |
|
- | 224 | } |
|
- | 225 | else { |
|
- | 226 | debugln(link.text.get(link.active)); |
|
- | 227 | debugln(link.url.get(link.active)); |
|
- | 228 | } |
|
- | 229 | } |
|
226 | if (list.MouseScroll(mouse.vert)) { |
230 | if (list.MouseScroll(mouse.vert)) { |
227 | DrawPage(); |
231 | DrawPage(); |
228 | return; |
232 | return; |
229 | } |
233 | } |
230 | scrollbar_v_mouse (#scroll); |
234 | scrollbar_v_mouse (#scroll); |