Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5872 → Rev 5871

/programs/system/taskbar/trunk/drawwind.inc
11,6 → 11,9
mcall 48,3,system_colours,10*4
 
mov eax, [system_colours+4*6]
; sub eax, 0x101010
; mov [wcolor], eax
 
mov edx,[system_colours+4*6]
mov eax,COLOR_CHANGE_MAGNITUDE
call subtract_color_change_magnitude
82,6 → 85,7
movzx ebx,word [screenxy+2]
xor ecx,ecx
mov edx,[wcolor]
; add edx,0x161616
mov eax,COLOR_CHANGE_MAGNITUDE_0
imul eax,dword [soften_height]
call subtract_color_change_magnitude
89,7 → 93,8
je no_su
;--------------------------------------
align 4
@@:
@@: ; debug.inc has macros with the same name
; sub edx,0x040404
mov eax,COLOR_CHANGE_MAGNITUDE_0
call add_color_change_magnitude
; draw soften_up - the width of 5 pixels
141,6 → 146,7
;--------------------------------------
align 4
@@:
; mov esi,stripe
mov edx,[wcolor]
;--------------------------------------
align 4
175,6 → 181,7
add ecx,[height]
dec ecx
mov edx,101
; add edx,[button_frames]
or edx,0x40000000
mcall 8,<0,9>,,,[wcolor] ; ABS LEFT
 
182,6 → 189,8
mov bx,[height]
shr bx,1
sub bx,3
; mov ecx,[wcolor]
; add ecx,0x303030
mov edx,[wcolor]
mov eax,COLOR_CHANGE_MAGNITUDE_2
call add_color_change_magnitude
208,6 → 217,7
add ebx,68*65536
mov bx,10 ;9
mov edx,102
; add edx,[button_frames]
or edx,0x40000000
mcall 8,,,,[wcolor] ; ABS RIGHT
 
217,6 → 227,8
mov bx,[height]
shr bx,1
sub bx,3
; mov ecx,[wcolor]
; add ecx,0x303030
mov edx,[wcolor]
mov eax,COLOR_CHANGE_MAGNITUDE_2
call add_color_change_magnitude
244,8 → 256,11
;--------------------------------------
align 4
@@:
; call calculate_button_y_coordinate_and_size
mov ecx, [height]
mov edx, 0x60d1ff01
; mov edx, 0xd1ff01
; add edx, [button_frames]
mcall 8,,,,[wcolor] ; MENU BUTTON
mov eax,ebx
270,10 → 285,10
add ebx,3 shl 16 - 5
call draw_appl_button
 
add ebx, 4*65536
add ebx, 6*65536
mov bx,[height]
shr bx,1
sub bx,7
sub bx,3
mov ecx,[PanelText_color]
or ecx,0x10000000
if lang eq et
309,6 → 324,7
mov esi, dword [system_colours+24] ; drawing buttons
and esi, 0x00ffffff
mov edx, 0x60000000 + 103
; call calculate_button_y_coordinate_and_size
mov ecx, [height]
mcall 8 ;,,<3,13>
317,8 → 333,11
mov esi,[wcolor]
call draw_appl_button
 
; mov ecx, dword [system_colours+28]
; and ecx, 0x00ffffff
mov ecx,[PanelText_color]
add ebx,5 shl 16
; mov bx,6
mov bx,[height]
shr bx,1
sub bx,2
340,6 → 359,7
 
call calculate_offset_X
 
; mcall 14
mov eax,[screenxy]
shr eax,16
 
396,6 → 416,9
mov edx,edi
add edx,52
or edx,0x60000000
; mov ecx, 1*65536
; add ecx, [height]
; sub ecx,3
mov ecx, [height]
mcall 8,,,,[wcolor]