1392,20 → 1392,11 |
draw_window: |
|
mcall 12,1 |
|
call prepare_system_colors |
|
; mcall 0,<10,420>,<10,320>,0x63AABBCC, |
xor esi,esi |
; mov edx,[w_work] ; color of work area RRGGBB,8->color |
; or edx,0x63000000 |
mcall 0,[window_x],[window_y],0x63AABBCC |
|
; mov ecx,[communication_area] |
; add ecx,4096+4+4 |
call type_title |
call get_window_param |
|
mov eax,[procinfo+70] ;status of window |
test eax,100b |
jne .end |
1414,13 → 1405,11 |
sub eax,25+45 |
mov [file_browser_data_1.size_y],ax |
mov [scroll_bar_data_vertical.size_y],ax |
|
mov eax,[window_width] |
sub eax,10+20 |
mov [file_browser_data_1.size_x],ax |
add ax,10 |
mov [scroll_bar_data_vertical.start_x],ax |
|
mov edx,[w_work] ; color of work area RRGGBB,8->color |
or edx,0x63000000 |
mcall 13,[window_width],45 ;,0xcccccc |
1467,14 → 1456,13 |
mov bx,ax |
shl eax,16 |
sub ebx,eax |
mov ecx,26 shl 16+15 |
|
mov ecx,25 shl 16 + 16 |
mcall 8,,,2,[w_work_button] ;0xffffff |
|
pusha |
shr ecx,16 |
mov bx,cx |
add ebx,20 shl 16+2 |
add ebx,21 shl 16 |
mov ecx,[w_work_button_text] |
or ecx,0x90000000 |
mcall 4,,,message_ExitDir_button |
1491,7 → 1479,7 |
|
shr ecx,16 |
mov bx,cx |
add ebx,5 shl 16+4 |
add ebx,2 shl 16 |
mov ecx,[w_work_button_text] |
or ecx,0x90000000 |
mcall 4,,,message_ReloadDir_button |
1498,7 → 1486,6 |
pop ebx |
|
mov ebx,[file_browser_data_1.x] |
|
mov ax,bx |
shl eax,16 |
add ebx,eax |
1506,21 → 1493,18 |
mov bx,ax |
shl eax,16 |
sub ebx,eax |
|
mov ecx,[file_browser_data_1.y] |
mov ax,cx |
add eax,3 |
shl eax,16 |
add ecx,eax |
mov cx,15 |
|
mov cx,16 |
mcall 8,,,3 |
|
pusha |
|
shr ecx,16 |
mov bx,cx |
add ebx,6 shl 16+ 4 |
add ebx,4 shl 16 |
mov ecx,[w_work_button_text] |
or ecx,0x90000000 |
mcall 4,,,message_cancel_button |
1531,13 → 1515,12 |
|
shr ecx,16 |
mov bx,cx |
add ebx,6 shl 16+4 |
|
add ebx,4 shl 16 |
mov edx,[open_dialog_type] |
shl edx,2 |
add edx,message_open_dialog_button |
mov edx,[edx] |
;-------------------------------------- |
;------------------------------- |
cmp [open_dialog_type],1 |
jne @f |
|
1562,12 → 1545,8 |
mov ecx,[w_work_button_text] |
or ecx,0x90000000 |
mcall 4 ;message_open_button |
|
; mcall 47,0x80000,[file_browser_data_1.ini_file_start],<250,0>,0x0 |
; mcall 4,<3,420>,0,fb_extension_start,3 |
.end: |
mcall 12,2 |
|
ret |
;--------------------------------------------------------------------- |
draw_open_button_label: |
1745,7 → 1724,7 |
|
shr ecx,16 |
mov bx,cx |
add ebx,4 shl 16+4 |
add ebx,4 shl 16 |
mov ecx,[w_work_button_text] |
add ecx,0x90000000 |
mcall 4,,,message_cancel_button |