From 154abfad90ee9c09aece0efdf003cd061bc3341e Mon Sep 17 00:00:00 2001 From: pavelyakov Date: Sun, 12 Aug 2018 00:11:16 +0000 Subject: [PATCH] Fixed2 git-svn-id: svn://kolibrios.org@7312 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index 2967c3a887..401d908615 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -536,7 +536,39 @@ void main() { //SystemDiscs.Draw(); //ActionsDraw(); - DrawFilePanels(); + llist_copy(#files, #files_inactive); + strcpy(#path, #inactive_path); + col_selec = 0xCCCccc; + SystemDiscs.Draw(); + files_y = files.y; + + if (active_panel==1) + { + 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-2 - status_bar_h, files.item_h); + DrawList(); + Update_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-2 - status_bar_h, files.item_h); + DrawList(); + Update_Dir(#path,WITH_REDRAW); + } + if (active_panel==2) + { + files.SetSizes(2, files_y, Form.cwidth/2-2-17, Form.cheight-files_y-2 - status_bar_h, files.item_h); + DrawList(); + Update_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-2 - status_bar_h, files.item_h); + DrawList(); + Update_Dir(#path,WITH_REDRAW); + } } else DrawDeviceAndActionsLeftPanel(); }