summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GUI/Transparent.imageset21
-rw-r--r--GUI/Transparent.looknfeel643
-rw-r--r--GUI/Transparent.pngbin0 -> 4692 bytes
-rw-r--r--GUI/Transparent.scheme15
-rw-r--r--GUI/layouts/chat.layout13
-rw-r--r--GUI/layouts/console.layout2
m---------common0
-rw-r--r--game.cpp19
-rw-r--r--game.h3
-rw-r--r--gui.cpp28
-rw-r--r--gui.h14
-rw-r--r--scene.cpp17
-rw-r--r--scene.h1
13 files changed, 766 insertions, 10 deletions
diff --git a/GUI/Transparent.imageset b/GUI/Transparent.imageset
new file mode 100644
index 0000000..8d317dd
--- /dev/null
+++ b/GUI/Transparent.imageset
@@ -0,0 +1,21 @@
+<?xml version="1.0" ?>
+<Imageset Name="Transparent-Images" Imagefile="Transparent.png" 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/Transparent.looknfeel b/GUI/Transparent.looknfeel
new file mode 100644
index 0000000..877733b
--- /dev/null
+++ b/GUI/Transparent.looknfeel
@@ -0,0 +1,643 @@
+<?xml version="1.0"?>
+<Falagard>
+ <WidgetLook name="Transparent/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="Transparent-Images" image="FrameTopLeft" />
+ <Image type="TopRightCorner" imageset="Transparent-Images" image="FrameTopRight" />
+ <Image type="BottomLeftCorner" imageset="Transparent-Images" image="FrameBottomLeft" />
+ <Image type="BottomRightCorner" imageset="Transparent-Images" image="FrameBottomRight" />
+ <Image type="LeftEdge" imageset="Transparent-Images" image="FrameLeft" />
+ <Image type="TopEdge" imageset="Transparent-Images" image="FrameTop" />
+ <Image type="RightEdge" imageset="Transparent-Images" image="FrameRight" />
+ <Image type="BottomEdge" imageset="Transparent-Images" image="FrameBottom" />
+ <Image type="Background" imageset="Transparent-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="Transparent-Images" image="FrameTopLeft" />
+ <Image type="TopRightCorner" imageset="Transparent-Images" image="FrameTopRight" />
+ <Image type="BottomLeftCorner" imageset="Transparent-Images" image="FrameBottomLeft" />
+ <Image type="BottomRightCorner" imageset="Transparent-Images" image="FrameBottomRight" />
+ <Image type="LeftEdge" imageset="Transparent-Images" image="FrameLeft" />
+ <Image type="TopEdge" imageset="Transparent-Images" image="FrameTop" />
+ <Image type="RightEdge" imageset="Transparent-Images" image="FrameRight" />
+ <Image type="BottomEdge" imageset="Transparent-Images" image="FrameBottom" />
+ </FrameComponent>
+ </ImagerySection>
+
+ <ImagerySection name="BackgroundOnly">
+ <FrameComponent>
+ <Area>
+ <Dim type="LeftEdge"><ImageDim imageset="Transparent-Images" image="FrameLeft" dimension="Width" /></Dim>
+ <Dim type="TopEdge"><ImageDim imageset="Transparent-Images" image="FrameTop" dimension="Height" /></Dim>
+ <Dim type="RightEdge">
+ <UnifiedDim scale="1" type="RightEdge">
+ <DimOperator op="Subtract">
+ <ImageDim imageset="Transparent-Images" image="FrameRight" dimension="Width" />
+ </DimOperator>
+ </UnifiedDim>
+ </Dim>
+ <Dim type="BottomEdge">
+ <UnifiedDim scale="1" type="BottomEdge">
+ <DimOperator op="Subtract">
+ <ImageDim imageset="Transparent-Images" image="FrameBottom" dimension="Height" />
+ </DimOperator>
+ </UnifiedDim>
+ </Dim>
+ </Area>
+ <Image type="Background" imageset="Transparent-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="Transparent-Images" image="GenericBrush" />
+ </FrameComponent>
+ </ImagerySection>
+
+ </WidgetLook>
+
+ <WidgetLook name="Transparent/Titlebar">
+ <PropertyDefinition name="CaptionColour" initialValue="80FFFFFF" 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="Transparent/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="Transparent/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="Transparent/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="Transparent/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="Transparent/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="Transparent/FrameWindow">
+ <PropertyLinkDefinition name="CaptionColour" widget="__auto_titlebar__" targetProperty="CaptionColour" initialValue="80FFFFFF" />
+ <PropertyLinkDefinition name="TitlebarFont" widget="__auto_titlebar__" targetProperty="Font" />
+
+ <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="Transparent/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="Transparent/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="foo">
+ <!--<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="Transparent-Images" image="FrameTopLeft" />
+ <Image type="TopRightCorner" imageset="Transparent-Images" image="FrameTopRight" />
+ <Image type="BottomLeftCorner" imageset="Transparent-Images" image="FrameBottomLeft" />
+ <Image type="BottomRightCorner" imageset="Transparent-Images" image="FrameBottomRight" />
+ <Image type="LeftEdge" imageset="Transparent-Images" image="FrameLeft" />
+ <Image type="TopEdge" imageset="Transparent-Images" image="FrameTop" />
+ <Image type="RightEdge" imageset="Transparent-Images" image="FrameRight" />
+ <Image type="BottomEdge" imageset="Transparent-Images" image="FrameBottom" />
+ <Image type="Background" imageset="Transparent-Images" image="GenericBrush" />
+ <Colours topLeft="80333333" topRight="80333333" bottomLeft="80333333" bottomRight="80333333" />
+ </FrameComponent>-->
+ </ImagerySection>
+
+ <StateImagery name="ActiveWithTitleWithFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ <StateImagery name="InactiveWithTitleWithFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ <StateImagery name="DisabledWithTitleWithFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ <StateImagery name="ActiveWithTitleNoFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ <StateImagery name="InactiveWithTitleNoFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ <StateImagery name="DisabledWithTitleNoFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ <StateImagery name="ActiveNoTitleWithFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ <StateImagery name="InactiveNoTitleWithFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ <StateImagery name="DisabledNoTitleWithFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ <StateImagery name="ActiveNoTitleNoFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ <StateImagery name="InactiveNoTitleNoFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ <StateImagery name="DisabledNoTitleNoFrame">
+ <Layer><Section section="foo" /></Layer>
+ </StateImagery>
+
+ </WidgetLook>
+
+ <WidgetLook name="Transparent/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="Transparent-Images" image="ScrollbarThumb" />
+ <Colours topLeft="80494949" topRight="80494949" bottomLeft="80494949" bottomRight="80494949" />
+ <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="Transparent/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="Transparent-Images" image="ScrollbarThumb" />
+ <Colours topLeft="80494949" topRight="80494949" bottomLeft="80494949" bottomRight="80494949" />
+ <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="Transparent/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="Transparent/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:Transparent-Images image:ScrollRightArrow" />
+ <Property name="HoverImage" value="set:Transparent-Images image:ScrollRightArrow" />
+ <Property name="PushedImage" value="set:Transparent-Images image:ScrollRightArrow" />
+ </Child>
+ <Child type="Transparent/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:Transparent-Images image:ScrollLeftArrow" />
+ <Property name="HoverImage" value="set:Transparent-Images image:ScrollLeftArrow" />
+ <Property name="PushedImage" value="set:Transparent-Images image:ScrollLeftArrow" />
+ </Child>
+ <Child type="Transparent/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="Transparent-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="Transparent/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="Transparent/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:Transparent-Images image:ScrollDownArrow" />
+ <Property name="HoverImage" value="set:Transparent-Images image:ScrollDownArrow" />
+ <Property name="PushedImage" value="set:Transparent-Images image:ScrollDownArrow" />
+ </Child>
+ <Child type="Transparent/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:Transparent-Images image:ScrollUpArrow" />
+ <Property name="HoverImage" value="set:Transparent-Images image:ScrollUpArrow" />
+ <Property name="PushedImage" value="set:Transparent-Images image:ScrollUpArrow" />
+ </Child>
+ <Child type="Transparent/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="Transparent-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="Transparent/Listbox">
+ <Property name="ForceVertScrollbar" value="True" />
+ <NamedArea name="ItemRenderingArea">
+ <Area>
+ <Dim type="LeftEdge" ><ImageDim imageset="Transparent-Images" image="FrameLeft" dimension="Width" /></Dim>
+ <Dim type="TopEdge" ><ImageDim imageset="Transparent-Images" image="FrameTop" dimension="Height" /></Dim>
+ <Dim type="RightEdge" >
+ <UnifiedDim scale="1" type="RightEdge">
+ <DimOperator op="Subtract">
+ <ImageDim imageset="Transparent-Images" image="FrameRight" dimension="Width" />
+ </DimOperator>
+ </UnifiedDim>
+ </Dim>
+ <Dim type="BottomEdge" >
+ <UnifiedDim scale="1" type="BottomEdge">
+ <DimOperator op="Subtract">
+ <ImageDim imageset="Transparent-Images" image="FrameBottom" dimension="Height" />
+ </DimOperator>
+ </UnifiedDim>
+ </Dim>
+ </Area>
+ </NamedArea>
+ <Child type="Transparent/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="Transparent/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="Transparent/Shared" section="Frame">
+ <Colours topLeft="807F7F7F" topRight="807F7F7F" bottomLeft="807F7F7F" bottomRight="807F7F7F" />
+ </Section>
+ </Layer>
+ </StateImagery>
+ <StateImagery name="Disabled">
+ <Layer>
+ <Section look="Transparent/Shared" section="Frame">
+ <Colours topLeft="807F7F7F" topRight="807F7F7F" bottomLeft="807F7F7F" bottomRight="807F7F7F" />
+ </Section>
+ </Layer>
+ </StateImagery>
+ </WidgetLook>
+
+</Falagard>
diff --git a/GUI/Transparent.png b/GUI/Transparent.png
new file mode 100644
index 0000000..3da2c88
--- /dev/null
+++ b/GUI/Transparent.png
Binary files differ
diff --git a/GUI/Transparent.scheme b/GUI/Transparent.scheme
new file mode 100644
index 0000000..4678748
--- /dev/null
+++ b/GUI/Transparent.scheme
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<GUIScheme Name="Transparent">
+ <Imageset Filename="Transparent.imageset" />
+ <LookNFeel Filename="Transparent.looknfeel" />
+ <WindowRendererSet Filename="CEGUIFalagardWRBase" />
+
+ <FalagardMapping WindowType="Transparent/Titlebar" TargetType="CEGUI/Titlebar" Renderer="Falagard/Titlebar" LookNFeel="Transparent/Titlebar" />
+ <FalagardMapping WindowType="Transparent/Button" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="Transparent/Button" />
+ <FalagardMapping WindowType="Transparent/FrameWindow" TargetType="CEGUI/FrameWindow" Renderer="Falagard/FrameWindow" LookNFeel="Transparent/FrameWindow" />
+ <FalagardMapping WindowType="Transparent/Listbox" TargetType="CEGUI/Listbox" Renderer="Falagard/Listbox" LookNFeel="Transparent/Listbox" />
+ <FalagardMapping WindowType="Transparent/VerticalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="Transparent/VerticalScrollbarThumb" />
+ <FalagardMapping WindowType="Transparent/VerticalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="Transparent/VerticalScrollbar" />
+ <FalagardMapping WindowType="Transparent/HorizontalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="Transparent/HorizontalScrollbarThumb" />
+ <FalagardMapping WindowType="Transparent/HorizontalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="Transparent/HorizontalScrollbar" />
+</GUIScheme>
diff --git a/GUI/layouts/chat.layout b/GUI/layouts/chat.layout
new file mode 100644
index 0000000..d37d03c
--- /dev/null
+++ b/GUI/layouts/chat.layout
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<GUILayout>
+ <Window Type="Transparent/FrameWindow">
+ <Property Name="UnifiedPosition" Value="{{0, 0}, {1, -100}}" />
+ <Property Name="UnifiedSize" Value="{{.3, 0}, {0, 100}}" />
+ <Property Name="CloseButtonEnabled" Value="False" />
+ <Property Name="TitlebarEnabled" Value="False" />
+ <Window Type="Transparent/Listbox" Name="chat_listbox">
+ <Property Name="UnifiedPosition" Value="{{0, 0}, {0, 0}}" />
+ <Property Name="UnifiedSize" Value="{{1, 0}, {1, 0}}" />
+ </Window>
+ </Window>
+</GUILayout>
diff --git a/GUI/layouts/console.layout b/GUI/layouts/console.layout
index e6ef61b..879af94 100644
--- a/GUI/layouts/console.layout
+++ b/GUI/layouts/console.layout
@@ -3,6 +3,8 @@
<Window Type="Vanilla/FrameWindow" Name="ConsoleWindow">
<Property Name="UnifiedPosition" Value="{{0, 0}, {0, 0}}" />
<Property Name="UnifiedSize" Value="{{1, 0}, {.3, 0}}" />
+ <Property Name="CloseButtonEnabled" Value="False" />
+