diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index 54188d0a35..f30fe7119c 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -602,25 +602,25 @@ void DrawFilePanels() llist_copy(#files, #files_inactive); strcpy(#path, #inactive_path); col_selec = 0xCCCccc; - files.SetSizes(Form.cwidth/2, files_y, Form.cwidth/2 -17, Form.cheight-files_y, files.item_h); + files.SetSizes(Form.cwidth/2, files_y, Form.cwidth/2 -17, Form.cheight-files_y-2, files.item_h); DrawList(); Open_Dir(#path,WITH_REDRAW); llist_copy(#files, #files_active); strcpy(#path, #active_path); col_selec = 0x94AECE; - files.SetSizes(2, files_y, Form.cwidth/2-2-17, Form.cheight-files_y, files.item_h); + files.SetSizes(2, files_y, Form.cwidth/2-2-17, Form.cheight-files_y-2, files.item_h); DrawList(); Open_Dir(#path,WITH_REDRAW); } if (active_panel==2) { - files.SetSizes(2, files_y, Form.cwidth/2-2-17, Form.cheight-files_y, files.item_h); + files.SetSizes(2, files_y, Form.cwidth/2-2-17, Form.cheight-files_y-2, files.item_h); DrawList(); Open_Dir(#path,WITH_REDRAW); llist_copy(#files, #files_active); strcpy(#path, #active_path); col_selec = 0x94AECE; - files.SetSizes(Form.cwidth/2, files_y, Form.cwidth/2 -17, Form.cheight-files_y, files.item_h); + files.SetSizes(Form.cwidth/2, files_y, Form.cwidth/2 -17, Form.cheight-files_y-2, files.item_h); DrawList(); Open_Dir(#path,WITH_REDRAW); } diff --git a/programs/cmm/eolite/include/gui.h b/programs/cmm/eolite/include/gui.h index cb7af1d2fc..2346743edf 100644 --- a/programs/cmm/eolite/include/gui.h +++ b/programs/cmm/eolite/include/gui.h @@ -51,10 +51,9 @@ void DrawFlatButton(dword x,y,width,height,id,color,text) if (color!=-1) DrawFilledBar(x+2, y+2, width-3, height-3); IF (id<>0) DefineButton(x+1,y+1,width-2,height-2,id+BT_HIDE,0xEFEBEF); if (height<18) - WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80 ,system.color.work_text,text); + WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80,system.color.work_text,text); else - WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,10010000b,system.color.work_text,text); - + WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,system.color.work_text,text); } void DrawFilledBar(dword x, y, w, h) @@ -62,7 +61,7 @@ void DrawFilledBar(dword x, y, w, h) int i, fill_h; if (h <= 14) fill_h = h; else fill_h = 14; for (i=0; i