Changeset 11122 for data/branches/cegui0.8/gui/looknfeels
- Timestamp:
- Feb 18, 2016, 10:58:46 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/cegui0.8/gui/looknfeels/Falagard.xsd
r7708 r11122 6 6 <xsd:element name="WidgetLook" type="widgetLookType" minOccurs="0" maxOccurs="unbounded" /> 7 7 </xsd:sequence> 8 <xsd:attribute name="version" type="xsd:nonNegativeInteger" use="optional" default="0" /> 8 9 </xsd:complexType> 9 10 <xsd:complexType name="widgetLookType"> 10 11 <xsd:sequence> 12 <xsd:element name="EventLinkDefinition" type="eventLinkDefinitionType" minOccurs="0" maxOccurs="unbounded" /> 11 13 <xsd:element name="PropertyDefinition" type="propertyDefinitionType" minOccurs="0" maxOccurs="unbounded" /> 12 14 <xsd:element name="PropertyLinkDefinition" type="propertyLinkDefinitionType" minOccurs="0" maxOccurs="unbounded" /> … … 16 18 <xsd:element name="ImagerySection" type="imagerySectionType" minOccurs="0" maxOccurs="unbounded" /> 17 19 <xsd:element name="StateImagery" type="stateType" minOccurs="0" maxOccurs="unbounded" /> 18 </xsd:sequence> 19 <xsd:attribute name="name" type="xsd:string" use="required" /> 20 <xsd:element name="AnimationDefinition" type="animAnimationDefinitionType" minOccurs="0" maxOccurs="unbounded" /> 21 </xsd:sequence> 22 <xsd:attribute name="name" type="xsd:string" use="required" /> 23 <xsd:attribute name="inherits" type="xsd:string" use="optional" default="" /> 20 24 </xsd:complexType> 21 25 <xsd:complexType name="propertyDefinitionType"> … … 25 29 <xsd:attribute name="layoutOnWrite" type="xsd:boolean" use="optional" default="false" /> 26 30 <xsd:attribute name="redrawOnWrite" type="xsd:boolean" use="optional" default="false" /> 31 <xsd:attribute name="help" type="xsd:string" use="optional" default="Falagard custom property definition - gets/sets a named user string." /> 32 <xsd:attribute name="fireEvent" type="xsd:string" use="optional" default="" /> 27 33 </xsd:complexType> 28 34 <xsd:complexType name="propertyLinkDefinitionType"> 35 <xsd:sequence> 36 <xsd:element name="PropertyLinkTarget" type="propertyLinkTargetType" minOccurs="0" maxOccurs="unbounded" /> 37 </xsd:sequence> 29 38 <xsd:attribute name="type" type="propertyTypeEnum" use="optional" default="Generic" /> 30 39 <xsd:attribute name="name" type="xsd:string" use="required" /> 31 <xsd:attribute name="widget" type="xsd:string" use=" required" />40 <xsd:attribute name="widget" type="xsd:string" use="optional" default="" /> 32 41 <xsd:attribute name="targetProperty" type="xsd:string" use="optional" default="" /> 33 42 <xsd:attribute name="initialValue" type="xsd:string" use="optional" default="" /> 34 43 <xsd:attribute name="layoutOnWrite" type="xsd:boolean" use="optional" default="false" /> 35 44 <xsd:attribute name="redrawOnWrite" type="xsd:boolean" use="optional" default="false" /> 45 <xsd:attribute name="fireEvent" type="xsd:string" use="optional" default="" /> 46 </xsd:complexType> 47 <xsd:complexType name="propertyLinkTargetType"> 48 <xsd:attribute name="widget" type="xsd:string" use="required" /> 49 <xsd:attribute name="property" type="xsd:string" use="optional" default="" /> 50 </xsd:complexType> 51 <xsd:complexType name="eventLinkDefinitionType"> 52 <xsd:sequence> 53 <xsd:element name="EventLinkTarget" type="eventLinkTargetType" minOccurs="0" maxOccurs="unbounded" /> 54 </xsd:sequence> 55 <xsd:attribute name="name" type="xsd:string" use="required" /> 56 <xsd:attribute name="widget" type="xsd:string" use="optional" default="" /> 57 <xsd:attribute name="event" type="xsd:string" use="optional" default="" /> 58 </xsd:complexType> 59 <xsd:complexType name="eventLinkTargetType"> 60 <xsd:attribute name="widget" type="xsd:string" use="required" /> 61 <xsd:attribute name="event" type="xsd:string" use="optional" default="" /> 36 62 </xsd:complexType> 37 63 <xsd:complexType name="namedAreaType"> 38 64 <xsd:sequence> 39 <xsd:element name="Area" type="componentAreaType" />65 <xsd:element name="Area" type="componentAreaType" minOccurs="0" maxOccurs="1" /> 40 66 </xsd:sequence> 41 67 <xsd:attribute name="name" type="xsd:string" use="required" /> … … 64 90 <xsd:attribute name="section" type="xsd:string" use="required" /> 65 91 <xsd:attribute name="controlProperty" type="xsd:string" use="optional" default="" /> 92 <xsd:attribute name="controlValue" type="xsd:string" use="optional" default="" /> 93 <xsd:attribute name="controlWidget" type="xsd:string" use="optional" default="" /> 66 94 </xsd:complexType> 67 95 <xsd:complexType name="imagerySectionType"> … … 81 109 <xsd:complexType name="frameComponentType"> 82 110 <xsd:sequence> 83 <xsd:element name="Area" type="componentAreaType" /> 84 <xsd:element name="Image" type="frameImageType" minOccurs="0" maxOccurs="9" /> 111 <xsd:element name="Area" type="componentAreaType" minOccurs="0" maxOccurs="1" /> 112 <xsd:choice minOccurs="0" maxOccurs="9"> 113 <xsd:element name="Image" type="frameImageType" /> 114 <xsd:element name="ImageProperty" type="frameImageType" /> 115 </xsd:choice> 85 116 <xsd:choice minOccurs="0" maxOccurs="1"> 86 117 <xsd:element name="Colour" type="colourType" /> … … 89 120 <xsd:element name="ColourRectProperty" type="settingByPropertyType" /> 90 121 </xsd:choice> 91 <xsd:choice minOccurs="0" maxOccurs=" 1">92 <xsd:element name="VertFormat" type=" vertFormatType" />93 <xsd:element name="VertFormatProperty" type=" settingByPropertyType" />94 </xsd:choice> 95 <xsd:choice minOccurs="0" maxOccurs=" 1">96 <xsd:element name="HorzFormat" type=" horzFormatType" />97 <xsd:element name="HorzFormatProperty" type=" settingByPropertyType" />122 <xsd:choice minOccurs="0" maxOccurs="3"> 123 <xsd:element name="VertFormat" type="frameVertFormatType" /> 124 <xsd:element name="VertFormatProperty" type="frameFormatPropertyType" /> 125 </xsd:choice> 126 <xsd:choice minOccurs="0" maxOccurs="3"> 127 <xsd:element name="HorzFormat" type="frameHorzFormatType" /> 128 <xsd:element name="HorzFormatProperty" type="frameFormatPropertyType" /> 98 129 </xsd:choice> 99 130 </xsd:sequence> … … 101 132 <xsd:complexType name="textComponentType"> 102 133 <xsd:sequence> 103 <xsd:element name="Area" type="componentAreaType" />134 <xsd:element name="Area" type="componentAreaType" minOccurs="0" maxOccurs="1" /> 104 135 <xsd:element name="Text" type="textStringType" minOccurs="0" maxOccurs="1" /> 105 136 <xsd:element name="TextProperty" type="textPropertyType" minOccurs="0" maxOccurs="1" /> … … 123 154 <xsd:complexType name="imageryComponentType"> 124 155 <xsd:sequence> 125 <xsd:element name="Area" type="componentAreaType" />156 <xsd:element name="Area" type="componentAreaType" minOccurs="0" maxOccurs="1" /> 126 157 <xsd:choice> 127 158 <xsd:element name="Image" type="imageType" /> … … 146 177 <xsd:complexType name="widgetComponentType"> 147 178 <xsd:sequence> 148 <xsd:element name="Area" type="componentAreaType" /> 179 <xsd:element name="EventAction" type="eventActionType" minOccurs="0" maxOccurs="unbounded" /> 180 <xsd:element name="Area" type="componentAreaType" minOccurs="0" maxOccurs="1" /> 149 181 <xsd:element name="VertAlignment" type="vertAlignmentType" minOccurs="0" maxOccurs="1" /> 150 182 <xsd:element name="HorzAlignment" type="horzAlignmentType" minOccurs="0" maxOccurs="1" /> … … 155 187 <xsd:attribute name="renderer" type="xsd:string" use="optional" default="" /> 156 188 <xsd:attribute name="look" type="xsd:string" use="optional" default="" /> 189 <xsd:attribute name="autoWindow" type="xsd:boolean" use="optional" default="true" /> 157 190 </xsd:complexType> 158 191 <xsd:complexType name="horzFormatType"> … … 179 212 </xsd:complexType> 180 213 <xsd:complexType name="imageType"> 181 <xsd:attribute name="imageset" type="xsd:string" use="required" /> 182 <xsd:attribute name="image" type="xsd:string" use="required" /> 214 <xsd:attribute name="name" type="xsd:string" use="required" /> 183 215 </xsd:complexType> 184 216 <xsd:complexType name="frameImageType"> 185 <xsd:attribute name="type" type="frameImageComponentEnum" use="required" /> 186 <xsd:attribute name="imageset" type="xsd:string" use="required" /> 187 <xsd:attribute name="image" type="xsd:string" use="required" /> 217 <xsd:attribute name="component" type="frameImageComponentEnum" use="required" /> 218 <xsd:attribute name="name" type="xsd:string" use="required" /> 219 </xsd:complexType> 220 <xsd:complexType name="frameVertFormatType"> 221 <xsd:attribute name="component" type="frameImageComponentEnum" use="optional" default="Background" /> 222 <xsd:attribute name="type" type="vertFormatEnum" use="optional" default="Stretched" /> 223 </xsd:complexType> 224 <xsd:complexType name="frameHorzFormatType"> 225 <xsd:attribute name="component" type="frameImageComponentEnum" use="optional" default="Background" /> 226 <xsd:attribute name="type" type="horzFormatEnum" use="optional" default="Stretched" /> 227 </xsd:complexType> 228 <xsd:complexType name="frameFormatPropertyType"> 229 <xsd:attribute name="component" type="frameImageComponentEnum" use="optional" default="Background" /> 230 <xsd:attribute name="name" type="xsd:string" use="required" /> 188 231 </xsd:complexType> 189 232 <xsd:complexType name="componentAreaType"> 190 233 <xsd:choice> 191 234 <xsd:sequence> 192 <xsd:element name="Dim" type="dimensionType" minOccurs=" 4" maxOccurs="4" />235 <xsd:element name="Dim" type="dimensionType" minOccurs="1" maxOccurs="4" /> 193 236 </xsd:sequence> 194 237 <xsd:element name="AreaProperty" type="settingByPropertyType" /> 238 <xsd:element name="NamedAreaSource" type="namedAreaSourceType" /> 195 239 </xsd:choice> 196 240 </xsd:complexType> … … 200 244 <xsd:element name="AbsoluteDim" type="absoluteDimType" /> 201 245 <xsd:element name="ImageDim" type="imageDimType" /> 246 <xsd:element name="ImagePropertyDim" type="imageDimType" /> 202 247 <xsd:element name="WidgetDim" type="widgetDimType" /> 203 248 <xsd:element name="FontDim" type="fontDimType" /> 204 249 <xsd:element name="PropertyDim" type="propertyDimType" /> 250 <xsd:element name="OperatorDim" type="operatorDimType" /> 205 251 </xsd:choice> 206 252 <xsd:attribute name="type" type="dimensionTypeEnum" use="required" /> 207 253 </xsd:complexType> 208 254 <xsd:complexType name="fontDimType"> 209 <xsd:sequence>210 <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" />211 </xsd:sequence>212 255 <xsd:attribute name="widget" type="xsd:string" use="optional" default="" /> 213 256 <xsd:attribute name="font" type="xsd:string" use="optional" default="" /> … … 217 260 </xsd:complexType> 218 261 <xsd:complexType name="propertyDimType"> 219 <xsd:sequence>220 <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" />221 </xsd:sequence>222 262 <xsd:attribute name="widget" type="xsd:string" use="optional" default="" /> 223 263 <xsd:attribute name="name" type="xsd:string" use="required" /> … … 225 265 </xsd:complexType> 226 266 <xsd:complexType name="unifiedDimType"> 227 <xsd:sequence>228 <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" />229 </xsd:sequence>230 267 <xsd:attribute name="scale" type="xsd:decimal" use="optional" default="0" /> 231 268 <xsd:attribute name="offset" type="xsd:integer" use="optional" default="0" /> … … 233 270 </xsd:complexType> 234 271 <xsd:complexType name="absoluteDimType"> 235 <xsd:sequence>236 <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" />237 </xsd:sequence>238 272 <xsd:attribute name="value" type="xsd:decimal" use="optional" default="0" /> 239 273 </xsd:complexType> 240 274 <xsd:complexType name="imageDimType"> 241 <xsd:sequence> 242 <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" /> 243 </xsd:sequence> 244 <xsd:attribute name="imageset" type="xsd:string" use="required" /> 245 <xsd:attribute name="image" type="xsd:string" use="required" /> 275 <xsd:attribute name="name" type="xsd:string" use="required" /> 246 276 <xsd:attribute name="dimension" type="dimensionTypeEnum" use="required" /> 247 277 </xsd:complexType> 248 278 <xsd:complexType name="widgetDimType"> 249 <xsd:sequence>250 <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" />251 </xsd:sequence>252 279 <xsd:attribute name="widget" type="xsd:string" use="optional" default="" /> 253 280 <xsd:attribute name="dimension" type="dimensionTypeEnum" use="required" /> 254 281 </xsd:complexType> 282 <xsd:complexType name="operatorDimType"> 283 <xsd:choice minOccurs="2" maxOccurs="2"> 284 <xsd:element name="UnifiedDim" type="unifiedDimType" /> 285 <xsd:element name="AbsoluteDim" type="absoluteDimType" /> 286 <xsd:element name="ImageDim" type="imageDimType" /> 287 <xsd:element name="ImagePropertyDim" type="imageDimType" /> 288 <xsd:element name="WidgetDim" type="widgetDimType" /> 289 <xsd:element name="FontDim" type="fontDimType" /> 290 <xsd:element name="PropertyDim" type="propertyDimType" /> 291 <xsd:element name="OperatorDim" type="operatorDimType" /> 292 </xsd:choice> 293 <xsd:attribute name="op" type="dimensionOperatorEnum" use="required" /> 294 </xsd:complexType> 255 295 <xsd:complexType name="settingByPropertyType"> 256 296 <xsd:attribute name="name" type="xsd:string" use="required" /> … … 280 320 <xsd:attribute name="name" type="xsd:string" use="required" /> 281 321 </xsd:complexType> 282 <xsd:complexType name="dimensionOperatorType"> 283 <xsd:choice> 284 <xsd:element name="UnifiedDim" type="unifiedDimType" /> 285 <xsd:element name="AbsoluteDim" type="absoluteDimType" /> 286 <xsd:element name="ImageDim" type="imageDimType" /> 287 <xsd:element name="WidgetDim" type="widgetDimType" /> 288 <xsd:element name="FontDim" type="fontDimType" /> 289 <xsd:element name="PropertyDim" type="propertyDimType" /> 290 </xsd:choice> 291 <xsd:attribute name="op" type="dimensionOperatorEnum" use="required" /> 322 <xsd:complexType name="namedAreaSourceType"> 323 <xsd:attribute name="look" type="xsd:string" use="optional" default="" /> 324 <xsd:attribute name="name" type="xsd:string" use="required" /> 325 </xsd:complexType> 326 <xsd:complexType name="eventActionType"> 327 <xsd:attribute name="event" type="xsd:string" use="required" /> 328 <xsd:attribute name="action" type="eventActionTypeEnum" use="required" /> 292 329 </xsd:complexType> 293 330 <xsd:simpleType name="propertyDimensionTypeEnum"> … … 365 402 <xsd:simpleType name="propertyTypeEnum"> 366 403 <xsd:restriction base="xsd:string"> 404 <xsd:enumeration value="Colour" /> 405 <xsd:enumeration value="ColourRect" /> 406 <xsd:enumeration value="UBox" /> 407 <xsd:enumeration value="URect" /> 408 <xsd:enumeration value="USize" /> 409 <xsd:enumeration value="UDim" /> 410 <xsd:enumeration value="UVector2" /> 411 <xsd:enumeration value="Sizef" /> 412 <xsd:enumeration value="Vector2f" /> 413 <xsd:enumeration value="Vector3f" /> 414 <xsd:enumeration value="Rectf" /> 415 <xsd:enumeration value="Font" /> 416 <xsd:enumeration value="Image" /> 417 <xsd:enumeration value="Quaternion" /> 418 <xsd:enumeration value="AspectMode" /> 419 <xsd:enumeration value="HorizontalAlignment" /> 420 <xsd:enumeration value="VerticalAlignment" /> 421 <xsd:enumeration value="HorizontalTextFormatting" /> 422 <xsd:enumeration value="VerticalTextFormatting" /> 423 <xsd:enumeration value="WindowUpdateMode" /> 424 <xsd:enumeration value="bool" /> 425 <xsd:enumeration value="uint" /> 426 <xsd:enumeration value="unsigned long" /> 427 <xsd:enumeration value="int" /> 428 <xsd:enumeration value="float" /> 429 <xsd:enumeration value="double" /> 430 <xsd:enumeration value="TabControl::TabPanePosition" /> 431 <xsd:enumeration value="Spinner::TextInputMode" /> 432 <xsd:enumeration value="ItemListBase::SortMode" /> 433 <xsd:enumeration value="ListHeaderSegment::SortDirection" /> 434 <xsd:enumeration value="MultiColumnList::SelectionMode" /> 435 <xsd:enumeration value="VerticalFormatting" /> 436 <xsd:enumeration value="HorizontalFormatting" /> 437 <xsd:enumeration value="Range" /> 438 <xsd:enumeration value="String" /> 367 439 <xsd:enumeration value="Generic" /> 368 440 </xsd:restriction> … … 397 469 </xsd:restriction> 398 470 </xsd:simpleType> 471 <xsd:simpleType name="eventActionTypeEnum"> 472 <xsd:restriction base="xsd:string"> 473 <xsd:enumeration value="Redraw" /> 474 <xsd:enumeration value="Layout" /> 475 </xsd:restriction> 476 </xsd:simpleType> 477 478 479 480 <xsd:complexType name="animAnimationDefinitionType"> 481 <xsd:sequence> 482 <xsd:element name="Affector" type="animAffectorType" minOccurs="1" maxOccurs="unbounded" /> 483 <xsd:element name="Subscription" type="animSubscriptionType" minOccurs="0" maxOccurs="unbounded" /> 484 </xsd:sequence> 485 <xsd:attribute name="name" type="xsd:string" use="required" /> 486 <xsd:attribute name="duration" type="xsd:decimal" use="required" /> 487 <xsd:attribute name="replayMode" type="animReplayModeEnum" use="optional" default="loop" /> 488 <xsd:attribute name="autoStart" type="xsd:boolean" use="optional" default="false" /> 489 </xsd:complexType> 490 <xsd:complexType name="animAffectorType"> 491 <xsd:sequence> 492 <xsd:element name="KeyFrame" type="animKeyFrameType" minOccurs="1" maxOccurs="unbounded" /> 493 </xsd:sequence> 494 <xsd:attribute name="applicationMethod" type="animApplicationMethodEnum" use="optional" default="absolute" /> 495 <xsd:attribute name="property" type="xsd:string" use="required" /> 496 <xsd:attribute name="interpolator" type="xsd:string" use="required" /> 497 </xsd:complexType> 498 <xsd:complexType name="animKeyFrameType"> 499 <xsd:attribute name="position" type="xsd:decimal" use="required" /> 500 <xsd:attribute name="value" type="xsd:string" use="optional" default="" /> 501 <xsd:attribute name="progression" type="xsd:string" use="optional" default="" /> 502 <xsd:attribute name="sourceProperty" type="xsd:string" use="optional" default="" /> 503 </xsd:complexType> 504 <xsd:complexType name="animSubscriptionType"> 505 <xsd:attribute name="event" type="xsd:string" use="required" /> 506 <xsd:attribute name="action" type="animActionEnum" use="required" /> 507 </xsd:complexType> 508 <xsd:simpleType name="animReplayModeEnum"> 509 <xsd:restriction base="xsd:string"> 510 <xsd:enumeration value="once" /> 511 <xsd:enumeration value="loop" /> 512 <xsd:enumeration value="bounce" /> 513 </xsd:restriction> 514 </xsd:simpleType> 515 <xsd:simpleType name="animApplicationMethodEnum"> 516 <xsd:restriction base="xsd:string"> 517 <xsd:enumeration value="absolute" /> 518 <xsd:enumeration value="relative" /> 519 <xsd:enumeration value="relative multiply" /> 520 </xsd:restriction> 521 </xsd:simpleType> 522 <xsd:simpleType name="animProgressionEnum"> 523 <xsd:restriction base="xsd:string"> 524 <xsd:enumeration value="linear" /> 525 <xsd:enumeration value="discrete" /> 526 <xsd:enumeration value="quadratic accelerating" /> 527 <xsd:enumeration value="quadratic decelerating" /> 528 </xsd:restriction> 529 </xsd:simpleType> 530 <xsd:simpleType name="animActionEnum"> 531 <xsd:restriction base="xsd:string"> 532 <xsd:enumeration value="Start" /> 533 <xsd:enumeration value="Stop" /> 534 <xsd:enumeration value="Pause" /> 535 <xsd:enumeration value="Unpause" /> 536 <xsd:enumeration value="TogglePause" /> 537 </xsd:restriction> 538 </xsd:simpleType> 539 399 540 </xsd:schema>
Note: See TracChangeset
for help on using the changeset viewer.