[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /os/Linux/distr/vectorlinux/veclinux-5.9/source/extra/kde/kdebase/kdebase-patches/kdebase3-SuSE-11.0-52/kdebase-SuSE/ksplashx/
 
Current bandwidth utilization 1727.21 Mbit/s
Bandwidth utilization bar
Contents of README:
This is a splashscreen which basically depends only on libX11 and libpng.
It includes few sources from Qt which have been modified to work without
QApplication. Due to almost no link dependencies and no QApplication
initialization this splashscreen has a very fast startup.


RESTRICTIONS:
no transparency support
fixed delay between frames


USAGE:
ksplashx <theme> [--test]


NOTE:
Add a comment in description.txt and update it everytime you change anything.
Caching of the splash is done and the timestamp of description.txt is used.

FORMAT:

# comments start with #

# x y w h - geometry of the splash window (screen size by default)
# if x or y are negative, they're relative to the right/bottom side
GEOMETRY x y w h

# color to fill the window with (this command also clears the whole window)
# transparent images will be alphablended with this color
BACKGROUND color

# image to fill the window with (this command also clears the whole window)
# transparent images will be alphablended with this image
BACKGROUND_IMAGE name

# place an image called name (no path, include extension) at position x,y 
# number is the id of the image, specifying new image with the same number discards the old image
IMAGE number x y name

# place an image called name (no path, include extension) at relative position
# relative position is specified as x_rel,y_rel offset of reference point of the image
# to reference point of the screen
# reference point is specified as two letters, first being X, second being Y:
#   L - left, R - right, C - center, T - top, B - bottom
# e.g. IMAGE_REL 1 LC 100 0 CC places image's center 100 pixels to the right of middle of left screen edge
# image is not scaled
# number is the id of the image, specifying new image with the same number discards the old image
IMAGE_REL number screen_ref x_rel y_xrel image_ref name

# place animation from file 'name' at position x,y, id is 'number'
# animation is specified in a non-animated file as a sequence of images in rows,
# images wrap at 10 columns 
# image contains 'frames' frames and there's 'delay' pause between each frame
ANIM number x y frames name delay

# place animation
# see description of ANIM for number, frames, name and delay
# see description of IMAGE_REL for screen_ref, x_rel, y_rel and image_ref
ANIM_REL number screen_ref x_rel y_rel image_ref frames name delay

# stop animation with the given id
STOP_ANIM number

# wait until the specified ksplash state (1-7)
# specifying 8 means waiting until whole startup is complete (should be used at the very end)
WAIT_STATE state


HOW TO CREATE ANIM PNG FILE:

Since there's only PNG support, animation have to be prepared as separate frames.
In order to improve performance, all frames are put together in one big PNG file.

Steps:
1. Animation must be prepared as a list of images.
2. In the utils/ directory there's prepareanim utility. Run it as
   ./prepareanim <frame images>
   where
   frame images - list of images for animation in their order
3. File result.png will be created.

It is also possible to create the resulting PNG manually - frames are added
in rows, rows wrap at 10th frame.

TODO:
delat rescale z co nejvetsich pixmap, nebo hledat nejlepsi pomer?
test test na red==green==blue v applytrans je mozna zbytecne prisny - kdyz se predtim udela scaling, tak nebude platit

Icon  Name                                                                                                                  Last modified      Size  
[DIR] Parent Directory - [DIR] scale/ 21-Apr-2008 22:49 - [DIR] suse/ 21-Apr-2008 22:49 - [DIR] utils/ 21-Apr-2008 22:49 - [   ] Makefile.am 02-Nov-2005 23:26 507 [TXT] README 21-Nov-2006 15:30 3.3K [TXT] asm_scale.S 08-Nov-2005 16:31 14K [TXT] configure.in.in 09-Oct-2005 12:13 1.1K [TXT] defs.cpp 12-Jan-2005 14:05 708 [TXT] defs.h 04-Nov-2005 17:50 3.4K [TXT] kcpuinfo.cpp 11-Mar-2005 11:11 6.1K [TXT] kcpuinfo.h 11-Mar-2005 11:11 2.5K [   ] ksplashml.patch 08-Mar-2005 17:32 665 [TXT] main.cpp 12-Jan-2005 14:05 1.4K [TXT] pixmap.cpp 12-Jan-2005 14:05 28K [TXT] pixmap.h 12-Jan-2005 14:05 740 [TXT] qcolor.cpp 12-Jan-2005 14:05 28K [TXT] qcolor.h 12-Jan-2005 14:05 6.6K [TXT] qcolor_p.cpp 12-Jan-2005 14:05 28K [TXT] qcolor_p.h 12-Jan-2005 14:05 2.1K [TXT] qcolor_x11.cpp 12-Jan-2005 14:05 24K [TXT] qdatastream.h 12-Jan-2005 14:05 0 [TXT] qglobal.cpp 12-Jan-2005 14:05 2.2K [TXT] qglobal.h 12-Jan-2005 14:05 124 [TXT] qimage.cpp 12-Jan-2005 14:05 164K [TXT] qimage.h 12-Jan-2005 14:05 12K [TXT] qnamespace.h 12-Jan-2005 14:05 21K [TXT] qpngio.cpp 12-Jan-2005 14:05 9.3K [TXT] qpoint.h 12-Jan-2005 14:05 6.0K [TXT] qrect.cpp 12-Jan-2005 14:05 22K [TXT] qrect.h 12-Jan-2005 14:05 7.4K [TXT] qshared.h 12-Jan-2005 14:05 1.7K [TXT] qsize.cpp 12-Jan-2005 14:05 10K [TXT] qsize.h 12-Jan-2005 14:05 6.4K [TXT] qwindowdefs.h 12-Jan-2005 14:05 18 [TXT] qwinexport.h 12-Jan-2005 14:05 18 [TXT] scale.cpp 18-Aug-2005 14:36 37K [TXT] scale.h 11-Mar-2005 11:11 122 [TXT] splash.cpp 28-Aug-2007 17:33 31K [TXT] splash.h 12-Jan-2005 14:05 123 [TXT] x11_defs.cpp 18-Jul-2007 18:11 6.3K [TXT] x11_defs.h 12-Jan-2005 14:05 1.6K

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!