Académique Documents
Professionnel Documents
Culture Documents
xml
//skin.xml utf8
// utf8 gb
//
// Tag
//
<?xml version="1.0" encoding="UTF-8"?> //xml f
// tag
//Name
//Author
//Ver
//Email
//WebPage
//
<Theme Name="Test Theme" Author="HZ" Ver="1.0"
EMail="hlz001@yeah.net" WebPage="http://mdvsc.cn">
// tag
//<Bitmap> skin
//<View>
//<Bitmap> Tag
//ID ID ID
//File
// skin.xml
//skin.xml c:\ttpod\skin\test\skin.xml
///main.png c:\ttpod\skin\test\main.png
// java protocol file:///c:/ttpod/skin/test/main.png
// protocol resource:// jar
resource:///img/main.png
//
<Bitmap ID="BACKGROUND" File="/main.png"/>
...
//<View>Tag
//ID
//Landscape
/Portait
//Transform
// ID
<View ID="View1" Transform="0">
// view
// Panel Panel
// Panel Panel Panel
// Panel
//
//<Panel>
//<Text>
//<Slide>
//<Icon>
//<Button>
//<Menu>
//<MenuBar>
//<Animation>
//<ListBox>
//<LyricShow>
//<Equalizer>
//<Equalizer>
//<Analyzer>
// Panel
//ID IDID
// ID
//
// ID ID
// ID
// ID
//<Panel>
//Main
//List
//Lyric
//Equalizer
//<Text>
//Title
//Artist
//Album
//Genre
//Lapse /
//Duration
//Clock
//<Slide>
//Guage
//Volume
//<Icon>
//PlayIcon
//SleepIcon
//AlarmIcon
//<Button>
//StopButton
//PrevSongButton /
//NextSongButton /
//PlayPauseButton /
//<Menu>
// Menu
//Menu
//<MenuBar>
// MenuBar
//MenuBar
//<Analyzer>
//Analyzer
//<LyricShow>
//LyricShow
//<Equalizer>
//Equalizer
//
//// ##FFFFFF
0x 0xFFFFFF
//Name <Text>
//Enable / true 1
//Visible /
//Rect
//Foreground
//Background
Bitmap ID
Background="BACKGROUND"
Background="BACKGROUND|20,10,30,40|0x50"
alpha
Background="BACKGROUND|0x50 "
alpha 0x100
Background
Background="#FFFFFF"
Background="#50FFFFFF,#FF0000,1|0x50"
0
0 0x50 alpha alpha
Background="#50FFFFFF,#FF0000|0x50"
Background="#50FFFFFF,#FF0000,1"
//Border
//Shadow
//Font
//
//0 1 2
//
//0 STYLE_PLAIN 1 STYLE_BOLD 2 STYLE_UNDERLINED 3
STYLE_ITALIC
//
//0 FACE_MONOSPACE1 FACE_PROPORTIONAL2 FACE_SYSTEM
//#000
// 10
//
//
//
//BackgroundLayout
//0 1 2 3
//<Text>
//TransRect
//BackgroundFill
<Panel ID="Main" Background="BACKGROUND" Rect="0, 0, 240, 320" TransRect
="0, 0, 240, 320 BackgroundFill ="0, #A0"">
//<Text>
//ScrollDelay
//ScrollStep
//Style -1 0 1 2
//DigitalBitmap -,.,/,0,1,2,3,4,5,6,7,8,9,:
//FontShadow
//ScrollStartDelay
//Align 0 1 2
<Text ID="Title" Rect="20, 32, 200, 18" Font="0" Foreground="#670906"
ScrollDelay="500" ScrollStep="9"/>
//<Slide>
//Handle
//Slide
//Style
// 0 1
// 0 1
<Slide ID="Guage" Rect="17, 194, 204, 15" Handle="HANDLE"/>
//<Icon>
//currentIcon
//IconNum
// Bitmap
//PlayIcon 4
//AlarmIcon LightIcon SleepIcon 2
<Icon ID="PlayIcon" Rect="205, 273, 15, 15" Bitmap="PLAYMODE|0,0,60,15"
IconNum="4"/>
//<Button>
//Pressed
//StateNum
//CurrentState
//Bitmap
//PrevButton PlayPauseButton NextButton
<Button ID="PrevButton" Rect="66, 250, 25, 25" Bitmap="BUTTONS|0,100,75,50"
StateNum="2" />
//<Animation>
//CurrentFrame
//FrameNum
//FrameRate
//Repeat
//Bitmap
//<Menu>
//ItemSpace
//FontColorSelected
//BarSelected
//ScrollForeground
// ScrollBackground
// ScrollBorder
// ScrollShadow
// ScrollButton
// ScrollHandle
//<Analyzer>
//SlideNum
//SlideWidth
//SlideForeground
//SlideBackground
<Analyzer ID="Analyzer" Rect="20, 115, 200, 75" Foreground="#ffffff"
Background="#FFFF0000" SlideNum ="22"/>
//<ListBox>
//IconBitmap
// 14
//
//
//ListBox Menu
//ListBox Text
<ListBox ID="PlayList" Rect="13, 50, 212, 236" Foreground="#DEC88E"
Highlight="#1EAD0F" SelectBackground="#FF000000" Icon="ICON"/>
//<LyricShow>
//FontColorSelected
//Style
/*
*
* 0x000 -
* 0x001 -
* 0x010 -
* 0x011 -
*0x1xx-
*/
//ItemSpace
//<Equalizer>
//SlideWidth
//SlideBackground //
//Slide //
//SlideHandle //
//SlideBorder //
//SlideSelectBackground //
Equalizer ID="EQUALIZER" Rect="73, 78, 133, 144"
Background="0xFF000000"
SlideWidth="15"
SlideSelectBackground="EQ_CHOICE"
SlideHandle="HANDLE"
/>
</Panel>
</View>
</Theme>