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(); }