cmm: small fixes

git-svn-id: svn://kolibrios.org@4409 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2013-12-26 21:48:54 +00:00
parent bfb0c00f44
commit 9d3814b61f
3 changed files with 9 additions and 8 deletions

View File

@ -30,13 +30,13 @@ void GetIni(byte onload)
case 0x0a:
case 0x0d:
InfType=PARAM;
IF (!strcmp(#parametr,"SelectionColor")) edit2.shift_color=col_selec=StrToCol(#option);
IF (!strcmp(#parametr,"LineHeight")) files.line_h = atoi(#option);
IF (!strcmp(#parametr,"ShowDeviceName")) show_dev_name=atoi(#option);
IF (!strcmp(#parametr,"RealFileNamesCase")) real_files_names_case=atoi(#option);
IF (!strcmp(#parametr,"DrwRamDiskSpace")) drw_ram_disk_space=atoi(#option);
if (!strcmp(#parametr,"SelectionColor")) edit2.shift_color=col_selec=StrToCol(#option);
if (!strcmp(#parametr,"LineHeight")) files.line_h = atoi(#option);
if (!strcmp(#parametr,"ShowDeviceName")) show_dev_name=atoi(#option);
if (!strcmp(#parametr,"RealFileNamesCase")) real_files_names_case=atoi(#option);
if (!strcmp(#parametr,"DrwRamDiskSpace")) drw_ram_disk_space=atoi(#option);
IF (parametr) && (!strcmp(#file_name+strrchr(#file_name,'.'),#parametr)) && (!onload)
if (parametr) && (!strcmpi(#file_name+strrchr(#file_name,'.'),#parametr)) && (!onload)
{
errornum = RunProgram(#option,#file_path);
if (errornum<0)

View File

@ -34,10 +34,10 @@ void main()
RunProgram("/sys/REFRSCRN", NULL);
copyf(abspath("sys"), "/rd/1");
RunProgram("/sys/launcher", NULL);
SetSystemSkin("/kolibrios/res/skins/Octo - flat.skn");
SetSystemSkin("/kolibrios/res/skins/OpusN.skn");
notify(T_END);
DeleteFile("/sys/3d/free3d04");
DeleteFile("/sys/games/invaders");
notify(T_END);
ExitProcess();
}

View File

@ -4,6 +4,7 @@ struct llist
{
int x, y, w, h, min_h, line_h, text_y;
int count, visible, first, current;
int active;
void ClearList();
int ProcessKey(dword key);
int MouseOver(int xx, yy);