On 20 Sep, Valters Vingolds wrote:
> It wouldn't help you anyway - some places are Win32 specific (marked as
> notes 'to be crossplatform')
> so no fair running it under *nix.

Well, its not implemeted under *nix right now anyway. It will be before
too long, but not just yet.

> besides, bitmaps that got downloaded in CVS (ui/themes/default) are
> somewhat corrupted - won't load.
> anyone with similar results?

They're fixed now.

> also, GetErrorString() usually returns NULL.
> there should probably be another funtion, to get string for kError ret
> values to display in case no recent oLastError is defined, because
> GetErrorString usualy gets called when some ret value is !=NoErr.

Yeah, that whole code section will get tossed in favor of something
more robust as I get a few other issues hammered out.

> nevertheless... Themes look to be real cool one (i hope we get them to be
> flexible enough...). 

Depends on what you mean by flexible. Right now the theme support takes
a very minimalistic approach -- there are text fields, buttons and
horizontal sliders. I am playing around with adding a dial control and
possible creating vertical sliders for completeness.

The themes are based on an XML document that describes where the
controls will go and what bitmaps to use to display them. Theoretically
anyone with photoshop/gimp and html/xml experience should be able to
make a FreeAmp theme.

One core concept in the design of the themes was portability. I opted
to not use any of the OS supplied controls and instead have the OS
independent portion define all the controls. Each control has a finite
state machine that defines transitions from one state to another based
on mouse input and control value changes from the application. For
instance, the button control consists of a transition table and a case
statement for blitting the right bitmap in the right state. Very simple.

But, I have no idea if that will be flexible enough. :-)


--ruaok         Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

Reply via email to