Transparent Clock
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
That's odd because it doesn't do anything once per second. It pulses once every 60ms and draws the secondhand and crystal, and the hires timer I put on the event proc shows it's taking 1.45ms to complete the drawing and update the window. That's down from 4ms it was taking when it was still drawing all the hands every pulse. Are you certain it's this program that's using it, because my dual-core machine does the same thing all the time and the line item for Transparentclock in the process list always shows a steady 0. If the task is taking anywhere close to the same time on your system as it is on mine, 1.45ms every 60 should show deadflat 0.
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Yes, on the hour and minute hands I'm switching the dropshadow on the vertical but I didn't bother for the second hand because it was hardly noticeable. I'll have to add it in too if you can see it now. I must say I was pleasantly surprised to see how much quality it keeps even sized up to 512 square. Its native size is only 196.
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Timezones are done now. You choose an offset from the menu, just a couple of things to be aware of:
- Offset is from your time, not GMT
- You are given the option to enter a city name to show on the clock, but you can leave it blank if desired
- City name won't show against an all-white background, but I don't think I can solve this. Any color at all and it will show.
Current version is uploaded, 122k in size, timestamp 6:24am.
- Offset is from your time, not GMT
- You are given the option to enter a city name to show on the clock, but you can leave it blank if desired
- City name won't show against an all-white background, but I don't think I can solve this. Any color at all and it will show.
Current version is uploaded, 122k in size, timestamp 6:24am.
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada