/programs/fs/Eolite/trunk/include/about_dialog.h |
---|
3,10 → 3,10 |
#include "imgs\logo.txt" |
#define BROWSER_PATH "/sys/htmlv" |
#define BROWSER_LINK "http://www.kolibri-os.narod.ru" |
#define BROWSER_LINK "http://kolibri-os.narod.ru" |
void authors() |
void about_dialog() |
{ |
byte p; |
mouse mm; |
37,11 → 37,11 |
DefineAndDrawWindow(600,150,181,256,0x34,0x10EFEBEF,0,0,"About Eolite"); |
DrawBar(0,0,172,50,0x8494C4); //ãîëóáîå ñçàäè |
PutPaletteImage(#logo,85,85,43,7,#logo_pal); |
WriteText(54,100,0x80,0xBF40BF,"Eolite v1.2",0); |
WriteText(51,100,0x80,0xBF40BF,"Eolite v1.22",0); |
WriteText(55,120,0x80,0,"Developers:",0); |
WriteText(39,130,0x80,0,"Leency & Veliant",0); |
WriteText(45,140,0x80,0,"KolibriOS Team",0); |
WriteText(55,150,0x80,0," 2008-2012 ",0); |
WriteText(61,150,0x80,0,"2008-2012",0); |
WriteText(12,170,0x80,0,"Visit",0); |
DrawLink(48,170,23, "kolibri-os.narod.ru"); //ññûëêa |
DrawFlatButton(85,190,70,22,0,0xE4DFE1, "Close"); |
/programs/fs/Eolite/trunk/include/devices.h |
---|
1,9 → 1,5 |
//03.04.2012 |
path_string disk_list[20]; |
int disc_num; |
void GetSystemDiscs() |
{ |
char dev_name[10], sys_discs[10]; |
46,7 → 42,8 |
DrawBar(2,56,15,onTop(21,41),0x00699C); //ñèíèé ïðÿìîóãîëüíèê - ñëåâà |
DrawBar(177,56,15,onTop(21,41),0x00699C); //ñèíèé ïðÿìîóãîëüíèê - ñïðàâà |
//ñïèñîê äèñêîâ |
Tip(56, "Devices", 0, ""); |
if (show_dev_name) Tip(56, "Devices", 78, "="); |
else Tip(56, "Devices", 78, "-"); |
for (i=0;i<disc_num;i++) |
{ |
DrawBar(17,i*16+74,160,17,0xFFFFFF); //áåëîå |
61,7 → 58,8 |
IF (dev_name[1]=='h') || (dev_name[1]=='b') copystr("Hard disk ",#disc_name); |
copystr(#dev_name,#disc_name+strlen(#disc_name)); |
// |
WriteText(45,i*16+79,0x80,0,#disc_name,0); |
if (show_dev_name) WriteText(45,i*16+79,0x80,0,#disc_name,0); |
else WriteText(45,i*16+79,0x80,0,#dev_name,0); |
PutImage(dev_icon*14*13*3+#devices,14,13,21,i*16+76); |
} |
} |
/programs/fs/Eolite/trunk/include/ini.h |
---|
8,7 → 8,6 |
char NOTIFY_PATH[7]="@notify"; |
void GetIni(byte onload) |
{ |
byte section[32]='', parametr[32]='', option[256]='', InfType=0; |
49,9 → 48,16 |
case 0x0a: |
case 0x0d: |
InfType=PARAM; |
IF (strcmp(#parametr,"SelectionColor")==0) videlenie=StrToCol(#option); |
IF (strcmp(#parametr,"LineHeight")==0) BUTTON_HEIGHT=StrToInt(#option); |
IF (!strcmp(#parametr,"SelectionColor")) videlenie=StrToCol(#option); |
IF (!strcmp(#parametr,"LineHeight")) BUTTON_HEIGHT=StrToInt(#option); |
IF (!strcmp(#parametr,"ShowDeviceName")) show_dev_name=StrToInt(#option); |
/*if (!strcmp(#section,"UserDirectories")) && (parametr) && (onload) |
{ |
copystr(#parametr, #disk_list[disc_num].Item); |
disc_num++; |
}*/ |
IF (parametr) && (!strcmp(#file_name+find_symbol(#file_name,'.'),#parametr)) { |
errornum=RunProgram(#option,#file_path); |
IF (errornum<0) //åñëè îøèáî÷êà âûøëà ïðè çàïóñêå |