annotate ObjectiveTracker/Widgets.xml @ 34:9856ebc63fa4

- half solution to Update being fired multiple times during load - change securefunc handlers to dispense a reason code; catch that reason code in the enclosure passed to hooksecurefunc, and decide whether to update or not from there.
author Nenue
date Sun, 17 Apr 2016 00:21:45 -0400
parents c33c17dd97e7
children e84d645c8ab8
rev   line source
Nenue@28 1 <Ui>
Nenue@28 2 <!-- houses objective widget templates -->
Nenue@28 3
Nenue@28 4 <Frame name="VeneerObjectiveCriteriaProgressBar" virtual="true" hidden="true">
Nenue@28 5 <Size x="250" y="30" />
Nenue@28 6 <Scripts>
Nenue@28 7 <OnLoad>
Nenue@28 8 self.widgetType = 'ProgressBar'
Nenue@28 9 Veneer.ObjectiveTracker.RegisterWidget(self)
Nenue@28 10 </OnLoad>
Nenue@28 11 <OnShow>
Nenue@28 12 Veneer.ObjectiveTracker.InitializeWidget(self)
Nenue@28 13 </OnShow>
Nenue@28 14 <OnHide>
Nenue@28 15 Veneer.ObjectiveTracker.ReleaseWidget(self)
Nenue@28 16 </OnHide>
Nenue@28 17 <OnEvent>
Nenue@28 18
Nenue@28 19 </OnEvent>
Nenue@28 20 </Scripts>
Nenue@28 21 <Layers>
Nenue@28 22 <Layer level="BORDER">
Nenue@28 23 <Texture name="$parentBackground" parentKey="bg">
Nenue@28 24 <Color r="0" g="0" b="0" a="0.70" />
Nenue@28 25 <Anchors>
Nenue@28 26 <Anchor point="BOTTOMLEFT" />
Nenue@28 27 <Anchor point="TOPRIGHT" />
Nenue@28 28 </Anchors>
Nenue@28 29 </Texture>
Nenue@28 30 </Layer>
Nenue@28 31 <Layer level="ARTWORK">
Nenue@28 32
Nenue@28 33 <Texture name="$parentForeground" parentKey="fg">
Nenue@28 34 <Color r="1" g="1" b="1" a="0.7" />
Nenue@28 35 </Texture>
Nenue@28 36 <Texture name="$parentIcon" parentKey="icon" alphaMode="MOD">
Nenue@28 37 <Anchors>
Nenue@28 38 <Anchor point="TOPLEFT" relativeKey="$parent.fg" />
Nenue@28 39 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.fg" />
Nenue@28 40 </Anchors>
Nenue@28 41 </Texture>
Nenue@28 42 </Layer>
Nenue@28 43 <Layer level="OVERLAY">
Nenue@28 44 <FontString name="$parentStatus" parentKey="status" inherits="VeneerCriteriaFont">
Nenue@28 45 <Anchors>
Nenue@34 46 <Anchor point="TOPLEFT" />
Nenue@28 47 </Anchors>
Nenue@28 48 </FontString>
Nenue@28 49 </Layer>
Nenue@28 50 </Layers>
Nenue@28 51 </Frame>
Nenue@28 52
Nenue@28 53 <Frame name="VeneerObjectiveCriteriaEvent" virtual="true" hidden="true">
Nenue@28 54 <Size x="250" y="24" />
Nenue@28 55 <Scripts>
Nenue@28 56 <OnLoad>
Nenue@28 57 self.widgetType = 'Event'
Nenue@28 58 self.lines = 1
Nenue@28 59 Veneer.ObjectiveTracker.RegisterWidget(self)
Nenue@28 60 </OnLoad>
Nenue@28 61 <OnShow>
Nenue@28 62 Veneer.ObjectiveTracker.InitializeWidget(self)
Nenue@28 63 </OnShow>
Nenue@28 64 <OnHide>
Nenue@28 65 Veneer.ObjectiveTracker.ReleaseWidget(self)
Nenue@28 66 </OnHide>
Nenue@28 67 </Scripts>
Nenue@28 68 <Layers>
Nenue@28 69 <Layer level="OVERLAY">
Nenue@28 70 <FontString name="$parentStatusText" parentKey="status" inherits="VeneerCriteriaFont">
Nenue@28 71
Nenue@28 72 </FontString>
Nenue@28 73 </Layer>
Nenue@28 74 </Layers>
Nenue@28 75 </Frame>
Nenue@28 76
Nenue@28 77 <Frame name="VeneerObjectiveCriteriaHidden" virtual="true" hidden="true">
Nenue@28 78 <Size x="250" y="24" />
Nenue@28 79 <Scripts>
Nenue@28 80 <OnLoad>
Nenue@28 81 self.widgetType = 'Hidden'
Nenue@28 82 self.lines = 0
Nenue@28 83 Veneer.ObjectiveTracker.RegisterWidget(self)
Nenue@28 84 </OnLoad>
Nenue@28 85 <OnShow>
Nenue@28 86 Veneer.ObjectiveTracker.InitializeWidget(self)
Nenue@28 87 </OnShow>
Nenue@28 88 <OnHide>
Nenue@28 89 Veneer.ObjectiveTracker.ReleaseWidget(self)
Nenue@28 90 </OnHide>
Nenue@28 91 </Scripts>
Nenue@28 92 <Layers>
Nenue@28 93 <Layer level="OVERLAY">
Nenue@28 94 <FontString name="$parentStatusText" parentKey="status" inherits="VeneerCriteriaFont">
Nenue@28 95
Nenue@28 96 </FontString>
Nenue@28 97 </Layer>
Nenue@28 98 </Layers>
Nenue@28 99 </Frame>
Nenue@28 100 </Ui>