Subversion Repositories Kolibri OS

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
9489 848 d 17 h leency / @ss: if no program set then exit
appearance: show timeout of ss, now you can set screensaver
ndn: new version by CandyMan (no screen blinking on app run, no ".." in the root of /cd disks)
fnav: pack images, add tup file to kpack readme (I hope this won't fail)
 
7659 1801 d 14 h dunkaist /programs/system/scrsaver/ Disable screen saver hack by Nasarus.  
7600 1870 d 11 h dunkaist /programs/system/scrsaver/ Add scrsaver: new screen saver program.

Our default screen saver, ss, requires animations to run as its threads.
Therefore you can't set your favorite demo app as screen saver without
embedding it into ss. Vice versa, you can't run embedded animations as
standalone demos. Moreover, ss is a multi-thread app with configuration
window invoked by clicking both mouse buttons at the top right screen
corner (really?).

Scrsaver is a tiny single-thread program, configured via plain text
file, /sys/settings/system.ini. It has no window and runs a separate
executable as screen saver. This is done via primitive protocol:
* Config file specifies program to run;
* '@ss' parameter is passed to the program;
* program launches '/sys/@ss' at exit if '@ss' param is passed.

See /programs/demos/spiral for working example.