Commit 8a5a4a2d authored by Daniel Dreibrodt's avatar Daniel Dreibrodt Committed by Jean-Baptiste Kempf

Skins2: change DTD to add possibility to store ID for Anchors, Panels and Groups.

It adds possibility to store IDs for Anchors, Panels and Groups.
This does not change the way skins2 works I believe. It just stops the
XML parser from complaining about non standard skins when they have set
IDs for those elements. And setting IDs for them is vital in the skin
editor, as it differentiates between different elements in the skin just
by their ID.
parent 4c0c65f6
......@@ -92,12 +92,14 @@
<!ELEMENT Group (Group|Image|Button|Playlist|Slider|RadialSlider|Text|Checkbox|
Anchor|Video|Playtree|Panel)+>
<!ATTLIST Group
id CDATA "none"
x CDATA "0"
y CDATA "0"
>
<!ELEMENT Panel (Group|Image|Button|Playlist|Slider|RadialSlider|Text|Checkbox|
Anchor|Video|Playtree|Panel)+>
<!ATTLIST Panel
id CDATA "none"
x CDATA "0"
y CDATA "0"
lefttop CDATA "lefttop"
......@@ -111,6 +113,7 @@
<!-- Anchors -->
<!ELEMENT Anchor EMPTY>
<!ATTLIST Anchor
id CDATA "none"
x CDATA "0"
y CDATA "0"
lefttop CDATA "lefttop"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment