Icons!

Screensavers

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

Inspired by Apple's Icons screensaver which ships with Mac OS X, I've put together this little hack for KDE. It's designed to eventually do some of the things that the Apple screensaver does, but since so much is un-implemented, I've left it at the point where it just "zooms" random icons past you, one at a time. More work is definitely planned on making this more interesting, so bear with me. (Oh, as a side note, it works best with KDE3. KDE2's DesktopIcon() doesn't do proper scaling at load-time, unfortunately, and for me to do my own QMatrix() to scale the icon is too processor-intensive for a screensaver...) :) -dT-
Last changelog:

18 years ago

* 1.0 - Initial release. Not extremely attractive, but it's a start....

visigoth

17 years ago

AfterDark by Berkley systems is the originator (first for mac then for windows) dates back to @ 1990 (win 3.11 for you whippersnappers) :P

Report

sparkplug

18 years ago

I'm sorry but I just had to tell you that Icons, did not come from Apple, it was first done under BeOS, and Apple decided to mimic the screensaver, as a former BeOS user I just had to let the truth be known, so how about giving credit where credit is due.

Report

trotsane

18 years ago

Here's the output I get:

gmake all-recursive
gmake[1]: Entering directory `/root/icons.kss'
Making all in src
gmake[2]: Entering directory `/root/icons.kss/src'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib/qt-2.3.1/include -I/usr/X11R6/include -UQT_NO_ASCII_CAST -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -c Icon.cpp
Icon.cpp: In method `void Icon::randomVector ()':
Icon.cpp:111: warning: passing `double' for argument 2 of
`QPoint::QPoint (int, int)'
Icon.cpp: In method `void Icon::movement ()':
Icon.cpp:153: `cos' undeclared (first use this function)
Icon.cpp:153: (Each undeclared identifier is reported only once for
each function it appears in.)
Icon.cpp:154: `sin' undeclared (first use this function)
Icon.cpp:157: warning: passing `double' for argument 1 of `QPoint::setX
(int)'
Icon.cpp:159: warning: comparison between signed and unsigned integer
expressions
Icon.cpp:170: warning: passing `float' for argument 1 of `QPoint::setY
(int)'
Icon.cpp:151: warning: `double Vx' might be used uninitialized in this
function
Icon.cpp: In method `void Icon::paintEvent (QPaintEvent *)':
Icon.cpp:219: warning: unused parameter `QPaintEvent *qpe'
gmake[2]: *** [Icon.o] Error 1
gmake[2]: Leaving directory `/root/icons.kss/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/icons.kss'
gmake: *** [all-recursive-am] Error 2

Report

bowfinger

18 years ago

^^^^^^^^
hard work to learn! so don't spoil my
english *g*...

OK, I'm afraid I got the same results...
Is there anything to be careful about? (Libs, includes, anything non-standard-KDE?)

Report

bowfinger

18 years ago

OK, I'm about to open my eyes earlier next time...

math.h in Icons.cpp

CU

Report

C

detsaot

18 years ago

Yeah, there's a bug in the src/Icon.cpp file - Apparently, math.h is automagically included in my headers somewhere - If you add the line


#include <math.h>


(that's (LESS THAN)math.h(GREATER THAN) in standard #include format)


then it should compile. I keep meaning to fix that and re-release it, but want to whack a couple of other things first. My apologies for the trouble.


:) -dT-

Report

halux

18 years ago

In the future we will have this screensaver with animated icons ;)

thanks.

Report

18 years ago

* 1.0 - Initial release. Not extremely attractive, but it's a start....

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.0
updated Feb 27 2002
added Feb 27 2002
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1