forked from KolibriOS/kolibrios
downloader: big fonts
git-svn-id: svn://kolibrios.org@6773 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1c7f7d7e8b
commit
aa39838a11
@ -294,20 +294,20 @@ draw_window:
|
|||||||
; draw window
|
; draw window
|
||||||
mov edx, [sc.work]
|
mov edx, [sc.work]
|
||||||
or edx, 0x34000000
|
or edx, 0x34000000
|
||||||
mcall 0, <50, 320>, <350, 110>, , 0, title
|
mcall 0, <50, 420>, <350, 120>, , 0, title
|
||||||
|
|
||||||
; draw button
|
; draw button
|
||||||
mcall 8, <229,75>, <60,16>, 22, [sc.work_button]
|
mcall 8, <320,75>, <50,24>, 22, [sc.work_button]
|
||||||
|
|
||||||
; draw button text
|
; draw button text
|
||||||
mov ecx, [sc.work_button_text]
|
mov ecx, [sc.work_button_text]
|
||||||
or ecx, 80000000h
|
or ecx, 90000000h
|
||||||
mcall 4, <240,65>, , [btn_text]
|
mcall 4, <325,56>, , [btn_text]
|
||||||
|
|
||||||
; draw status text
|
; draw status text
|
||||||
mov ecx, [sc.work_text]
|
mov ecx, [sc.work_text]
|
||||||
or ecx, 80000000h
|
or ecx, 90000000h
|
||||||
mcall 4, <10,65>, , [status]
|
mcall 4, <10,70>, , [status]
|
||||||
|
|
||||||
; draw editbox
|
; draw editbox
|
||||||
edit_boxes_set_sys_color edit1, editboxes_end, sc
|
edit_boxes_set_sys_color edit1, editboxes_end, sc
|
||||||
@ -364,7 +364,7 @@ fileopen dd 7
|
|||||||
dd 0 ; reserved
|
dd 0 ; reserved
|
||||||
db "/sys/@open", 0 ; path
|
db "/sys/@open", 0 ; path
|
||||||
|
|
||||||
edit1 edit_box 299, 5, 10, 0xffffff, 0x0000ff, 0x0080ff, 0x000000, 0x8000, URLMAXLEN, url, mouse_dd, ed_focus+ed_always_focus, 0, 0
|
edit1 edit_box 400, 5, 10, 0xffffff, 0x0000ff, 0x0080ff, 0x000000, 0x90000000, URLMAXLEN, url, mouse_dd, ed_focus+ed_always_focus, 0, 0
|
||||||
editboxes_end:
|
editboxes_end:
|
||||||
|
|
||||||
identifier dd 0
|
identifier dd 0
|
||||||
@ -401,7 +401,7 @@ OpenDialog_data:
|
|||||||
.x_start dw 200 ; Window X position
|
.x_start dw 200 ; Window X position
|
||||||
.y:
|
.y:
|
||||||
.y_size dw 320 ; Window y size
|
.y_size dw 320 ; Window y size
|
||||||
.y_start dw 120 ; Window Y position
|
.y_start dw 140 ; Window Y position
|
||||||
|
|
||||||
communication_area_name db 'FFFFFFFF_open_dialog',0
|
communication_area_name db 'FFFFFFFF_open_dialog',0
|
||||||
open_dialog_path db '/sys/File Managers/opendial',0
|
open_dialog_path db '/sys/File Managers/opendial',0
|
||||||
@ -414,7 +414,7 @@ db 0
|
|||||||
pb:
|
pb:
|
||||||
.value dd 0
|
.value dd 0
|
||||||
.left dd 5
|
.left dd 5
|
||||||
.top dd 35
|
.top dd 45
|
||||||
.width dd 300
|
.width dd 300
|
||||||
.height dd 16
|
.height dd 16
|
||||||
.style dd 1
|
.style dd 1
|
||||||
|
@ -570,7 +570,7 @@ void draw_window(void)
|
|||||||
if (he == 0)
|
if (he == 0)
|
||||||
he = WND_H;
|
he = WND_H;
|
||||||
|
|
||||||
mybox.top = he - 45;
|
mybox.top = he - 50;
|
||||||
mybox.width = wi - mybox.left - 80;
|
mybox.width = wi - mybox.left - 80;
|
||||||
|
|
||||||
kos_WindowRedrawStatus(1);
|
kos_WindowRedrawStatus(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user