Mercurial > wow > buffalo2
annotate ObjectiveWidgets.xml @ 8:7923243ae972
ObjectiveUI & ObjectiveEvents
- securehook to API calls for compatibility with addons that work with the objective tracking interface
- let the API hooks invoke ObjectiveUI functions when possible
- ObjectiveUI framescript handlers should use the corresponding API call if possible, so that addon space can be fully aware of our actions
- Sanity check cached data when possible during 'Remove' hooks
ObjectiveInfo
- Add cheevID to criteria info
ObjectiveCore
- Index quest tracker blocks by their watch offset, and use that to verify whether the given block frame should be released into pool
ObjectiveFrame
- Differentiate between visible and non-visible unused buttons, and only release when their quest has been dropped
author | Nenue |
---|---|
date | Fri, 01 Apr 2016 14:40:14 -0400 |
parents | 5301c68f28d8 |
children | 2698173edd40 |
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@7 | 23 <Texture SetAllPoints="true" 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@7 | 33 <Texture SetAllPoints="true" 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@7 | 64 <FontString name="$parentQuantityString" parentKey="quantityString" inherits="VeneerCriteriaFont"> |
Nenue@3 | 65 |
Nenue@3 | 66 </FontString> |
Nenue@3 | 67 </Layer> |
Nenue@3 | 68 </Layers> |
Nenue@3 | 69 </Frame> |
Nenue@3 | 70 </Ui> |