comparison ObjectiveTracker/Widgets.xml @ 28:c33c17dd97e7

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