Just Another Stupid Egg Timer
http://www.networkmaestro.com/QuickTimer.exe
Enjoy!
JASET
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
JASET
BERESHEIT
- 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
It's fixed up a bit:
- digital readout is always readable regardless of background
- paused state alpha is a bit higher for better visibility
- made a much better icon for the program
The digits being readable was an interesting problem. Text drawn to an alphablended window is always like that, regardless of how it's rendered. I thought I could solve it by creating an image, drawing the text on that, and then drawing the image on the background before it's used to update the layered window, but no dice. It gets rendered the same either way. The other option would be to update the layered window ULW_COLORKEY instead of ULW_ALPHA, which solves the problem but leaves the edges not alphablended. As every edge is curved, that looked awful. So - get out the hack toolbox...
- digital readout is always readable regardless of background
- paused state alpha is a bit higher for better visibility
- made a much better icon for the program
The digits being readable was an interesting problem. Text drawn to an alphablended window is always like that, regardless of how it's rendered. I thought I could solve it by creating an image, drawing the text on that, and then drawing the image on the background before it's used to update the layered window, but no dice. It gets rendered the same either way. The other option would be to update the layered window ULW_COLORKEY instead of ULW_ALPHA, which solves the problem but leaves the edges not alphablended. As every edge is curved, that looked awful. So - get out the hack toolbox...
BERESHEIT
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Update:
I noticed from using this that after setting the timer with the arrow keys, the most natural thing to do next is hit the return key to start it. So I added this. Also, now that there are two ways to start the timer, it seemed a good idea to disable ticking for one of them. Hence, if you start the timer with a double-click, it will tick, but if you hit enter it will be quiet until it rings.
I noticed from using this that after setting the timer with the arrow keys, the most natural thing to do next is hit the return key to start it. So I added this. Also, now that there are two ways to start the timer, it seemed a good idea to disable ticking for one of them. Hence, if you start the timer with a double-click, it will tick, but if you hit enter it will be quiet until it rings.
BERESHEIT
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada