Some Progress Updates

2 views
Skip to first unread message

Tim Janik

unread,
Sep 19, 2008, 3:06:27 PM9/19/08
to Manju Project
Hello All.

I'll try to keep my promise on sporadic progress updates...
So recently, the binary theme package file format has been mostly
completed:
http://pages.testbit.eu/manju/package-spec.html

And also implemented: mktheme.py will now generate .bin theme packages.

Todays addition is the first test program that parses binary theme
package files and utilizes the embedded pixmap data for a test image:

$ make
g++ [...] testload.cc -o testload
$ ./mktheme.py nordic.svg
Reading: nordic.svg
Processing...
Writing temporary SVG...
[...]
$ ./testload nordic.bin
THEME: nordic.svg
OBJECT: Button.Shape
size: 20x20 (80) [0]
aux : Arena=(3.7372191073485999, 3.5074220000000054, 12.525565, 12.985161)
OBJECT: CheckMarkAny.Shape
size: 20x20 (80) [1600]
OBJECT: CheckMarkOff.Shape
size: 20x20 (80) [3200]
OBJECT: CheckMarkOn.Shape
size: 20x20 (80) [4800]
OBJECT: PressedButton.Shape
size: 20x20 (80) [6400]
SAMPLE-IMAGE: tmptest.png

The generated sample image is attached, a snapshot of the
"nordic.svg" theme used in the above example can be found here:
http://pages.testbit.eu/manju/snapshots/nordic.png

I.e. the basic parsing code works now, but some RGB ordering
issues still need fixing.

---
ciaoTJ

tmptest.png
Reply all
Reply to author
Forward
0 new messages