/programs/cmm/eolite/include/about_dialog.h |
---|
4,7 → 4,19 |
#define BROWSER_PATH "/sys/htmlv" |
#define BROWSER_LINK "http://kolibri-n.org/index.php" |
#ifdef LANG_RUS |
?define INTRO_TEXT_1 " Eolite" |
?define INTRO_TEXT_2 " §à ¡®â稪¨:" |
?define INTRO_TEXT_3 "®á¥â¨â¥" |
?define INTRO_TEXT_4 " ªàëâì" |
#else |
?define INTRO_TEXT_1 "About Eolite" |
?define INTRO_TEXT_2 "Developers:" |
?define INTRO_TEXT_3 "Visit" |
?define INTRO_TEXT_4 "Close" |
#endif |
void about_dialog() |
{ |
byte id; |
21,17 → 33,25 |
break; |
case evReDraw: |
DefineAndDrawWindow(600,150,181,232+GetSkinHeight(),0x34,col_work,"About Eolite"); |
DefineAndDrawWindow(600,150,181,232+GetSkinHeight(),0x34,col_work,INTRO_TEXT_1); |
DrawBar(0,0,172,50,0x8494C4); |
PutPaletteImage(#logo,85,85,43,7,8,#logo_pal); |
WriteTextB(46,100,0x90,0xBF40BF,ABOUT_TITLE); |
WriteText(55,120,0x80,0,"Developers:"); |
#ifdef LANG_RUS |
WriteText(50,120,0x80,0,INTRO_TEXT_2); |
#else |
WriteText(55,120,0x80,0,INTRO_TEXT_2); |
#endif |
WriteText(39,130,0x80,0,"Leency & Veliant"); |
WriteText(45,140,0x80,0,"KolibriOS Team"); |
WriteText(61,150,0x80,0,"2008-2013"); |
WriteText(29,170,0x80,0,"Visit"); |
DrawLink(66,170,0x80,23, "kolibri-n.org"); |
DrawFlatButton(85,190,70,22,10,0xE4DFE1, "Close"); |
#ifdef LANG_RUS |
WriteText(19,170,0x80,0,INTRO_TEXT_3); |
#else |
WriteText(29,170,0x80,0,INTRO_TEXT_3); |
#endif |
DrawLink(71,170,0x80,23, "kolibri-n.org"); |
DrawFlatButton(85,190,70,22,10,0xE4DFE1, INTRO_TEXT_4); |
DrawFilledBar(0, 216, 172, 12); |
} |
} |
/programs/cmm/eolite/include/file_menu.h |
---|
1,6 → 1,22 |
//Leency 2008-2013 |
#ifdef LANG_RUS |
char *captions[] = { |
"âªàëâì", "Enter", |
"âªàëâì á ¯®¬®éìî...", "CrlEnt", |
"âªàëâì ª ª ⥪áâ", "F3", |
"âªàëâì ¢ HEX", "F4", |
// |
"®¯¨à®¢ âì", "Crl+C", |
"ë१ âì", "Crl+X", |
"áâ ¢¨âì", "Crl+V", |
"¥à¥¨¬¥®¢ âì", "F2", |
"¤ «¨âì", "Del", |
"¡®¢¨âì", "F5", |
0, 0}; |
#else |
char *captions[] = { |
"Open", "Enter", |
"Open with...", "CrlEnt", |
"View as text", "F3", |
11,8 → 27,9 |
"Paste", "Crl+V", |
"Rename", "F2", |
"Delete", "Del", |
//"Refresh", "F5", |
"Refresh", "F5", |
0, 0}; |
#endif |
proc_info MenuForm; |
/programs/cmm/eolite/include/left_panel.h |
---|
1,5 → 1,28 |
//Leency 2008-2013 |
#ifdef LANG_RUS |
char *actions[] = { |
57, "®¢ë© ä ©«", "F7", |
56, "®¢ ï ¯ ¯ª ", "F6", |
60, " áâனª¨", "F10", |
0,0,0 |
}; |
?define T_DEVICES "áâனá⢠" |
?define T_ACTIONS "¥©á⢨ï" |
#else |
char *actions[] = { |
57, "New file", "F7", |
56, "New folder", "F6", |
60, "Options", "F10", |
0,0,0 |
}; |
?define T_DEVICES "Devices" |
?define T_ACTIONS "Actions" |
#endif |
void Tip(int y, dword caption, id, arrow) |
{ |
int i; |
51,7 → 74,7 |
char dev_name[10], disc_name[100]; |
int i, dev_icon; |
Tip(56, "Devices", 55, "="); |
Tip(56, T_DEVICES, 55, "="); |
for (i=0; i<20; i++) DeleteButton(100+i); |
for (i=0;i<disc_num;i++) |
{ |
104,17 → 127,10 |
} |
} |
char *actions[] = { |
57, "New file", "F7", |
56, "New folder", "F6", |
60, "Options", "F10", |
0,0,0 |
}; |
void ActionsDraw() |
{ |
int actions_y=disc_num*16+108, lineh=16; |
Tip(actions_y-18, "Actions", 77, ""); //çàãîëîâîê |
Tip(actions_y-18, T_ACTIONS, 77, ""); //çàãîëîâîê |
for (i=0; actions[i*3]!=0; i++, actions_y+=lineh) |
{ |
DrawBar(17,actions_y,160,lineh,0xFFFFFF); //áåëîå |
/programs/cmm/eolite/include/some_code.h |
---|
7,7 → 7,7 |
void ShowMessage(dword message) |
{ |
DrawFlatButton(Form.width/2-13,160,200,80,0,0xFFB6B5, message); |
DrawFlatButton(Form.width/2-13,160,220,80,0,0xFFB6B5, message); |
pause(150); |
List_ReDraw(); |
} |