Mercurial > wow > buffalo2
comparison ObjectiveTracker/ObjectiveTracker.xml @ 38:1f8f9cc3d956
- module integration brought up to speed with current frame management structure
| author | Nenue |
|---|---|
| date | Thu, 21 Apr 2016 11:36:41 -0400 |
| parents | e84d645c8ab8 |
| children | 03ed70f846de |
comparison
equal
deleted
inserted
replaced
| 37:e84d645c8ab8 | 38:1f8f9cc3d956 |
|---|---|
| 1 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ | 1 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ |
| 2 ..\FrameXML\UI.xsd"> | 2 ..\FrameXML\UI.xsd"> |
| 3 | 3 |
| 4 | 4 |
| 5 <Frame name="VeneerObjectiveWrapper" parent="UIParent" movable="true" frameStrata="LOW"> | 5 |
| 6 | |
| 7 <Texture file="Interface\ICONS\INV_Misc_QuestionMark" name="VeneerRewardTile" parentArray="rewardTile" alpha="0.5" hidden="true" virtual="true"> | |
| 8 <Color r="1" g="1" b="1" a="1" /> | |
| 9 <Anchors> | |
| 10 <Anchor point="BOTTOM" x="0" y="5" /> | |
| 11 </Anchors> | |
| 12 <TexCoords top="0.15" bottom="0.85" left="0.15" right="0.85" /> | |
| 13 </Texture> | |
| 14 | |
| 15 | |
| 16 <Frame name="VeneerObjectiveWrapper" parent="UIParent" movable="true" enableMouse="true" frameStrata="LOW"> | |
| 6 <TitleRegion> | 17 <TitleRegion> |
| 7 <Size x="300" y="30" /> | 18 <Size x="300" y="30" /> |
| 8 <Anchors> | 19 <Anchors> |
| 9 <Anchor point="TOP" /> | 20 <Anchor point="TOP" /> |
| 10 <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-30" /> | 21 <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-30" /> |
| 11 </Anchors> | 22 </Anchors> |
| 12 </TitleRegion> | 23 </TitleRegion> |
| 13 <Scripts> | 24 <Scripts> |
| 14 <OnLoad> | 25 <OnLoad> |
| 15 self.toggle = true | 26 self.toggle = true |
| 16 --self.drag = true | 27 self.drag = true |
| 17 Veneer.OnLoad(self) | 28 self.OnDragStop = function() |
| 29 Veneer.ObjectiveTracker.UpdateActionButtons() | |
| 30 end | |
| 31 Veneer.RegisterModuleFrame(self, 'ObjectiveTracker') | |
| 18 </OnLoad> | 32 </OnLoad> |
| 19 <OnShow> | |
| 20 </OnShow> | |
| 21 <OnDragStart> | |
| 22 Veneer.OnDragStart(self) | |
| 23 </OnDragStart> | |
| 24 <OnDragStop> | |
| 25 Veneer.OnDragStop(self) | |
| 26 Veneer.ObjectiveTracker.UpdateActionButtons() | |
| 27 </OnDragStop> | |
| 28 <!--@config@--> | |
| 29 <!--@end-config@--> | |
| 30 </Scripts> | 33 </Scripts> |
| 31 <Anchors> | 34 <Anchors> |
| 32 <Anchor point="TOPRIGHT" x="-60" y="-240" /> | 35 <Anchor point="TOPRIGHT" x="-60" y="-240" /> |
| 33 </Anchors> | 36 </Anchors> |
| 34 <Layers> | 37 <Layers> |
| 52 </Anchors> | 55 </Anchors> |
| 53 </Texture> | 56 </Texture> |
| 54 </Layer> | 57 </Layer> |
| 55 <Layer level="OVERLAY"> | 58 <Layer level="OVERLAY"> |
| 56 | 59 |
| 60 <FontString name="$parentAnimState" inherits="VeneerStatusFont" parentKey="AnimState"> | |
| 61 <Anchors> | |
| 62 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="-5" /> | |
| 63 </Anchors> | |
| 64 <Color r="1" g="1" b="1" a="1" /> | |
| 65 </FontString> | |
| 66 <FontString name="$parentInitState" inherits="VeneerStatusFont" parentKey="InitState"> | |
| 67 <Anchors> | |
| 68 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="-5" relativeKey="$parent.AnimState" /> | |
| 69 </Anchors> | |
| 70 </FontString> | |
| 57 </Layer> | 71 </Layer> |
| 58 </Layers> | 72 </Layers> |
| 59 <Frames> | 73 <Frames> |
| 60 | 74 |
| 61 <ScrollFrame name="$parentScrollFrame" enableMouseWheel="true" parentKey="scrollArea" parentArray="toggled" hidden="true"> | 75 <ScrollFrame name="$parentScrollFrame" enableMouseWheel="true" parentKey="scrollArea" parentArray="toggled" hidden="true"> |
| 103 </Layers> | 117 </Layers> |
| 104 </Frame> | 118 </Frame> |
| 105 | 119 |
| 106 | 120 |
| 107 | 121 |
| 108 <Frame name="$parentClock" parentKey="Clock" hidden="false"> | |
| 109 <Anchors> | |
| 110 <Anchor point="TOPRIGHT" x="-75" y="0" /> | |
| 111 </Anchors> | |
| 112 <Layers> | |
| 113 <Layer level="OVERLAY"> | |
| 114 <FontString inherits="VeneerNumberFont" parentKey="time" text="GAME_TIME"> | |
| 115 <Anchors> | |
| 116 <Anchor point="TOPRIGHT" /> | |
| 117 </Anchors> | |
| 118 <Color r="1" g="1" b="1" a="1" /> | |
| 119 </FontString> | |
| 120 </Layer> | |
| 121 </Layers> | |
| 122 <Scripts> | |
| 123 <OnUpdate> | |
| 124 local hour, min = GetGameTime() | |
| 125 self.time:SetFormattedText("%d:%d", hour, min) | |
| 126 </OnUpdate> | |
| 127 </Scripts> | |
| 128 </Frame> | |
| 129 | 122 |
| 130 <Button name="$parentCloseButton" parentKey="CloseButton" enableMouse="true" frameStrata="MEDIUM"> | 123 <Button name="$parentCloseButton" parentKey="CloseButton" enableMouse="true" frameStrata="MEDIUM"> |
| 131 <Size x="16" y="16" /> | 124 <Size x="16" y="16" /> |
| 132 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/> | 125 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/> |
| 133 <Anchors> | 126 <Anchors> |
| 140 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/> | 133 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/> |
| 141 <Anchors> | 134 <Anchors> |
| 142 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.CloseButton" x="0" y="0" /> | 135 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.CloseButton" x="0" y="0" /> |
| 143 </Anchors> | 136 </Anchors> |
| 144 </Button> | 137 </Button> |
| 138 | |
| 139 | |
| 140 <Frame name="$parentClock" parentKey="Clock" hidden="false"> | |
| 141 <Anchors> | |
| 142 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.QuestMapButton" /> | |
| 143 </Anchors> | |
| 144 <Size x="160" y="16" /> | |
| 145 <Layers> | |
| 146 <Layer level="OVERLAY"> | |
| 147 <FontString font="Interface\Addons\SharedMedia_MyMedia\font\XOIREQE.TTF" parentKey="time" text="GAME_TIME"> | |
| 148 <FontHeight> | |
| 149 <AbsValue val="16" /> | |
| 150 </FontHeight> | |
| 151 | |
| 152 <Anchors> | |
| 153 <Anchor point="CENTER" /> | |
| 154 </Anchors> | |
| 155 <Color r="1" g="1" b="1" a="1" /> | |
| 156 </FontString> | |
| 157 </Layer> | |
| 158 </Layers> | |
| 159 <Scripts> | |
| 160 <OnUpdate> | |
| 161 local hour, min = GetGameTime() | |
| 162 self.time:SetFormattedText("%d:%02d", hour, min) | |
| 163 --self:SetWidth(self.time:GetWidth()+4) | |
| 164 </OnUpdate> | |
| 165 </Scripts> | |
| 166 </Frame> | |
| 167 | |
| 168 | |
| 169 <Frame name="$parentQuestDetailsPane" parentKey="QuestDetails" hidden="true"> | |
| 170 <Anchors> | |
| 171 <Anchor point="TOP" /> | |
| 172 <Anchor point="LEFT" /> | |
| 173 <Anchor point="RIGHT" /> | |
| 174 </Anchors> | |
| 175 <Layers> | |
| 176 <Layer level="BACKGROUND"> | |
| 177 <Texture parentKey="titlebg" /> | |
| 178 <Texture parentKey="statusbg" /> | |
| 179 </Layer> | |
| 180 <Layer level="OVERLAY"> | |
| 181 <Texture parentKey="title" /> | |
| 182 <Texture parentKey="status" /> | |
| 183 | |
| 184 <Texture inherits="VeneerRewardTile" /> | |
| 185 </Layer> | |
| 186 </Layers> | |
| 187 </Frame> | |
| 188 | |
| 145 </Frames> | 189 </Frames> |
| 146 </Frame> | 190 </Frame> |
| 147 | 191 |
| 148 | 192 |
| 149 | 193 |
| 273 </Layers> | 317 </Layers> |
| 274 </Frame> | 318 </Frame> |
| 275 | 319 |
| 276 | 320 |
| 277 <Frame name="VeneerTrackerBlock" virtual="true"> | 321 <Frame name="VeneerTrackerBlock" virtual="true"> |
| 322 <Scripts> | |
| 323 <OnShow> | |
| 324 if(self.DebugTab:IsShown()) then | |
| 325 self.DebugTab:Show() | |
| 326 end | |
| 327 </OnShow> | |
| 328 <OnHide> | |
| 329 if(self.DebugTab:IsShown()) then | |
| 330 self.DebugTab:Hide() | |
| 331 end | |
| 332 </OnHide> | |
| 333 </Scripts> | |
| 278 <Animations> | 334 <Animations> |
| 279 <AnimationGroup name="$parentSlideIn" parentKey="SlideIn" ignoreFramerateThrottle="true"> | 335 <AnimationGroup name="$parentSlideIn" parentKey="SlideIn" ignoreFramerateThrottle="true"> |
| 280 <Translation parentKey="translation" offsetX="0" offsetY="0" smoothing="OUT" order="1" duration=".25" /> | 336 <Translation parentKey="translation" offsetX="0" offsetY="0" smoothing="OUT" order="1" duration=".25" /> |
| 281 </AnimationGroup> | 337 </AnimationGroup> |
| 282 <AnimationGroup parentKey="questFadeIn" setToFinalAlpha="true" ignoreFramerateThrottle="true"> | 338 <AnimationGroup parentKey="questFadeIn" setToFinalAlpha="true" ignoreFramerateThrottle="true"> |
| 392 | 448 |
| 393 </Texture> | 449 </Texture> |
| 394 | 450 |
| 395 | 451 |
| 396 | 452 |
| 397 <Texture alpha="1" parentArray="rewardTile" hidden="true" /> | 453 <Texture inherits="VeneerRewardTile" /> |
| 398 <Texture alpha="1" parentArray="rewardTile" hidden="true" /> | 454 <Texture inherits="VeneerRewardTile" /> |
| 399 <Texture alpha="1" parentArray="rewardTile" hidden="true" /> | 455 <Texture inherits="VeneerRewardTile" /> |
| 400 </Layer> | 456 </Layer> |
| 401 <Layer level="OVERLAY"> | 457 <Layer level="OVERLAY"> |
| 402 <FontString name="$parentTitle" parentKey="title" inherits="VeneerTitleFont" justifyH="LEFT" justifyV="TOP"> | 458 <FontString name="$parentTitle" parentKey="title" inherits="VeneerTitleFont" justifyH="LEFT" justifyV="TOP"> |
| 403 <Anchors> | 459 <Anchors> |
| 404 <Anchor point="TOP" relativeKey="$parent.titlebg" /> | 460 <Anchor point="TOP" relativeKey="$parent.titlebg" /> |
| 414 </Anchors> | 470 </Anchors> |
| 415 </FontString> | 471 </FontString> |
| 416 <FontString parentArray="rewardLabel" inherits="VeneerNumberFontSmall" /> | 472 <FontString parentArray="rewardLabel" inherits="VeneerNumberFontSmall" /> |
| 417 <FontString parentArray="rewardLabel" inherits="VeneerNumberFontSmall" /> | 473 <FontString parentArray="rewardLabel" inherits="VeneerNumberFontSmall" /> |
| 418 <FontString parentArray="rewardLabel" inherits="VeneerNumberFontSmall" /> | 474 <FontString parentArray="rewardLabel" inherits="VeneerNumberFontSmall" /> |
| 419 <FontString name="$parentDebugText" parentKey="debugText" inherits="VeneerCriteriaFontNormal" justifyH="RIGHT" justifyV="TOP"> | |
| 420 <Anchors> | |
| 421 <Anchor point="BOTTOMRIGHT" /> | |
| 422 </Anchors> | |
| 423 </FontString> | |
| 424 | 475 |
| 425 | 476 |
| 426 <Texture alphaMode="BLEND" parentArray="config" hidden="true"> | 477 <Texture alphaMode="BLEND" parentArray="config" hidden="true"> |
| 427 <Anchors> | 478 <Anchors> |
| 428 <Anchor point="TOPLEFT" relativeKey="$parent.status" /> | 479 <Anchor point="TOPLEFT" relativeKey="$parent.status" /> |
| 505 </Anchors> | 556 </Anchors> |
| 506 <Layers> | 557 <Layers> |
| 507 <Layer level="HIGHLIGHT"> | 558 <Layer level="HIGHLIGHT"> |
| 508 <Texture setAllPoints="true"> | 559 <Texture setAllPoints="true"> |
| 509 <Color r="1" g="1" b="0.5" a="0.5" /> | 560 <Color r="1" g="1" b="0.5" a="0.5" /> |
| 561 </Texture> | |
| 562 </Layer> | |
| 563 </Layers> | |
| 564 </Frame> | |
| 565 <Frame name="$parentDebugInfo" parentKey="DebugTab" hidden="true"> | |
| 566 <Size x="200" y="30" /> | |
| 567 <Layers> | |
| 568 <Layer level="OVERLAY"> | |
| 569 | |
| 570 <FontString name="$parentStatus" parentKey="status" inherits="VeneerNumberFont" justifyH="RIGHT" justifyV="TOP"> | |
| 571 <Color r="1" g="1" b="1" a="1" /> | |
| 572 <Anchors> | |
| 573 <Anchor point="TOPRIGHT" /> | |
| 574 </Anchors> | |
| 575 </FontString> | |
| 576 </Layer> | |
| 577 <Layer level="BACKGROUND"> | |
| 578 <Texture> | |
| 579 <Anchors> | |
| 580 <Anchor point="BOTTOMLEFT" relativeKey="$parent.status" /> | |
| 581 <Anchor point="TOPRIGHT" relativeKey="$parent.status" /> | |
| 582 </Anchors> | |
| 583 <Color r="0" g="0" b="0" a="0.5" /> | |
| 510 </Texture> | 584 </Texture> |
| 511 </Layer> | 585 </Layer> |
| 512 </Layers> | 586 </Layers> |
| 513 </Frame> | 587 </Frame> |
| 514 </Frames> | 588 </Frames> |
