Page 1 of 3

Transparent clock with source

Posted: Fri Jul 28, 2006 11:33 am
by Trond
It's not as pretty as netmaestro's, but it's got source code.

Latest release: http://home.no.net/tsg1zzn/clock.zip

Posted: Fri Jul 28, 2006 11:36 am
by oldBear
Very Nice.

Thanks for sharing it.

Posted: Fri Jul 28, 2006 1:25 pm
by Inf0Byt3
This is pretty cool. Thanks!

Posted: Fri Jul 28, 2006 2:41 pm
by GeoTrail
Very cool Trond.
Did you forget to add set and getmenuitem state ?
Seems like there should be a check next to the selected behavior style. Anyways, really nice work :)

Posted: Fri Jul 28, 2006 2:46 pm
by Trond
Thanks, everyone. No, I didn't forget the checkmarks in the menu, I just didn't care.

Posted: Fri Jul 28, 2006 4:36 pm
by Fred
Hoho, Trond app isn't perfect ?! :shock: Kidding :wink:

Posted: Fri Jul 28, 2006 4:46 pm
by Beach
Very nice Trond, thanks for the source too! 8)

Posted: Fri Jul 28, 2006 4:53 pm
by Joakim Christiansen
Fred wrote:Hoho, Trond app isn't perfect ?! :shock: Kidding :wink:
Haha, I guess you would love to give him some bug reports! :P

Posted: Fri Jul 28, 2006 5:20 pm
by netmaestro
Very good job, trond, you're to be congratulated. I think it looks excellent. You could see if there's possibly something that can be done about the CPU usage, here it's a steady 3.2%, which for a desktop clock should be at or very near 0. But that's a relatively minor observation, overall great work.

Posted: Fri Jul 28, 2006 5:35 pm
by Straker
I don't see anything. Its running in task manager but I don't see anything. This is on Win 2K Pro SP4 with GeForce card.

Can someone provide a screenshot so I know what I am looking for?

BTW, netmaestro's clock never worked for me either....

Posted: Fri Jul 28, 2006 5:40 pm
by netmaestro
@straker, is it possible that your desktop color depth is set to 16 bits? The api's used in these clocks will not work with less than 32bit desktops. Actually the latest version of VistaClock exits with a messagebox if it finds less than 32bit color depth.

Posted: Fri Jul 28, 2006 5:52 pm
by yoxola
Win2K here, doesn't work either, but worked on my laptop witn WinXP.

Posted: Fri Jul 28, 2006 6:00 pm
by GeoTrail
Heres a screenshot
Image

click on it for larger view

Posted: Fri Jul 28, 2006 7:22 pm
by yoxola
Hmmm... strange, no crash, no mesage, just do nothing on 2K, must close it manually in task manager.

Posted: Fri Jul 28, 2006 7:22 pm
by Trond
Fred wrote:Hoho, Trond app isn't perfect ?! :shock: Kidding :wink:
It's not even got a version number yet. Wait 'n' see. :wink:
netmaestro wrote:Very good job, trond, you're to be congratulated. I think it looks excellent. You could see if there's possibly something that can be done about the CPU usage, here it's a steady 3.2%, which for a desktop clock should be at or very near 0. But that's a relatively minor observation, overall great work.
I know, it uses WAY to much CPU. However, I don't know how to do much about it, alpha drawing simply IS slow.

Straker wrote:I don't see anything. Its running in task manager but I don't see anything. This is on Win 2K Pro SP4 with GeForce card.

Can someone provide a screenshot so I know what I am looking for?

BTW, netmaestro's clock never worked for me either....
Yes, as netmaestro said, the display depth must be at least 32 bits. It works on Windows 2000 here (in fact, the rotation of the hands looks much better, probably because of the graphics card).