annotate Libs/DF/tutorial_alert.xml @ 20:dc1c77254f80

- added close button to users panel. - framework update.
author Tercio
date Tue, 11 Aug 2015 12:46:46 -0300
parents 2f09fe4be15c
children 0682d738499b
rev   line source
Tercio@11 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/
Tercio@11 2 ..\FrameXML\UI.xsd">
Tercio@11 3
Tercio@11 4 <!-- raw copy from MoP WatchFrames, got removed on WoD -->
Tercio@11 5
Tercio@11 6 <ScrollFrame name="DetailsFrameworkTutorialAlertFrameTemplate" enableMouse="true" virtual="true">
Tercio@11 7 <Size x="224" y="72"/>
Tercio@11 8 <Scripts>
Tercio@11 9 <OnLoad>
Tercio@11 10 self:SetHorizontalScroll(-28.5);
Tercio@11 11 </OnLoad>
Tercio@11 12 </Scripts>
Tercio@11 13 <ScrollChild>
Tercio@11 14 <Frame name="$parentScrollChild" parentKey="ScrollChild">
Tercio@11 15 <Size x="190" y="60"/>
Tercio@11 16 <Layers>
Tercio@11 17 <Layer level="BACKGROUND">
Tercio@11 18 <Texture name="$parentBg" setAllPoints="true">
Tercio@11 19 <Color r="0" g="0" b="0" a="0.5"/>
Tercio@11 20 </Texture>
Tercio@11 21 </Layer>
Tercio@11 22 <Layer level="BORDER">
Tercio@11 23 <Texture name="$parentBorderTopLeft" file="Interface\QuestFrame\AutoQuest-Parts">
Tercio@11 24 <Size x="16" y="16"/>
Tercio@11 25 <TexCoords left="0.02539063" right="0.05664063" top="0.01562500" bottom="0.26562500"/>
Tercio@11 26 <Anchors>
Tercio@11 27 <Anchor point="TOPLEFT" x="-4" y="4" />
Tercio@11 28 </Anchors>
Tercio@11 29 </Texture>
Tercio@11 30
Tercio@11 31 <Texture name="$parentBorderTopRight" file="Interface\QuestFrame\AutoQuest-Parts">
Tercio@11 32 <Size x="16" y="16"/>
Tercio@11 33 <TexCoords left="0.02539063" right="0.05664063" top="0.29687500" bottom="0.54687500"/>
Tercio@11 34 <Anchors>
Tercio@11 35 <Anchor point="TOPRIGHT" x="4" y="4" />
Tercio@11 36 </Anchors>
Tercio@11 37 </Texture>
Tercio@11 38
Tercio@11 39 <Texture name="$parentBorderBotLeft" file="Interface\QuestFrame\AutoQuest-Parts">
Tercio@11 40 <Size x="16" y="16"/>
Tercio@11 41 <TexCoords left="0.02539063" right="0.05664063" top="0.57812500" bottom="0.82812500"/>
Tercio@11 42 <Anchors>
Tercio@11 43 <Anchor point="BOTTOMLEFT" x="-4" y="-4" />
Tercio@11 44 </Anchors>
Tercio@11 45 </Texture>
Tercio@11 46
Tercio@11 47 <Texture name="$parentBorderBotRight" file="Interface\QuestFrame\AutoQuest-Parts">
Tercio@11 48 <Size x="16" y="16"/>
Tercio@11 49 <TexCoords left="0.06054688" right="0.09179688" top="0.01562500" bottom="0.26562500"/>
Tercio@11 50 <Anchors>
Tercio@11 51 <Anchor point="BOTTOMRIGHT" x="4" y="-4"/>
Tercio@11 52 </Anchors>
Tercio@11 53 </Texture>
Tercio@11 54
Tercio@11 55 <Texture name="$parentBorderLeft" file="Interface\QuestFrame\AutoQuestToastBorder-LeftRight" vertTile="true">
Tercio@11 56 <Size x="8" y="16"/>
Tercio@11 57 <Anchors>
Tercio@11 58 <Anchor point="TOPLEFT" relativeTo="$parentBorderTopLeft" relativePoint="BOTTOMLEFT"/>
Tercio@11 59 <Anchor point="BOTTOMLEFT" relativeTo="$parentBorderBotLeft" relativePoint="TOPLEFT"/>
Tercio@11 60 </Anchors>
Tercio@11 61 <TexCoords left="0" right="0.5" top="0" bottom="1"/>
Tercio@11 62 </Texture>
Tercio@11 63
Tercio@11 64 <Texture name="$parentBorderRight" file="Interface\QuestFrame\AutoQuestToastBorder-LeftRight" vertTile="true">
Tercio@11 65 <Size x="8" y="16"/>
Tercio@11 66 <Anchors>
Tercio@11 67 <Anchor point="TOPRIGHT" relativeTo="$parentBorderTopRight" relativePoint="BOTTOMRIGHT"/>
Tercio@11 68 <Anchor point="BOTTOMRIGHT" relativeTo="$parentBorderBotRight" relativePoint="TOPRIGHT"/>
Tercio@11 69 </Anchors>
Tercio@11 70 <TexCoords left="0.5" right="1" top="0" bottom="1"/>
Tercio@11 71 </Texture>
Tercio@11 72
Tercio@11 73 <Texture name="$parentBorderTop" file="Interface\QuestFrame\AutoQuestToastBorder-TopBot" horizTile="true">
Tercio@11 74 <Size x="16" y="8"/>
Tercio@11 75 <Anchors>
Tercio@11 76 <Anchor point="TOPLEFT" relativeTo="$parentBorderTopLeft" relativePoint="TOPRIGHT"/>
Tercio@11 77 <Anchor point="TOPRIGHT" relativeTo="$parentBorderTopRight" relativePoint="TOPLEFT"/>
Tercio@11 78 </Anchors>
Tercio@11 79 <TexCoords left="0" right="1" top="0" bottom="0.5"/>
Tercio@11 80 </Texture>
Tercio@11 81
Tercio@11 82 <Texture name="$parentBorderBottom" file="Interface\QuestFrame\AutoQuestToastBorder-TopBot" horizTile="true">
Tercio@11 83 <Size x="16" y="8"/>
Tercio@11 84 <Anchors>
Tercio@11 85 <Anchor point="BOTTOMLEFT" relativeTo="$parentBorderBotLeft" relativePoint="BOTTOMRIGHT"/>
Tercio@11 86 <Anchor point="BOTTOMRIGHT" relativeTo="$parentBorderBotRight" relativePoint="BOTTOMLEFT"/>
Tercio@11 87 </Anchors>
Tercio@11 88 <TexCoords left="0" right="1" top="0.5" bottom="1"/>
Tercio@11 89 </Texture>
Tercio@11 90 </Layer>
Tercio@11 91 <Layer level="ARTWORK">
Tercio@11 92 <Texture name="$parentQuestIconBg" inherits="QuestIcon-Large">
Tercio@11 93 <Anchors>
Tercio@11 94 <Anchor point="CENTER" relativePoint="LEFT"/>
Tercio@11 95 </Anchors>
Tercio@11 96 </Texture>
Tercio@11 97 </Layer>
Tercio@11 98 <Layer level="ARTWORK" textureSubLevel="1">
Tercio@11 99 <Texture name="$parentExclamation" parentKey="Exclamation" hidden="true" file="Interface\QuestFrame\AutoQuest-Parts">
Tercio@11 100 <Size x="19" y="33"/>
Tercio@11 101 <TexCoords left="0.13476563" right="0.17187500" top="0.01562500" bottom="0.53125000"/>
Tercio@11 102 <Anchors>
Tercio@11 103 <Anchor point="CENTER" relativeTo="$parentQuestIconBg" x="0.5" />
Tercio@11 104 </Anchors>
Tercio@11 105 </Texture>
Tercio@11 106
Tercio@11 107 <Texture name="$parentQuestionMark" parentKey="QuestionMark" hidden="true" file="Interface\QuestFrame\AutoQuest-Parts">
Tercio@11 108 <Size x="19" y="33"/>
Tercio@11 109 <TexCoords left="0.17578125" right="0.21289063" top="0.01562500" bottom="0.53125000"/>
Tercio@11 110 <Anchors>
Tercio@11 111 <Anchor point="CENTER" relativeTo="$parentQuestIconBg" x="0.5" />
Tercio@11 112 </Anchors>
Tercio@11 113 </Texture>
Tercio@11 114 </Layer>
Tercio@11 115 <Layer level="BORDER">
Tercio@11 116 <FontString name="$parentQuestName" inherits="QuestFont_Large" parentKey="QuestName">
Tercio@11 117 <Anchors>
Tercio@11 118 <Anchor point="LEFT" relativeTo="$parentQuestIconBg" relativePoint="RIGHT" x="-6"/>
Tercio@11 119 <Anchor point="RIGHT" x="-8"/>
Tercio@11 120 <Anchor point="TOP" x="0" y="-24"/>
Tercio@11 121 </Anchors>
Tercio@11 122 <Color r="1" g="1" b="1"/>
Tercio@11 123 </FontString>
Tercio@11 124 <FontString name="$parentTopText" inherits="GameFontNormalSmall" parentKey="TopText">
Tercio@11 125 <Anchors>
Tercio@11 126 <Anchor point="TOP" x="0" y="-4"/>
Tercio@11 127 <Anchor point="LEFT" relativeTo="$parentQuestIconBg" relativePoint="RIGHT" x="-6"/>
Tercio@11 128 <Anchor point="RIGHT" x="-8"/>
Tercio@11 129 </Anchors>
Tercio@11 130 </FontString>
Tercio@11 131 <FontString name="$parentBottomText" inherits="GameFontDisableSmall" parentKey="BottomText">
Tercio@11 132 <Anchors>
Tercio@11 133 <Anchor point="BOTTOM" x="0" y="4"/>
Tercio@11 134 <Anchor point="LEFT" relativeTo="$parentQuestIconBg" relativePoint="RIGHT" x="-6"/>
Tercio@11 135 <Anchor point="RIGHT" x="-8"/>
Tercio@11 136 </Anchors>
Tercio@11 137 </FontString>
Tercio@11 138 </Layer>
Tercio@11 139 <Layer level="BORDER" textureSubLevel="1">
Tercio@11 140 <Texture name="$parentShine" alphaMode="ADD" alpha="0" hidden="true" parentKey="Shine">
Tercio@11 141 <Animations>
Tercio@11 142 <AnimationGroup name="$parentFlash" parentKey="Flash">
Tercio@11 143 <Alpha startDelay="0" change="0.4" duration="0.25" order="1"/>
Tercio@11 144 <Alpha startDelay="0.05" change="-0.4" duration="0.25" order="2"/>
Tercio@11 145 <Scripts>
Tercio@11 146 <OnStop>
Tercio@11 147 self:GetParent():Hide();
Tercio@11 148 </OnStop>
Tercio@11 149 <OnFinished>
Tercio@11 150 self:GetParent():Hide();
Tercio@11 151 </OnFinished>
Tercio@11 152 </Scripts>
Tercio@11 153 </AnimationGroup>
Tercio@11 154 </Animations>
Tercio@11 155 <Anchors>
Tercio@11 156 <Anchor point="TOPLEFT" x="-1" y="1"/>
Tercio@11 157 <Anchor point="BOTTOMRIGHT" x="1" y="-1"/>
Tercio@11 158 </Anchors>
Tercio@11 159 <Color r="1" g="1" b="1"/>
Tercio@11 160 </Texture>
Tercio@11 161 </Layer>
Tercio@11 162 <Layer level="OVERLAY">
Tercio@11 163 <Texture name="$parentIconShine" alphaMode="ADD" alpha="0" hidden="true" parentKey="IconShine" file="Interface\QuestFrame\AutoQuest-Parts">
Tercio@11 164 <Size x="42" y="42"/>
Tercio@11 165 <TexCoords left="0.21679688" right="0.29882813" top="0.01562500" bottom="0.67187500"/>
Tercio@11 166 <Anchors>
Tercio@11 167 <Anchor point="CENTER" relativeTo="$parentQuestIconBg"/>
Tercio@11 168 </Anchors>
Tercio@11 169 <Animations>
Tercio@11 170 <AnimationGroup name="$parentFlash" parentKey="Flash">
Tercio@11 171 <Alpha change="0.9" duration="0.25" order="1"/>
Tercio@11 172 <Alpha startDelay="0.05" change="-0.9" duration="0.25" order="2"/>
Tercio@11 173 <Scripts>
Tercio@11 174 <OnStop>
Tercio@11 175 self:GetParent():Hide();
Tercio@11 176 </OnStop>
Tercio@11 177 <OnFinished>
Tercio@11 178 self:GetParent():Hide();
Tercio@11 179 --if (self:GetParent():GetParent():GetParent().type=="COMPLETED") then
Tercio@11 180 --self:GetParent():GetParent().Flash:Show();
Tercio@11 181 --end
Tercio@11 182 </OnFinished>
Tercio@11 183 </Scripts>
Tercio@11 184 </AnimationGroup>
Tercio@11 185 </Animations>
Tercio@11 186 </Texture>
Tercio@11 187 </Layer>
Tercio@11 188 </Layers>
Tercio@11 189 <Frames>
Tercio@11 190 <Frame name="$parentFlash" useParentLevel="true" setAllPoints="true" hidden="true" parentKey="Flash">
Tercio@11 191 <Layers>
Tercio@11 192 <Layer level="BORDER">
Tercio@11 193 <Texture name="QuestLogFrameCompleteButtonFlash" inherits="UIPanelButtonHighlightTexture" parentKey="Flash">
Tercio@11 194 <Size x="180" y="28"/>
Tercio@11 195 <Anchors>
Tercio@11 196 <Anchor point="TOPLEFT" x="14" y="-2"/>
Tercio@11 197 </Anchors>
Tercio@11 198 </Texture>
Tercio@11 199 </Layer>
Tercio@11 200 <Layer level="OVERLAY">
Tercio@11 201 <Texture name="$parentIconFlash" alphaMode="ADD" alpha="0.5" parentKey="IconFlash" file="Interface\QuestFrame\AutoQuest-Parts">
Tercio@11 202 <Size x="42" y="42"/>
Tercio@11 203 <TexCoords left="0.21679688" right="0.29882813" top="0.01562500" bottom="0.67187500"/>
Tercio@11 204 <Anchors>
Tercio@11 205 <Anchor point="CENTER" relativePoint="LEFT"/>
Tercio@11 206 </Anchors>
Tercio@11 207 </Texture>
Tercio@11 208 </Layer>
Tercio@11 209 </Layers>
Tercio@11 210 <Scripts>
Tercio@11 211 <OnLoad>
Tercio@11 212 self.IconFlash:SetVertexColor(1, 0, 0);
Tercio@11 213 </OnLoad>
Tercio@11 214 <OnShow>
Tercio@11 215 UIFrameFlash(self, 0.75, 0.75, -1, nil);
Tercio@11 216 </OnShow>
Tercio@11 217 <OnHide>
Tercio@11 218 UIFrameFlashStop(self);
Tercio@11 219 </OnHide>
Tercio@11 220 </Scripts>
Tercio@11 221 </Frame>
Tercio@11 222 </Frames>
Tercio@11 223 </Frame>
Tercio@11 224 </ScrollChild>
Tercio@11 225 </ScrollFrame>
Tercio@11 226
Tercio@11 227 <Frame name="DetailsFrameworkBoxAlertTemplateUp" inherits="GlowBoxTemplate" hidden="false" frameStrata="FULLSCREEN" virtual="true">
Tercio@11 228 <Layers>
Tercio@11 229 <Layer level="OVERLAY">
Tercio@11 230 <FontString name="$parentText" parentKey="text" inherits="GameFontHighlightLeft" justifyV="TOP" text="">
Tercio@11 231 <Size x="280" y="0"/>
Tercio@11 232 <Anchors>
Tercio@11 233 <Anchor point="TOPLEFT" x="16" y="-15"/>
Tercio@11 234 </Anchors>
Tercio@11 235 </FontString>
Tercio@11 236 </Layer>
Tercio@11 237 </Layers>
Tercio@11 238 <Size x="300" y="150"/>
Tercio@11 239 <Frames>
Tercio@11 240 <Frame name="$parentArrow" parentKey="arrow" inherits="GlowBoxArrowTemplate">
Tercio@11 241 <Anchors>
Tercio@11 242 <Anchor point="TOP" relativePoint="BOTTOM" x="40" y="1"/>
Tercio@11 243 </Anchors>
Tercio@11 244 </Frame>
Tercio@11 245 </Frames>
Tercio@11 246 </Frame>
Tercio@11 247 </Ui>