Page 1 of 1

JASET

Posted: Sun Jan 28, 2007 2:02 am
by netmaestro
Just Another Stupid Egg Timer

http://www.networkmaestro.com/QuickTimer.exe

Enjoy!

Posted: Sun Jan 28, 2007 3:49 am
by SFSxOI
Nice...the alarm will make you deaf if your wearing headphones - but nice none the less :)

Thank you :)

Posted: Sun Jan 28, 2007 6:17 am
by Straker
cool 8)

Posted: Sun Jan 28, 2007 12:19 pm
by mskuma
Nice. I'd suggest making the time text background an opaque white colour, since it's not possible to see the text when it's over a white window background.

Posted: Sun Jan 28, 2007 12:23 pm
by netmaestro
Yes, good point. I'm going to fix that today, also I want to lower the tick volume and find a better ring. That one is irritating, it's just the first free alarm sound I came across.

Posted: Sun Jan 28, 2007 4:43 pm
by SFSxOI
Make it sort of like an alarm clock, when it goes off it plays an internet radio station...;)

Really tho, add a capability to play a user selected .mp3 file for the alarm? That would be fun.

Posted: Sun Jan 28, 2007 6:53 pm
by netmaestro
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...

Posted: Tue Jan 30, 2007 2:27 pm
by netmaestro
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.

Posted: Tue Jan 30, 2007 2:58 pm
by RichardL
My egg timer looks just like this and all I do is drag the end of the pointer round... trust the computer version to be more complictated. :D :D :D

Posted: Tue Jan 30, 2007 3:01 pm
by netmaestro
I might try to implement that, it doesn't seem like it would be too easy though.