forked from KolibriOS/kolibrios
KPACK - color correcting
git-svn-id: svn://kolibrios.org@2262 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
eade1f9f90
commit
ef0e2b8ea0
@ -202,7 +202,7 @@ editboxes_end:
|
|||||||
mouse_dd dd 0
|
mouse_dd dd 0
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
|
|
||||||
check1 check_box 353,40,4,10,0x80AABBCC,0,0,check_text,6
|
check1 check_box 353,40,4,10,0x80ffffff,0,0,check_text,6
|
||||||
|
|
||||||
check_text db 'Kernel',0
|
check_text db 'Kernel',0
|
||||||
;*********************************************************************
|
;*********************************************************************
|
||||||
|
@ -443,7 +443,7 @@ draw_window:
|
|||||||
; draw lines and frame
|
; draw lines and frame
|
||||||
call draw_lines
|
call draw_lines
|
||||||
; draw buttons
|
; draw buttons
|
||||||
call draw_bittons
|
call draw_buttons
|
||||||
; draw messages
|
; draw messages
|
||||||
call draw_messages
|
call draw_messages
|
||||||
; draw editbox's
|
; draw editbox's
|
||||||
@ -501,10 +501,10 @@ draw_lines:
|
|||||||
pop ecx
|
pop ecx
|
||||||
ret
|
ret
|
||||||
;*********************************************************************
|
;*********************************************************************
|
||||||
draw_bittons:
|
draw_buttons:
|
||||||
; define compress button
|
; define compress button
|
||||||
mov cx,18
|
mov cx,18
|
||||||
mcall 8,<351,72>,,2,[color_table+36]
|
mcall 8,<351,72>,,2,[color_table+24]
|
||||||
; uncompress button
|
; uncompress button
|
||||||
add ecx,18 shl 16
|
add ecx,18 shl 16
|
||||||
inc edx
|
inc edx
|
||||||
|
Loading…
Reference in New Issue
Block a user