forked from KolibriOS/kolibrios
kernel: change buttons style
git-svn-id: svn://kolibrios.org@6009 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1e0700bd56
commit
61ebcdda39
@ -168,10 +168,16 @@ syscall_button: ;///// system function 8 //////////////////////////////////////
|
|||||||
push ebx
|
push ebx
|
||||||
xor edi, edi
|
xor edi, edi
|
||||||
mov ecx, esi
|
mov ecx, esi
|
||||||
call button._.incecx
|
; call button._.incecx
|
||||||
; call [draw_line]
|
; call [draw_line]
|
||||||
call __sys_draw_line
|
call __sys_draw_line
|
||||||
|
|
||||||
|
; light line under top border
|
||||||
|
add ebx, 0x00010001
|
||||||
|
mov ecx, esi
|
||||||
|
call button._.incecx
|
||||||
|
call __sys_draw_line
|
||||||
|
sub ebx, 0x00010001
|
||||||
; bottom border
|
; bottom border
|
||||||
movzx edx, word[esp + 4 + 0]
|
movzx edx, word[esp + 4 + 0]
|
||||||
add ebx, edx
|
add ebx, edx
|
||||||
@ -194,7 +200,7 @@ syscall_button: ;///// system function 8 //////////////////////////////////////
|
|||||||
add bx, [esp + 4 + 0]
|
add bx, [esp + 4 + 0]
|
||||||
pop edx
|
pop edx
|
||||||
mov ecx, esi
|
mov ecx, esi
|
||||||
call button._.incecx
|
call button._.dececx ; button._.incecx
|
||||||
; call [draw_line]
|
; call [draw_line]
|
||||||
dec ebx
|
dec ebx
|
||||||
call __sys_draw_line
|
call __sys_draw_line
|
||||||
|
Loading…
Reference in New Issue
Block a user