home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 September / PCWorld_2006-09_cd.bin / audio-video / vlc / vlc-0.8.5-win32.exe / skins / skin.dtd < prev    next >
Text File  |  2006-05-06  |  8KB  |  272 lines

  1. <!-- version 2.0
  2. -->
  3.  
  4.  
  5. <!ELEMENT Theme (ThemeInfo,(Include|IniFile|Bitmap|BitmapFont|Font|PopupMenu|Window)*)>
  6.     <!ATTLIST Theme
  7.         version     CDATA   #REQUIRED
  8.         tooltipfont CDATA   "defaultfont"
  9.         magnet      CDATA   "15"
  10.         alpha       CDATA   "255"
  11.         movealpha   CDATA   "255"
  12.     >
  13.  
  14. <!-- main elements -->
  15. <!ELEMENT IniFile EMPTY>
  16.     <!ATTLIST IniFile
  17.         id          CDATA   #REQUIRED
  18.         file        CDATA   #REQUIRED
  19.     >
  20. <!ELEMENT Include EMPTY>
  21.     <!ATTLIST Include
  22.         file        CDATA   #REQUIRED
  23.     >
  24. <!ELEMENT Bitmap (SubBitmap)*>
  25.     <!ATTLIST Bitmap
  26.         id          CDATA   #REQUIRED
  27.         file        CDATA   #REQUIRED
  28.         alphacolor  CDATA   #REQUIRED
  29.         nbframes    CDATA   "1"
  30.         fps         CDATA   "0"
  31.     >
  32. <!ELEMENT SubBitmap EMPTY>
  33.     <!ATTLIST SubBitmap
  34.         id          CDATA   #REQUIRED
  35.         x           CDATA   #REQUIRED
  36.         y           CDATA   #REQUIRED
  37.         width       CDATA   #REQUIRED
  38.         height      CDATA   #REQUIRED
  39.         nbframes    CDATA   "1"
  40.         fps         CDATA   "0"
  41.     >
  42. <!ELEMENT Font EMPTY>
  43.     <!ATTLIST Font
  44.         id          CDATA   #REQUIRED
  45.         file        CDATA   #REQUIRED
  46.         size        CDATA   "12"
  47.     >
  48. <!ELEMENT BitmapFont EMPTY>
  49.     <!ATTLIST BitmapFont
  50.         id          CDATA   #REQUIRED
  51.         file        CDATA   #REQUIRED
  52.         type        CDATA   "digits"
  53.     >
  54. <!ELEMENT PopupMenu (MenuItem|MenuSeparator)+>
  55.     <!ATTLIST PopupMenu
  56.         id          CDATA   #REQUIRED
  57.     >
  58. <!ELEMENT MenuItem EMPTY>
  59.     <!ATTLIST MenuItem
  60.         label       CDATA   #REQUIRED
  61.         action      CDATA   "none"
  62.     >
  63. <!ELEMENT MenuSeparator EMPTY>
  64. <!ELEMENT ThemeInfo EMPTY>
  65.     <!ATTLIST ThemeInfo
  66.         name        CDATA   #IMPLIED
  67.         author      CDATA   #IMPLIED
  68.         email       CDATA   #IMPLIED
  69.         webpage     CDATA   #IMPLIED
  70.     >
  71. <!ELEMENT Window (Layout)+>
  72.     <!ATTLIST Window
  73.         id          CDATA   "none"
  74.         visible     CDATA   "true"
  75.         x           CDATA   "0"
  76.         y           CDATA   "0"
  77.         dragdrop    CDATA   "true"
  78.         playondrop  CDATA   "true"
  79.     >
  80. <!ELEMENT Layout (Group)+>
  81.     <!ATTLIST Layout
  82.         id          CDATA   "none"
  83.         width       CDATA   #REQUIRED
  84.         height      CDATA   #REQUIRED
  85.         minwidth    CDATA   "-1"
  86.         maxwidth    CDATA   "-1"
  87.         minheight   CDATA   "-1"
  88.         maxheight   CDATA   "-1"
  89.     >
  90. <!ELEMENT Group (Group|Image|Button|Playlist|Slider|RadialSlider|Text|Checkbox|
  91.                  Anchor|Video|Playtree)+>
  92.     <!ATTLIST Group
  93.         x           CDATA   "0"
  94.         y           CDATA   "0"
  95.     >
  96.  
  97. <!-- Anchors -->
  98. <!ELEMENT Anchor EMPTY>
  99.     <!ATTLIST Anchor
  100.         x           CDATA   "0"
  101.         y           CDATA   "0"
  102.         priority    CDATA   #REQUIRED
  103.         points      CDATA   "(0,0)"
  104.         range       CDATA   "10"
  105.     >
  106.  
  107. <!-- Controls -->
  108. <!ELEMENT Image EMPTY>
  109.     <!ATTLIST Image
  110.         id          CDATA   "none"
  111.         visible     CDATA   "true"
  112.         x           CDATA   "0"
  113.         y           CDATA   "0"
  114.         lefttop     CDATA   "lefttop"
  115.         rightbottom CDATA   "lefttop"
  116.         image       CDATA   #REQUIRED
  117.         action      CDATA   "none"
  118.         action2     CDATA   "none"
  119.         resize      CDATA   "mosaic"
  120.         help        CDATA   ""
  121.     >
  122. <!ELEMENT Button EMPTY>
  123.     <!ATTLIST Button
  124.         id          CDATA   "none"
  125.         visible     CDATA   "true"
  126.         x           CDATA   "0"
  127.         y           CDATA   "0"
  128.         lefttop     CDATA   "lefttop"
  129.         rightbottom CDATA   "lefttop"
  130.         up          CDATA   #REQUIRED
  131.         down        CDATA   "none"
  132.         over        CDATA   "none"
  133.         action      CDATA   "none"
  134.         tooltiptext CDATA   ""
  135.         help        CDATA   ""
  136.     >
  137. <!ELEMENT Checkbox EMPTY>
  138.     <!ATTLIST Checkbox
  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.         up1          CDATA   #REQUIRED
  146.         down1        CDATA   "none"
  147.         over1        CDATA   "none"
  148.         up2          CDATA   #REQUIRED
  149.         down2        CDATA   "none"
  150.         over2        CDATA   "none"
  151.         state        CDATA   #REQUIRED
  152.         action1      CDATA   "none"
  153.         action2      CDATA   "none"
  154.         tooltiptext1 CDATA   ""
  155.         tooltiptext2 CDATA   ""
  156.         help         CDATA   ""
  157.     >
  158. <!ELEMENT Slider (SliderBackground)?>
  159.     <!ATTLIST Slider
  160.         id          CDATA   "none"
  161.         visible     CDATA   "true"
  162.         x           CDATA   "0"
  163.         y           CDATA   "0"
  164.         lefttop     CDATA   "lefttop"
  165.         rightbottom CDATA   "lefttop"
  166.         up          CDATA   #REQUIRED
  167.         down        CDATA   "none"
  168.         over        CDATA   "none"
  169.         points      CDATA   #REQUIRED
  170.         thickness   CDATA   "10"
  171.         value       CDATA   "none"
  172.         background  CDATA   "none"
  173.         tooltiptext CDATA   ""
  174.         help        CDATA   ""
  175.     >
  176. <!ELEMENT SliderBackground EMPTY>
  177.     <!ATTLIST SliderBackground
  178.         id          CDATA   "none"
  179.         image       CDATA   #REQUIRED
  180.         nbhoriz     CDATA   "1"
  181.         nbvert      CDATA   "1"
  182.         padhoriz    CDATA   "0"
  183.         padvert     CDATA   "0"
  184.     >
  185. <!ELEMENT RadialSlider EMPTY>
  186.     <!ATTLIST RadialSlider
  187.         id          CDATA   "none"
  188.         visible     CDATA   "true"
  189.         x           CDATA   "0"
  190.         y           CDATA   "0"
  191.         lefttop     CDATA   "lefttop"
  192.         rightbottom CDATA   "lefttop"
  193.         sequence    CDATA   #REQUIRED
  194.         nbimages    CDATA   #REQUIRED
  195.         minangle    CDATA   "0"
  196.         maxangle    CDATA   "360"
  197.         value       CDATA   "none"
  198.         tooltiptext CDATA   ""
  199.         help        CDATA   ""
  200.     >
  201. <!ELEMENT Text EMPTY>
  202.     <!ATTLIST Text
  203.         id          CDATA   "none"
  204.         visible     CDATA   "true"
  205.         x           CDATA   "0"
  206.         y           CDATA   "0"
  207.         width       CDATA   "0"
  208.         lefttop     CDATA   "lefttop"
  209.         rightbottom CDATA   "lefttop"
  210.         text        CDATA   ""
  211.         font        CDATA   #REQUIRED
  212.         color       CDATA   "#000000"
  213.         scrolling   CDATA   "auto"
  214.         alignment   CDATA   "left"
  215.         help        CDATA   ""
  216.     >
  217. <!ELEMENT Playlist (Slider)?>
  218.     <!ATTLIST Playlist
  219.         id          CDATA   #REQUIRED
  220.         visible     CDATA   "true"
  221.         x           CDATA   "0"
  222.         y           CDATA   "0"
  223.         width       CDATA   "0"
  224.         height      CDATA   "0"
  225.         lefttop     CDATA   "lefttop"
  226.         rightbottom CDATA   "lefttop"
  227.         font        CDATA   #REQUIRED
  228.         bgimage     CDATA   "none"
  229.         fgcolor     CDATA   "#000000"
  230.         playcolor   CDATA   "#FF0000"
  231.         bgcolor1    CDATA   "#FFFFFF"
  232.         bgcolor2    CDATA   "#FFFFFF"
  233.         selcolor    CDATA   "#0000FF"
  234.         help        CDATA   ""
  235.     >
  236. <!ELEMENT Playtree (Slider)?>
  237.     <!ATTLIST Playtree
  238.         id          CDATA   #REQUIRED
  239.         visible     CDATA   "true"
  240.         x           CDATA   "0"
  241.         y           CDATA   "0"
  242.         width       CDATA   "0"
  243.         height      CDATA   "0"
  244.         lefttop     CDATA   "lefttop"
  245.         rightbottom CDATA   "lefttop"
  246.         font        CDATA   #REQUIRED
  247.         bgimage     CDATA   "none"
  248.         itemimage   CDATA   "none"
  249.         openimage   CDATA   "none"
  250.         closedimage CDATA   "none"
  251.         fgcolor     CDATA   "#000000"
  252.         playcolor   CDATA   "#FF0000"
  253.         bgcolor1    CDATA   "#FFFFFF"
  254.         bgcolor2    CDATA   "#FFFFFF"
  255.         selcolor    CDATA   "#0000FF"
  256.         help        CDATA   ""
  257.         flat        CDATA   "false"
  258.     >
  259. <!ELEMENT Video EMPTY>
  260.     <!ATTLIST Video
  261.         id          CDATA   "none"
  262.         visible     CDATA   "true"
  263.         x           CDATA   "0"
  264.         y           CDATA   "0"
  265.         width       CDATA   "0"
  266.         height      CDATA   "0"
  267.         lefttop     CDATA   "lefttop"
  268.         rightbottom CDATA   "lefttop"
  269.         autoresize  CDATA   "true"
  270.         help        CDATA   ""
  271.     >
  272.