Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/mod/gui/gui.rnc
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0" | namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0" | ||||
## | ## | ||||
# NOTE: To modify this Relax NG grammar, edit the Relax NG Compact (.rnc) file | # NOTE: To modify this Relax NG grammar, edit the Relax NG Compact (.rnc) file | ||||
# and use a converter tool like trang to generate the Relax NG XML (.rng) file | # and use a converter tool like trang to generate the Relax NG XML (.rng) file | ||||
## | ## | ||||
elexis: Wouldn't be surprised if it's not supported, but it would be good to verify the formats. | |||||
start = object | objects | setup | sprites | styles | start = object | objects | setup | sprites | styles | ||||
Not Done Inline ActionsWatch your indenting please. s0600204: Watch your indenting please. | |||||
## | ## | ||||
# Types # | # Types # | ||||
## | ## | ||||
# xsd:boolean could be used instead of this definition, | # xsd:boolean could be used instead of this definition, | ||||
# though it considers "1" & "0" as valid values. | # though it considers "1" & "0" as valid values. | ||||
bool = "true" | "false" | bool = "true" | "false" | ||||
align = "left" | "center" | "right" | align = "left" | "center" | "right" | ||||
Show All 37 Lines | ex_settings = | ||||
attribute button_width { xsd:decimal }?& | attribute button_width { xsd:decimal }?& | ||||
attribute checked { bool }?& | attribute checked { bool }?& | ||||
attribute clip { bool }?& | attribute clip { bool }?& | ||||
attribute dropdown_size { xsd:decimal }?& | attribute dropdown_size { xsd:decimal }?& | ||||
attribute dropdown_buffer { xsd:decimal }?& | attribute dropdown_buffer { xsd:decimal }?& | ||||
attribute minimum_visible_items { xsd:nonNegativeInteger }?& | attribute minimum_visible_items { xsd:nonNegativeInteger }?& | ||||
attribute enabled { bool }?& | attribute enabled { bool }?& | ||||
attribute font { text }?& | attribute font { text }?& | ||||
attribute format_x { text }?& | |||||
attribute format_y { text }?& | |||||
attribute fov_wedge_color { ccolor }?& | attribute fov_wedge_color { ccolor }?& | ||||
attribute heading_height { text }?& | attribute heading_height { text }?& | ||||
attribute hotkey { text }?& | attribute hotkey { text }?& | ||||
attribute cell_id { xsd:integer }?& | attribute cell_id { xsd:integer }?& | ||||
attribute independent { bool }?& | attribute independent { bool }?& | ||||
attribute input_initvalue_destroyed_at_focus { bool }?& | attribute input_initvalue_destroyed_at_focus { bool }?& | ||||
attribute mask { bool }?& | attribute mask { bool }?& | ||||
attribute mask_char { xsd:string { minLength = "1" maxLength = "1" } }?& | attribute mask_char { xsd:string { minLength = "1" maxLength = "1" } }?& | ||||
▲ Show 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | element column { | ||||
attribute color { ccolor }?& | attribute color { ccolor }?& | ||||
attribute heading { text }?& | attribute heading { text }?& | ||||
attribute width { text }?& | attribute width { text }?& | ||||
attribute hidden { bool }? | attribute hidden { bool }? | ||||
) | ) | ||||
} | } | ||||
\include = | \include = | ||||
element include { | element include { | ||||
attribute file { text }| | attribute file { text }| | ||||
attribute directory { text } | attribute directory { text } | ||||
} | } | ||||
item = | item = | ||||
element item { | element item { | ||||
text, | text, | ||||
attribute enabled { bool }? | attribute enabled { bool }? | ||||
} | } | ||||
keep = element keep { text } | keep = element keep { text } | ||||
▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | element icon { | ||||
attribute sprite { text }& | attribute sprite { text }& | ||||
attribute cell_id { text }? | attribute cell_id { text }? | ||||
} | } | ||||
tooltip = | tooltip = | ||||
element tooltip { | element tooltip { | ||||
attribute name { text }& | attribute name { text }& | ||||
attribute sprite { text }?& | attribute sprite { text }?& | ||||
attribute anchor { valign }?& | attribute anchor { valign }?& | ||||
attribute axis_color { ccolor }?& | |||||
attribute axis_width { xsd:decimal { minInclusive = "0" } }?& | |||||
attribute buffer_zone { xsd:decimal }?& | attribute buffer_zone { xsd:decimal }?& | ||||
attribute font { text }?& | attribute font { text }?& | ||||
attribute maxwidth { xsd:decimal }?& | attribute maxwidth { xsd:decimal }?& | ||||
attribute offset { pos }?& | attribute offset { pos }?& | ||||
attribute textcolor { ccolor }?& | attribute textcolor { ccolor }?& | ||||
attribute delay { xsd:integer }?& | attribute delay { xsd:integer }?& | ||||
attribute use_object { text }?& | attribute use_object { text }?& | ||||
attribute hide_object { bool }? | attribute hide_object { bool }? | ||||
Show All 39 Lines |
Wildfire Games · Phabricator
Wouldn't be surprised if it's not supported, but it would be good to verify the formats.