diff SkeletonKey/SkeletonKey.xml @ 18:91398d284a99

- stickyMode and hoverInput togglers with tooltips - remove keybinds via an interface button - turn off key input when receiving GAMEMENU key - ignore modifier keys - mask out key selections that are bound to core interface functions (todo: selectively free up combinations involving 1-6, F1-F12, etc.)
author Nenue
date Sat, 30 Jul 2016 03:33:09 -0400
parents 500f9b2bd9ac
children 67db6b712bf3
line wrap: on
line diff
--- a/SkeletonKey/SkeletonKey.xml	Sat Jul 30 00:08:00 2016 -0400
+++ b/SkeletonKey/SkeletonKey.xml	Sat Jul 30 03:33:09 2016 -0400
@@ -203,33 +203,68 @@
       </Button>
 
       <Button name="$parentUnbindButton" hidden="true">
-        <Size x="20" y="20" />
+        <Size x="50" y="20" />
         <NormalTexture>
           <Color a="1" r="1" g="0.4" b="0" />
+        </NormalTexture>
+        <HighlightTexture>
 
-        </NormalTexture>
+          <Color a="1" r="1" g="0.6" b=".1" />
+        </HighlightTexture>
         <NormalFont style="KTUIPanelFont" />
-        <ButtonText text="X" />
+        <Layers>
+          <Layer level="OVERLAY">
+            <FontString inherits="KTUIPanelFont" text="Unbind" />
+          </Layer>
+        </Layers>
       </Button>
 
-      <CheckButton name="$parentStickyMode">
+
+      <CheckButton name="KeyBinderStickyMode" text="Receiving">
         <Size  y="28" />
         <Anchors>
           <Anchor point="BOTTOMLEFT" x="0" y="12" />
           <Anchor point="RIGHT" relativeKey="$parent.sourcesbg" />
         </Anchors>
-        <ButtonText text="Receiving" inherits="KTUIPanelFont">
-          <Anchors>
-            <Anchor point="CENTER" />
-          </Anchors>
-        </ButtonText>
         <NormalTexture>
-          <Color a="1" r=".3" g=".3" b=".3" />
+          <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 parentKey="label" inherits="KTUIPanelFont" text="STICKY_MODE">
+              <Anchors>
+                <Anchor point="LEFT" x="4" />
+              </Anchors>
+            </FontString>
+          </Layer>
+        </Layers>
+      </CheckButton>
 
-          <Color a="1" r=".3" g="1" b=".2" />
+      <CheckButton name="KeyBinderHoverInput">
+        <Size  y="28" />
+        <Anchors>
+          <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="12" relativeTo="$parentStickyMode" />
+          <Anchor point="RIGHT" relativeKey="$parent.sourcesbg" />
+        </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">
+            <FontString parentKey="label" inherits="KTUIPanelFont" text="HOVER_INPUT">
+              <Anchors>
+                <Anchor point="LEFT" x="4" />
+              </Anchors>
+                </FontString>
+          </Layer>
+        </Layers>
       </CheckButton>
     </Frames>
   </Frame>