KPACK - color correcting

git-svn-id: svn://kolibrios.org@2262 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2011-10-04 22:58:20 +00:00
parent eade1f9f90
commit ef0e2b8ea0
2 changed files with 4 additions and 4 deletions

View File

@ -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
;********************************************************************* ;*********************************************************************

View File

@ -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