Subversion Repositories Kolibri OS

Rev

Rev 6219 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6219 Rev 9971
Line 6... Line 6...
6
draw_window:
6
draw_window:
7
	pusha
7
        pusha
8
	mov	[running_applications],-1
8
        mov     [running_applications],-1
9
	mcall	12,1
9
        mcall   12,1
Line 10... Line 10...
10
 
10
 
Line 11... Line 11...
11
	mcall	48,3,system_colours,10*4
11
        mcall   48,3,system_colours, sizeof.system_colors
12
 
12
 
13
	mov	eax, [system_colours+4*6]
13
        mov     eax, [system_colours.work_button]
14
	mov	edx,[system_colours+4*6]
14
        mov     edx,[system_colours.work_button]
15
	mov	eax,COLOR_CHANGE_MAGNITUDE
15
        mov     eax,COLOR_CHANGE_MAGNITUDE
Line 16... Line 16...
16
	call	subtract_color_change_magnitude
16
        call    subtract_color_change_magnitude
Line 304... Line 304...
304
	add	ebx, MENU_SIZE shl 16
304
        add     ebx, MENU_SIZE shl 16
305
;--------------------------------------
305
;--------------------------------------
306
align 4
306
align 4
307
@@:
307
@@:
308
; Inserted code for drawing buttons 103, 104, 105 (Clean, Restore, Exchange windows)
308
; Inserted code for drawing buttons 103, 104, 105 (Clean, Restore, Exchange windows)
309
	mov	esi, dword [system_colours+24]    ; drawing buttons
309
        mov     esi, dword [system_colours.work_button]    ; drawing buttons
310
	and	esi, 0x00ffffff
310
        and     esi, 0x00ffffff
311
	mov	edx, 0x60000000 + 103
311
        mov     edx, 0x60000000 + 103
312
        mov     ecx, [height]
312
        mov     ecx, [height]
313
	mcall	8	;,,<3,13>
313
        mcall   8       ;,,<3,13>