22,6 → 22,11 |
¢®©á⢠|F8"; |
char empty_folder_actions[]= |
"áâ ¢¨âì |Crl+V"; |
char burger_menu_items[] = |
"®¢®¥ ®ª®|Ctrl+N |
âªàëâì ª®á®«ì|Ctrl+G |
¡®¢¨âì ¯ ¯ªã|F5 |
¯à®£à ¬¬¥|F1"; |
|
#elif LANG_EST |
char file_actions[]= |
46,6 → 51,11 |
Properties |F8"; |
char empty_folder_actions[]= |
"Aseta |Crl+V"; |
char burger_menu_items[] = |
"New window|Ctrl+N |
Open console here|Ctrl+G |
Värskenda|F5 |
About|F1"; |
|
#else |
char file_actions[]= |
70,12 → 80,13 |
Properties |F8"; |
char empty_folder_actions[]= |
"Paste |Crl+V"; |
|
char burger_menu_items[] = |
"New window|Ctrl+N |
Open console here|Ctrl+G |
Refresh folder|F5 |
About|F1"; |
#endif |
|
//¡®¢¨âì ¯ ¯ªã |F5 |
//Värskenda |F5 |
//Refresh |F5 |
|
enum { MENU_DIR=1, MENU_FILE, MENU_NO_FILE, MENU_BURGER }; |
|
104,6 → 115,12 |
case 5: Del_Form(); break; |
case 6: FnProcess(8); break; |
} |
if (active_menu == MENU_BURGER) switch(_id) { |
case 1: EventOpenNewEolite(); break; |
case 2: EventOpenConsoleHere(); break; |
case 3: EventRefreshDisksAndFolders(); break; |
case 4: FnProcess(1); break; |
} |
active_menu = NULL; |
} |
|
123,9 → 140,17 |
text = #file_actions; |
active_menu = MENU_FILE; |
} |
open_lmenu(mouse.x+Form.left+5, mouse.y+Form.top+3+skin_height, MENU_ALIGN_TOP_LEFT, NULL, text); |
open_lmenu(mouse.x+Form.left+5, mouse.y+Form.top+3 |
+skin_height, MENU_ALIGN_TOP_LEFT, NULL, text); |
} |
|
void EventShowBurgerMenu() |
{ |
active_menu = MENU_BURGER; |
open_lmenu(Form.width-10+Form.left, 35+Form.top+skin_height, |
MENU_ALIGN_TOP_RIGHT, NULL, #burger_menu_items); |
} |
|
bool GetMenuClick() |
{ |
dword click_id; |