Photon Screen Saver???

bridged with qdn.public.qnx4.photon
Post Reply
Matt Crowell

Photon Screen Saver???

Post by Matt Crowell » Tue Mar 26, 2002 12:28 pm

In an industrial application, I have 4 separate Photon apps running
under QNX4.25. Is there an easy way to implement a custom screen saver
without the overhead of Desktop Manager running ? The screen would need
to "wake up" any any keypress and return the user to original photon
screen. My customers a "burning in" their CRT displays over time.

--
Matt Crowell
Electrical Engineer

Vamco International, Inc.
555 Epsilon Drive
Pittsburgh, PA. 15238

Phone:412.963.7100
Fax:412.963.9511

Brian Edmond

Re: Photon Screen Saver???

Post by Brian Edmond » Tue Apr 02, 2002 1:57 pm

Matt Crowell wrote:
In an industrial application, I have 4 separate Photon apps running
under QNX4.25. Is there an easy way to implement a custom screen saver
without the overhead of Desktop Manager running ? The screen would need
to "wake up" any any keypress and return the user to original photon
screen. My customers a "burning in" their CRT displays over time.
Doing a screen saver is fairly easy. What you have to do is create a
ForceFront region (one infront of everything else in your system) and
have it look for keys and mouse presses/releases. When a specified time
goes by where none of these events have occurred it starts a screen
saver application or it can do the drawing itself, then when it gets a
new event the screen saver is stopped. If a seperate applicaiton is
started make sure it's region is behind the one that catches the events.

Brian


----------------------------
Brian Edmond
QNX Software Systems
briane@qnx.com

Post Reply

Return to “qdn.public.qnx4.photon”