Try the VistaClock - Major performance update!
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Try the VistaClock - Major performance update!
This little companion will sit on your desktop and tell you the time tirelessly without disturbing your desktop (it's transparent!) and use no cpu time at all. Give it a try! A gift from your friend, netmaestro.
http://www.networkmaestro.com/VistaClock.exe
http://www.networkmaestro.com/VistaClock.exe
Last edited by netmaestro on Sun May 14, 2006 8:07 pm, edited 1 time in total.
BERESHEIT
-
- Enthusiast
- Posts: 731
- Joined: Wed Apr 21, 2004 7:12 pm
That's pretty cool - although the transparency is a little laggy. If I jam the clock in the middle of my screen, then slowly minimise the windows behind it then you can see that the background of the clock is the same as a part of the last window. Apart from that it's quite nice!
~I see one problem with your reasoning: the fact is thats not a chicken~
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
- utopiomania
- Addict
- Posts: 1655
- Joined: Tue May 10, 2005 10:00 pm
- Location: Norway
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Hi Netmaestro! Thanks for this. I noticed a couple of things. I had a regular folder window open underneath where it initially appeared. This seemed to cause some crazy flashing (clock would quickly appear then disappear) for about 15 seconds. If I started the app with no open windows, there was no problem. Then if I drag the clock around, it seems to take a snapshot of the area under the clock (also freezing the tick which makes sense) until I release the mouse when the clock is at the new position. Maybe this is to be expected. When the mouse is released, there was a flash (seemed like background repaint, white square fill, then clock).
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Beta 3 is the latest version, it's the best behaved so far. I'll be working on this again today, with the following features planned:
- able to resize
- drop shadows corrected for hands on the left side of the clock
- add alarms which will play sounds, show graphics, or run scripts on reaching the specified time
- performance improvements, if possible.
VistaClock is PureBasic v4.0 all the way, as it relies heavily on alpha layers rendering correctly. You could write something nice in 3.9x, but it wouldn't look the same. Long live the alpha! (snd)
- able to resize
- drop shadows corrected for hands on the left side of the clock
- add alarms which will play sounds, show graphics, or run scripts on reaching the specified time
- performance improvements, if possible.
VistaClock is PureBasic v4.0 all the way, as it relies heavily on alpha layers rendering correctly. You could write something nice in 3.9x, but it wouldn't look the same. Long live the alpha! (snd)

BERESHEIT
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Ah, interesting. Thanks for the feedback, I suspect the issue there is that it uses a windowed screen and sprite3d graphics, which requires dx7 or better to be available. I'll put cleaner code in there so it ends gracefully if it can't run. (I'm guessing no dx7 is the issue, anyway) The reason for the cpu usage will be that it can't verify the background so it's always trying to update it. Good one, thanks again.
BERESHEIT