From: <spo...@us...> - 2007-05-10 17:09:32
|
Revision: 452 http://svn.sourceforge.net/opengate/?rev=452&view=rev Author: spom_spom Date: 2007-05-10 10:09:32 -0700 (Thu, 10 May 2007) Log Message: ----------- Added GameStateManager and Gamestates for docked and undocked. GUI system for docked is set to CEGUI-0.5 Modified Paths: -------------- branches/ogsector/configure.ac branches/ogsector/data/materials/simpleHUD.material branches/ogsector/data/materials/squadrok.material branches/ogsector/data/ships.xml branches/ogsector/resources.cfg branches/ogsector/runClient.sh branches/ogsector/src/InputManager.cpp branches/ogsector/src/LogManager.cpp branches/ogsector/src/Makefile.am branches/ogsector/src/Makefile.in branches/ogsector/src/Sector.cpp branches/ogsector/src/Sector.h branches/ogsector/src/SectorObjects.cpp branches/ogsector/src/SectorObjects.h branches/ogsector/src/VesselManager.h branches/ogsector/src/networkClient.cpp branches/ogsector/src/ogconsole.cpp branches/ogsector/win32/ogsectorclient/resources.cfg Added Paths: ----------- branches/ogsector/data/gui/ branches/ogsector/data/gui/layouts/ branches/ogsector/data/gui/layouts/GUILayout.xsd branches/ogsector/data/gui/layouts/dialogs/ branches/ogsector/data/gui/layouts/dialogs/ShipConfigDialog.layout branches/ogsector/data/gui/layouts/opengateDocked.layout branches/ogsector/data/gui/schemes/ branches/ogsector/data/gui/schemes/Falagard.xsd branches/ogsector/data/gui/schemes/Falagard.xsx branches/ogsector/data/gui/schemes/Font.xsd branches/ogsector/data/gui/schemes/GUIScheme.xsd branches/ogsector/data/gui/schemes/Imageset.xsd branches/ogsector/data/gui/schemes/opengate/ branches/ogsector/data/gui/schemes/opengate/opengate.imageset branches/ogsector/data/gui/schemes/opengate/opengate.looknfeel branches/ogsector/data/gui/schemes/opengate/opengate.png branches/ogsector/data/gui/schemes/opengate/opengate.scheme branches/ogsector/data/gui/schemes/opengate/opengateButtons.looknfeel branches/ogsector/data/gui/schemes/opengate/opengateContainers.looknfeel branches/ogsector/data/gui/schemes/opengate/opengateScroll.looknfeel branches/ogsector/data/gui/schemes/opengate/opengateStatic.looknfeel branches/ogsector/data/gui/schemes/opengate/static.looknfeel branches/ogsector/data/gui/schemes/opengate/textures/ branches/ogsector/data/gui/schemes/opengate/textures/mainBottomLeft.png branches/ogsector/data/gui/schemes/opengate/textures/mainBottomMiddle.png branches/ogsector/data/gui/schemes/opengate/textures/mainBottomRight.png branches/ogsector/data/gui/schemes/opengate/textures/mainLeftLogo90.png branches/ogsector/data/gui/schemes/opengate/textures/mainRedLine.png branches/ogsector/data/gui/schemes/opengate/textures/mainRedLineBottom.png branches/ogsector/data/gui/schemes/opengate/textures/mainRedLineTop.png branches/ogsector/data/gui/schemes/opengate/textures/mainTopLeft.png branches/ogsector/data/gui/schemes/opengate/textures/mainTopRight.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/ branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/downHover.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/downNormal.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/downPushed.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/leftHover.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/leftNormal.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/leftPushed.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/rightHover.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/rightNormal.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/rightPushed.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/upHover.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/upNormal.png branches/ogsector/data/gui/schemes/opengate/textures/scrollbar/upPushed.png branches/ogsector/src/DockedState.cpp branches/ogsector/src/DockedState.h branches/ogsector/src/GameState.cpp branches/ogsector/src/GameState.h branches/ogsector/src/GameStateManager.cpp branches/ogsector/src/GameStateManager.h branches/ogsector/src/ShipConfigDialog.cpp branches/ogsector/src/ShipConfigDialog.h branches/ogsector/src/UnDockedState.cpp branches/ogsector/src/UnDockedState.h Removed Paths: ------------- branches/ogsector/src/SectorClient.cpp branches/ogsector/src/SectorClient.h branches/ogsector/src/SectorClientFrameListener.cpp branches/ogsector/src/SectorClientFrameListener.h branches/ogsector/src/ogsectorclient.cpp branches/ogsector/src/ogsectorserver.cpp Modified: branches/ogsector/configure.ac =================================================================== --- branches/ogsector/configure.ac 2007-05-10 12:23:21 UTC (rev 451) +++ branches/ogsector/configure.ac 2007-05-10 17:09:32 UTC (rev 452) @@ -21,6 +21,14 @@ AC_SUBST(AM_CXXFLAGS,"$AM_CXXFLAGS $OGRE_CFLAGS") AC_SUBST(AM_LDFLAGS,"$AM_LDFLAGS $OGRE_LIBS") +PKG_CHECK_MODULES(CEGUI, [CEGUI >= 0.5.0]) +AC_SUBST(AM_CXXFLAGS,"$AM_CXXFLAGS $CEGUI_CFLAGS") +AC_SUBST(AM_LDFLAGS,"$AM_LDFLAGS $CEGUI_LIBS") + +PKG_CHECK_MODULES(CEGUIOGRE, [CEGUI-OGRE >= 1.4.0]) +AC_SUBST(AM_CXXFLAGS,"$AM_CXXFLAGS $CEGUIOGRE_CFLAGS") +AC_SUBST(AM_LDFLAGS,"$AM_LDFLAGS $CEGUIOGRE_LIBS") + dnl OIS - http://www.sourceforge.net/projects/wgois/ PKG_CHECK_MODULES(OIS, [OIS >= 0.9.9]) AC_SUBST(AM_CXXFLAGS, "$AM_CXXFLAGS $OIS_CFLAGS") Added: branches/ogsector/data/gui/layouts/GUILayout.xsd =================================================================== --- branches/ogsector/data/gui/layouts/GUILayout.xsd (rev 0) +++ branches/ogsector/data/gui/layouts/GUILayout.xsd 2007-05-10 17:09:32 UTC (rev 452) @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + + <xsd:element name="GUILayout" type="GUILayoutType"/> + + <xsd:complexType name="GUILayoutType"> + <xsd:sequence> + <xsd:element name="Window" type="WindowType" /> + </xsd:sequence> + <xsd:attribute name="Parent" type="xsd:string" use="optional" default=""/> + </xsd:complexType> + + <xsd:complexType name="WindowType"> + <xsd:sequence> + <xsd:element name="LayoutImport" type="LayoutImportType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="Event" type="EventType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:choice minOccurs="0" maxOccurs="unbounded"> + <xsd:element name="Window" type="WindowType" /> + <xsd:element name="AutoWindow" type="AutoWindowType" /> + </xsd:choice> + <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + <xsd:attribute name="Type" type="xsd:string" use="required"/> + <xsd:attribute name="Name" type="xsd:string" use="optional" default="" /> + </xsd:complexType> + + <xsd:complexType name="AutoWindowType"> + <xsd:sequence> + <xsd:element name="LayoutImport" type="LayoutImportType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="Event" type="EventType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:choice minOccurs="0" maxOccurs="unbounded"> + <xsd:element name="Window" type="WindowType" /> + <xsd:element name="AutoWindow" type="AutoWindowType" /> + </xsd:choice> + <xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + <xsd:attribute name="NameSuffix" type="xsd:string" use="required"/> + </xsd:complexType> + + <xsd:complexType name="PropertyType"> + <xsd:simpleContent> + <xsd:extension base="xsd:string"> + <xsd:attribute name="Name" type="xsd:string" use="required"/> + <xsd:attribute name="Value" type="xsd:string" use="optional"/> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + + <xsd:complexType name="LayoutImportType"> + <xsd:attribute name="Filename" type="xsd:string" use="required"/> + <xsd:attribute name="Prefix" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional" default="" /> + </xsd:complexType> + + <xsd:complexType name="EventType"> + <xsd:attribute name="Name" type="xsd:string" use="required"/> + <xsd:attribute name="Function" type="xsd:string" use="required"/> + </xsd:complexType> + +</xsd:schema> + Added: branches/ogsector/data/gui/layouts/dialogs/ShipConfigDialog.layout =================================================================== --- branches/ogsector/data/gui/layouts/dialogs/ShipConfigDialog.layout (rev 0) +++ branches/ogsector/data/gui/layouts/dialogs/ShipConfigDialog.layout 2007-05-10 17:09:32 UTC (rev 452) @@ -0,0 +1,69 @@ +<?xml version="1.0" ?> +<GUILayout> + <Window Type="opengate/FrameWindow" Name="ShipConfigDialog"> + <Property Name="UnifiedPosition" Value="{{0.15,0},{0.1,0}}" /> + <Property Name="UnifiedSize" Value="{{0.7,0},{0.7,0}}" /> + <Property Name="SizingEnabled" Value="false" /> + +<!-- <Property Name="HorizontalAlignment" Value="Centre" /> --> +<!-- <Property Name="VerticalAlignment" Value="Centre" /> --> + <Property Name="Alpha" Value="0.7" /> + <Property Name="Text" Value="Ship Configurator" /> + <Window Type="opengate/FrameWindow" Name="ShipConfigDialog/ShipStats"> + <Property Name="UnifiedPosition" Value="{{0.7,0},{0.0,22}}" /> + <Property Name="UnifiedSize" Value="{{0.3,0},{1.0,-22}}" /> + <Property Name="SizingEnabled" Value="false" /> + <Property Name="TitlebarEnabled" Value="false" /> + <Property Name="CloseButtonEnabled" Value="false" /> + <Property Name="Alpha" Value="0.7" /> + </Window> + <Window Type="opengate/Button" Name="ShipConfigDialog/SelectOctavius"> + <Property Name="UnifiedPosition" Value="{{0.55,0.0},{0.3,0}}" /> + <Property Name="UnifiedSize" Value="{{0.0,100},{0.0,24}}" /> + <Property Name="Text" Value="Octavius" /> + <Property Name="Disabled" Value="true" /> + </Window> + <Window Type="opengate/Button" Name="ShipConfigDialog/SelectQuanter"> + <Property Name="UnifiedPosition" Value="{{0.55,0.0},{0.3,+26}}" /> + <Property Name="UnifiedSize" Value="{{0.0,100},{0.0,24}}" /> + <Property Name="Text" Value="Quantar" /> + <Property Name="Disabled" Value="true" /> + </Window> + <Window Type="opengate/Button" Name="ShipConfigDialog/SelectTauseti"> + <Property Name="UnifiedPosition" Value="{{0.55,0.0},{0.3,+52}}" /> + <Property Name="UnifiedSize" Value="{{0.0,100},{0.0,24}}" /> + <Property Name="Text" Value="Tauseti" /> + <Property Name="Disabled" Value="true" /> + </Window> + <Window Type="opengate/Button" Name="ShipConfigDialog/SelectSquadrok"> + <Property Name="UnifiedPosition" Value="{{0.55,0.0},{0.3,+78}}" /> + <Property Name="UnifiedSize" Value="{{0.0,100},{0.0,24}}" /> + <Property Name="Text" Value="Squadrok" /> + <Property Name="Disabled" Value="true" /> + </Window> + <Window Type="opengate/Button" Name="ShipConfigDialog/SelectAll"> + <Property Name="UnifiedPosition" Value="{{0.55,0.0},{0.3,+110}}" /> + <Property Name="UnifiedSize" Value="{{0.0,100},{0.0,24}}" /> + <Property Name="Text" Value="All" /> + <Property Name="Disabled" Value="true" /> + </Window> + <Window Type="opengate/StaticImage" Name="ShipConfigDialog/ShipView"> + <Property Name="UnifiedPosition" Value="{{0.1,0},{0.3,0}}" /> + <Property Name="UnifiedSize" Value="{{0.4,0},{ 0.4,0}}" /> + <Property Name="Alpha" Value="1.0" /> + </Window> + <Window Type="opengate/HorizontalScrollbarLeftThumb" Name="ShipConfigDialog/PrevShip"> + <Property Name="UnifiedPosition" Value="{{0.1,0},{0.7,+10}}" /> + <Property Name="UnifiedSize" Value="{{0.0,56},{ 0.0,14}}" /> + </Window> + <Window Type="opengate/HorizontalScrollbarRightThumb" Name="ShipConfigDialog/NextShip"> + <Property Name="UnifiedPosition" Value="{{0.5,-56},{0.7,+10}}" /> + <Property Name="UnifiedSize" Value="{{0.0,56},{ 0.0,14}}" /> + </Window> + <Window Type="opengate/Button" Name="ShipConfigDialog/SelectShip"> + <Property Name="UnifiedPosition" Value="{{0.0,+10},{1,-34}}" /> + <Property Name="UnifiedSize" Value="{{0.0,100},{0.0,24}}" /> + <Property Name="Text" Value="Select" /> + </Window> + </Window> +</GUILayout> Added: branches/ogsector/data/gui/layouts/opengateDocked.layout =================================================================== --- branches/ogsector/data/gui/layouts/opengateDocked.layout (rev 0) +++ branches/ogsector/data/gui/layouts/opengateDocked.layout 2007-05-10 17:09:32 UTC (rev 452) @@ -0,0 +1,131 @@ +<?xml version="1.0" ?> +<GUILayout> + <Window Type="DefaultWindow" Name="Docked/MainWindow"> + <Property Name="UnifiedPosition" Value="{{0.0,1},{0.0,1}}" /> + <Property Name="UnifiedSize" Value="{{1.0,-2},{1.0,-2}}" /> +<!-- <Property Name="UnifiedPosition" Value="{{0.0,23},{0.0,5}}" /> --> +<!-- <Property Name="UnifiedSize" Value="{{1.0,-46},{1.0,-10}}" /> --> + <Property Name="Alpha" Value="1" /> + + <Window Type="opengate/StaticImage" Name="Docked/MainWindow/TopLeft"> + <Property Name="UnifiedPosition" Value="{{0.0,25},{0.0,10}}" /> + <Property Name="UnifiedSize" Value="{{0.0,62},{0.0,374}}" /> + <Property Name="BackgroundEnabled" Value="False" /> + <Property Name="FrameEnabled" Value="False" /> + <Property Name="Image" Value="set:MainWindowTopLeft image:full_image" /> + </Window> + <Window Type="opengate/StaticImage" Name="Docked/MainWindow/LeftRedLineTop"> + <Property Name="UnifiedPosition" Value="{{0.0,40},{0.0,384}}" /> + <Property Name="UnifiedSize" Value="{{0.0,44},{0.0, 22}}" /> + <Property Name="BackgroundEnabled" Value="False" /> + <Property Name="FrameEnabled" Value="False" /> + <Property Name="Image" Value="set:MainWindowRedLineTop image:full_image" /> + </Window> + <Window Type="opengate/StaticImage" Name="Docked/MainWindow/LeftLine"> + <Property Name="UnifiedPosition" Value="{{0.0,61},{0.0,384}}" /> + <Property Name="UnifiedSize" Value="{{0.0,4},{1.0,-504}}" /> + <Property Name="BackgroundEnabled" Value="False" /> + <Property Name="FrameEnabled" Value="False" /> + <Property Name="Image" Value="set:MainWindowRedLine image:full_image" /> + </Window> + <Window Type="opengate/StaticImage" Name="Docked/MainWindow/LeftRedLineBottom"> + <Property Name="UnifiedPosition" Value="{{0.0,40},{1.0,-140}}" /> + <Property Name="UnifiedSize" Value="{{0.0,44},{0.0, 22}}" /> + <Property Name="BackgroundEnabled" Value="False" /> + <Property Name="FrameEnabled" Value="False" /> + <Property Name="Image" Value="set:MainWindowRedLineBottom image:full_image" /> + </Window> + <Window Type="opengate/StaticImage" Name="Docked/MainWindow/RightRedLineTop"> + <Property Name="UnifiedPosition" Value="{{1.0,-68},{0.0,132}}" /> + <Property Name="UnifiedSize" Value="{{0.0,44},{0.0, 22}}" /> + <Property Name="BackgroundEnabled" Value="False" /> + <Property Name="FrameEnabled" Value="False" /> + <Property Name="Image" Value="set:MainWindowRedLineTop image:full_image" /> + </Window> + <Window Type="opengate/StaticImage" Name="Docked/MainWindow/RightLine"> + <Property Name="UnifiedPosition" Value="{{1.0,-47},{0.0,132}}" /> + <Property Name="UnifiedSize" Value="{{0.0,4},{1.0,-197}}" /> + <Property Name="BackgroundEnabled" Value="False" /> + <Property Name="FrameEnabled" Value="False" /> + <Property Name="Image" Value="set:MainWindowRedLine image:full_image" /> + </Window> + <Window Type="opengate/StaticImage" Name="Docked/MainWindow/RightRedLineBottom"> + <Property Name="UnifiedPosition" Value="{{1.0,-68},{1.0,-94}}" /> + <Property Name="UnifiedSize" Value="{{0.0,44},{0.0, 22}}" /> + <Property Name="BackgroundEnabled" Value="False" /> + <Property Name="FrameEnabled" Value="False" /> + <Property Name="Image" Value="set:MainWindowRedLineBottom image:full_image" /> + </Window> + <Window Type="opengate/StaticImage" Name="Docked/MainWindow/BottomMiddle"> + <Property Name="UnifiedPosition" Value="{{0.0,108},{1.0,-64}}" /> + <Property Name="UnifiedSize" Value="{{1.0,-291},{0.0,59}}" /> + <Property Name="BackgroundEnabled" Value="False" /> + <Property Name="FrameEnabled" Value="False" /> + <Property Name="Image" Value="set:MainWindowBottomMiddle image:full_image" /> + </Window> + <Window Type="opengate/StaticImage" Name="Docked/MainWindow/BottomLeft"> + <Property Name="UnifiedPosition" Value="{{0.0,36},{1.0,-118}}" /> + <Property Name="UnifiedSize" Value="{{0.0,83},{0.0,113}}" /> + <Property Name="BackgroundEnabled" Value="False" /> + <Property Name="FrameEnabled" Value="False" /> + <Property Name="Image" Value="set:MainWindowBottomLeft image:full_image" /> + </Window> + <Window Type="opengate/StaticImage" Name="Docked/MainWindow/BottomRight"> + <Property Name="UnifiedPosition" Value="{{1.0,-185},{1.0,-104}}" /> + <Property Name="UnifiedSize" Value="{{0.0,158},{0.0,99}}" /> + <Property Name="BackgroundEnabled" Value="False" /> + <Property Name="FrameEnabled" Value="False" /> + <Property Name="Image" Value="set:MainWindowBottomRight image:full_image" /> + </Window> + <Window Type="opengate/StaticImage" Name="Docked/MainWindow/TopRight"> + <Property Name="UnifiedPosition" Value="{{1.0,-326},{0.0,10}}" /> + <Property Name="UnifiedSize" Value="{{0.0,301},{0.0,122}}" /> + <Property Name="BackgroundEnabled" Value="False" /> + <Property Name="FrameEnabled" Value="False" /> + <Property Name="Image" Value="set:MainWindowTopRight image:full_image" /> + </Window> + + <Window Type="opengate/Button" Name="Docked/MainWindow/ShipConfigButton"> + <Property Name="UnifiedPosition" Value="{{0.125,0},{1.0,-88}}" /> + <Property Name="UnifiedSize" Value="{{0.0,100},{0.0,24}}" /> + <Property Name="Text" Value="Ship Configurator" /> + </Window> + <Window Type="opengate/Button" Name="Docked/MainWindow/MarketButton"> + <Property Name="UnifiedPosition" Value="{{0.125,+101},{1.0,-88}}" /> + <Property Name="UnifiedSize" Value="{{0.0,100},{0.0,24}}" /> + <Property Name="Disabled" Value="true" /> + <Property Name="Text" Value="Market" /> + </Window> + <Window Type="opengate/Button" Name="Docked/MainWindow/MissionButton"> + <Property Name="UnifiedPosition" Value="{{0.125,+202},{1.0,-88}}" /> + <Property Name="UnifiedSize" Value="{{0.0,100},{0.0,24}}" /> + <Property Name="Disabled" Value="true" /> + <Property Name="Text" Value="Mission" /> + </Window> + <Window Type="opengate/Button" Name="Docked/MainWindow/TradeButton"> + <Property Name="UnifiedPosition" Value="{{0.125,+303},{1.0,-88}}" /> + <Property Name="UnifiedSize" Value="{{0.0,100},{0.0,24}}" /> + <Property Name="Disabled" Value="true" /> + <Property Name="Text" Value="Trade" /> + </Window> + <Window Type="opengate/Button" Name="Docked/MainWindow/SimulatorButton"> + <Property Name="UnifiedPosition" Value="{{0.125,+404},{1.0,-88}}" /> + <Property Name="UnifiedSize" Value="{{0.0,100},{0.0,24}}" /> + <Property Name="Disabled" Value="true" /> + <Property Name="Text" Value="Simulator" /> + </Window> + + <Window Type="opengate/Button" Name="Docked/MainWindow/Quit"> + <Property Name="UnifiedPosition" Value="{{1,-165},{1.0,-96}}" /> + <Property Name="UnifiedSize" Value="{{0.0,75},{0.0,24}}" /> +<!-- <Property Name="HorizontalAlignment" Value="Centre" /> --> +<!-- <Property Name="VerticalAlignment" Value="Centre" /> --> + <Property Name="Text" Value="Quit" /> + </Window> + <Window Type="opengate/Button" Name="Docked/MainWindow/Launch"> + <Property Name="UnifiedPosition" Value="{{1,-165},{1.0,-53}}" /> + <Property Name="UnifiedSize" Value="{{0.0,75},{0.0,24}}" /> + <Property Name="Text" Value="Launch" /> + </Window> + </Window> +</GUILayout> Added: branches/ogsector/data/gui/schemes/Falagard.xsd =================================================================== --- branches/ogsector/data/gui/schemes/Falagard.xsd (rev 0) +++ branches/ogsector/data/gui/schemes/Falagard.xsd 2007-05-10 17:09:32 UTC (rev 452) @@ -0,0 +1,383 @@ +<?xml version="1.0" ?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <xsd:element name="Falagard" type="falagardSpecificationType" /> + <xsd:complexType name="falagardSpecificationType"> + <xsd:sequence> + <xsd:element name="WidgetLook" type="widgetLookType" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + </xsd:complexType> + <xsd:complexType name="widgetLookType"> + <xsd:sequence> + <xsd:element name="PropertyDefinition" type="propertyDefinitionType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="PropertyLinkDefinition" type="propertyLinkDefinitionType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="Property" type="propertyType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="NamedArea" type="namedAreaType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="Child" type="widgetComponentType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="ImagerySection" type="imagerySectionType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="StateImagery" type="stateType" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="propertyDefinitionType"> + <xsd:attribute name="type" type="propertyTypeEnum" use="optional" default="Generic" /> + <xsd:attribute name="name" type="xsd:string" use="required" /> + <xsd:attribute name="initialValue" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="layoutOnWrite" type="xsd:boolean" use="optional" default="false" /> + <xsd:attribute name="redrawOnWrite" type="xsd:boolean" use="optional" default="false" /> + </xsd:complexType> + <xsd:complexType name="propertyLinkDefinitionType"> + <xsd:attribute name="type" type="propertyTypeEnum" use="optional" default="Generic" /> + <xsd:attribute name="name" type="xsd:string" use="required" /> + <xsd:attribute name="widget" type="xsd:string" use="required" /> + <xsd:attribute name="targetProperty" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="initialValue" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="layoutOnWrite" type="xsd:boolean" use="optional" default="false" /> + <xsd:attribute name="redrawOnWrite" type="xsd:boolean" use="optional" default="false" /> + </xsd:complexType> + <xsd:complexType name="namedAreaType"> + <xsd:sequence> + <xsd:element name="Area" type="componentAreaType" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="stateType"> + <xsd:sequence> + <xsd:element name="Layer" type="layerType" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + <xsd:attribute name="clipped" type="xsd:boolean" use="optional" default="true" /> + </xsd:complexType> + <xsd:complexType name="layerType"> + <xsd:sequence> + <xsd:element name="Section" type="sectionSpecType" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + <xsd:attribute name="priority" type="xsd:integer" use="optional" default="0" /> + </xsd:complexType> + <xsd:complexType name="sectionSpecType"> + <xsd:choice minOccurs="0" maxOccurs="1"> + <xsd:element name="Colours" type="colourRectType" /> + <xsd:element name="ColourProperty" type="settingByPropertyType" /> + <xsd:element name="ColourRectProperty" type="settingByPropertyType" /> + </xsd:choice> + <xsd:attribute name="look" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="section" type="xsd:string" use="required" /> + <xsd:attribute name="controlProperty" type="xsd:string" use="optional" default="" /> + </xsd:complexType> + <xsd:complexType name="imagerySectionType"> + <xsd:sequence> + <xsd:choice minOccurs="0" maxOccurs="1"> + <xsd:element name="Colours" type="colourRectType" /> + <xsd:element name="ColourProperty" type="settingByPropertyType" /> + <xsd:element name="ColourRectProperty" type="settingByPropertyType" /> + </xsd:choice> + <xsd:element name="FrameComponent" type="frameComponentType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="ImageryComponent" type="imageryComponentType" minOccurs="0" maxOccurs="unbounded" /> + <xsd:element name="TextComponent" type="textComponentType" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="frameComponentType"> + <xsd:sequence> + <xsd:element name="Area" type="componentAreaType" /> + <xsd:element name="Image" type="frameImageType" minOccurs="0" maxOccurs="9" /> + <xsd:choice minOccurs="0" maxOccurs="1"> + <xsd:element name="Colours" type="colourRectType" /> + <xsd:element name="ColourProperty" type="settingByPropertyType" /> + <xsd:element name="ColourRectProperty" type="settingByPropertyType" /> + </xsd:choice> + <xsd:choice minOccurs="0" maxOccurs="1"> + <xsd:element name="VertFormat" type="vertFormatType" /> + <xsd:element name="VertFormatProperty" type="settingByPropertyType" /> + </xsd:choice> + <xsd:choice minOccurs="0" maxOccurs="1"> + <xsd:element name="HorzFormat" type="horzFormatType" /> + <xsd:element name="HorzFormatProperty" type="settingByPropertyType" /> + </xsd:choice> + </xsd:sequence> + </xsd:complexType> + <xsd:complexType name="textComponentType"> + <xsd:sequence> + <xsd:element name="Area" type="componentAreaType" /> + <xsd:element name="Text" type="textStringType" minOccurs="0" maxOccurs="1" /> + <xsd:element name="TextProperty" type="textPropertyType" minOccurs="0" maxOccurs="1" /> + <xsd:element name="FontProperty" type="fontPropertyType" minOccurs="0" maxOccurs="1" /> + <xsd:choice minOccurs="0" maxOccurs="1"> + <xsd:element name="Colours" type="colourRectType" /> + <xsd:element name="ColourProperty" type="settingByPropertyType" /> + <xsd:element name="ColourRectProperty" type="settingByPropertyType" /> + </xsd:choice> + <xsd:choice minOccurs="0" maxOccurs="1"> + <xsd:element name="VertFormat" type="vertTextFormatType" /> + <xsd:element name="VertFormatProperty" type="settingByPropertyType" /> + </xsd:choice> + <xsd:choice minOccurs="0" maxOccurs="1"> + <xsd:element name="HorzFormat" type="horzTextFormatType" /> + <xsd:element name="HorzFormatProperty" type="settingByPropertyType" /> + </xsd:choice> + </xsd:sequence> + </xsd:complexType> + <xsd:complexType name="imageryComponentType"> + <xsd:sequence> + <xsd:element name="Area" type="componentAreaType" /> + <xsd:choice> + <xsd:element name="Image" type="imageType" /> + <xsd:element name="ImageProperty" type="settingByPropertyType" /> + </xsd:choice> + <xsd:choice minOccurs="0" maxOccurs="1"> + <xsd:element name="Colours" type="colourRectType" /> + <xsd:element name="ColourProperty" type="settingByPropertyType" /> + <xsd:element name="ColourRectProperty" type="settingByPropertyType" /> + </xsd:choice> + <xsd:choice minOccurs="0" maxOccurs="1"> + <xsd:element name="VertFormat" type="vertFormatType" /> + <xsd:element name="VertFormatProperty" type="settingByPropertyType" /> + </xsd:choice> + <xsd:choice minOccurs="0" maxOccurs="1"> + <xsd:element name="HorzFormat" type="horzFormatType" /> + <xsd:element name="HorzFormatProperty" type="settingByPropertyType" /> + </xsd:choice> + </xsd:sequence> + </xsd:complexType> + <xsd:complexType name="widgetComponentType"> + <xsd:sequence> + <xsd:element name="Area" type="componentAreaType" /> + <xsd:element name="VertAlignment" type="vertAlignmentType" minOccurs="0" maxOccurs="1" /> + <xsd:element name="HorzAlignment" type="horzAlignmentType" minOccurs="0" maxOccurs="1" /> + <xsd:element name="Property" type="propertyType" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + <xsd:attribute name="type" type="xsd:string" use="required" /> + <xsd:attribute name="nameSuffix" type="xsd:string" use="required" /> + <xsd:attribute name="renderer" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="look" type="xsd:string" use="optional" default="" /> + </xsd:complexType> + <xsd:complexType name="horzFormatType"> + <xsd:attribute name="type" type="horzFormatEnum" use="required" /> + </xsd:complexType> + <xsd:complexType name="vertFormatType"> + <xsd:attribute name="type" type="vertFormatEnum" use="required" /> + </xsd:complexType> + <xsd:complexType name="horzTextFormatType"> + <xsd:attribute name="type" type="horzTextFormatEnum" use="required" /> + </xsd:complexType> + <xsd:complexType name="vertTextFormatType"> + <xsd:attribute name="type" type="vertTextFormatEnum" use="required" /> + </xsd:complexType> + <xsd:complexType name="horzAlignmentType"> + <xsd:attribute name="type" type="horzAlignmentEnum" use="required" /> + </xsd:complexType> + <xsd:complexType name="vertAlignmentType"> + <xsd:attribute name="type" type="vertAlignmentEnum" use="required" /> + </xsd:complexType> + <xsd:complexType name="propertyType"> + <xsd:attribute name="name" type="xsd:string" use="required" /> + <xsd:attribute name="value" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="imageType"> + <xsd:attribute name="imageset" type="xsd:string" use="required" /> + <xsd:attribute name="image" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="frameImageType"> + <xsd:attribute name="type" type="frameImageComponentEnum" use="required" /> + <xsd:attribute name="imageset" type="xsd:string" use="required" /> + <xsd:attribute name="image" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="componentAreaType"> + <xsd:choice> + <xsd:sequence> + <xsd:element name="Dim" type="dimensionType" minOccurs="4" maxOccurs="4" /> + </xsd:sequence> + <xsd:element name="AreaProperty" type="settingByPropertyType" /> + </xsd:choice> + </xsd:complexType> + <xsd:complexType name="dimensionType"> + <xsd:choice> + <xsd:element name="UnifiedDim" type="unifiedDimType" /> + <xsd:element name="AbsoluteDim" type="absoluteDimType" /> + <xsd:element name="ImageDim" type="imageDimType" /> + <xsd:element name="WidgetDim" type="widgetDimType" /> + <xsd:element name="FontDim" type="fontDimType" /> + <xsd:element name="PropertyDim" type="propertyDimType" /> + </xsd:choice> + <xsd:attribute name="type" type="dimensionTypeEnum" use="required" /> + </xsd:complexType> + <xsd:complexType name="fontDimType"> + <xsd:sequence> + <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" /> + </xsd:sequence> + <xsd:attribute name="widget" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="font" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="string" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="type" type="fontMetricTypeEnum" use="required" /> + <xsd:attribute name="padding" type="xsd:decimal" use="optional" default="0" /> + </xsd:complexType> + <xsd:complexType name="propertyDimType"> + <xsd:sequence> + <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" /> + </xsd:sequence> + <xsd:attribute name="widget" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="unifiedDimType"> + <xsd:sequence> + <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" /> + </xsd:sequence> + <xsd:attribute name="scale" type="xsd:decimal" use="optional" default="0" /> + <xsd:attribute name="offset" type="xsd:integer" use="optional" default="0" /> + <xsd:attribute name="type" type="dimensionTypeEnum" use="required" /> + </xsd:complexType> + <xsd:complexType name="absoluteDimType"> + <xsd:sequence> + <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" /> + </xsd:sequence> + <xsd:attribute name="value" type="xsd:decimal" use="optional" default="0" /> + </xsd:complexType> + <xsd:complexType name="imageDimType"> + <xsd:sequence> + <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" /> + </xsd:sequence> + <xsd:attribute name="imageset" type="xsd:string" use="required" /> + <xsd:attribute name="image" type="xsd:string" use="required" /> + <xsd:attribute name="dimension" type="dimensionTypeEnum" use="required" /> + </xsd:complexType> + <xsd:complexType name="widgetDimType"> + <xsd:sequence> + <xsd:element name="DimOperator" type="dimensionOperatorType" minOccurs="0" maxOccurs="1" /> + </xsd:sequence> + <xsd:attribute name="widget" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="dimension" type="dimensionTypeEnum" use="required" /> + </xsd:complexType> + <xsd:complexType name="settingByPropertyType"> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="colourRectType"> + <xsd:attribute name="topLeft" type="colourValType" use="required" /> + <xsd:attribute name="topRight" type="colourValType" use="required" /> + <xsd:attribute name="bottomLeft" type="colourValType" use="required" /> + <xsd:attribute name="bottomRight" type="colourValType" use="required" /> + </xsd:complexType> + <xsd:simpleType name="colourValType"> + <xsd:restriction base="xsd:string"> + <xsd:pattern value="[a-fA-F0-9]{8}" /> + </xsd:restriction> + </xsd:simpleType> + <xsd:complexType name="textStringType"> + <xsd:attribute name="string" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="font" type="xsd:string" use="optional" default="" /> + </xsd:complexType> + <xsd:complexType name="textPropertyType"> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="fontPropertyType"> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="dimensionOperatorType"> + <xsd:choice> + <xsd:element name="UnifiedDim" type="unifiedDimType" /> + <xsd:element name="AbsoluteDim" type="absoluteDimType" /> + <xsd:element name="ImageDim" type="imageDimType" /> + <xsd:element name="WidgetDim" type="widgetDimType" /> + <xsd:element name="FontDim" type="fontDimType" /> + <xsd:element name="PropertyDim" type="propertyDimType" /> + </xsd:choice> + <xsd:attribute name="op" type="dimensionOperatorEnum" use="required" /> + </xsd:complexType> + <xsd:simpleType name="dimensionTypeEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="LeftEdge" /> + <xsd:enumeration value="TopEdge" /> + <xsd:enumeration value="RightEdge" /> + <xsd:enumeration value="BottomEdge" /> + <xsd:enumeration value="XPosition" /> + <xsd:enumeration value="YPosition" /> + <xsd:enumeration value="Width" /> + <xsd:enumeration value="Height" /> + <xsd:enumeration value="XOffset" /> + <xsd:enumeration value="YOffset" /> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="vertFormatEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="TopAligned" /> + <xsd:enumeration value="CentreAligned" /> + <xsd:enumeration value="BottomAligned" /> + <xsd:enumeration value="Stretched" /> + <xsd:enumeration value="Tiled" /> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="horzFormatEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="LeftAligned" /> + <xsd:enumeration value="CentreAligned" /> + <xsd:enumeration value="RightAligned" /> + <xsd:enumeration value="Stretched" /> + <xsd:enumeration value="Tiled" /> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="vertAlignmentEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="TopAligned" /> + <xsd:enumeration value="CentreAligned" /> + <xsd:enumeration value="BottomAligned" /> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="horzAlignmentEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="LeftAligned" /> + <xsd:enumeration value="CentreAligned" /> + <xsd:enumeration value="RightAligned" /> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="horzTextFormatEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="LeftAligned" /> + <xsd:enumeration value="RightAligned" /> + <xsd:enumeration value="CentreAligned" /> + <xsd:enumeration value="Justified" /> + <xsd:enumeration value="WordWrapLeftAligned" /> + <xsd:enumeration value="WordWrapRightAligned" /> + <xsd:enumeration value="WordWrapCentreAligned" /> + <xsd:enumeration value="WordWrapJustified" /> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="vertTextFormatEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="TopAligned" /> + <xsd:enumeration value="BottomAligned" /> + <xsd:enumeration value="CentreAligned" /> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="propertyTypeEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="Generic" /> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="fontMetricTypeEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="LineSpacing" /> + <xsd:enumeration value="Baseline" /> + <xsd:enumeration value="HorzExtent" /> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="dimensionOperatorEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="Noop" /> + <xsd:enumeration value="Add" /> + <xsd:enumeration value="Subtract" /> + <xsd:enumeration value="Multiply" /> + <xsd:enumeration value="Divide" /> + </xsd:restriction> + </xsd:simpleType> + <xsd:simpleType name="frameImageComponentEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="Background" /> + <xsd:enumeration value="TopLeftCorner" /> + <xsd:enumeration value="TopRightCorner" /> + <xsd:enumeration value="BottomLeftCorner" /> + <xsd:enumeration value="BottomRightCorner" /> + <xsd:enumeration value="LeftEdge" /> + <xsd:enumeration value="RightEdge" /> + <xsd:enumeration value="TopEdge" /> + <xsd:enumeration value="BottomEdge" /> + </xsd:restriction> + </xsd:simpleType> +</xsd:schema> Added: branches/ogsector/data/gui/schemes/Falagard.xsx =================================================================== --- branches/ogsector/data/gui/schemes/Falagard.xsx (rev 0) +++ branches/ogsector/data/gui/schemes/Falagard.xsx 2007-05-10 17:09:32 UTC (rev 452) @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--This file is auto-generated by the XML Schema Designer. It holds layout information for components on the designer surface.--> +<XSDDesignerLayout /> \ No newline at end of file Added: branches/ogsector/data/gui/schemes/Font.xsd =================================================================== --- branches/ogsector/data/gui/schemes/Font.xsd (rev 0) +++ branches/ogsector/data/gui/schemes/Font.xsd 2007-05-10 17:09:32 UTC (rev 452) @@ -0,0 +1,34 @@ +<?xml version="1.0" ?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <xsd:element name="Font" type="FontType" /> + + <xsd:complexType name="FontType"> + <xsd:sequence> + <xsd:element name="Mapping" type="MapType" maxOccurs="unbounded" minOccurs="0" /> + </xsd:sequence> + <xsd:attributeGroup ref="FontAttrs" /> + </xsd:complexType> + <xsd:complexType name="MapType"> + <xsd:attribute name="Codepoint" type="xsd:nonNegativeInteger" use="required" /> + <xsd:attribute name="Image" type="xsd:string" use="required" /> + <xsd:attribute name="HorzAdvance" type="xsd:integer" use="optional" default="-1" /> + </xsd:complexType> + <xsd:attributeGroup name="FontAttrs"> + <xsd:attribute name="Name" type="xsd:string" use="required" /> + <xsd:attribute name="Filename" type="xsd:string" use="required" /> + <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="Type" use="required"> + <xsd:simpleType> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="FreeType" /> + <xsd:enumeration value="Pixmap" /> + </xsd:restriction> + </xsd:simpleType> + </xsd:attribute> + <xsd:attribute name="Size" type="xsd:nonNegativeInteger" use="optional" default="12" /> + <xsd:attribute name="NativeHorzRes" type="xsd:nonNegativeInteger" use="optional" default="640" /> + <xsd:attribute name="NativeVertRes" type="xsd:nonNegativeInteger" use="optional" default="480" /> + <xsd:attribute name="AutoScaled" type="xsd:boolean" use="optional" default="false" /> + <xsd:attribute name="AntiAlias" type="xsd:boolean" use="optional" default="true" /> + </xsd:attributeGroup> +</xsd:schema> Added: branches/ogsector/data/gui/schemes/GUIScheme.xsd =================================================================== --- branches/ogsector/data/gui/schemes/GUIScheme.xsd (rev 0) +++ branches/ogsector/data/gui/schemes/GUIScheme.xsd 2007-05-10 17:09:32 UTC (rev 452) @@ -0,0 +1,54 @@ +<?xml version="1.0" ?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + <xsd:element name="GUIScheme" type="SchemeType" /> + <xsd:complexType name="SchemeType"> + <xsd:choice minOccurs="0" maxOccurs="unbounded"> + <xsd:element name="Imageset" type="NamedDataType" /> + <xsd:element name="ImagesetFromImage" type="NamedDataType" /> + <xsd:element name="Font" type="NamedDataType" /> + <xsd:element name="LookNFeel" type="FileDataType" /> + <xsd:element name="WindowSet" type="WindowSetType" /> + <xsd:element name="WindowRendererSet" type="WindowRendererSetType" /> + <xsd:element name="WindowAlias" type="WindowAliasType" /> + <xsd:element name="FalagardMapping" type="FalagardMapType" /> + </xsd:choice> + <xsd:attribute name="Name" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="WindowSetType"> + <xsd:sequence> + <xsd:element name="WindowFactory" type="WindowFactoryType" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + <xsd:attribute name="Filename" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="WindowRendererSetType"> + <xsd:sequence> + <xsd:element name="WindowRendererFactory" type="WindowRendererFactoryType" minOccurs="0" maxOccurs="unbounded" /> + </xsd:sequence> + <xsd:attribute name="Filename" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="FileDataType"> + <xsd:attribute name="Filename" type="xsd:string" use="required" /> + <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional" default="" /> + </xsd:complexType> + <xsd:complexType name="NamedDataType"> + <xsd:attribute name="Name" type="xsd:string" use="required" /> + <xsd:attribute name="Filename" type="xsd:string" use="required" /> + <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional" default="" /> + </xsd:complexType> + <xsd:complexType name="WindowFactoryType"> + <xsd:attribute name="Name" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="WindowRendererFactoryType"> + <xsd:attribute name="Name" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="WindowAliasType"> + <xsd:attribute name="Alias" type="xsd:string" use="required" /> + <xsd:attribute name="Target" type="xsd:string" use="required" /> + </xsd:complexType> + <xsd:complexType name="FalagardMapType"> + <xsd:attribute name="WindowType" type="xsd:string" use="required" /> + <xsd:attribute name="TargetType" type="xsd:string" use="required" /> + <xsd:attribute name="Renderer" type="xsd:string" use="required" /> + <xsd:attribute name="LookNFeel" type="xsd:string" use="required" /> + </xsd:complexType> +</xsd:schema> Added: branches/ogsector/data/gui/schemes/Imageset.xsd =================================================================== --- branches/ogsector/data/gui/schemes/Imageset.xsd (rev 0) +++ branches/ogsector/data/gui/schemes/Imageset.xsd 2007-05-10 17:09:32 UTC (rev 452) @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> + + <xsd:element name="Imageset" type="ImagesetType"/> + + <xsd:complexType name="ImagesetType"> + <xsd:sequence> + <xsd:element name="Image" type="ImageType" maxOccurs="unbounded"/> + </xsd:sequence> + <xsd:attribute name="Imagefile" type="xsd:string" use="required"/> + <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional" default="" /> + <xsd:attribute name="Name" type="xsd:string" use="required"/> + <xsd:attribute name="NativeHorzRes" type="xsd:nonNegativeInteger" use="optional" default="640" /> + <xsd:attribute name="NativeVertRes" type="xsd:nonNegativeInteger" use="optional" default="480" /> + <xsd:attribute name="AutoScaled" type="xsd:boolean" use="optional" default="false" /> + </xsd:complexType> + + <xsd:complexType name="ImageType"> + <xsd:attribute name="Name" type="xsd:string" use="required"/> + <xsd:attribute name="XPos" type="xsd:nonNegativeInteger" use="required"/> + <xsd:attribute name="YPos" type="xsd:nonNegativeInteger" use="required"/> + <xsd:attribute name="Width" type="xsd:nonNegativeInteger" use="required"/> + <xsd:attribute name="Height" type="xsd:nonNegativeInteger" use="required"/> + <xsd:attribute name="XOffset" type="xsd:integer" use="optional" default="0"/> + <xsd:attribute name="YOffset" type="xsd:integer" use="optional" default="0"/> + </xsd:complexType> + +</xsd:schema> Added: branches/ogsector/data/gui/schemes/opengate/opengate.imageset =================================================================== --- branches/ogsector/data/gui/schemes/opengate/opengate.imageset (rev 0) +++ branches/ogsector/data/gui/schemes/opengate/opengate.imageset 2007-05-10 17:09:32 UTC (rev 452) @@ -0,0 +1,224 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Imageset Name="opengate" Imagefile="opengate.png"> + <Image Name="AltProgressLeft" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressMiddle" XPos="20" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressRight" XPos="30" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressHalf" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressLight1" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressLight10" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressLight2" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressLight3" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressLight4" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressLight5" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressLight6" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressLight7" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressLight8" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressLight9" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="AltProgressQuarter" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="ButtonLeftHighlight" XPos="91" YPos="9" Width="8" Height="26" /> + <Image Name="ButtonMiddleHighlight" XPos="97" YPos="9" Width="5" Height="26" /> + <Image Name="ButtonRightHighlight" XPos="100" YPos="9" Width="8" Height="26" /> + <Image Name="ButtonLeftNormal" XPos="73" YPos="9" Width="8" Height="26" /> + <Image Name="ButtonMiddleNormal" XPos="82" YPos="9" Width="2" Height="26" /> + <Image Name="ButtonRightNormal" XPos="82" YPos="9" Width="8" Height="26" /> + <Image Name="ButtonLeftPushed" XPos="109" YPos="9" Width="8" Height="26" /> + <Image Name="ButtonMiddlePushed" XPos="115" YPos="9" Width="4" Height="26" /> + <Image Name="ButtonRightPushed" XPos="118" YPos="9" Width="8" Height="26" /> + <Image Name="CheckboxHover" XPos="100" YPos="79" Width="12" Height="12" /> + <Image Name="CheckboxMark" XPos="119" YPos="79" Width="12" Height="12" /> + <Image Name="CheckboxNormal" XPos="77" YPos="79" Width="12" Height="12" /> + <Image Name="ClientBrush" XPos="20" YPos="34" Width="29" Height="22" /> + <Image Name="CloseButtonHover" XPos="35" YPos="166" Width="14" Height="14" /> + <Image Name="CloseButtonNormal" XPos="20" YPos="166" Width="14" Height="14" /> + <Image Name="CloseButtonPressed" XPos="50" YPos="166" Width="14" Height="14" /> + <Image Name="ComboboxDividerLeft" XPos="10" YPos="10" Width="10" Height="10" /> + <Image Name="ComboboxDividerMiddle" XPos="20" YPos="10" Width="10" Height="10" /> + <Image Name="ComboboxDividerRight" XPos="30" YPos="10" Width="10" Height="10" /> + <Image Name="ComboboxEditLeft" XPos="153" YPos="11" Width="7" Height="23" /> + <Image Name="ComboboxEditMiddle" XPos="164" YPos="11" Width="8" Height="23" /> + <Image Name="ComboboxListTopLeft" XPos="175" YPos="103" Width="7" Height="7" /> + <Image Name="ComboboxListTop" XPos="183" YPos="103" Width="30" Height="4" /> + <Image Name="ComboboxListTopRight" XPos="214" YPos="103" Width="3" Height="3" /> + <Image Name="ComboboxListLeft" XPos="175" YPos="110" Width="4" Height="30" /> + <Image Name="ComboboxListBackdrop" XPos="181" YPos="109" Width="10" Height="10" /> + <Image Name="ComboboxListRight" XPos="214" YPos="105" Width="3" Height="38" /> + <Image Name="ComboboxListBottomLeft" XPos="175" YPos="144" Width="3" Height="3" /> + <Image Name="ComboboxListBottom" XPos="178" YPos="144" Width="36" Height="3" /> + <Image Name="ComboboxListBottomRight" XPos="214" YPos="144" Width="3" Height="3" /> + <Image Name="ComboboxListButtonHover" XPos="91" YPos="39" Width="16" Height="26" /> + <Image Name="ComboboxListButtonNormal" XPos="73" YPos="39" Width="16" Height="26" /> + <Image Name="ComboboxSelectionBrush" XPos="178" YPos="132" Width="36" Height="5" /> + <Image Name="EditBoxLeft" XPos="153" YPos="11" Width="11" Height="23" /> + <Image Name="EditBoxMiddle" XPos="178" YPos="11" Width="10" Height="23" /> + <Image Name="EditBoxRight" XPos="201" YPos="11" Width="10" Height="23" /> + <Image Name="EditBoxCarat" XPos="217" YPos="16" Width="1" Height="12" /> + <Image Name="HeaderBarBackdropHover" XPos="1" YPos="132" Width="10" Height="14" /> + <Image Name="HeaderBarBackdropNormal" XPos="1" YPos="116" Width="10" Height="14" /> + <Image Name="HeaderBarSortDown" XPos="56" YPos="117" Width="7" Height="6" /> + <Image Name="HeaderBarSortUp" XPos="65" YPos="118" Width="6" Height="5" /> + <Image Name="HeaderBarSplitterHover" XPos="66" YPos="127" Width="3" Height="16" /> + <Image Name="HeaderBarSplitterNormal" XPos="58" YPos="127" Width="3" Height="16" /> + <Image Name="HorzSliderBody" XPos="151" YPos="168" Width="6" Height="10" /> + <Image Name="HorzSliderThumbHover" XPos="145" YPos="163" Width="6" Height="21" /> + <Image Name="HorzSliderThumbNormal" XPos="137" YPos="163" Width="6" Height="21" /> + <Image Name="ListboxTopLeft" XPos="175" YPos="103" Width="7" Height="7" /> + <Image Name="ListboxTop" XPos="183" YPos="103" Width="30" Height="4" /> + <Image Name="ListboxTopRight" XPos="214" YPos="103" Width="3" Height="3" /> + <Image Name="ListboxLeft" XPos="175" YPos="110" Width="4" Height="30" /> + <Image Name="ListboxBackdrop" XPos="181" YPos="109" Width="10" Height="10" /> + <Image Name="ListboxRight" XPos="214" YPos="105" Width="3" Height="38" /> + <Image Name="ListboxBottomLeft" XPos="175" YPos="144" Width="3" Height="3" /> + <Image Name="ListboxBottom" XPos="178" YPos="144" Width="36" Height="3" /> + <Image Name="ListboxBottomRight" XPos="214" YPos="144" Width="3" Height="3" /> + <Image Name="ListboxSelectionBrush" XPos="179" YPos="132" Width="34" Height="5" /> + <Image Name="MiniHorzScrollBarSegment" XPos="82" YPos="20" Width="10" Height="10" /> + <Image Name="MiniHorzScrollLeftHover" XPos="72" YPos="212" Width="16" Height="16" /> + <Image Name="MiniHorzScrollLeftNormal" XPos="72" YPos="192" Width="16" Height="16" /> + <Image Name="MiniHorzScrollRightHover" XPos="119" YPos="212" Width="16" Height="16" /> + <Image Name="MiniHorzScrollRightNormal" XPos="119" YPos="192" Width="16" Height="16" /> + <Image Name="MiniHorzScrollThumbHover" XPos="93" YPos="212" Width="20" Height="16" /> + <Image Name="MiniHorzScrollThumbLeftHover" XPos="93" YPos="212" Width="2" Height="16" /> + <Image Name="MiniHorzScrollThumbMiddleHover" XPos="100" YPos="212" Width="3" Height="16" /> + <Image Name="MiniHorzScrollThumbRightHover" XPos="111" YPos="212" Width="2" Height="16" /> + <Image Name="MiniHorzScrollThumbNormal" XPos="93" YPos="192" Width="20" Height="16" /> + <Image Name="MiniHorzScrollThumbLeftNormal" XPos="93" YPos="192" Width="2" Height="16" /> + <Image Name="MiniHorzScrollThumbMiddleNormal" XPos="98" YPos="192" Width="3" Height="16" /> + <Image Name="MiniHorzScrollThumbRightNormal" XPos="111" YPos="192" Width="2" Height="16" /> + <Image Name="MiniVertScrollBarSegment" XPos="134" YPos="17" Width="12" Height="10" /> + <Image Name="MiniVertScrollDownHover" XPos="96" YPos="167" Width="16" Height="16" /> + <Image Name="MiniVertScrollDownNormal" XPos="76" YPos="167" Width="16" Height="16" /> + <Image Name="MiniVertScrollThumbHover" XPos="96" YPos="141" Width="16" Height="20" /> + <Image Name="MiniVertScrollThumbTopHover" XPos="96" YPos="141" Width="16" Height="2" /> + <Image Name="MiniVertScrollThumbMiddleHover" XPos="96" YPos="148" Width="16" Height="1" /> + <Image Name="MiniVertScrollThumbBottomHover" XPos="96" YPos="159" Width="16" Height="2" /> + <Image Name="MiniVertScrollThumbNormal" XPos="76" YPos="141" Width="16" Height="20" /> + <Image Name="MiniVertScrollThumbTopNormal" XPos="76" YPos="141" Width="16" Height="2" /> + <Image Name="MiniVertScrollThumbMiddleNormal" XPos="76" YPos="151" Width="16" Height="2" /> + <Image Name="MiniVertScrollThumbBottomNormal" XPos="76" YPos="159" Width="16" Height="2" /> + <Image Name="MiniVertScrollUpHover" XPos="96" YPos="120" Width="16" Height="16" /> + <Image Name="MiniVertScrollUpNormal" XPos="76" YPos="120" Width="16" Height="16" /> + <Image Name="MouseArrow" XPos="10" YPos="79" Width="17" Height="18" /> + <Image Name="MouseEsWeCursor" XPos="9" YPos="104" Width="19" Height="13" /> + <Image Name="MouseMoveCursor" XPos="8" YPos="142" Width="19" Height="19" /> + <Image Name="MouseNeSwCursor" XPos="34" YPos="123" Width="12" Height="12" /> + <Image Name="MouseNoSoCursor" XPos="34" YPos="101" Width="13" Height="19" /> + <Image Name="MouseNwSeCursor" XPos="12" YPos="123" Width="12" Height="12" /> + <Image Name="MouseTarget" XPos="36" YPos="145" Width="14" Height="14" /> + <Image Name="MouseTextBar" XPos="37" YPos="83" Width="6" Height="14" /> + <Image Name="MultiLineEditboxTopLeft" XPos="175" YPos="103" Width="7" Height="7" /> + <Image Name="MultiLineEditboxTop" XPos="183" YPos="103" Width="30" Height="4" /> + <Image Name="MultiLineEditboxTopRight" XPos="214" YPos="103" Width="3" Height="3" /> + <Image Name="MultiLineEditboxLeft" XPos="175" YPos="110" Width="4" Height="30" /> + <Image Name="MultiLineEditboxBackdrop" XPos="181" YPos="109" Width="10" Height="10" /> + <Image Name="MultiLineEditboxRight" XPos="214" YPos="105" Width="3" Height="38" /> + <Image Name="MultiLineEditboxBottomLeft" XPos="175" YPos="144" Width="3" Height="3" /> + <Image Name="MultiLineEditboxBottom" XPos="178" YPos="144" Width="36" Height="3" /> + <Image Name="MultiLineEditboxBottomRight" XPos="214" YPos="144" Width="3" Height="3" /> + <Image Name="MultiLineEditboxSelectionBrush" XPos="179" YPos="132" Width="34" Height="5" /> + <Image Name="MultiListTopLeft" XPos="175" YPos="103" Width="7" Height="7" /> + <Image Name="MultiListTop" XPos="183" YPos="103" Width="30" Height="4" /> + <Image Name="MultiListTopRight" XPos="214" YPos="103" Width="3" Height="3" /> + <Image Name="MultiListLeft" XPos="175" YPos="110" Width="4" Height="30" /> + <Image Name="MultiListBackdrop" XPos="181" YPos="109" Width="10" Height="10" /> + <Image Name="MultiListRight" XPos="214" YPos="105" Width="3" Height="38" /> + <Image Name="MultiListBottomLeft" XPos="175" YPos="144" Width="3" Height="3" /> + <Image Name="MultiListBottom" XPos="178" YPos="144" Width="36" Height="3" /> + <Image Name="MultiListBottomRight" XPos="214" YPos="144" Width="3" Height="3" /> + <Image Name="MultiListSelectionBrush" XPos="178" YPos="132" Width="36" Height="5" /> + <Image Name="SysAreaMiddle" XPos="44" YPos="8" Width="9" Height="22" /> + <Image Name="SysAreaRight" XPos="55" YPos="8" Width="11" Height="22" /> + <Image Name="ProgressBarLeft" XPos="155" YPos="43" Width="5" Height="17" /> + <Image Name="ProgressBarMiddle" XPos="175" YPos="43" Width="12" Height="17" /> + <Image Name="ProgressBarRight" XPos="216" YPos="43" Width="5" Height="17" /> + <Image Name="ProgressBarDimSegment" XPos="150" YPos="110" Width="11" Height="11" /> + <Image Name="ProgressBarLitSegment" XPos="164" YPos="47" Width="10" Height="10" /> + <Image Name="RadioButtonHover" XPos="100" YPos="98" Width="12" Height="12" /> + <Image Name="RadioButtonMark" XPos="120" YPos="98" Width="12" Height="12" /> + <Image Name="RadioButtonNormal" XPos="77" YPos="98" Width="12" Height="12" /> + <Image Name="StaticTopLeft" XPos="11" YPos="11" Width="3" Height="3" /> + <Image Name="StaticTop" XPos="15" YPos="11" Width="45" Height="3" /> + <Image Name="StaticTopRight" XPos="60" YPos="11" Width="3" Height="3" /> + <Image Name="StaticLeft" XPos="11" YPos="15" Width="3" Height="11" /> + <Image Name="StaticBackdrop" XPos="13" YPos="13" Width="3" Height="3" /> + <Image Name="StaticRight" XPos="60" YPos="14" Width="3" Height="11" /> + <Image Name="StaticBottomLeft" XPos="11" YPo... [truncated message content] |