Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2833 → Rev 2875

/programs/fs/Eolite/trunk/include/about_dialog.h
2,6 → 2,7
 
#include "imgs\logo.txt"
 
#define EDITOR_PATH "/sys/tinypad"
#define BROWSER_PATH "/sys/htmlv"
#define BROWSER_LINK "http://kolibri-os.narod.ru"
 
27,6 → 28,7
id=GetButtonID();
IF (id==1) ExitProcess();
IF (id==23) RunProgram(BROWSER_PATH, BROWSER_LINK);
IF (id==33) RunProgram(EDITOR_PATH, #program_path);
break;
case evKey:
34,10 → 36,10
break;
case evReDraw:
DefineAndDrawWindow(600,150,181,256,0x34,0x10EFEBEF,0,0,"About Eolite");
DefineAndDrawWindow(600,150,181,256,0x34,0x10EFEBEF,"About Eolite");
DrawBar(0,0,172,50,0x8494C4); //ãîëóáîå ñçàäè
PutPaletteImage(#logo,85,85,43,7,#logo_pal);
WriteText(46,100,0x90,0xBF40BF,"Eolite v1.28",0);
WriteText(46,100,0x90,0xBF40BF,"Eolite v1.31",0);
$add ebx, 1<<16
$int 0x40
WriteText(55,120,0x80,0,"Developers:",0);
48,7 → 50,8
DrawLink(48,170,23, "kolibri-os.narod.ru"); //ññûëêa
DrawFlatButton(85,190,70,22,0,0xE4DFE1, "Close");
//PutPaletteImage(3*16*15+#ficons,16,15,40,195,#ficons_pal);
DefineButton(20-1,195-1, 16+1,15+1, 33+BT_HIDE, 0);
PutPaletteImage(8*16*15+#ficons,16,15,20,195,#ficons_pal);
}
}
 
/programs/fs/Eolite/trunk/include/history.h
13,11 → 13,11
char cur_fol[4096];
copystr(#path,#cur_fol);
cur_fol[strlen(#cur_fol)-1]=0x00; //îáðåçàåì ïîñëåäíèé /
copystr(#cur_fol+find_symbol(#cur_fol,'/'),#cur_fol);
copystr(#cur_fol+strchr(#cur_fol,'/'),#cur_fol);
return #cur_fol;
}
 
void HistoryPath(byte action)
int HistoryPath(byte action)
{
int MAX_HISTORY_NUM;
41,15 → 41,17
if (action==GO_BACK)
{
if (history_current<=2) return;
if (history_current<=2) return 0;
history_current--;
copystr(#history_list[history_current].Item,#path);
return 1;
}
 
if (action==GO_FORWARD)
{
if (history_current==history_num) return;
if (history_current==history_num) return 0;
history_current++;
copystr(#history_list[history_current].Item,#path);
return 1;
}
}
/programs/fs/Eolite/trunk/include/icons_f.h
85,6 → 85,7
"mkv", 14,
"mp4", 14,
"vob", 14,
"grf", 25,
0};
 
 
96,7 → 97,11
int icon_n=0, i;
 
for (i=0; ext[i]<>0; i+=2;)
if (!strcmp(extension, ext[i])) icon_n = ext[i+1];
if (!strcmp(extension, ext[i]))
{
icon_n = ext[i+1];
break;
}
 
PutPaletteImage(icon_n*16*15+#ficons,16,15,195,yy,#ficons_pal);
if (icon_n<>17) && (strlen(extension)<9) WriteText(-strlen(extension)*3+onLeft(168,0)+36,yy+4,0x80,0,extension,0);
/programs/fs/Eolite/trunk/include/ini.h
78,7 → 78,7
disc_num++;
}*/
IF (parametr) && (!strcmp(#file_name+find_symbol(#file_name,'.'),#parametr)) {
IF (parametr) && (!strcmp(#file_name+strchr(#file_name,'.'),#parametr)) {
errornum=RunProgram(#option,#file_path);
IF (errornum<0) //åñëè îøèáî÷êà âûøëà ïðè çàïóñêå
{
/programs/fs/Eolite/trunk/include/some_code.h
1,7 → 1,7
//Leency - 2012
 
dword onLeft(dword right,left) {EAX=Form.width-right-left;}
dword onTop(dword down,up) {EAX=Form.height-GetSkinWidth()-down-up;}
dword onTop(dword down,up) {EAX=Form.height-GetSkinHeight()-down-up;}
 
 
void ShowMessage(dword message)