/programs/cmm/template/t.c |
---|
File deleted |
/programs/cmm/template/build.bat |
---|
File deleted |
/programs/cmm/eolite/build_ru.bat |
---|
File deleted |
/programs/cmm/eolite/build_en.bat |
---|
File deleted |
\ No newline at end of file |
/programs/cmm/eolite/Eolite.c |
---|
3,10 → 3,15 |
// 70.5 - get volume info and label |
#define ABOUT_TITLE "EOLITE 5 Beta6" |
#define TITLE_EOLITE "Eolite File Manager 5 Beta6" |
#define TITLE_KFM "Kolibri File Manager 2 Beta6"; |
#define ABOUT_TITLE "EOLITE 5 Beta5" |
#define TITLE_EOLITE "Eolite File Manager 5 Beta5" |
#define TITLE_KFM "Kolibri File Manager 2 Beta5"; |
#ifndef AUTOBUILD |
#include "lang.h--" |
#endif |
//libraries |
#define MEMSIZE 1024 * 250 |
#include "../lib/clipboard.h" |
#include "../lib/strings.h" |
42,8 → 47,7 |
GOUP_BTN, |
COPY_BTN, |
CUT_BTN, |
PASTE_BTN, |
KFM_FUNC_ID = 450 |
PASTE_BTN |
}; |
//NewElement options |
137,7 → 141,8 |
libimg_image icons32_default; |
libimg_image icons32_selected; |
int status_bar_h; |
#define STATUS_BAR_H 16; |
int status_bar_h = 0; |
int icon_size = 18; |
402,9 → 407,6 |
case BREADCRUMB_ID...360: |
ClickOnBreadCrumb(id-BREADCRUMB_ID); |
break; |
case KFM_FUNC_ID...KFM_FUNC_ID+10: |
FnProcess(id-KFM_FUNC_ID); |
break; |
} |
break; |
574,10 → 576,7 |
incn x; |
dword title; |
if (show_status_bar.checked) { |
#define STBAR_EOLITE_H 16; |
#define STBAR_KFM_H 21; |
if (efm) status_bar_h = STBAR_KFM_H; |
else status_bar_h = STBAR_EOLITE_H; |
status_bar_h = STATUS_BAR_H; |
} else { |
status_bar_h = 0; |
} |
651,19 → 650,6 |
if (efm) && (files.x<5) DrawBar(files.x+files.w+16,files.y,1,files.h,sc.work_graph); |
} |
void DrawFuncButtonsInKfm() |
{ |
int i, x=0, len, min_w=0, padding; |
for (i=0; i<10; i++) min_w += strlen(kfm_func[i])*6 + 2; |
padding = Form.cwidth - min_w + 4 / 10; |
for (i=0; i<10; i++) { |
len = strlen(kfm_func[i])*6 + padding; |
if (i==9) len = Form.cwidth - x - 3; |
DrawFlatButtonSmall(x+1, Form.cheight - 19, len, 16, i+KFM_FUNC_ID+1, kfm_func[i]); |
x += len + 2; |
} |
} |
void DrawStatusBar() |
{ |
char status_bar_str[80]; |
671,7 → 657,7 |
if (efm) { |
DrawBar(0, Form.cheight - status_bar_h, Form.cwidth, status_bar_h, sc.work); |
DrawFuncButtonsInKfm(); |
WriteTextCenter(0,Form.cheight - 12, Form.cwidth,sc.work_text,T_KFM_FUNC); |
return; |
} |
/programs/cmm/eolite/include/translations.h |
---|
26,18 → 26,6 |
?define COPY_PATH_STR "'ãâì ¯ ¯ª¨ ᪮¯¨à®¢ ¢ ¡ãä¥à ®¡¬¥ ' -I" |
?define T_ABOUT " ¯à®£à ¬¬¥" |
?define T_USE_SHIFT_ENTER "'ᯮ«ì§ã©â¥ Shift+Enter çâ®¡ë ®âªàëâì ¢á¥ ¢ë¤¥«¥ë¥ ä ©«ë.' -I" |
char *kfm_func = { |
"F1 ä®", |
"F2 ¥à¥¨¬.", |
"F3 à®á¬.", |
"F4 ¥¤ ªâ.", |
"F5 ®¯¨à®¢ âì", |
"F6 ¥à¥¬¥áâ¨âì", |
"F7 ¯ª ", |
"F8 ¤ «¨âì", |
"F9 ©«", |
"F10 áâனª¨" |
} |
#else |
?define T_FILE "File" |
?define T_TYPE "Type" |
67,17 → 55,7 |
?define COPY_PATH_STR "'Directory path copied to clipboard' -I" |
?define T_ABOUT "About" |
?define T_USE_SHIFT_ENTER "'Use Shift+Enter to open all selected files.' -I" |
char *kfm_func = { |
"F1 Info", |
"F2 Rename", |
"F3 View", |
"F4 Edit", |
"F5 Copy", |
"F6 Move", |
"F7 Folder", |
"F8 Delete", |
"F9 File", |
"F10 Settings" |
} |
#endif |
?define T_KFM_FUNC "F1 Info | F2 Rename | F3 View | F4 Edit | F5 Copy | F6 Move | F7 Folder | F8 Delete | F9 File | F10 Settings" |
//?define T_KFM_FUNC "F1 ä® | F2 ¥à¥¨¬. | F3 à®á¬. | F4 ¥¤ ªâ. | F5 ®¯¨à®¢ âì | F6 ¥à¥¬¥áâ¨âì | F7 ¯ª | F8 ¤ «¨âì | F9 ©« | F10 áâனª¨" |
/programs/cmm/eolite/compile_en.bat |
---|
0,0 → 1,11 |
@del lang.h-- |
@echo #define LANG_ENG 1 >lang.h-- |
@del Eolite |
cls |
@c-- Eolite.c |
rem @kpack Eolite.com |
@rename Eolite.com Eolite |
@del warning.txt |
@del lang.h-- |
@pause |
/programs/cmm/eolite/compile_ru.bat |
---|
0,0 → 1,12 |
@del lang.h-- |
@echo #define LANG_RUS 1 >lang.h-- |
@del Eolite |
cls |
@c-- Eolite.c |
rem @kpack Eolite.com |
@rename Eolite.com Eolite |
@del warning.txt |
@del lang.h-- |
@pause |
/programs/cmm/menu/menu.c |
---|
154,8 → 154,8 |
inline ProcessKeys() |
{ |
@GetKeyScancode(); |
switch(AL) |
key_scancode = @GetKeyScancode(); |
switch(key_scancode) |
{ |
case SCAN_CODE_ESC: |
exit(); |
184,7 → 184,7 |
break; |
default: |
if (menu1.ProcessKey(AL)) draw_list(); |
if (menu1.ProcessKey(key_scancode)) draw_list(); |
} |
} |