>
>There are currently no docs on how to make one. I will not be able to get
>around to writing a FreeAmp Theme HOWTO until after we go into beta -- sorry
>I lack the time. However, Valters figured out how to use the themes without
>*ever* asking me question. So, its possible to learn from the themes that
>are currently in CVS. Take a look at the file and start changing some things
>and see what happens. :-) Sorry, that's the best I can offer for the time
>being.


Here's a good approach to get going: load bitmaps in Photoshop (or gimp if
you're poor or/and ethical) and look into themes.xml file. Start marking
all rectangles, so you'll figure what graphics is which and how they work.

Buttons have 4 states: normal(inactive), mouse_hover, pressed, disabled -
4th state is used that much (or I don't know something))

Multi-state button graphics are positioned vertically, stripe for each
meta-state. The common example is Play-Pause button. Play button turns to
Pause once song starts playing.

I suggested earlier that if Play/Pause are defined as two separate buttons
(not Play-multistate button), Play goes to 'disabled' state when song
starts to playing and Pause goes into 'enabled' state, but that's not there
yet. Oh well, deadlines.

Then there are slider bars. It's 'handle' has 3 states - normal,mouse_hover
and mouse_grabbed. See for yourself.

TransColor= format is like one specifies colors in HTML. If it's specified
that color becomes transparent in bitmap. In _any_ bitmap. Ie, you can have
main_window bitmap transparent, so it won't be rectangular (boring) shape.
Then you can have buttons bitmap have transparent color, and when button
bitmaps are blitted, they will be transparent. Especially useful if you
have slider with sophisticated tray(track?), and need to blit
non-rectangular 'handle' on it. 

The 'freeamp' theme exercises pretty much all of functionality/controls
that is there. Get modifying it and see what changes. Don't try to fully
understand everything, better just hack, understanding will come.

>
>Hey Valters, would you be interested in writing a HOWTO for freeamp themes?
>You seem to have a good grip on the subject. :-)

Well, if Bill promises to write docs, I doubt I can do better than him.
Maybe the scribble above can be good for starters, for now.

>
>
>--ruaok         Freezerburn! All else is only icing. -- Soul Coughing
>
>Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert
>
>
>
--
Valters "WaTT" Vingolds

Reply via email to