From b13687630bbb59c096b0f8411274d8b43fe6c02a Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Fri, 16 Sep 2011 10:12:26 +0000 Subject: [PATCH] spanel: minimal fixes git-svn-id: svn://kolibrios.org@2191 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/spanel/trunk/spanel.asm | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/programs/system/spanel/trunk/spanel.asm b/programs/system/spanel/trunk/spanel.asm index 043c347ed5..7daca89f2c 100644 --- a/programs/system/spanel/trunk/spanel.asm +++ b/programs/system/spanel/trunk/spanel.asm @@ -186,17 +186,8 @@ draw_window: mov eax,0 ; function 0 : define and draw window mov ebx,100*65536+385 ; [x start] *65536 + [x size] mov ecx,100*65536+190 ; [y start] *65536 + [y size] - mov edx,0x03ffffff ; color of work area RRGGBB,8->color gl - mov esi,0x805080d0 ; color of grab bar RRGGBB,8->color gl - mov edi,0x005080d0 ; color of frames RRGGBB - int 0x40 - - ; WINDOW LABEL - mov eax,4 ; function 4 : write text to window - mov ebx,8*65536+8 ; [x start] *65536 + [y start] - mov ecx,0x10ddeeff ; color of text RRGGBB - mov edx,labelt ; pointer to text beginning - mov esi,labellen-labelt ; text length + mov edx,0x14ffffff ; color of work area RRGGBB,8->color gl + mov edi,labelt ; color of frames RRGGBB int 0x40 mov eax,8 @@ -259,7 +250,7 @@ db 'x' labelt: - db 'PANEL SETUP' + db 'Panel setup' labellen: I_END: