home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 November / CPNL0711.ISO / multimed / mp3 / vlc-0.8.6b-win32.exe / skins / skin.dtd < prev    next >
Text File  |  2007-04-24  |  9KB  |  291 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.         lefttop     CDATA   "lefttop"
  103.         priority    CDATA   #REQUIRED
  104.         points      CDATA   "(0,0)"
  105.         range       CDATA   "10"
  106.     >
  107.  
  108. <!-- Controls -->
  109. <!ELEMENT Image EMPTY>
  110.     <!ATTLIST Image
  111.         id          CDATA   "none"
  112.         visible     CDATA   "true"
  113.         x           CDATA   "0"
  114.         y           CDATA   "0"
  115.         lefttop     CDATA   "lefttop"
  116.         rightbottom CDATA   "lefttop"
  117.         xkeepratio  CDATA   "false"
  118.         ykeepratio  CDATA   "false"
  119.         image       CDATA   #REQUIRED
  120.         action      CDATA   "none"
  121.         action2     CDATA   "none"
  122.         resize      CDATA   "mosaic"
  123.         help        CDATA   ""
  124.     >
  125. <!ELEMENT Button EMPTY>
  126.     <!ATTLIST Button
  127.         id          CDATA   "none"
  128.         visible     CDATA   "true"
  129.         x           CDATA   "0"
  130.         y           CDATA   "0"
  131.         lefttop     CDATA   "lefttop"
  132.         rightbottom CDATA   "lefttop"
  133.         xkeepratio  CDATA   "false"
  134.         ykeepratio  CDATA   "false"
  135.         up          CDATA   #REQUIRED
  136.         down        CDATA   "none"
  137.         over        CDATA   "none"
  138.         action      CDATA   "none"
  139.         tooltiptext CDATA   ""
  140.         help        CDATA   ""
  141.     >
  142. <!ELEMENT Checkbox EMPTY>
  143.     <!ATTLIST Checkbox
  144.         id           CDATA   "none"
  145.         visible      CDATA   "true"
  146.         x            CDATA   "0"
  147.         y            CDATA   "0"
  148.         lefttop      CDATA   "lefttop"
  149.         rightbottom  CDATA   "lefttop"
  150.         xkeepratio  CDATA   "false"
  151.         ykeepratio  CDATA   "false"
  152.         up1          CDATA   #REQUIRED
  153.         down1        CDATA   "none"
  154.         over1        CDATA   "none"
  155.         up2          CDATA   #REQUIRED
  156.         down2        CDATA   "none"
  157.         over2        CDATA   "none"
  158.         state        CDATA   #REQUIRED
  159.         action1      CDATA   "none"
  160.         action2      CDATA   "none"
  161.         tooltiptext1 CDATA   ""
  162.         tooltiptext2 CDATA   ""
  163.         help         CDATA   ""
  164.     >
  165. <!ELEMENT Slider (SliderBackground)?>
  166.     <!ATTLIST Slider
  167.         id          CDATA   "none"
  168.         visible     CDATA   "true"
  169.         x           CDATA   "0"
  170.         y           CDATA   "0"
  171.         lefttop     CDATA   "lefttop"
  172.         rightbottom CDATA   "lefttop"
  173.         xkeepratio  CDATA   "false"
  174.         ykeepratio  CDATA   "false"
  175.         up          CDATA   #REQUIRED
  176.         down        CDATA   "none"
  177.         over        CDATA   "none"
  178.         points      CDATA   #REQUIRED
  179.         thickness   CDATA   "10"
  180.         value       CDATA   "none"
  181.         background  CDATA   "none"
  182.         tooltiptext CDATA   ""
  183.         help        CDATA   ""
  184.     >
  185. <!ELEMENT SliderBackground EMPTY>
  186.     <!ATTLIST SliderBackground
  187.         id          CDATA   "none"
  188.         image       CDATA   #REQUIRED
  189.         nbhoriz     CDATA   "1"
  190.         nbvert      CDATA   "1"
  191.         padhoriz    CDATA   "0"
  192.         padvert     CDATA   "0"
  193.     >
  194. <!ELEMENT RadialSlider EMPTY>
  195.     <!ATTLIST RadialSlider
  196.         id          CDATA   "none"
  197.         visible     CDATA   "true"
  198.         x           CDATA   "0"
  199.         y           CDATA   "0"
  200.         lefttop     CDATA   "lefttop"
  201.         rightbottom CDATA   "lefttop"
  202.         xkeepratio  CDATA   "false"
  203.         ykeepratio  CDATA   "false"
  204.         sequence    CDATA   #REQUIRED
  205.         nbimages    CDATA   #REQUIRED
  206.         minangle    CDATA   "0"
  207.         maxangle    CDATA   "360"
  208.         value       CDATA   "none"
  209.         tooltiptext CDATA   ""
  210.         help        CDATA   ""
  211.     >
  212. <!ELEMENT Text EMPTY>
  213.     <!ATTLIST Text
  214.         id          CDATA   "none"
  215.         visible     CDATA   "true"
  216.         x           CDATA   "0"
  217.         y           CDATA   "0"
  218.         width       CDATA   "0"
  219.         lefttop     CDATA   "lefttop"
  220.         rightbottom CDATA   "lefttop"
  221.         xkeepratio  CDATA   "false"
  222.         ykeepratio  CDATA   "false"
  223.         text        CDATA   ""
  224.         font        CDATA   #REQUIRED
  225.         color       CDATA   "#000000"
  226.         scrolling   CDATA   "auto"
  227.         alignment   CDATA   "left"
  228.         help        CDATA   ""
  229.     >
  230. <!ELEMENT Playlist (Slider)?>
  231.     <!ATTLIST Playlist
  232.         id          CDATA   #REQUIRED
  233.         visible     CDATA   "true"
  234.         x           CDATA   "0"
  235.         y           CDATA   "0"
  236.         width       CDATA   "0"
  237.         height      CDATA   "0"
  238.         lefttop     CDATA   "lefttop"
  239.         rightbottom CDATA   "lefttop"
  240.         xkeepratio  CDATA   "false"
  241.         ykeepratio  CDATA   "false"
  242.         font        CDATA   #REQUIRED
  243.         bgimage     CDATA   "none"
  244.         fgcolor     CDATA   "#000000"
  245.         playcolor   CDATA   "#FF0000"
  246.         bgcolor1    CDATA   "#FFFFFF"
  247.         bgcolor2    CDATA   "#FFFFFF"
  248.         selcolor    CDATA   "#0000FF"
  249.         help        CDATA   ""
  250.     >
  251. <!ELEMENT Playtree (Slider)?>
  252.     <!ATTLIST Playtree
  253.         id          CDATA   #REQUIRED
  254.         visible     CDATA   "true"
  255.         x           CDATA   "0"
  256.         y           CDATA   "0"
  257.         width       CDATA   "0"
  258.         height      CDATA   "0"
  259.         lefttop     CDATA   "lefttop"
  260.         rightbottom CDATA   "lefttop"
  261.         xkeepratio  CDATA   "false"
  262.         ykeepratio  CDATA   "false"
  263.         font        CDATA   #REQUIRED
  264.         bgimage     CDATA   "none"
  265.         itemimage   CDATA   "none"
  266.         openimage   CDATA   "none"
  267.         closedimage CDATA   "none"
  268.         fgcolor     CDATA   "#000000"
  269.         playcolor   CDATA   "#FF0000"
  270.         bgcolor1    CDATA   "#FFFFFF"
  271.         bgcolor2    CDATA   "#FFFFFF"
  272.         selcolor    CDATA   "#0000FF"
  273.         help        CDATA   ""
  274.         flat        CDATA   "false"
  275.     >
  276. <!ELEMENT Video EMPTY>
  277.     <!ATTLIST Video
  278.         id          CDATA   "none"
  279.         visible     CDATA   "true"
  280.         x           CDATA   "0"
  281.         y           CDATA   "0"
  282.         width       CDATA   "0"
  283.         height      CDATA   "0"
  284.         lefttop     CDATA   "lefttop"
  285.         rightbottom CDATA   "lefttop"
  286.         xkeepratio  CDATA   "false"
  287.         ykeepratio  CDATA   "false"
  288.         autoresize  CDATA   "true"
  289.         help        CDATA   ""
  290.     >
  291.