From a6e74bf4572f29377bb624ce01e88c1993fe6d40 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sun, 13 Dec 2015 13:52:19 +0000 Subject: [PATCH] Eolite: use collections for device list (to be able to add favorite folders in future) git-svn-id: svn://kolibrios.org@5960 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/Eolite.c | 7 ++-- programs/cmm/eolite/include/left_panel.h | 46 +++++++++------------- programs/cmm/eolite/include/translations.h | 4 +- 3 files changed, 24 insertions(+), 33 deletions(-) diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index 8ce59a47d6..561ee6110d 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -6,7 +6,7 @@ #endif //libraries -#define MEMSIZE 540000 +#define MEMSIZE 4096 * 150 #include "..\lib\clipboard.h" #include "..\lib\strings.h" #include "..\lib\mem.h" @@ -15,6 +15,7 @@ #include "..\lib\list_box.h" #include "..\lib\random.h" #include "..\lib\font.h" +#include "..\lib\collection.h" //obj #include "..\lib\obj\libini.h" #include "..\lib\obj\box_lib.h" @@ -72,7 +73,7 @@ char scroll_used=false; dword menu_stak,about_stak,properties_stak,settings_stak,copy_stak,delete_stak; proc_info Form; -int mouse_dd, sc_slider_h, kolibrios_drive; +int mouse_dd, sc_slider_h; int j, i; int action_buf; int rand_n; @@ -412,7 +413,7 @@ void main() { case 059...068: key_scancode -= 59; - if (key_scancode