nanogui: Screensaver?


Previous by date: 15 Oct 2000 18:56:00 -0000 How install touchscreen?, cys
Next by date: 15 Oct 2000 18:56:00 -0000 Compilation errors, Jason C. Garcowski
Previous in thread:
Next in thread: 15 Oct 2000 18:56:00 -0000 Re: Screensaver?, Jordan Crouse

Subject: Screensaver?
From: Nils Faerber ####@####.####
Date: 15 Oct 2000 18:56:00 -0000
Message-Id: <00101520565801.00680@twincan>

Hello!
Just installed microwindows and one of my first nano-X/FLTK apps on the iPaq
and wondered if we should implement a screensaver into nano-X. Currently
when I start nano-X the screen will remain on all the time which is not very
good for the battery ;)
So I hacked up a small screensaver routine into nanox/srvmain.c (the main
select() loop waiting for events). This way I can monitor any input that should
switch the screen back on. But currently the timeout is fixed at 60 seconds. To
make this configurable I would have to implement some nano-X function that an
application can call to modify this value. I can do this but wanted to ask
beforehand if this is the way to go, noone has done this already or any other
comments so that I can save otherwise useless work ;)
Thanks!
CU
   nils faerber

-- 
kernel concepts
Engel & Faerber GbR      Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--

Previous by date: 15 Oct 2000 18:56:00 -0000 How install touchscreen?, cys
Next by date: 15 Oct 2000 18:56:00 -0000 Compilation errors, Jason C. Garcowski
Previous in thread:
Next in thread: 15 Oct 2000 18:56:00 -0000 Re: Screensaver?, Jordan Crouse


Powered by ezmlm-browse 0.20.