skin.dtd
上传用户:riyaled888
上传日期:2009-03-27
资源大小:7338k
文件大小:6k
源码类别:

多媒体

开发平台:

MultiPlatform

  1. <!-- version 2.0
  2. -->
  3. <!ELEMENT Theme (ThemeInfo,(Bitmap|BitmapFont|Font|Window)*)>
  4.     <!ATTLIST Theme
  5.         version     CDATA   #REQUIRED
  6.         tooltipfont CDATA   "defaultfont"
  7.         magnet      CDATA   "15"
  8.         alpha       CDATA   "255"
  9.         movealpha   CDATA   "255"
  10.     >
  11. <!-- main elements -->
  12. <!ELEMENT Bitmap EMPTY>
  13.     <!ATTLIST Bitmap
  14.         id          CDATA   #REQUIRED
  15.         file        CDATA   #REQUIRED
  16.         alphacolor  CDATA   #REQUIRED
  17.     >
  18. <!ELEMENT Font EMPTY>
  19.     <!ATTLIST Font
  20.         id          CDATA   #REQUIRED
  21.         file        CDATA   #REQUIRED
  22.         size        CDATA   "12"
  23.     >
  24. <!ELEMENT BitmapFont EMPTY>
  25.     <!ATTLIST BitmapFont
  26.         id          CDATA   #REQUIRED
  27.         file        CDATA   #REQUIRED
  28.         type        CDATA   "digits"
  29.     >
  30. <!ELEMENT ThemeInfo EMPTY>
  31.     <!ATTLIST ThemeInfo
  32.         name        CDATA   #IMPLIED
  33.         author      CDATA   #IMPLIED
  34.         email       CDATA   #IMPLIED
  35.         webpage     CDATA   #IMPLIED
  36.     >
  37. <!ELEMENT Window (Layout)+>
  38.     <!ATTLIST Window
  39.         id          CDATA   "none"
  40.         visible     CDATA   "true"
  41.         x           CDATA   "0"
  42.         y           CDATA   "0"
  43.         dragdrop    CDATA   "true"
  44.         playondrop  CDATA   "true"
  45.     >
  46. <!ELEMENT Layout (Group)>
  47.     <!ATTLIST Layout
  48.         id          CDATA   "none"
  49.         width       CDATA   #REQUIRED
  50.         height      CDATA   #REQUIRED
  51.         minwidth    CDATA   "-1"
  52.         maxwidth    CDATA   "-1"
  53.         minheight   CDATA   "-1"
  54.         maxheight   CDATA   "-1"
  55.     >
  56. <!ELEMENT Group (Group|Image|Button|Playlist|Slider|RadialSlider|Text|Checkbox|
  57.                  Anchor|Video)+>
  58.     <!ATTLIST Group
  59.         x           CDATA   "0"
  60.         y           CDATA   "0"
  61.     >
  62. <!-- Anchors -->
  63. <!ELEMENT Anchor EMPTY>
  64.     <!ATTLIST Anchor
  65.         x           CDATA   "0"
  66.         y           CDATA   "0"
  67.         priority    CDATA   #REQUIRED
  68.         points      CDATA   "(0,0)"
  69.         range       CDATA   "10"
  70.     >
  71. <!-- Controls -->
  72. <!ELEMENT Image EMPTY>
  73.     <!ATTLIST Image
  74.         id          CDATA   "none"
  75.         visible     CDATA   "true"
  76.         x           CDATA   "0"
  77.         y           CDATA   "0"
  78.         lefttop     CDATA   "lefttop"
  79.         rightbottom CDATA   "lefttop"
  80.         image       CDATA   #REQUIRED
  81.         action      CDATA   "none"
  82.         help        CDATA   ""
  83.     >
  84. <!ELEMENT Button EMPTY>
  85.     <!ATTLIST Button
  86.         id          CDATA   "none"
  87.         visible     CDATA   "true"
  88.         x           CDATA   "0"
  89.         y           CDATA   "0"
  90.         lefttop     CDATA   "lefttop"
  91.         rightbottom CDATA   "lefttop"
  92.         up          CDATA   #REQUIRED
  93.         down        CDATA   "none"
  94.         over        CDATA   "none"
  95.         action      CDATA   "none"
  96.         tooltiptext CDATA   ""
  97.         help        CDATA   ""
  98.     >
  99. <!ELEMENT Checkbox EMPTY>
  100.     <!ATTLIST Checkbox
  101.         id           CDATA   "none"
  102.         visible      CDATA   "true"
  103.         x            CDATA   "0"
  104.         y            CDATA   "0"
  105.         lefttop      CDATA   "lefttop"
  106.         rightbottom  CDATA   "lefttop"
  107.         up1          CDATA   #REQUIRED
  108.         down1        CDATA   "none"
  109.         over1        CDATA   "none"
  110.         up2          CDATA   #REQUIRED
  111.         down2        CDATA   "none"
  112.         over2        CDATA   "none"
  113.         state        CDATA   #REQUIRED
  114.         action1      CDATA   "none"
  115.         action2      CDATA   "none"
  116.         tooltiptext1 CDATA   ""
  117.         tooltiptext2 CDATA   ""
  118.         help         CDATA   ""
  119.     >
  120. <!ELEMENT Slider EMPTY>
  121.     <!ATTLIST Slider
  122.         id          CDATA   "none"
  123.         visible     CDATA   "true"
  124.         x           CDATA   "0"
  125.         y           CDATA   "0"
  126.         lefttop     CDATA   "lefttop"
  127.         rightbottom CDATA   "lefttop"
  128.         up          CDATA   #REQUIRED
  129.         down        CDATA   "none"
  130.         over        CDATA   "none"
  131.         points      CDATA   #REQUIRED
  132.         thickness   CDATA   "10"
  133.         value       CDATA   "none"
  134.         tooltiptext CDATA   ""
  135.         help        CDATA   ""
  136.     >
  137. <!ELEMENT RadialSlider EMPTY>
  138.     <!ATTLIST RadialSlider
  139.         id          CDATA   "none"
  140.         visible     CDATA   "true"
  141.         x           CDATA   "0"
  142.         y           CDATA   "0"
  143.         lefttop     CDATA   "lefttop"
  144.         rightbottom CDATA   "lefttop"
  145.         sequence    CDATA   #REQUIRED
  146.         nbimages    CDATA   #REQUIRED
  147.         minangle    CDATA   "0"
  148.         maxangle    CDATA   "360"
  149.         value       CDATA   "none"
  150.         tooltiptext CDATA   ""
  151.         help        CDATA   ""
  152.     >
  153. <!ELEMENT Text EMPTY>
  154.     <!ATTLIST Text
  155.         id          CDATA   "none"
  156.         visible     CDATA   "true"
  157.         x           CDATA   "0"
  158.         y           CDATA   "0"
  159.         text        CDATA   ""
  160.         font        CDATA   #REQUIRED
  161.         color       CDATA   "#000000"
  162.         width       CDATA   "0"
  163.         help        CDATA   ""
  164.     >
  165. <!ELEMENT Playlist (Slider)?>
  166.     <!ATTLIST Playlist
  167.         id          CDATA   #REQUIRED
  168.         visible     CDATA   "true"
  169.         x           CDATA   "0"
  170.         y           CDATA   "0"
  171.         width       CDATA   "0"
  172.         height      CDATA   "0"
  173.         lefttop     CDATA   "lefttop"
  174.         rightbottom CDATA   "lefttop"
  175.         font        CDATA   #REQUIRED
  176.         fgcolor     CDATA   "#000000"
  177.         playcolor   CDATA   "#FF0000"
  178.         bgcolor1    CDATA   "#FFFFFF"
  179.         bgcolor2    CDATA   "#FFFFFF"
  180.         selcolor    CDATA   "#0000FF"
  181.         help        CDATA   ""
  182.     >
  183. <!ELEMENT Video EMPTY>
  184.     <!ATTLIST Video
  185.         id          CDATA   "none"
  186.         visible     CDATA   "true"
  187.         x           CDATA   "0"
  188.         y           CDATA   "0"
  189.         width       CDATA   "0"
  190.         height      CDATA   "0"
  191.         lefttop     CDATA   "lefttop"
  192.         rightbottom CDATA   "lefttop"
  193.         help        CDATA   ""
  194.     >