6
0
Fork 0
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
twin-style-crystal/pics
Michele Calgaro 2b7871af18
Replaced various '#define' with actual strings - part 5
5 meses atrás
..
aqua Fix invalid headers in PNG files and optimize for size 8 anos atrás
default Fix invalid headers in PNG files and optimize for size 8 anos atrás
handpainted Fix invalid headers in PNG files and optimize for size 8 anos atrás
knifty Fix invalid headers in PNG files and optimize for size 8 anos atrás
kubuntu-dapper Fix invalid headers in PNG files and optimize for size 8 anos atrás
kubuntu-edgy Fix invalid headers in PNG files and optimize for size 8 anos atrás
kubuntu-feisty Fix invalid headers in PNG files and optimize for size 8 anos atrás
kubuntu-hardy Fix invalid headers in PNG files and optimize for size 8 anos atrás
svg Fix invalid headers in PNG files and optimize for size 8 anos atrás
vista Fix invalid headers in PNG files and optimize for size 8 anos atrás
CMakeLists.txt Conversion to the cmake building system. 3 anos atrás
README Renaming of files in preparation for code style tools. 3 anos atrás
embedtool.cpp Replaced various '#define' with actual strings - part 5 5 meses atrás
glass_overlay.png Fixed images 14 anos atrás
lighting_overlay.png Fix invalid headers in PNG files and optimize for size 8 anos atrás
steel_overlay.png Fixed images 14 anos atrás

README

These are the button themes for Crystal.

1) embedtool: Tool wich converts the png files into C-source code. The source code is then compiled into the decoration.
Use with 'embedtool file1 file2 > tiles.h', or 'embedtool foo/*.png > bar.h'.


2) The button themes are handled by automake now, this means a simple 'make' in the top directory should build embedtool, create the neccessary headers and copy the resulting tiles.h to ../client/tiles.h. After changing a png file, a simple make should take care of it all. 


3) A new button theme is much more work:
- Add a directory, populate it with png images. List this directory in the ${themes} variable of the Makefile.am
- In the top directory run: make -f Makefile.cvs. Now make should include your png images in the tiles.h, which gets included in the crystal source.
- You have to add some logic to the ../client/crystalclient.cpp and ../client/config/configdialog.ui file, to really make your button theme available.



If you made a button theme out of an existing one, please mail it to me (at spam84@gmx.de), and I'll take care of the proper implementation.

Sascha Hlusiak, 13.03.2006
[spam84@nurfuerspam.de]