Mercurial > wow > buffalo2
comparison ObjectiveWidgets.xml @ 14:ed642234f017
ObjectiveFrame
- implement proper tracker name text
- expanded tracker prototypes to cover "objective lines" formatting and accommodation of widget variables
- implement the progress bars for bonus objectives
ObjectiveStyle
- moved `UpdateWrapperStyle` over and renamed it to fit semantics
- change the formula for block.`height` to measure non-widget content only
- allows widgets to position relative to text
- size FontString `status` to match block.`height`
- full block height is acquired by adding block.`height` and block.`attachmentHeight` which is calculated during objective parsing
ObjectiveWidgets
- use string keys for generated widgets to deal with multiple objectives under the same questID, and maybe dungeon objectives
- wrapper buttons use a common code path
- specialized handlers for wheel scrolling moved over to fit semantics
author | Nenue |
---|---|
date | Mon, 04 Apr 2016 03:16:22 -0400 |
parents | 9455693fc290 |
children |
comparison
equal
deleted
inserted
replaced
13:9455693fc290 | 14:ed642234f017 |
---|---|
17 <OnEvent> | 17 <OnEvent> |
18 | 18 |
19 </OnEvent> | 19 </OnEvent> |
20 </Scripts> | 20 </Scripts> |
21 <Layers> | 21 <Layers> |
22 <Layer level="BACKGROUND"> | 22 <Layer level="BORDER"> |
23 <Texture name="$parentBackground" parentKey="bg"> | 23 <Texture name="$parentBackground" parentKey="bg"> |
24 <Color r="0" g="0" b="0" a="0.70" /> | 24 <Color r="0" g="0" b="0" a="0.70" /> |
25 <Anchors> | 25 <Anchors> |
26 <Anchor point="BOTTOMLEFT" /> | 26 <Anchor point="BOTTOMLEFT" /> |
27 <Anchor point="TOPRIGHT" /> | 27 <Anchor point="TOPRIGHT" /> |
29 </Texture> | 29 </Texture> |
30 </Layer> | 30 </Layer> |
31 <Layer level="ARTWORK"> | 31 <Layer level="ARTWORK"> |
32 | 32 |
33 <Texture name="$parentForeground" parentKey="fg"> | 33 <Texture name="$parentForeground" parentKey="fg"> |
34 <Color r="1" g="1" b="1" a="1" /> | 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> | |
35 </Texture> | 41 </Texture> |
36 </Layer> | 42 </Layer> |
37 <Layer level="OVERLAY"> | 43 <Layer level="OVERLAY"> |
38 <FontString name="$parentQuantityString" parentKey="quantityString" inherits="VeneerCriteriaFont"> | 44 <FontString name="$parentStatus" parentKey="status" inherits="VeneerCriteriaFont"> |
39 <Anchors> | 45 <Anchors> |
40 <Anchor point="CENTER" /> | 46 <Anchor point="CENTER" /> |
41 </Anchors> | 47 </Anchors> |
42 </FontString> | 48 </FontString> |
43 </Layer> | 49 </Layer> |