Tremulous Forum

Community => Off Topic => Topic started by: Ingar on June 17, 2009, 09:16:50 pm

Title: Glock, the screensaver
Post by: Ingar on June 17, 2009, 09:16:50 pm
In the early days of desktop environments the life of almost every self-respecting computer programmer
reached a point where he had to write a screensaver to provide his fellow geeks with a direct example of
his mad hacking skills.

In more recent times, screensavers have been associated with websites ridled with spyware, virusses
and other malware. The amateur screensaver has become an endangered species, if not, extinct.
The corporate screensaver is on the rise, and we must act now if the amateur screensaver is to survive.

In this struggle for survival, I bring you: Glock, the clock screensaver for windows!
It's small, it's free, it has no options and it shows the current time!

http://ingar.satgnu.net/glock/ (http://ingar.satgnu.net/glock/)
http://ingar.satgnu.net/glock/files/glock-0.1-win32.zip (http://ingar.satgnu.net/glock/files/glock-0.1-win32.zip)

P.S.
I refer to the self-respecting programmer as he because I have never met
a female self-respecting programmer who has written a screensaver.

I'm quite certain an amateur screensaver with a more female design could be a
huge improvement to the screensaver ecosytem.
Title: Re: Glock, the screensaver
Post by: bacon665 on June 17, 2009, 09:20:17 pm
does it move around to actually "save" the screen, or does it burn the clock into my lcd?
Title: Re: Glock, the screensaver
Post by: Ingar on June 17, 2009, 09:31:21 pm
does it move around to actually "save" the screen, or does it burn the clock into my lcd?

It will burn the clock into your lcd, that's why it is an amateur screensaver.
Title: Re: Glock, the screensaver
Post by: kevlarman on June 17, 2009, 10:07:27 pm
does it move around to actually "save" the screen, or does it burn the clock into my lcd?
except you can't burn a clock (or anything else for that matter) into an lcd.
Title: Re: Glock, the screensaver
Post by: mooseberry on June 17, 2009, 10:11:59 pm
does it move around to actually "save" the screen, or does it burn the clock into my lcd?
except you can't burn a clock (or anything else for that matter) into an lcd.

Are you using a plasma screen lcd?  ::)
Title: Re: Glock, the screensaver
Post by: bacon665 on June 17, 2009, 10:15:49 pm
Quote
plasma screen lcd
hmm mind explaining how the hell that would work since the plasma would bridge the anode and plate in the diode together like the mercury does in a thyratron?
Title: Re: Glock, the screensaver
Post by: mooseberry on June 17, 2009, 10:35:12 pm
I don't suppose you've heard of the terms irony/sarcasm/joke
Title: Re: Glock, the screensaver
Post by: Bissig on June 18, 2009, 12:05:36 am
@Ingar

You totally ripped that one off from a KDE screensaver called "Clock". ;-P (Or maybe they ripped yours off. Does yours come with adjustable colours?)
Title: Re: Glock, the screensaver
Post by: Annihilation on June 18, 2009, 12:25:05 am
@Ingar

You totally ripped that one off from a KDE screensaver called "Clock". ;-P (Or maybe they ripped yours off. Does yours come with adjustable colours?)

It's small, it's free, it has no options and it shows the current time!
Title: Re: Glock, the screensaver
Post by: Bissig on June 18, 2009, 01:12:41 am
He could be "hiding" those options ;-)
Title: Re: Glock, the screensaver
Post by: Ingar on June 18, 2009, 12:03:29 pm
@Ingar

You totally ripped that one off from a KDE screensaver called "Clock". ;-P (Or maybe they ripped yours off. Does yours come with adjustable colours?)

It's a total KDE clock ripoff. A few of my windows using friends were so jealous on my KDE screensaver that I decide to port it to windows. I did look at the original source code to make sure the size of the hands etc are exactly the same, but my windows version is a total rewrite.
Call it a translation from KDE/Qt to win32/OpenGL, if you want.

It would be nice to have a configuration dialog, but unfortunatly, it is not trivial
to write one in pure MFC. In theory I could remove the KDE-specific code
from kclock and compile it for qt on win32 but then It probably wouldn't be small any more.

In any case, don't take it too serious, I had a few hours of fun hacking it together  ;D

Title: Re: Glock, the screensaver
Post by: MitSugna on June 18, 2009, 02:02:40 pm
http://pastebin.com/f20230621
Please, tell me if it works. ??? :D
Title: Re: Glock, the screensaver
Post by: _Equilibrium_ on June 18, 2009, 06:05:39 pm
The title lead me to believe that the screensaver would be of this...

(http://www.wolverineqtg.com/images/tm-glock17-l.jpg)
Title: Re: Glock, the screensaver
Post by: Ingar on June 18, 2009, 07:57:18 pm
http://pastebin.com/f20230621
Please, tell me if it works. ??? :D

http://ingar.satgnu.net/glock/files/glock-0.2-win32.zip (http://ingar.satgnu.net/glock/files/glock-0.2-win32.zip)