Changes between Version 15 and Version 16 of MythUIThemeFormat
- Timestamp:
- 06/14/08 13:04:44 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MythUIThemeFormat
v15 v16 52 52 <imagetype name="imagename"> 53 53 <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" /> 56 56 </imagetype> 57 57 }}} 58 58 59 59 * 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. 62 62 63 63 Animated image example: … … 71 71 * Loads images imagefile0.png through imagefile30.png, and displays them sequentially 500 msecs apart. 72 72 73 An image must have either a filename or filepattern element. Everything else is optional. 73 Gradient image example (Scalable list buttons): 74 {{{ 75 <imagetype name="imagename"> 76 <gradient start="#999999" end="#333333" alpha="255" /> 77 </imagetype> 78 }}} 79 80 An image must have either a filename or filepattern or gradient element. Everything else is optional. 74 81 75 82 == Text Areas == … … 106 113 {{{ 107 114 <statetype name="blah"> 115 <area>10,10,100,100</area> 108 116 <showempty>yes</showempty> 109 117 <state name="selected"> 118 <position>20,15</position> 110 119 <imagetype name="selectimage"> 111 120 <filename>selectimage.png</filename> … … 139 148 140 149 == Button List == 150 '''N.B.''' Buttonlist will shortly be replaced. 141 151 {{{ 142 152 <buttonlist name="basebuttonlist">
