summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--GUI/Vanilla.imageset21
-rw-r--r--GUI/Vanilla.looknfeel1340
-rw-r--r--GUI/VanillaSkin.scheme27
-rw-r--r--GUI/vanilla.tgabin0 -> 17710 bytes
-rw-r--r--SConstruct2
-rw-r--r--fonts/VeraMono.font2
-rw-r--r--gui.cpp144
-rw-r--r--gui.h31
-rw-r--r--main.cpp2
-rw-r--r--scene.cpp60
-rw-r--r--scene.h3
12 files changed, 1625 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index f678fbe..99897c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
*.o
.*.swp
/textures/unused/
+/CEGUI.log
diff --git a/GUI/Vanilla.imageset b/GUI/Vanilla.imageset
new file mode 100644
index 0000000..0136e55
--- /dev/null
+++ b/GUI/Vanilla.imageset
@@ -0,0 +1,21 @@
+<?xml version="1.0" ?>
+<Imageset Name="Vanilla-Images" Imagefile="vanilla.tga" NativeHorzRes="800" NativeVertRes="600" AutoScaled="true">
+ <Image Name="GenericBrush" XPos="46" YPos="46" Width="3" Height="3" />
+ <Image Name="FrameTopLeft" XPos="1" YPos="1" Width="6" Height="6" />
+ <Image Name="FrameTopRight" XPos="10" YPos="1" Width="6" Height="6" />
+ <Image Name="FrameBottomLeft" XPos="1" YPos="10" Width="6" Height="6" />
+ <Image Name="FrameBottomRight" XPos="10" YPos="10" Width="6" Height="6" />
+ <Image Name="FrameLeft" XPos="1" YPos="18" Width="6" Height="1" />
+ <Image Name="FrameRight" XPos="10" YPos="18" Width="6" Height="1" />
+ <Image Name="FrameTop" XPos="18" YPos="1" Width="1" Height="6" />
+ <Image Name="FrameBottom" XPos="18" YPos="10" Width="1" Height="6" />
+ <Image Name="ScrollUpArrow" XPos="1" YPos="22" Width="20" Height="20" />
+ <Image Name="ScrollDownArrow" XPos="22" YPos="22" Width="20" Height="20" />
+ <Image Name="VertScrollContainer" XPos="69" YPos="3" Width="20" Height="1" />
+ <Image Name="ScrollLeftArrow" XPos="21" YPos="1" Width="20" Height="20" />
+ <Image Name="ScrollRightArrow" XPos="42" YPos="1" Width="20" Height="20" />
+ <Image Name="HorzScrollContainer" XPos="65" YPos="1" Width="1" Height="20" />
+ <Image Name="ScrollbarThumb" XPos="43" YPos="22" Width="20" Height="20" />
+ <Image Name="ShadowBrush" XPos="4" YPos="45" Width="24" Height="24" />
+ <Image Name="MouseArrow" XPos="69" YPos="7" Width="17" Height="25" />
+</Imageset>
diff --git a/GUI/Vanilla.looknfeel b/GUI/Vanilla.looknfeel
new file mode 100644
index 0000000..9f5fab6
--- /dev/null
+++ b/GUI/Vanilla.looknfeel
@@ -0,0 +1,1340 @@
+<?xml version="1.0" ?>
+<Falagard>
+ <WidgetLook name="Vanilla/Shared">
+ <ImagerySection name="Frame">
+ <FrameComponent>
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
+ </Area>
+ <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
+ <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
+ <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
+ <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
+ <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
+ <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
+ <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
+ <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
+ <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
+ </FrameComponent>
+ </ImagerySection>
+
+ <ImagerySection name="FrameOnly">
+ <FrameComponent>
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
+ </Area>
+ <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
+ <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
+ <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
+ <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
+ <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
+ <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
+ <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
+ <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
+ </FrameComponent>
+ </ImagerySection>
+
+ <ImagerySection name="BackgroundOnly">
+ <FrameComponent>
+ <Area>
+ <Dim type="LeftEdge"><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
+ <Dim type="TopEdge"><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
+ <Dim type="RightEdge">
+ <UnifiedDim scale="1" type="RightEdge">
+ <DimOperator op="Subtract">
+ <ImageDim imageset="Vanilla-Images" image="FrameRight" dimension="Width" />
+ </DimOperator>
+ </UnifiedDim>
+ </Dim>
+ <Dim type="BottomEdge">
+ <UnifiedDim scale="1" type="BottomEdge">
+ <DimOperator op="Subtract">
+ <ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" />
+ </DimOperator>
+ </UnifiedDim>
+ </Dim>
+ </Area>
+ <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
+ </FrameComponent>
+ </ImagerySection>
+
+ <ImagerySection name="BackgroundOnlyFull">
+ <FrameComponent>
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
+ </Area>
+ <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
+ </FrameComponent>
+ </ImagerySection>
+
+ </WidgetLook>
+
+ <WidgetLook name="Vanilla/Titlebar">
+ <PropertyDefinition name="CaptionColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
+ <Property name="NonClient" value="True" />
+ <ImagerySection name="caption">
+ <TextComponent>
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
+ </Area>
+ <ColourProperty name="CaptionColour" />
+ <VertFormat type="CentreAligned" />
+ <HorzFormat type="CentreAligned" />
+ </TextComponent>
+ </ImagerySection>
+ <StateImagery name="Active">
+ <Layer>
+ <Section section="caption" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="Inactive">
+ <Layer>
+ <Section section="caption" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="Disabled">
+ <Layer>
+ <Section section="caption" />
+ </Layer>
+ </StateImagery>
+ </WidgetLook>
+
+
+ <WidgetLook name="Vanilla/Button">
+ <PropertyDefinition name="NormalTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
+ <PropertyDefinition name="HoverTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
+ <PropertyDefinition name="PushedTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
+ <PropertyDefinition name="DisabledTextColour" initialValue="FF888888" redrawOnWrite="true" />
+ <PropertyDefinition name="UseStandardImagery" initialValue="True" redrawOnWrite="true" />
+ <PropertyDefinition name="NormalImage" initialValue="" redrawOnWrite="true" />
+ <PropertyDefinition name="HoverImage" initialValue="" redrawOnWrite="true" />
+ <PropertyDefinition name="PushedImage" initialValue="" redrawOnWrite="true" />
+ <PropertyDefinition name="VertImageFormatting" initialValue="Stretched" redrawOnWrite="true" />
+ <PropertyDefinition name="HorzImageFormatting" initialValue="Stretched" redrawOnWrite="true" />
+
+ <Property name="WantsMultiClickEvents" value="False" />
+ <ImagerySection name="label">
+ <TextComponent>
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" offset="-4" type="BottomEdge" /></Dim>
+ </Area>
+ <VertFormat type="CentreAligned" />
+ <HorzFormat type="WordWrapCentreAligned" />
+ </TextComponent>
+ </ImagerySection>
+ <ImagerySection name="normal_image">
+ <ImageryComponent>
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
+ <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
+ </Area>
+ <ImageProperty name="NormalImage" />
+ <VertFormatProperty name="VertImageFormatting" />
+ <HorzFormatProperty name="HorzImageFormatting" />
+ </ImageryComponent>
+ </ImagerySection>
+ <ImagerySection name="hover_image">
+ <ImageryComponent>
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
+ <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
+ </Area>
+ <ImageProperty name="HoverImage" />
+ <VertFormatProperty name="VertImageFormatting" />
+ <HorzFormatProperty name="HorzImageFormatting" />
+ </ImageryComponent>
+ </ImagerySection>
+ <ImagerySection name="pushed_image">
+ <ImageryComponent>
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
+ <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
+ </Area>
+ <ImageProperty name="PushedImage" />
+ <VertFormatProperty name="VertImageFormatting" />
+ <HorzFormatProperty name="HorzImageFormatting" />
+ </ImageryComponent>
+ </ImagerySection>
+
+ <StateImagery name="Normal">
+ <Layer>
+ <Section look="Vanilla/Shared" section="Frame" controlProperty="UseStandardImagery" >
+ <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
+ </Section>
+ <Section section="normal_image" />
+ <Section section="label">
+ <ColourProperty name="NormalTextColour" />
+ </Section>
+ </Layer>
+ </StateImagery>
+ <StateImagery name="Hover">
+ <Layer>
+ <Section look="Vanilla/Shared" section="Frame" controlProperty="UseStandardImagery" >
+ <Colours topLeft="FF9F9F9F" topRight="FF9F9F9F" bottomLeft="FF9F9F9F" bottomRight="FF9F9F9F" />
+ </Section>
+ <Section section="hover_image" />
+ <Section section="label">
+ <ColourProperty name="HoverTextColour" />
+ </Section>
+ </Layer>
+ </StateImagery>
+ <StateImagery name="Pushed">
+ <Layer>
+ <Section look="Vanilla/Shared" section="Frame" controlProperty="UseStandardImagery" >
+ <Colours topLeft="FF6F6F6F" topRight="FF6F6F6F" bottomLeft="FF6F6F6F" bottomRight="FF6F6F6F" />
+ </Section>
+ <Section section="pushed_image" />
+ <Section section="label">
+ <ColourProperty name="PushedTextColour" />
+ </Section>
+ </Layer>
+ </StateImagery>
+ <StateImagery name="Disabled">
+ <Layer>
+ <Section look="Vanilla/Shared" section="Frame" controlProperty="UseStandardImagery" >
+ <Colours topLeft="FF3F3F3F" topRight="FF3F3F3F" bottomLeft="FF3F3F3F" bottomRight="FF3F3F3F" />
+ </Section>
+ <Section section="normal_image">
+ <Colours topLeft="FF3F3F3F" topRight="FF3F3F3F" bottomLeft="FF3F3F3F" bottomRight="FF3F3F3F" />
+ </Section>
+ <Section section="label">
+ <ColourProperty name="DisabledTextColour" />
+ </Section>
+ </Layer>
+ </StateImagery>
+ </WidgetLook>
+
+ <WidgetLook name="Vanilla/FrameWindow">
+ <PropertyLinkDefinition name="CaptionColour" widget="__auto_titlebar__" targetProperty="CaptionColour" initialValue="FFFFFFFF" />
+ <PropertyLinkDefinition name="TitlebarFont" widget="__auto_titlebar__" targetProperty="Font" />
+ <Property name="NSSizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
+ <Property name="EWSizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
+ <Property name="NWSESizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
+ <Property name="NESWSizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
+ <Property name="RollUpEnabled" value="False" />
+ <Property name="UnifiedMinSize" value="{{0.1,0},{0.1,0}}" />
+ <Property name="AutoRenderingSurface" value="True" />
+ <NamedArea name="ClientWithTitleWithFrame">
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="7" /></Dim>
+ <Dim type="TopEdge"><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" offset="-7" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" offset="-7" type="BottomEdge" /></Dim>
+ </Area>
+ </NamedArea>
+ <NamedArea name="ClientWithTitleNoFrame">
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge"><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
+ </Area>
+ </NamedArea>
+ <NamedArea name="ClientNoTitleWithFrame">
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="7" /></Dim>
+ <Dim type="TopEdge"><AbsoluteDim value="7" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" offset="-7" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" offset="-7" type="BottomEdge" /></Dim>
+ </Area>
+ </NamedArea>
+ <NamedArea name="ClientNoTitleNoFrame">
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
+ <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
+ </Area>
+ </NamedArea>
+ <Child type="Vanilla/Titlebar" nameSuffix="__auto_titlebar__">
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
+ <Dim type="Height" ><FontDim type="LineSpacing" padding="14" /></Dim>
+ </Area>
+ <Property name="AlwaysOnTop" value="False" />
+ </Child>
+ <Child type="Vanilla/Button" nameSuffix="__auto_closebutton__">
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="-7" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="7" /></Dim>
+ <Dim type="Width" ><AbsoluteDim value="7" /></Dim>
+ <Dim type="Height" ><AbsoluteDim value="7" /></Dim>
+ </Area>
+ <HorzAlignment type="RightAligned" />
+ <Property name="NonClient" value="True" />
+ <Property name="AlwaysOnTop" value="True" />
+ </Child>
+ <ImagerySection name="withtitle_frame">
+ <FrameComponent>
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
+ </Area>
+ <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
+ <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
+ <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
+ <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
+ <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
+ <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
+ <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
+ <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
+ <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
+ <Colours topLeft="FF333333" topRight="FF333333" bottomLeft="FF333333" bottomRight="FF333333" />
+ </FrameComponent>
+ </ImagerySection>
+ <ImagerySection name="notitle_frame">
+ <FrameComponent>
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
+ </Area>
+ <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
+ <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
+ <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
+ <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
+ <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
+ <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
+ <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
+ <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
+ <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
+ <Colours topLeft="FF333333" topRight="FF333333" bottomLeft="FF333333" bottomRight="FF333333" />
+ </FrameComponent>
+ </ImagerySection>
+ <ImagerySection name="withtitle_noframe_client_area">
+ <FrameComponent>
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge"><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
+ </Area>
+ <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
+ <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
+ <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
+ <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
+ <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
+ <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
+ <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
+ <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
+ <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
+ <Colours topLeft="FF333333" topRight="FF333333" bottomLeft="FF333333" bottomRight="FF333333" />
+ </FrameComponent>
+ </ImagerySection>
+ <ImagerySection name="notitle_noframe_client_area">
+ <FrameComponent>
+ <Area>
+ <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
+ </Area>
+ <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
+ <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
+ <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
+ <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
+ <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
+ <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
+ <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
+ <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
+ <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
+ <Colours topLeft="FF333333" topRight="FF333333" bottomLeft="FF333333" bottomRight="FF333333" />
+ </FrameComponent>
+ </ImagerySection>
+ <StateImagery name="ActiveWithTitleWithFrame">
+ <Layer>
+ <Section section="withtitle_frame" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="InactiveWithTitleWithFrame">
+ <Layer>
+ <Section section="withtitle_frame" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="DisabledWithTitleWithFrame">
+ <Layer>
+ <Section section="withtitle_frame" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="ActiveWithTitleNoFrame">
+ <Layer>
+ <Section section="withtitle_noframe_client_area" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="InactiveWithTitleNoFrame">
+ <Layer>
+ <Section section="withtitle_noframe_client_area" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="DisabledWithTitleNoFrame">
+ <Layer>
+ <Section section="withtitle_noframe_client_area" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="ActiveNoTitleWithFrame">
+ <Layer>
+ <Section section="notitle_frame" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="InactiveNoTitleWithFrame">
+ <Layer>
+ <Section section="notitle_frame" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="DisabledNoTitleWithFrame">
+ <Layer>
+ <Section section="notitle_frame" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="ActiveNoTitleNoFrame">
+ <Layer>
+ <Section section="notitle_noframe_client_area" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="InactiveNoTitleNoFrame">
+ <Layer>
+ <Section section="notitle_noframe_client_area" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="DisabledNoTitleNoFrame">
+ <Layer>
+ <Section section="notitle_noframe_client_area" />
+ </Layer>
+ </StateImagery>
+ </WidgetLook>
+
+ <WidgetLook name="Vanilla/Editbox">
+ <PropertyDefinition name="ReadOnlyBGColour" initialValue="FFDFDFDF" redrawOnWrite="true" />
+ <PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
+ <PropertyDefinition name="SelectedTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
+ <PropertyDefinition name="ActiveSelectionColour" initialValue="FF607FFF" redrawOnWrite="true" />
+ <PropertyDefinition name="InactiveSelectionColour" initialValue="FF808080" redrawOnWrite="true" />
+ <NamedArea name="TextArea">
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="7" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="3" /></Dim>
+ <Dim type="RightEdge" ><UnifiedDim scale="1.0" offset="-7" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge" ><UnifiedDim scale="1.0" offset="-7" type="BottomEdge" /></Dim>
+ </Area>
+ </NamedArea>
+ <ImagerySection name="selection">
+ <ImageryComponent>
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
+ <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
+ </Area>
+ <Image imageset="Vanilla-Images" image="GenericBrush" />
+ <VertFormat type="Stretched" />
+ <HorzFormat type="Stretched" />
+ </ImageryComponent>
+ </ImagerySection>
+ <ImagerySection name="Carat">
+ <ImageryComponent>
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="Width" ><AbsoluteDim value="2" /></Dim>
+ <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
+ </Area>
+ <Image imageset="Vanilla-Images" image="GenericBrush" />
+ <Colours topLeft="FF2222FF" topRight="FF2222FF" bottomLeft="FF2222FF" bottomRight="FF2222FF" />
+ <VertFormat type="Stretched" />
+ <HorzFormat type="Stretched" />
+ </ImageryComponent>
+ </ImagerySection>
+ <StateImagery name="Enabled">
+ <Layer>
+ <Section look="Vanilla/Shared" section="Frame" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="ReadOnly">
+ <Layer>
+ <Section look="Vanilla/Shared" section="Frame" >
+ <ColourProperty name="ReadOnlyBGColour" />
+ </Section>
+ </Layer>
+ </StateImagery>
+ <StateImagery name="Disabled">
+ <Layer>
+ <Section look="Vanilla/Shared" section="Frame" >
+ <ColourProperty name="ReadOnlyBGColour" />
+ </Section>
+ </Layer>
+ </StateImagery>
+ <StateImagery name="ActiveSelection">
+ <Layer>
+ <Section section="selection">
+ <ColourProperty name="ActiveSelectionColour" />
+ </Section>
+ </Layer>
+ </StateImagery>
+ <StateImagery name="InactiveSelection">
+ <Layer>
+ <Section section="selection">
+ <ColourProperty name="InactiveSelectionColour" />
+ </Section>
+ </Layer>
+ </StateImagery>
+ </WidgetLook>
+
+ <WidgetLook name="Vanilla/VerticalScrollbarThumb">
+ <Property name="VertFree" value="True" />
+ <Property name="MouseInputPropagationEnabled" value="True" />
+ <ImagerySection name="thumb">
+ <ImageryComponent>
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
+ <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
+ </Area>
+ <Image imageset="Vanilla-Images" image="ScrollbarThumb" />
+ <Colours topLeft="FF494949" topRight="FF494949" bottomLeft="FF494949" bottomRight="FF494949" />
+ <VertFormat type="Stretched" />
+ <HorzFormat type="Stretched" />
+ </ImageryComponent>
+ </ImagerySection>
+ <StateImagery name="Normal">
+ <Layer>
+ <Section section="thumb" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="Hover">
+ <Layer>
+ <Section section="thumb" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="Pushed">
+ <Layer>
+ <Section section="thumb" />
+ </Layer>
+ </StateImagery>
+ </WidgetLook>
+
+ <WidgetLook name="Vanilla/HorizontalScrollbarThumb">
+ <Property name="HorzFree" value="True" />
+ <Property name="MouseInputPropagationEnabled" value="True" />
+ <ImagerySection name="thumb">
+ <ImageryComponent>
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
+ <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
+ </Area>
+ <Image imageset="Vanilla-Images" image="ScrollbarThumb" />
+ <Colours topLeft="FF494949" topRight="FF494949" bottomLeft="FF494949" bottomRight="FF494949" />
+ <VertFormat type="Stretched" />
+ <HorzFormat type="Stretched" />
+ </ImageryComponent>
+ </ImagerySection>
+ <StateImagery name="Normal">
+ <Layer>
+ <Section section="thumb" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="Hover">
+ <Layer>
+ <Section section="thumb" />
+ </Layer>
+ </StateImagery>
+ <StateImagery name="Pushed">
+ <Layer>
+ <Section section="thumb" />
+ </Layer>
+ </StateImagery>
+ </WidgetLook>
+
+ <WidgetLook name="Vanilla/HorizontalScrollbar">
+ <NamedArea name="ThumbTrackArea">
+ <Area>
+ <Dim type="LeftEdge"><WidgetDim widget="__auto_decbtn__" dimension="RightEdge" /></Dim>
+ <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
+ <Dim type="RightEdge">
+ <UnifiedDim scale="1" type="RightEdge">
+ <DimOperator op="Subtract">
+ <WidgetDim widget="__auto_incbtn__" dimension="Width" />
+ </DimOperator>
+ </UnifiedDim>
+ </Dim>
+ <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
+ </Area>
+ </NamedArea>
+ <Child type="Vanilla/Button" nameSuffix="__auto_incbtn__">
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="Width" ><UnifiedDim scale="1" type="Height" /></Dim>
+ <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
+ </Area>
+ <VertAlignment type="CentreAligned" />
+ <HorzAlignment type="RightAligned" />
+ <Property name="UseStandardImagery" value="False" />
+ <Property name="NormalImage" value="set:Vanilla-Images image:ScrollRightArrow" />
+ <Property name="HoverImage" value="set:Vanilla-Images image:ScrollRightArrow" />
+ <Property name="PushedImage" value="set:Vanilla-Images image:ScrollRightArrow" />
+ </Child>
+ <Child type="Vanilla/Button" nameSuffix="__auto_decbtn__">
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="Width" ><UnifiedDim scale="1" type="Height" /></Dim>
+ <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
+ </Area>
+ <VertAlignment type="CentreAligned" />
+ <Property name="UseStandardImagery" value="False" />
+ <Property name="NormalImage" value="set:Vanilla-Images image:ScrollLeftArrow" />
+ <Property name="HoverImage" value="set:Vanilla-Images image:ScrollLeftArrow" />
+ <Property name="PushedImage" value="set:Vanilla-Images image:ScrollLeftArrow" />
+ </Child>
+ <Child type="Vanilla/HorizontalScrollbarThumb" nameSuffix="__auto_thumb__">
+ <Area>
+ <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
+ <Dim type="Width" ><UnifiedDim scale="1" type="Height" /></Dim>
+ <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
+ </Area>
+ </Child>
+ <ImagerySection name="main">
+ <ImageryComponent>
+ <Area>
+