annotate ObjectiveWidgets.xml @ 13:9455693fc290

Init - recall XML display state on reload ObjectiveFrame - quest coloring by relative level - quest coloring by daily/weekly/complete status - remember starting scroll value between reload - limit anchor points to edges for regions affected by style attributes ObjectiveInfo - AutoQuest outline definitions - Pull Quest title and tag data in addition to WatchInfo ObjectiveStyle - ensure consistent style table - hardcode certain attributes for sanity XML - ensure consistent naming conventions for heading and content elements - ensure hardcore anchors are based on edges - expansion of file structure to deal with complexities of dynamic widgets and style caching ObjectiveUI - determine primary style by block handler when restoring original style - moved framescript to 'ObjectiveWidgets' lua
author Nenue
date Sat, 02 Apr 2016 17:46:52 -0400
parents 8238cddaddb1
children ed642234f017
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@3 22 <Layer level="BACKGROUND">
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@7 34 <Color r="1" g="1" b="1" a="1" />
Nenue@7 35 </Texture>
Nenue@3 36 </Layer>
Nenue@3 37 <Layer level="OVERLAY">
Nenue@3 38 <FontString name="$parentQuantityString" parentKey="quantityString" inherits="VeneerCriteriaFont">
Nenue@7 39 <Anchors>
Nenue@7 40 <Anchor point="CENTER" />
Nenue@7 41 </Anchors>
Nenue@7 42 </FontString>
Nenue@7 43 </Layer>
Nenue@7 44 </Layers>
Nenue@7 45 </Frame>
Nenue@7 46
Nenue@7 47 <Frame name="VeneerObjectiveCriteriaEvent" virtual="true" hidden="true">
Nenue@7 48 <Size x="250" y="24" />
Nenue@7 49 <Scripts>
Nenue@7 50 <OnLoad>
Nenue@7 51 self.widgetType = 'Event'
Nenue@7 52 self.lines = 1
Nenue@7 53 Veneer.ObjectiveTracker.RegisterWidget(self)
Nenue@7 54 </OnLoad>
Nenue@7 55 <OnShow>
Nenue@7 56 Veneer.ObjectiveTracker.InitializeWidget(self)
Nenue@7 57 </OnShow>
Nenue@7 58 <OnHide>
Nenue@7 59 Veneer.ObjectiveTracker.ReleaseWidget(self)
Nenue@7 60 </OnHide>
Nenue@7 61 </Scripts>
Nenue@7 62 <Layers>
Nenue@7 63 <Layer level="OVERLAY">
Nenue@13 64 <FontString name="$parentStatusText" parentKey="status" inherits="VeneerCriteriaFont">
Nenue@3 65
Nenue@3 66 </FontString>
Nenue@3 67 </Layer>
Nenue@3 68 </Layers>
Nenue@3 69 </Frame>
Nenue@12 70
Nenue@12 71 <Frame name="VeneerObjectiveCriteriaHidden" virtual="true" hidden="true">
Nenue@12 72 <Size x="250" y="24" />
Nenue@12 73 <Scripts>
Nenue@12 74 <OnLoad>
Nenue@12 75 self.widgetType = 'Hidden'
Nenue@12 76 self.lines = 0
Nenue@12 77 Veneer.ObjectiveTracker.RegisterWidget(self)
Nenue@12 78 </OnLoad>
Nenue@12 79 <OnShow>
Nenue@12 80 Veneer.ObjectiveTracker.InitializeWidget(self)
Nenue@12 81 </OnShow>
Nenue@12 82 <OnHide>
Nenue@12 83 Veneer.ObjectiveTracker.ReleaseWidget(self)
Nenue@12 84 </OnHide>
Nenue@12 85 </Scripts>
Nenue@12 86 <Layers>
Nenue@12 87 <Layer level="OVERLAY">
Nenue@13 88 <FontString name="$parentStatusText" parentKey="status" inherits="VeneerCriteriaFont">
Nenue@12 89
Nenue@12 90 </FontString>
Nenue@12 91 </Layer>
Nenue@12 92 </Layers>
Nenue@12 93 </Frame>
Nenue@3 94 </Ui>