PDA

View Full Version : .xml fun


macaroon
14th November 2001, 15:37
Hi, I'm new to WA3 skinning and so I had a look at "simple skin" for a good place to start my descend into the madness that is .xml and the like. And it is a good place to start. :D

And now I have a few questions:

Opened up the skin.xml and I see that the lines

<include file="../default/xml/studio.xml"/>
<include file="../default/xml/gamma-presets.xml"/>

and later on

<include file="../Default/xml/thinger.xml"/>
<include file="../default/xml/minibrowser.xml"/>
<include file="../default/xml/components.xml"/>

are included.

The gamma-presets, thinger, minibrowser are obvious, but what does the component.xml and studio.xml do?

And just to get me up to speed:
I take it that tool tips have not yet been implimented (but there is code in the .xml to invoke it)

For the slider we have
<slider
action="SEEK"
x="68" y="63"
w="220" h="28"
thumb="simple.seek"
/>

what does the "thumb=" part do? - no simian or opposable jokes either!

Oh and whatever happened to the preferences menu?

Cheers.

danbee
14th November 2001, 16:34
the thumb part identifies the bitmap to be used for the slider thumb, ie, the bit that actually slides. or in the case of a volume slider, the bitmap that you drag to change the volume.

Naamloos
14th November 2001, 18:15
Components are for third party plugins, so that they don't get the default window skin :)
studio.xml is for some other wacky shit :D

lunarboy1
14th November 2001, 21:28
studio.xml has config menu stuff, window graphics, and buttons and other stuff like that.