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