diff Dock.xml @ 99:7d94df3804a7

- Console drag buttons for resizing - While dragging a console frame, other frames are ghosted out - Dropdown menu includes Toggle, Pin, and MinMax
author Nenue
date Thu, 27 Oct 2016 06:11:04 -0400
parents 33bc8baba858
children 790dca545f1d
line wrap: on
line diff
--- a/Dock.xml	Wed Oct 26 10:17:43 2016 -0400
+++ b/Dock.xml	Thu Oct 27 06:11:04 2016 -0400
@@ -13,7 +13,7 @@
       alpha="0.1"
       hidden="true"
       mixin="DevianDockHandler"
-      frameStrata="LOW">
+      frameStrata="DIALOG">
     <Scripts>
       <OnMouseWheel method="OnMouseWheel" />
     </Scripts>
@@ -34,4 +34,60 @@
       </Layer>
     </Layers>
   </Frame>
+
+
+  <Button name="DevianDockTabTemplate" hidden="true" virtual="true" enableMouse="true" alpha="1" frameStrata="MEDIUM" mixin="DevianDockTabMixin">
+    <Size x="64" y="24" />
+
+    <Scripts>
+      <OnShow method="OnShow" />
+      <OnEnter method="OnEnter" />
+      <OnMouseDown method="OnMouseDown" />
+      <OnClick method="Select" />
+    </Scripts>
+    <Layers>
+      <Layer level="BACKGROUND">
+        <Texture parentKey="Background" setAllPoints="true">
+          <Color a="0.5" r="0" g="0" b="0" />
+        </Texture>
+      </Layer>
+      <Layer level="OVERLAY">
+        <Texture parentKey="Stripe">
+          <Anchors>
+            <Anchor point="TOPLEFT" />
+            <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="-3" />
+          </Anchors>
+        </Texture>
+      </Layer>
+    </Layers>
+    <Frames>
+      <Frame name="$parentText" parentKey="caption" alpha="1" blendMode="BLEND" enableMouse="false">
+        <Size x="64" y="24" />
+        <Anchors>
+          <Anchor point="BOTTOM" relativePoint="BOTTOM" x="0" y="0" />
+        </Anchors>
+        <Layers>
+          <Layer level="OVERLAY">
+            <FontString text="Test String" inherits="DevianDockHeader" parentKey="name" wordwrap="false" setAllPoints="true">
+              <Anchors>
+                <Anchor point="BOTTOM" x="0" y="2" />
+              </Anchors>
+              <Color r="1" g="1" b="1" a="1" />
+              <Shadow>
+                <Color r="0" g="0" b="0" a="1" />
+                <Offset x="0" y="-2" />
+              </Shadow>
+            </FontString>
+          </Layer>
+        </Layers>
+        <Animations>
+          <AnimationGroup parentKey="pulse" looping="BOUNCE" setToFinalAlpha="false">
+            <Alpha fromAlpha=".5" toAlpha="1" duration="0.4" endDelay="0.6" order="1" childKey="name" />
+
+          </AnimationGroup>
+        </Animations>
+      </Frame>
+    </Frames>
+  </Button>
+
 </Ui>
\ No newline at end of file