diff Console.xml @ 100:790dca545f1d v3.0

- Configuration structure overheal; clearing 'Devian.lua' from SaveVariables will be necessary - Removed dependence on embedded libraries. - Console/dock frames are now implemented as XML mixin structures - Console dropdown menu option to 'Pin' frames - Hold SHIFT while clicking dock buttons will cause all but that tab to be closed
author Nenue
date Tue, 17 Jan 2017 14:25:18 -0500
parents 7d94df3804a7
children c3e7d2a3f4e9
line wrap: on
line diff
--- a/Console.xml	Thu Oct 27 06:11:04 2016 -0400
+++ b/Console.xml	Tue Jan 17 14:25:18 2017 -0500
@@ -20,6 +20,7 @@
     <Scripts>
       <OnLoad method="OnLoad" />
       <OnShow method="OnShow" />
+      <OnEvent method="OnEvent" />
       <OnMouseWheel method="OnMouseWheel" />
       <OnDragStart method="OnDragStart" />
       <OnDragStop method="OnDragStop" />
@@ -104,14 +105,18 @@
     </Layers>
     <Frames>
       <Button name="$parentMenuButton"  parentKey="DropdownButton" enableMouse="true">
-        <Size x="24" y="24" />
+        <Size x="18" y="16" />
         <Anchors>
-          <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-4" y="0" />
+          <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-1" y="-1" />
         </Anchors>
         <Layers>
           <Layer level="BACKGROUND">
-            <Texture setAllPoints="true" >
+            <Texture setAllPoints="true" parentKey="Background" >
               <Color a="1" r="1" g="1" b="1" />
+              <Gradient orientation="VERTICAL">
+                <MaxColor a="1" r=".25" g=".35" b=".65" />
+                <MinColor a="1" r=".05" g=".05" b=".05" />
+              </Gradient>
             </Texture>
           </Layer>
         </Layers>
@@ -172,15 +177,15 @@
 
 
       <Button name="$parentHorizontalSizer" parentKey="GripSide" inherits="DevianSizeButtonTemplate" frameLevel="25">
-        <Size x="16" />
+        <Size x="8" />
         <Anchors>
-          <Anchor point="TOPRIGHT"/>
+          <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" relativeKey="$parent.DropdownButton" />
           <Anchor point="BOTTOM" y="24" />
         </Anchors>
       </Button>
 
       <Button name="$parentVerticalSizer" parentKey="GripBottom" inherits="DevianSizeButtonTemplate" frameLevel="24">
-        <Size y="16" />
+        <Size y="8" />
         <Anchors>
           <Anchor point="BOTTOMLEFT" />
           <Anchor point="RIGHT" x="-24" />