Rev 5401 | Rev 5428 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5401 | Rev 5416 | ||
---|---|---|---|
Line 81... | Line 81... | ||
81 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
81 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
82 | #endif |
82 | #endif |
Line 83... | Line 83... | ||
83 | 83 | ||
Line 84... | Line 84... | ||
84 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
84 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
85 | 85 | ||
86 | #define TITLE "Eolite File Manager v2.44" |
86 | #define TITLE "Eolite File Manager v2.45" |
Line 87... | Line 87... | ||
87 | #define ABOUT_TITLE "Eolite v2.44" |
87 | #define ABOUT_TITLE "Eolite v2.45" |
88 | dword col_padding, col_selec, col_lpanel; |
88 | dword col_padding, col_selec, col_lpanel; |
89 | 89 | ||
Line 90... | Line 90... | ||
90 | int toolbar_buttons_x[7]={9,46,85,134,167,203}; |
90 | int toolbar_buttons_x[7]={9,46,85,134,167,203}; |
91 | char tmp_disk_del_param[]="d0"; |
91 | char tmp_disk_del_param[]="d0"; |
- | 92 | struct path_string { char Item[4096]; }; |
|
- | 93 | ||
Line 92... | Line 94... | ||
92 | struct path_string { char Item[4096]; }; |
94 | byte active_about=0; |
Line 93... | Line 95... | ||
93 | 95 | word about_window; |
|
Line 132... | Line 134... | ||
132 | #include "include\ini.h" |
134 | #include "include\ini.h" |
133 | #include "include\left_panel.h" |
135 | #include "include\left_panel.h" |
134 | #include "include\history.h" |
136 | #include "include\history.h" |
135 | #include "include\menu.h" |
137 | #include "include\menu.h" |
136 | #include "include\about.h" |
138 | #include "include\about.h" |
- | 139 | #include "include\settings.h" |
|
Line 137... | Line 140... | ||
137 | 140 | ||
138 | void SetAppColors() |
141 | void SetAppColors() |
139 | { |
142 | { |
140 | sc.work = 0xE4DFE1; |
143 | sc.work = 0xE4DFE1; |
Line 992... | Line 995... | ||
992 | Write_Error(EAX); |
995 | Write_Error(EAX); |
993 | ShowMessage(NOT_CREATE_FILE, 150); |
996 | ShowMessage(NOT_CREATE_FILE, 150); |
994 | } |
997 | } |
995 | break; |
998 | break; |
996 | case 10: //F10 |
999 | case 10: //F10 |
- | 1000 | if (!active_settings) |
|
- | 1001 | { |
|
- | 1002 | SwitchToAnotherThread(); |
|
- | 1003 | settings_window=CreateThread(#settings_dialog,#about_stak+4092); |
|
- | 1004 | break; |
|
- | 1005 | } |
|
- | 1006 | else |
|
- | 1007 | { |
|
997 | RunProgram(EDITOR_PATH, abspath("Eolite.ini")); |
1008 | ActivateWindow(GetProcessSlot(settings_window)); |
- | 1009 | } |
|
998 | break; |
1010 | break; |
999 | } |
1011 | } |
1000 | } |
1012 | } |