mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-28 19:53:12 +03:00
cmm: small fixes
git-svn-id: svn://kolibrios.org@4409 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
bfb0c00f44
commit
9d3814b61f
@ -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)
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user