Just to start documenting things.. All numbers that refer to on-screen position/size are automatically adjusted for the UI size. Boolean values can be 'yes', 'no', 'true, 'false', '1', '0'.


will be changing slightly.. currently is:

  <font name="normal" face="Arial">

  <font name="graynormal" from="normal">

General widget modifiers

Items that are valid for every subtype

     <position>x,y</position> (Used instead of area for widgets with no fixed size or unscaled images.)
     <alphapulse min="0" max="255" change="2"/>
  • Position on screen, relative to parent.

Valid widget types are:

  • imagetype
  • textarea
  • buttonlist
  • statetype
  • textedit
  • checkbox
  • group
  • spinbox
  • clock


Standard image example:

  <imagetype name="imagename">
     <reflection axis="horizontal" shear="24" scale="85" length="35" />
  • filename is the filename.
  • crop the image leaving just the area specified (useful to remove the rough edges from a screen capture etc)
  • reflection adds a reflection effect to the image, it should only be used for third party images e.g. album art or screen grabs. Shear, Scale and length are percentage values. Axis may be vertical or horizontal.

Animated image example:

  <imagetype name="imagename">
     <filepattern low="0" high="30">imagefile%1.png</filepattern>
  • Loads images imagefile0.png through imagefile30.png, and displays them sequentially 500 msecs apart.

Gradient image example (Scalable list buttons):

  <imagetype name="imagename">
      <gradient start="#999999" end="#333333" alpha="255" />

An image must have either a filename or filepattern or gradient element. Everything else is optional.

Text Areas

  <textarea name="textarea">
    <value>This is a text area</value>
    <colorcycle start="#000000" end="#ffffff" steps="255"/>
  • area - area on screen
  • value - the text to be displayed
  • altarea - alternative area (ie., watch recordings screen, the description is larger if there is no video preview).
  • font - name of a pre-defined font
  • cutdown - if the text will be cut down ('...' replacing the end) if it's too large to fit, or just cut off
  • multiline - wrap text onto multiple lines
  • align - See the section on alignment below.
  • colorcycle - oscillate between the start and end values, with X steps in between (approx 30 steps per second).

All values optional except area, font, and value.

State Types

State Types are collections of types that display different states - like the watermark image on the main menus.

By name (valid names depend on context):

  <statetype name="blah">
    <state name="selected">
       <imagetype name="selectimage">
    <state name="normal">
       <imagetype name="normalimage">

By type (valid types are: 'none', 'off', 'half', full', and what's used depends on context):

    <state type="off">
       <imagetype name="offimage">
    <state type="full">
       <imagetype name="fullimage">
  • showempty - allow empty states to be displayed (show nothing, that is).

Button List

N.B. Buttonlist will shortly be replaced.

 <buttonlist name="basebuttonlist">
    <statetype name="upscrollarrow">
        <state type="off">
            <imagetype name="upoff">
        <state type="full">
            <imagetype name="upon">
    <statetype name="downscrollarrow">
        <state type="off">
            <imagetype name="downoff">
        <state type="full">
            <imagetype name="downon">
    <arrow filename="lb-arrow.png"/>
    <check-empty filename="lb-check-empty.png"/>
    <check-half filename="lb-check-half.png"/>
    <check-full filename="lb-check-full.png"/>
    <regular-background gradientstart="#505050" gradientend="#000000" gradientalpha="100"/>
    <selected-background gradientstart="#52CA38" gradientend="#349838" gradientalpha="255"/>
    <inactive-background gradientstart="#52CA38" gradientend="#349838" gradientalpha="255"/>
    <align>right, vcenter</align>

Valid layout values are:

  • vertical
  • horizontal
  • grid

Check and arrow images, arrow statetypes are optional. Backgrounds can be a gradient or image. Button takes their dimensions from the background image if it is specified.

Drawfrombottom causes the buttons to be drawn from the bottom of the list area instead of the top.


    <button name="foo">
        <arrow filename="lb-arrow.png"/>
        <check-empty filename="lb-check-empty.png"/>
        <check-half filename="lb-check-half.png"/>
        <check-full filename="lb-check-full.png"/>
        <regular-background filename="button_off.png" />
        <selected-background filename="button_on.png" />
        <inactive-background filename="button_disabled.png" />

Check and arrow images are optional. Backgrounds can be a gradient or image. Button takes it's dimensions from the background image if it is specified.


Elements dealing with alignment of text, or images within a button, share the same format.


Where valid values are: left, hcenter, right, top, vcenter, bottom and center (which is a special case: vcenter,hcenter)

e.g. <align>left, bottom</align>

<align>right,vcenter</align> <align>center</align>


Widgets can be inherited from previously defined widgets of the same type. For example:

   <buttonlist name="newbasebuttonlist" from="basebuttonlist">
Last modified 14 years ago Last modified on Jul 28, 2008, 8:19:14 PM