diff options
Diffstat (limited to 'GUI')
| -rw-r--r-- | GUI/Vanilla.imageset | 21 | ||||
| -rw-r--r-- | GUI/Vanilla.looknfeel | 1340 | ||||
| -rw-r--r-- | GUI/VanillaSkin.scheme | 27 | ||||
| -rw-r--r-- | GUI/vanilla.tga | bin | 0 -> 17710 bytes |
4 files changed, 1388 insertions, 0 deletions
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> + <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> + <Image imageset="Vanilla-Images" image="HorzScrollContainer" /> + <VertFormat type="Stretched" /> + <HorzFormat type="Stretched" /> + </ImageryComponent> + </ImagerySection> + <StateImagery name="Enabled"> + <Layer> + <Section section="main" /> + </Layer> + </StateImagery> + <StateImagery name="Disabled"> + <Layer> + <Section section="main" /> + </Layer> + </StateImagery> + </WidgetLook> + + <WidgetLook name="Vanilla/VerticalScrollbar"> + <Property name="VerticalScrollbar" value="True" /> + <NamedArea name="ThumbTrackArea"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="TopEdge" ><WidgetDim widget="__auto_decbtn__" dimension="BottomEdge" /></Dim> + <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim> + <Dim type="BottomEdge" > + <UnifiedDim scale="1.0" type="BottomEdge"> + <DimOperator op="Subtract"> + <WidgetDim widget="__auto_incbtn__" dimension="Height" /> + </DimOperator> + </UnifiedDim> + </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="Width" /></Dim> + <Dim type="Height" ><UnifiedDim scale="1" type="Width" /></Dim> + </Area> + <VertAlignment type="BottomAligned" /> + <HorzAlignment type="CentreAligned" /> + <Property name="UseStandardImagery" value="False" /> + <Property name="NormalImage" value="set:Vanilla-Images image:ScrollDownArrow" /> + <Property name="HoverImage" value="set:Vanilla-Images image:ScrollDownArrow" /> + <Property name="PushedImage" value="set:Vanilla-Images image:ScrollDownArrow" /> + </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="Width" /></Dim> + <Dim type="Height" ><UnifiedDim scale="1" type="Width" /></Dim> + </Area> + <HorzAlignment type="CentreAligned" /> + <Property name="UseStandardImagery" value="False" /> + <Property name="NormalImage" value="set:Vanilla-Images image:ScrollUpArrow" /> + <Property name="HoverImage" value="set:Vanilla-Images image:ScrollUpArrow" /> + <Property name="PushedImage" value="set:Vanilla-Images image:ScrollUpArrow" /> + </Child> + <Child type="Vanilla/VerticalScrollbarThumb" 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="Width" /></Dim> + <Dim type="Height" ><UnifiedDim scale="1" type="Width" /></Dim> + </Area> + </Child> + <ImagerySection name="main"> + <ImageryComponent> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="TopEdge" ><WidgetDim widget="__auto_decbtn__" dimension="BottomEdge" /></Dim> + <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim> + <Dim type="BottomEdge" > + <UnifiedDim scale="1.0" type="BottomEdge"> + <DimOperator op="Subtract"> + <WidgetDim widget="__auto_incbtn__" dimension="Height" /> + </DimOperator> + </UnifiedDim> + </Dim> + </Area> + <Image imageset="Vanilla-Images" image="VertScrollContainer" /> + <VertFormat type="Stretched" /> + <HorzFormat type="Stretched" /> + </ImageryComponent> + </ImagerySection> + <StateImagery name="Enabled"> + <Layer> + <Section section="main" /> + </Layer> + </StateImagery> + <StateImagery name="Disabled"> + <Layer> + <Section section="main" /> + </Layer> + </StateImagery> + </WidgetLook> + + <WidgetLook name="Vanilla/StaticImage"> + <PropertyDefinition name="ImageColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" /> + <PropertyDefinition name="VertFormatting" initialValue="Stretched" redrawOnWrite="true" /> + <PropertyDefinition name="HorzFormatting" initialValue="Stretched" redrawOnWrite="true" /> + <Property name="BackgroundEnabled" value="True" /> + <Property name="FrameEnabled" value="True" /> + <ImagerySection name="image_withframe"> + <ImageryComponent> + <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> + <ImageProperty name="Image" /> + <ColourRectProperty name="ImageColours" /> + <VertFormatProperty name="VertFormatting" /> + <HorzFormatProperty name="HorzFormatting" /> + </ImageryComponent> + </ImagerySection> + <ImagerySection name="image_noframe"> + <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> + <ImageProperty name="Image" /> + <ColourRectProperty name="ImageColours" /> + <VertFormatProperty name="VertFormatting" /> + <HorzFormatProperty name="HorzFormatting" /> + </ImageryComponent> + </ImagerySection> + <StateImagery name="Enabled" /> + <StateImagery name="Disabled" /> + <StateImagery name="EnabledFrame"> + <Layer> + <Section look="Vanilla/Shared" section="FrameOnly"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="DisabledFrame"> + <Layer> + <Section look="Vanilla/Shared" section="FrameOnly"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="WithFrameEnabledBackground"> + <Layer> + <Section look="Vanilla/Shared" section="BackgroundOnly"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="WithFrameDisabledBackground"> + <Layer> + <Section look="Vanilla/Shared" section="BackgroundOnly"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="NoFrameEnabledBackground"> + <Layer> + <Section look="Vanilla/Shared" section="BackgroundOnlyFull"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="NoFrameDisabledBackground"> + <Layer> + <Section look="Vanilla/Shared" section="BackgroundOnlyFull"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="WithFrameImage"> + <Layer> + <Section section="image_withframe" /> + </Layer> + </StateImagery> + <StateImagery name="NoFrameImage"> + <Layer> + <Section section="image_noframe" /> + </Layer> + </StateImagery> + </WidgetLook> + + <WidgetLook name="Vanilla/StaticText"> + <Property name="BackgroundEnabled" value="True" /> + <Property name="FrameEnabled" value="True" /> + <NamedArea name="WithFrameTextRenderArea"> + <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> + </NamedArea> + <NamedArea name="WithFrameTextRenderAreaHScroll"> + <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" offset="-20" type="BottomEdge" /> + </Dim> + </Area> + </NamedArea> + <NamedArea name="WithFrameTextRenderAreaVScroll"> + <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" offset="-20" type="RightEdge" /> + </Dim> + <Dim type="BottomEdge" > + <UnifiedDim scale="1" type="BottomEdge"> + <DimOperator op="Subtract"> + <ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" /> + </DimOperator> + </UnifiedDim> + </Dim> + </Area> + </NamedArea> + <NamedArea name="WithFrameTextRenderAreaHVScroll"> + <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" offset="-20" type="RightEdge" /> + </Dim> + <Dim type="BottomEdge" > + <UnifiedDim scale="1" offset="-20" type="BottomEdge" /> + </Dim> + </Area> + </NamedArea> + <NamedArea name="NoFrameTextRenderArea"> + <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> + </NamedArea> + <NamedArea name="NoFrameTextRenderAreaHScroll"> + <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="-20" type="BottomEdge" /></Dim> + </Area> + </NamedArea> + <NamedArea name="NoFrameTextRenderAreaVScroll"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="RightEdge" ><UnifiedDim scale="1" offset="-20" type="RightEdge" /></Dim> + <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim> + </Area> + </NamedArea> + <NamedArea name="NoFrameTextRenderAreaHVScroll"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="RightEdge" ><UnifiedDim scale="1" offset="-20" type="RightEdge" /></Dim> + <Dim type="BottomEdge" ><UnifiedDim scale="1" offset="-20" type="BottomEdge" /></Dim> + </Area> + </NamedArea> + <Child type="Vanilla/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="Width" ><UnifiedDim scale="1" offset="-20" type="Width" /></Dim> + <Dim type="Height" ><AbsoluteDim value="20" /></Dim> + </Area> + <VertAlignment type="BottomAligned" /> + </Child> + <Child type="Vanilla/VerticalScrollbar" nameSuffix="__auto_vscrollbar__"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="Width" ><AbsoluteDim value="20" /></Dim> + <Dim type="Height" ><UnifiedDim scale="1" offset="-20" type="Height" /></Dim> + </Area> + <HorzAlignment type="RightAligned" /> + </Child> + <StateImagery name="Enabled" /> + <StateImagery name="Disabled" /> + <StateImagery name="EnabledFrame"> + <Layer> + <Section look="Vanilla/Shared" section="FrameOnly"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="DisabledFrame"> + <Layer> + <Section look="Vanilla/Shared" section="FrameOnly"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="WithFrameEnabledBackground"> + <Layer> + <Section look="Vanilla/Shared" section="BackgroundOnly"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="WithFrameDisabledBackground"> + <Layer> + <Section look="Vanilla/Shared" section="BackgroundOnly"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="NoFrameEnabledBackground"> + <Layer> + <Section look="Vanilla/Shared" section="BackgroundOnlyFull"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="NoFrameDisabledBackground"> + <Layer> + <Section look="Vanilla/Shared" section="BackgroundOnlyFull"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + </WidgetLook> + + <WidgetLook name="Vanilla/Listbox"> + <Property name="ForceVertScrollbar" value="True" /> + <NamedArea name="ItemRenderingArea"> + <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> + </NamedArea> + <Child type="Vanilla/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="5" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="-5" /></Dim> + <Dim type="Width" ><UnifiedDim scale="1" offset="-25" type="Width" /></Dim> + <Dim type="Height" ><AbsoluteDim value="20" /></Dim> + </Area> + <VertAlignment type="BottomAligned" /> + </Child> + <Child type="Vanilla/VerticalScrollbar" nameSuffix="__auto_vscrollbar__"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="-5" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="5" /></Dim> + <Dim type="Width" ><AbsoluteDim value="20" /></Dim> + <Dim type="Height" ><UnifiedDim scale="1" offset="-10" type="Height" /></Dim> + </Area> + <HorzAlignment type="RightAligned" /> + </Child> + <StateImagery name="Enabled"> + <Layer> + <Section look="Vanilla/Shared" section="Frame"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="Disabled"> + <Layer> + <Section look="Vanilla/Shared" section="Frame"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + </WidgetLook> + + <WidgetLook name="Vanilla/MultiLineEditbox"> + <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" /> + <Property name="SelectionBrushImage" value="set:Vanilla-Images image:GenericBrush" /> + <NamedArea name="TextArea"> + <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> + </NamedArea> + <Child type="Vanilla/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="5" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="-5" /></Dim> + <Dim type="Width" ><UnifiedDim scale="1" offset="-25" type="Width" /></Dim> + <Dim type="Height" ><AbsoluteDim value="20" /></Dim> + </Area> + <VertAlignment type="BottomAligned" /> + </Child> + <Child type="Vanilla/VerticalScrollbar" nameSuffix="__auto_vscrollbar__"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="-5" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="5" /></Dim> + <Dim type="Width" ><AbsoluteDim value="20" /></Dim> + <Dim type="Height" ><UnifiedDim scale="1" offset="-10" type="Height" /></Dim> + </Area> + <HorzAlignment type="RightAligned" /> + </Child> + <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" /> + </Layer> + </StateImagery> + <StateImagery name="Disabled"> + <Layer> + <Section look="Vanilla/Shared" section="Frame" /> + </Layer> + </StateImagery> + </WidgetLook> + + <WidgetLook name="Vanilla/Combobox"> + <PropertyLinkDefinition name="NormalEditTextColour" widget="__auto_editbox__" targetProperty="NormalTextColour" initialValue="FF000000" /> + <PropertyLinkDefinition name="SelectedEditTextColour" widget="__auto_editbox__" targetProperty="SelectedTextColour" initialValue="FFFFFFFF" /> + <PropertyLinkDefinition name="ActiveEditSelectionColour" widget="__auto_editbox__" targetProperty="ActiveSelectionColour" initialValue="FF607FFF" /> + <PropertyLinkDefinition name="InactiveEditSelectionColour" widget="__auto_editbox__" targetProperty="InactiveSelectionColour" initialValue="FF808080" /> + <Child type="Vanilla/Editbox" nameSuffix="__auto_editbox__"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="RightEdge" > + <UnifiedDim scale="1" type="RightEdge"> + <DimOperator op="Subtract"> + <FontDim type="LineSpacing" padding="10" /> + </DimOperator> + </UnifiedDim> + </Dim> + <Dim type="Height" > + <FontDim type="LineSpacing" padding="10" /> + </Dim> + </Area> + </Child> + <Child type="Vanilla/ComboDropList" nameSuffix="__auto_droplist__"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="TopEdge" ><WidgetDim widget="__auto_editbox__" dimension="BottomEdge" /></Dim> + <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim> + <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim> + </Area> + </Child> + <Child type="Vanilla/Button" nameSuffix="__auto_button__"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim> + <Dim type="Width" ><WidgetDim widget="__auto_editbox__" dimension="Height" /></Dim> + <Dim type="Height" ><WidgetDim widget="__auto_editbox__" dimension="Height" /></Dim> + </Area> + <HorzAlignment type="RightAligned" /> + </Child> + <StateImagery name="Enabled" /> + <StateImagery name="Disabled" /> + </WidgetLook> + + <WidgetLook name="Vanilla/ComboDropList"> + <Property name="ForceVertScrollbar" value="True" /> + <NamedArea name="ItemRenderingArea"> + <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> + </NamedArea> + <NamedArea name="ItemRenderingAreaVScroll"> + <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"> + <AbsoluteDim value="30" /> + </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> + </NamedArea> + <NamedArea name="ItemRenderingAreaHVScroll"> + <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"> + <AbsoluteDim value="30" /> + </DimOperator> + </UnifiedDim> + </Dim> + <Dim type="BottomEdge" > + <UnifiedDim scale="1" type="BottomEdge"> + <DimOperator op="Subtract"> + <AbsoluteDim value="30" /> + </DimOperator> + </UnifiedDim> + </Dim> + </Area> + </NamedArea> + <Child type="Vanilla/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="5" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="-5" /></Dim> + <Dim type="Width" ><UnifiedDim scale="1" offset="-30" type="Width" /></Dim> + <Dim type="Height" ><AbsoluteDim value="20" /></Dim> + </Area> + <VertAlignment type="BottomAligned" /> + </Child> + <Child type="Vanilla/VerticalScrollbar" nameSuffix="__auto_vscrollbar__"> + <Area> + <Dim type="LeftEdge" ><AbsoluteDim value="-5" /></Dim> + <Dim type="TopEdge" ><AbsoluteDim value="5" /></Dim> + <Dim type="Width" ><AbsoluteDim value="20" /></Dim> + <Dim type="Height" ><UnifiedDim scale="1" offset="-10" type="Height" /></Dim> + </Area> + <HorzAlignment type="RightAligned" /> + </Child> + <StateImagery name="Enabled"> + <Layer> + <Section look="Vanilla/Shared" section="Frame"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="Disabled"> + <Layer> + <Section look="Vanilla/Shared" section="Frame"> + <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" /> + </Section> + </Layer> + </StateImagery> + </WidgetLook> + + <WidgetLook name="Vanilla/ProgressBar"> + <PropertyDefinition name="EnabledColour" initialValue="FF607FFF" redrawOnWrite="true" /> + <PropertyDefinition name="DisabledColour" initialValue="FF808080" redrawOnWrite="true" /> + + <NamedArea name="ProgressArea"> + <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.0" type="RightEdge"> + <DimOperator op="Subtract"> + <ImageDim imageset="Vanilla-Images" image="FrameRight" dimension="Width" /> + </DimOperator> + </UnifiedDim> + </Dim> + <Dim type="BottomEdge" > + <UnifiedDim scale="1.0" type="BottomEdge"> + <DimOperator op="Subtract"> + <ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" /> + </DimOperator> + </UnifiedDim> + </Dim> + </Area> + </NamedArea> + <ImagerySection name="progress_lights" > + <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> + <Image imageset="Vanilla-Images" image="GenericBrush" /> + <VertFormat type="Stretched" /> + <HorzFormat type="Stretched" /> + </ImageryComponent> + </ImagerySection> + <StateImagery name="Enabled"> + <Layer> + <Section look="Vanilla/Shared" section="Frame" /> + </Layer> + </StateImagery> + <StateImagery name="Disabled"> + <Layer> + <Section look="Vanilla/Shared" section="Frame" /> + </Layer> + </StateImagery> + <StateImagery name="EnabledProgress"> + <Layer> + <Section section="progress_lights"> + <ColourProperty name="EnabledColour" /> + </Section> + </Layer> + </StateImagery> + <StateImagery name="DisabledProgress"> + <Layer> + <Section section="progress_lights"> + <ColourProperty name="DisabledColour" /> + </Section> + </Layer> + </StateImagery> + </WidgetLook> + +</Falagard> diff --git a/GUI/VanillaSkin.scheme b/GUI/VanillaSkin.scheme new file mode 100644 index 0000000..6940ac9 --- /dev/null +++ b/GUI/VanillaSkin.scheme @@ -0,0 +1,27 @@ +<?xml version="1.0" ?> +<GUIScheme Name="VanillaSkin"> + <Imageset Filename="Vanilla.imageset" /> + <LookNFeel Filename="Vanilla.looknfeel" /> + <WindowRendererSet Filename="CEGUIFalagardWRBase" /> + <FalagardMapping WindowType="Vanilla/Titlebar" TargetType="CEGUI/Titlebar" Renderer="Falagard/Titlebar" LookNFeel="Vanilla/Titlebar" /> + <FalagardMapping WindowType="Vanilla/Button" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="Vanilla/Button" /> + <FalagardMapping WindowType="Vanilla/FrameWindow" TargetType="CEGUI/FrameWindow" Renderer="Falagard/FrameWindow" LookNFeel="Vanilla/FrameWindow" /> + <FalagardMapping WindowType="Vanilla/Editbox" TargetType="CEGUI/Editbox" Renderer="Falagard/Editbox" LookNFeel="Vanilla/Editbox" /> + <FalagardMapping WindowType="Vanilla/VerticalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="Vanilla/VerticalScrollbarThumb" /> + <FalagardMapping WindowType="Vanilla/VerticalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="Vanilla/VerticalScrollbar" /> + <FalagardMapping WindowType="Vanilla/HorizontalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="Vanilla/HorizontalScrollbarThumb" /> + <FalagardMapping WindowType="Vanilla/HorizontalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="Vanilla/HorizontalScrollbar" /> + <FalagardMapping WindowType="Vanilla/StaticImage" TargetType="DefaultWindow" Renderer="Falagard/StaticImage" LookNFeel="Vanilla/StaticImage" /> + <FalagardMapping WindowType="Vanilla/StaticText" TargetType="DefaultWindow" Renderer="Falagard/StaticText" LookNFeel="Vanilla/StaticText" /> + <FalagardMapping WindowType="Vanilla/Listbox" TargetType="CEGUI/Listbox" Renderer="Falagard/Listbox" LookNFeel="Vanilla/Listbox" /> + <FalagardMapping WindowType="Vanilla/MultiLineEditbox" TargetType="CEGUI/MultiLineEditbox" Renderer="Falagard/MultiLineEditbox" LookNFeel="Vanilla/MultiLineEditbox" /> + <FalagardMapping WindowType="Vanilla/ComboDropList" TargetType="CEGUI/ComboDropList" Renderer="Falagard/Listbox" LookNFeel="Vanilla/ComboDropList" /> + <FalagardMapping WindowType="Vanilla/Combobox" TargetType="CEGUI/Combobox" Renderer="Falagard/Default" LookNFeel="Vanilla/Combobox" /> + <FalagardMapping WindowType="Vanilla/ProgressBar" TargetType="CEGUI/ProgressBar" Renderer="Falagard/ProgressBar" LookNFeel="Vanilla/ProgressBar" /> +<!-- + <FalagardMapping WindowType="Vanilla/ScrollablePane" TargetType="Falagard/ScrollablePane" LookNFeel="Vanilla/ScrollablePane" /> + <FalagardMapping WindowType="Vanilla/Checkbox" TargetType="Falagard/Checkbox" LookNFeel="Vanilla/Checkbox" /> + <FalagardMapping WindowType="Vanilla/RadioButton" TargetType="Falagard/RadioButton" LookNFeel="Vanilla/RadioButton" /> + <FalagardMapping WindowType="Vanilla/ScrollablePane" TargetType="Falagard/ScrollablePane" LookNFeel="Vanilla/ScrollablePane" /> +--> +</GUIScheme> diff --git a/GUI/vanilla.tga b/GUI/vanilla.tga Binary files differnew file mode 100644 index 0000000..6c6d431 --- /dev/null +++ b/GUI/vanilla.tga |
