diff ObjectiveTracker/ObjectiveWidgets.xml @ 23:e837384ac363

Separating objective tracker module
author Nenue
date Sun, 10 Apr 2016 04:35:32 -0400
parents ObjectiveWidgets.xml@ed642234f017
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ObjectiveTracker/ObjectiveWidgets.xml	Sun Apr 10 04:35:32 2016 -0400
@@ -0,0 +1,100 @@
+<Ui>
+  <!-- houses objective widget templates -->
+
+  <Frame name="VeneerObjectiveCriteriaProgressBar" virtual="true" hidden="true">
+    <Size x="250" y="30" />
+    <Scripts>
+      <OnLoad>
+        self.widgetType = 'ProgressBar'
+        Veneer.ObjectiveTracker.RegisterWidget(self)
+      </OnLoad>
+      <OnShow>
+        Veneer.ObjectiveTracker.InitializeWidget(self)
+      </OnShow>
+      <OnHide>
+        Veneer.ObjectiveTracker.ReleaseWidget(self)
+      </OnHide>
+      <OnEvent>
+
+      </OnEvent>
+    </Scripts>
+    <Layers>
+      <Layer level="BORDER">
+        <Texture name="$parentBackground" parentKey="bg">
+          <Color r="0" g="0" b="0" a="0.70" />
+          <Anchors>
+            <Anchor point="BOTTOMLEFT" />
+            <Anchor point="TOPRIGHT" />
+          </Anchors>
+        </Texture>
+      </Layer>
+      <Layer level="ARTWORK">
+
+        <Texture name="$parentForeground" parentKey="fg">
+          <Color r="1" g="1" b="1" a="0.7" />
+        </Texture>
+        <Texture name="$parentIcon" parentKey="icon" alphaMode="MOD">
+          <Anchors>
+            <Anchor point="TOPLEFT" relativeKey="$parent.fg" />
+            <Anchor point="BOTTOMRIGHT" relativeKey="$parent.fg" />
+          </Anchors>
+        </Texture>
+      </Layer>
+      <Layer level="OVERLAY">
+        <FontString name="$parentStatus" parentKey="status" inherits="VeneerCriteriaFont">
+          <Anchors>
+            <Anchor point="CENTER" />
+          </Anchors>
+        </FontString>
+      </Layer>
+    </Layers>
+  </Frame>
+
+  <Frame name="VeneerObjectiveCriteriaEvent" virtual="true" hidden="true">
+    <Size x="250" y="24" />
+    <Scripts>
+      <OnLoad>
+        self.widgetType = 'Event'
+        self.lines = 1
+        Veneer.ObjectiveTracker.RegisterWidget(self)
+      </OnLoad>
+      <OnShow>
+        Veneer.ObjectiveTracker.InitializeWidget(self)
+      </OnShow>
+      <OnHide>
+        Veneer.ObjectiveTracker.ReleaseWidget(self)
+      </OnHide>
+    </Scripts>
+    <Layers>
+      <Layer level="OVERLAY">
+        <FontString name="$parentStatusText" parentKey="status" inherits="VeneerCriteriaFont">
+
+        </FontString>
+      </Layer>
+    </Layers>
+  </Frame>
+
+  <Frame name="VeneerObjectiveCriteriaHidden" virtual="true" hidden="true">
+    <Size x="250" y="24" />
+    <Scripts>
+      <OnLoad>
+        self.widgetType = 'Hidden'
+        self.lines = 0
+        Veneer.ObjectiveTracker.RegisterWidget(self)
+      </OnLoad>
+      <OnShow>
+        Veneer.ObjectiveTracker.InitializeWidget(self)
+      </OnShow>
+      <OnHide>
+        Veneer.ObjectiveTracker.ReleaseWidget(self)
+      </OnHide>
+    </Scripts>
+    <Layers>
+      <Layer level="OVERLAY">
+        <FontString name="$parentStatusText" parentKey="status" inherits="VeneerCriteriaFont">
+
+        </FontString>
+      </Layer>
+    </Layers>
+  </Frame>
+</Ui>
\ No newline at end of file