LibssLibss is a cross-platform library for controlling screensavers. | |
Download |
Libss Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- W. Michael Petullo
- Publisher web site:
- http://www.flyn.org/#id2757323
Libss Tags
Libss Description
Libss is a cross-platform library for controlling screensavers. Libss is a cross-platform library for controlling screensavers. It allows one to temporarily disable a screensaver.Libss library is useful for fullscreen, visual applications that take little input.BUILDING Procedure 1. To build, cross your fingers and try... 1. ./configure 2. make 3. make installRead the ``INSTALL'' file for generic detailed information on installing this program.NASTY DETAILSThe screensaver_init() function initializes the library.The screensaver_enable() function turns on the system's screensaver.The screensaver_disable() function turns off the system's screensaver.The screensaver_restore() function restores the screensaver to the state it was in when the library was initialized by screensaver_init().Currently, libss supports only Linux, the X Window System, and XSreenSaver. However, the library is designed to support other platforms. Please feel free to contribute.Originally libss's code was to be integrated with SDL. However, due to a feature freeze, this functionality will not make it into SDL for quite some time. In the meantime, I am packaging libss as a separate library. Libss also serves as a testbed for XScreenSaver-controlling APIs. I would like to offer a better interface to XScreenSaver than jwz's:if (playing && !paused) { system ("xscreensaver-command -deactivate >&- 2>&- &");} Consider libss a proof-of-concept which may turn into something useful.
Libss Related Software