diff SkeletonKey/SkeletonKey.xml @ 34:daff39af0c6d

changeset logjam
author Nenue
date Tue, 16 Aug 2016 10:24:55 -0400
parents 73df13211b22
children
line wrap: on
line diff
--- a/SkeletonKey/SkeletonKey.xml	Tue Aug 16 10:22:48 2016 -0400
+++ b/SkeletonKey/SkeletonKey.xml	Tue Aug 16 10:24:55 2016 -0400
@@ -83,6 +83,9 @@
       <Anchor point="TOP" y="-25" x="0" />
     </Anchors>
     <Size x="600" y="200" />
+    <KeyValues>
+      <KeyValue key="DEVIAN_PNAME" value="SkeletonKey"/>
+    </KeyValues>
     <Scripts>
       <OnLoad>
         self:RegisterForDrag('LeftButton')
@@ -197,6 +200,47 @@
       </Layer>
     </Layers>
     <Frames>
+
+
+      <Frame name="KeyBinderTutorial" parent="KeyBinder">
+
+        <Size x="20" y="20" />
+        <Anchors>
+          <Anchor point="TOPLEFT" relativeKey="$parent.footer" x="2" y="-2" />
+          <Anchor point="TOPRIGHT" relativeKey="$parent.footer" x="-2" y="-2" />
+        </Anchors>
+        <Layers>
+          <Layer level="ARTWORK">
+            <Texture name="$parentMouseLeftClick" file="Interface\TutorialFrame\UI-TUTORIAL-FRAME">
+              <Size x="15" y="20"/>
+              <Anchors>
+                <Anchor point="TOPLEFT" />
+              </Anchors>
+              <TexCoords left="0.0019531" right="0.1484375" top="0.4257813" bottom="0.6210938"/>
+            </Texture>
+            <FontString inherits="KTLogString" text="to change a key binding.">
+              <Anchors>
+                <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentMouseLeftClick" x="2" y="0" />
+              </Anchors>
+            </FontString>
+
+            <Texture name="$parentMouseRightClick" file="Interface\TutorialFrame\UI-TUTORIAL-FRAME">
+              <Size x="15" y="20"/>
+              <Anchors>
+                <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentMouseLeftClick" x="0" y="-2" />
+              </Anchors>
+              <TexCoords left="0.0019531" right="0.1484375" top="0.6269531" bottom="0.8222656"/>
+            </Texture>
+            <FontString inherits="KTLogString" text="to remove actions from profile.">
+              <Anchors>
+                <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentMouseRightClick" x="2" y="0" />
+              </Anchors>
+            </FontString>
+
+          </Layer>
+        </Layers>
+      </Frame>
+
       <Button inherits="UIPanelCloseButton" parentKey="CloseButton">
         <Anchors>
           <Anchor point="TOPRIGHT" />
@@ -224,70 +268,42 @@
       </Button>
 
 
-      <CheckButton name="KeyBinderStickyMode" text="Receiving">
-        <Size  y="28" x="72" />
+      <CheckButton name="KeyBinderStickyMode" inherits="UICheckButtonTemplate">
+        <Size  y="32" x="32" />
+        <Layers>
+          <Layer level="OVERLAY">
+            <FontString parentKey="header" inherits="KTLogString" text="Sticky Mode:" />
+          </Layer>
+        </Layers>
+      </CheckButton>
+
+      <CheckButton name="KeyBinderHoverInput" inherits="UICheckButtonTemplate">
+        <Size  y="32" x="32" />
         <Anchors>
-          <Anchor point="TOPRIGHT" x="-4" y="-48" relativeKey="$parent.headerbg" />
+          <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="-4" y="0" relativeTo="KeyBinderStickyMode" />
         </Anchors>
         <Layers>
           <Layer level="OVERLAY">
-            <FontString inherits="KTLogString" text="Sticky Mode:">
+            <FontString parentKey="header" inherits="KTLogString" text="Bind" />
+            <FontString inherits="KTHeaderFont" text="Settings">
               <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" />
+                <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="32" />
               </Anchors>
             </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" x="72" />
+      <CheckButton name="KeyBinderProtectBindings" inherits="UICheckButtonTemplate">
+        <Size  y="32" x="32" />
         <Anchors>
-          <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="-4" y="0" relativeTo="KeyBinderStickyMode" />
+          <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="-4" y="0" relativeTo="KeyBinderHoverInput" />
         </Anchors>
-
         <Layers>
           <Layer level="OVERLAY">
-            <FontString parentKey="label" inherits="KTUIPanelFont" text="HOVER_INPUT">
-              <Anchors>
-                <Anchor point="LEFT" x="4" />
-              </Anchors>
-            </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>
+            <FontString parentKey="header" inherits="KTLogString" text="Safe" />
           </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>
@@ -331,10 +347,11 @@
       </Layer>
     </Layers>
     <FontString inherits="NumberFontNormal" justifyH="LEFT">
-
       <Anchors>
         <Anchor point="TOPLEFT" />
       </Anchors>
-        </FontString>
+    </FontString>
   </ScrollingMessageFrame>
+
+
 </Ui>
\ No newline at end of file