/programs/cmm/lib/obj/libimg.h |
---|
299,7 → 299,6 |
bg = _bg; |
i32.load("/sys/icons32.png"); |
i32.replace_color(0x00000000, bg); |
debugln("wolo"); |
} |
if (icon_n>=0) i32.draw(x, y, 32, 32, 0, icon_n*32); |
} |
/programs/cmm/lib/patterns/restart_process.h |
---|
53,5 → 53,19 |
RunProgram(proc_name, ""); |
} |
:void RestartAllProcess() { |
int i; |
proc_info Process, Self; |
GetProcessInfo(#Self, -1); |
for (i=0; i<MAX_PROCESS_COUNT; i++;) |
{ |
GetProcessInfo(#Process, i); |
if (Process.name) |
&& (!streq(#Process.name, "OS")) |
&& (Process.ID != Self.ID) |
KillProcess(Process.ID); |
} |
RunProgram("/sys/launcher", NULL); |
} |
#endif |