Changes between Version 15 and Version 16 of MythUIThemeFormat


Ignore:
Timestamp:
06/14/08 13:04:44 (18 years ago)
Author:
stuartm
Comment:

Updates

Legend:

Unmodified
Added
Removed
Modified
  • MythUIThemeFormat

    v15 v16  
    5252  <imagetype name="imagename">
    5353     <filename>imagefile.png</filename>
    54      <staticsize>width,height</staticsize>
    55      <skipin>x,y</skipin>
     54     <crop>x,y,w,h</crop>
     55     <reflection axis="horizontal" shear="24" scale="85" length="35" />
    5656  </imagetype>
    5757}}}
    5858
    5959 * filename is the filename.
    60  * staticsize forces scaling the image to that particular size.
    61  * skipin starts drawing from coords given in the source image.
     60 * crop the image leaving just the area specified (useful to remove the rough edges from a screen capture etc)
     61 * 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.
    6262
    6363Animated image example:
     
    7171 * Loads images imagefile0.png through imagefile30.png, and displays them sequentially 500 msecs apart.
    7272
    73 An image must have either a filename or filepattern element.  Everything else is optional.
     73Gradient image example (Scalable list buttons):
     74{{{
     75  <imagetype name="imagename">
     76      <gradient start="#999999" end="#333333" alpha="255" />
     77  </imagetype>
     78}}}
     79
     80An image must have either a filename or filepattern or gradient element.  Everything else is optional.
    7481
    7582== Text Areas ==
     
    106113{{{
    107114  <statetype name="blah">
     115    <area>10,10,100,100</area>
    108116    <showempty>yes</showempty>
    109117    <state name="selected">
     118       <position>20,15</position>
    110119       <imagetype name="selectimage">
    111120         <filename>selectimage.png</filename>
     
    139148
    140149== Button List ==
     150'''N.B.''' Buttonlist will shortly be replaced.
    141151{{{
    142152 <buttonlist name="basebuttonlist">