comparison ObjectiveWidgets.xml @ 3:3397aae1f44d

- use the correct key value when searching for action buttons - handle pre-built frames from XML
author Nenue
date Thu, 31 Mar 2016 07:32:05 -0400
parents
children 5301c68f28d8
comparison
equal deleted inserted replaced
2:a2396b03ce63 3:3397aae1f44d
1 <Ui>
2 <!-- houses objective widget templates -->
3
4 <Frame name="VeneerObjectiveCriteriaProgressBar" virtual="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="BACKGROUND">
23 <Texture SetAllPoints="true" name="$parentBackground" parentKey="bg" setAllPoints="true">
24 <Color r="0" g="0" b="0" a="0.25" />
25 </Texture>
26 </Layer>
27 <Layer level="ARTWORK">
28
29 </Layer>
30 <Layer level="OVERLAY">
31 <FontString name="$parentQuantityString" parentKey="quantityString" inherits="VeneerCriteriaFont">
32
33 </FontString>
34 </Layer>
35 </Layers>
36 </Frame>
37 </Ui>