diff SkeletonKey/SkeletonKey.xml @ 19:67db6b712bf3

- option checkbutton literals are stored by enclosure - detect and save any old keybindings when a slot is assigned (anything that begins with 'CLICK KeyBinder*' is ours) - mouseover mode key input will stay active after leaving a button - button border flashes when a non-modifier key is pressed
author Nenue
date Sat, 30 Jul 2016 19:08:11 -0400
parents 91398d284a99
children 73df13211b22
line wrap: on
line diff
--- a/SkeletonKey/SkeletonKey.xml	Sat Jul 30 03:33:09 2016 -0400
+++ b/SkeletonKey/SkeletonKey.xml	Sat Jul 30 19:08:11 2016 -0400
@@ -69,11 +69,12 @@
         </Texture>
       </Layer>
     </Layers>
-    <HighlightTexture file="Interface\BUTTONS\UI-Button-Outline" alphaMode="ADD">
+    <HighlightTexture alphaMode="ADD">
       <Anchors>
-        <Anchor point="TOPLEFT" x="-13" y="13" />
-        <Anchor point="BOTTOMRIGHT" x="13" y="-13" />
+        <Anchor point="TOPLEFT" x="2" y="-2" />
+        <Anchor point="BOTTOMRIGHT" x="-2" y="2" />
       </Anchors>
+      <Color a="1" r="0.15" g="0.15" b="0.15" />
     </HighlightTexture>
   </CheckButton>
 
@@ -203,37 +204,37 @@
       </Button>
 
       <Button name="$parentUnbindButton" hidden="true">
-        <Size x="50" y="20" />
-        <NormalTexture>
-          <Color a="1" r="1" g="0.4" b="0" />
-        </NormalTexture>
-        <HighlightTexture>
-
-          <Color a="1" r="1" g="0.6" b=".1" />
-        </HighlightTexture>
-        <NormalFont style="KTUIPanelFont" />
+        <Size x="60" y="24" />
+        <Anchors>
+          <Anchor point="CENTER" />
+        </Anchors>
         <Layers>
           <Layer level="OVERLAY">
             <FontString inherits="KTUIPanelFont" text="Unbind" />
           </Layer>
         </Layers>
+        <NormalTexture>
+          <Color a="1" r="1" g="0.4" b="0" />
+        </NormalTexture>
+        <HighlightTexture alphaMode="ADD">
+
+          <Color a="1" r=".15" g="0.15" b=".15" />
+        </HighlightTexture>
       </Button>
 
 
       <CheckButton name="KeyBinderStickyMode" text="Receiving">
-        <Size  y="28" />
+        <Size  y="28" x="72" />
         <Anchors>
-          <Anchor point="BOTTOMLEFT" x="0" y="12" />
-          <Anchor point="RIGHT" relativeKey="$parent.sourcesbg" />
+          <Anchor point="TOPRIGHT" x="-4" y="-48" relativeKey="$parent.headerbg" />
         </Anchors>
-        <NormalTexture>
-          <Color a=".5" r=".3" g="0.5" b="0.2" />
-        </NormalTexture>
-        <CheckedTexture>
-          <Color a="1" r=".3" g="0.9" b=".2" />
-        </CheckedTexture>
         <Layers>
           <Layer level="OVERLAY">
+            <FontString inherits="KTLogString" text="Sticky Mode:">
+              <Anchors>
+                <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="4" y="4" />
+              </Anchors>
+            </FontString>
             <FontString parentKey="label" inherits="KTUIPanelFont" text="STICKY_MODE">
               <Anchors>
                 <Anchor point="LEFT" x="4" />
@@ -241,20 +242,22 @@
             </FontString>
           </Layer>
         </Layers>
+        <NormalTexture>
+          <Color a=".5" r=".3" g="0.5" b="0.2" />
+        </NormalTexture>
+        <CheckedTexture>
+          <Color a="1" r=".3" g="0.9" b=".2" />
+        </CheckedTexture>
+        <HighlightTexture alphaMode="ADD">
+          <Color a="1" r="0.2" g="0.2" b="0.2" />
+        </HighlightTexture>
       </CheckButton>
 
       <CheckButton name="KeyBinderHoverInput">
-        <Size  y="28" />
+        <Size  y="28" x="72" />
         <Anchors>
-          <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="12" relativeTo="$parentStickyMode" />
-          <Anchor point="RIGHT" relativeKey="$parent.sourcesbg" />
+          <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="-4" y="0" relativeTo="KeyBinderStickyMode" />
         </Anchors>
-        <NormalTexture>
-          <Color a=".7" r=".5" g=".15" b=".1" />
-        </NormalTexture>
-        <CheckedTexture>
-          <Color a="1" r="1" g=".3" b=".2" />
-        </CheckedTexture>
 
         <Layers>
           <Layer level="OVERLAY">
@@ -262,9 +265,28 @@
               <Anchors>
                 <Anchor point="LEFT" x="4" />
               </Anchors>
-                </FontString>
+            </FontString>
+            <FontString inherits="KTLogString" text="Bind on:">
+              <Anchors>
+                <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="4" y="4" />
+              </Anchors>
+            </FontString>
+            <FontString inherits="KTHeaderFont" text="Options">
+              <Anchors>
+                <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="4" y="24" />
+              </Anchors>
+            </FontString>
           </Layer>
         </Layers>
+        <NormalTexture>
+          <Color a=".7" r=".5" g=".15" b=".1" />
+        </NormalTexture>
+        <CheckedTexture>
+          <Color a="1" r="1" g=".3" b=".2" />
+        </CheckedTexture>
+        <HighlightTexture alphaMode="ADD">
+          <Color a="1" r="0.2" g="0.2" b="0.2" />
+        </HighlightTexture>
       </CheckButton>
     </Frames>
   </Frame>