forked from KolibriOS/kolibrios
Resolved conflicting name issue (caused by new struct in macros.inc)
git-svn-id: svn://kolibrios.org@4816 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e01e113d47
commit
b22512a865
@ -62,7 +62,7 @@ button:
|
||||
|
||||
redraw:
|
||||
mcall 9, proc_info, -1
|
||||
mcall 48, 3, sys_colors, 40
|
||||
mcall 48, 3, sc, 40
|
||||
|
||||
mcall 12, 1
|
||||
|
||||
@ -70,9 +70,9 @@ redraw:
|
||||
mov ecx, 300*0x10000+184
|
||||
add ecx, eax
|
||||
mov edx, 0x34000000
|
||||
or edx, [sys_colors.work]
|
||||
or edx, [sc.work]
|
||||
mov esi, 0x80000000
|
||||
or esi, [sys_colors.grab_text]
|
||||
or esi, [sc.grab_text]
|
||||
mcall 0, <300,315>, , , , window_title
|
||||
test [proc_info.wnd_state], 0x04
|
||||
jnz @f
|
||||
@ -198,7 +198,7 @@ proc draw_button
|
||||
mcall 8, , ,
|
||||
and edx, 0x7FFFFFFF
|
||||
or edx, 0x20000000
|
||||
mcall , , , , [sys_colors.work_button]
|
||||
mcall , , , , [sc.work_button]
|
||||
|
||||
test edi, edi ; is focused?
|
||||
jz .symbol ; draw only character, not selection square
|
||||
@ -242,7 +242,7 @@ proc draw_button
|
||||
shl ebx, 16
|
||||
add ebx, [button_y]
|
||||
add ebx, 5
|
||||
mcall 4, , [sys_colors.work_button_text], symbol_current, 1
|
||||
mcall 4, , [sc.work_button_text], symbol_current, 1
|
||||
|
||||
ret
|
||||
endp
|
||||
@ -252,14 +252,14 @@ proc draw_page_switcher _blinking
|
||||
|
||||
mcall 8, , , 0x8000FFAA
|
||||
|
||||
mov esi, [sys_colors.work_button]
|
||||
mov esi, [sc.work_button]
|
||||
cmp [_blinking], 1 ; blinking?
|
||||
jne @f
|
||||
mov esi, PAGE_SWITCHER_BLINK_COLOR
|
||||
@@: mcall , <2,60>, <157,19>, 0x2000FFAA
|
||||
|
||||
mov ecx, 0x80000000
|
||||
or ecx, [sys_colors.work_button_text]
|
||||
or ecx, [sc.work_button_text]
|
||||
mov edx, string_000_127
|
||||
cmp [symbol_start], 0 ; first page?
|
||||
je @f
|
||||
@ -272,13 +272,13 @@ endp
|
||||
proc draw_codes
|
||||
|
||||
mov ecx, 0x80000000
|
||||
or ecx, [sys_colors.work_text]
|
||||
or ecx, [sc.work_text]
|
||||
mcall 4, <80,164>, , string_ASCII_CODE
|
||||
mcall , <180,164>, , string_ASCII_HEX_CODE
|
||||
movzx ecx, [symbol_focused]
|
||||
mov esi, 0x40000000
|
||||
or esi, [sys_colors.work_text]
|
||||
mcall 47, 0x00030000, , <152,164>, , [sys_colors.work]
|
||||
or esi, [sc.work_text]
|
||||
mcall 47, 0x00030000, , <152,164>, , [sc.work]
|
||||
mcall , 0x00020100, , <276,164>,
|
||||
|
||||
ret
|
||||
@ -305,6 +305,6 @@ symbol_unfocused db 0
|
||||
symbol_focused db 0
|
||||
i_end:
|
||||
proc_info process_information
|
||||
sys_colors system_colors
|
||||
sc system_colors
|
||||
rb 0x400 ;stack
|
||||
e_end:
|
||||
|
Loading…
Reference in New Issue
Block a user