From ef0e2b8ea0297468fad31d3c25c6e92b8a41cd61 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Tue, 4 Oct 2011 22:58:20 +0000 Subject: [PATCH] KPACK - color correcting git-svn-id: svn://kolibrios.org@2262 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/other/kpack/trunk/const_var.inc | 2 +- programs/other/kpack/trunk/kpack.asm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/other/kpack/trunk/const_var.inc b/programs/other/kpack/trunk/const_var.inc index 2c303f9b99..86adfb7d79 100644 --- a/programs/other/kpack/trunk/const_var.inc +++ b/programs/other/kpack/trunk/const_var.inc @@ -202,7 +202,7 @@ editboxes_end: 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 ;********************************************************************* diff --git a/programs/other/kpack/trunk/kpack.asm b/programs/other/kpack/trunk/kpack.asm index 97be4703e6..d646c5be0b 100644 --- a/programs/other/kpack/trunk/kpack.asm +++ b/programs/other/kpack/trunk/kpack.asm @@ -443,7 +443,7 @@ draw_window: ; draw lines and frame call draw_lines ; draw buttons - call draw_bittons + call draw_buttons ; draw messages call draw_messages ; draw editbox's @@ -501,10 +501,10 @@ draw_lines: pop ecx ret ;********************************************************************* -draw_bittons: +draw_buttons: ; define compress button mov cx,18 - mcall 8,<351,72>,,2,[color_table+36] + mcall 8,<351,72>,,2,[color_table+24] ; uncompress button add ecx,18 shl 16 inc edx