annotate ObjectiveWidgets.xml @ 17:c33497b116d6

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