Guest User

Untitled

a guest
Jul 27th, 2014
357
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. <!-- patchwerk
  5. <Texture name="Banners" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  6. <Size x="210" y="615"/>
  7. <TexCoords left="0.00195313" right="0.41210938" top="0.00097656" bottom="0.60156250"/>
  8. </Texture>
  9. <Texture name="AllianceLogo" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  10. <Size x="92" y="167"/>
  11. <TexCoords left="0.41601563" right="0.59570313" top="0.00097656" bottom="0.16406250"/>
  12. </Texture>
  13. <Texture name="HordeLogo" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  14. <Size x="97" y="166"/>
  15. <TexCoords left="0.59960938" right="0.78906250" top="0.00097656" bottom="0.16308594"/>
  16. </Texture>
  17. <Texture name="Selection-Square" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  18. <Size x="82" y="82"/>
  19. <TexCoords left="0.79296875" right="0.95312500" top="0.00097656" bottom="0.08105469"/>
  20. </Texture>
  21. <Texture name="ButtonFrame-Right" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  22. <Size x="16" y="48"/>
  23. <TexCoords left="0.95703125" right="0.98828125" top="0.00097656" bottom="0.04785156"/>
  24. </Texture>
  25. <Texture name="Highlight-Square" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  26. <Size x="82" y="82"/>
  27. <TexCoords left="0.79296875" right="0.95312500" top="0.08300781" bottom="0.16308594"/>
  28. </Texture>
  29. <Texture name="ButtonFrame-Left" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  30. <Size x="16" y="48"/>
  31. <TexCoords left="0.95703125" right="0.98828125" top="0.08300781" bottom="0.12988281"/>
  32. </Texture>
  33. <Texture name="VideoFrame" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  34. <Size x="215" y="166"/>
  35. <TexCoords left="0.41601563" right="0.83593750" top="0.16601563" bottom="0.32812500"/>
  36. </Texture>
  37. <Texture name="Play-Down" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  38. <Size x="69" y="69"/>
  39. <TexCoords left="0.83984375" right="0.97460938" top="0.16601563" bottom="0.23339844"/>
  40. </Texture>
  41. <Texture name="Play-Highlight" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  42. <Size x="69" y="69"/>
  43. <TexCoords left="0.83984375" right="0.97460938" top="0.23535156" bottom="0.30273438"/>
  44. </Texture>
  45. <Texture name="Thumbnail-Highlight" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  46. <Size x="110" y="104"/>
  47. <TexCoords left="0.41601563" right="0.63085938" top="0.33007813" bottom="0.43164063"/>
  48. </Texture>
  49. <Texture name="Thumbnail-Selection" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  50. <Size x="110" y="104"/>
  51. <TexCoords left="0.41601563" right="0.63085938" top="0.43359375" bottom="0.53515625"/>
  52. </Texture>
  53. <Texture name="UI-CharacterCreate-IconShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  54. <Size x="64" y="64"/>
  55. <TexCoords left="0.41601563" right="0.54101563" top="0.53710938" bottom="0.59960938"/>
  56. </Texture>
  57. <Texture name="Arrow-Left" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  58. <Size x="33" y="44"/>
  59. <TexCoords left="0.54492188" right="0.60937500" top="0.53710938" bottom="0.58007813"/>
  60. </Texture>
  61. <Texture name="Thumbnail-Frame" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  62. <Size x="110" y="104"/>
  63. <TexCoords left="0.63476563" right="0.84960938" top="0.33007813" bottom="0.43164063"/>
  64. </Texture>
  65. <Texture name="Play-Up" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  66. <Size x="69" y="69"/>
  67. <TexCoords left="0.85351563" right="0.98828125" top="0.33007813" bottom="0.39746094"/>
  68. </Texture>
  69. <Texture name="ButtonText-Bg" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  70. <Size x="89" y="49"/>
  71. <TexCoords left="0.63476563" right="0.80859375" top="0.43359375" bottom="0.48144531"/>
  72. </Texture>
  73. <Texture name="Arrow-Right" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  74. <Size x="33" y="44"/>
  75. <TexCoords left="0.81250000" right="0.87695313" top="0.43359375" bottom="0.47656250"/>
  76. </Texture>
  77. <Texture name="Gender-Female-Up" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  78. <Size x="93" y="33"/>
  79. <TexCoords left="0.63476563" right="0.81640625" top="0.48339844" bottom="0.51562500"/>
  80. </Texture>
  81. <Texture name="Gender-Male-Up" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  82. <Size x="93" y="33"/>
  83. <TexCoords left="0.63476563" right="0.81640625" top="0.51757813" bottom="0.54980469"/>
  84. </Texture>
  85. <Texture name="Gender-Male-Down" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  86. <Size x="93" y="33"/>
  87. <TexCoords left="0.63476563" right="0.81640625" top="0.55175781" bottom="0.58398438"/>
  88. </Texture>
  89. <Texture name="CustomizeButton-Down" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  90. <Size x="214" y="85"/>
  91. <TexCoords left="0.00195313" right="0.41992188" top="0.60351563" bottom="0.68652344"/>
  92. </Texture>
  93. <Texture name="CustomizeButton-Highlight" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  94. <Size x="214" y="85"/>
  95. <TexCoords left="0.42382813" right="0.84179688" top="0.60351563" bottom="0.68652344"/>
  96. </Texture>
  97. <Texture name="CustomizeButton-Selection" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  98. <Size x="214" y="85"/>
  99. <TexCoords left="0.00195313" right="0.41992188" top="0.68847656" bottom="0.77148438"/>
  100. </Texture>
  101. <Texture name="CustomizeButton-Up" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  102. <Size x="214" y="85"/>
  103. <TexCoords left="0.00195313" right="0.41992188" top="0.77343750" bottom="0.85644531"/>
  104. </Texture>
  105. <Texture name="TextGlowLG-Bg" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  106. <Size x="211" y="33"/>
  107. <TexCoords left="0.00195313" right="0.41406250" top="0.85839844" bottom="0.89062500"/>
  108. </Texture>
  109. <Texture name="Gender-Female-Down" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  110. <Size x="93" y="33"/>
  111. <TexCoords left="0.00195313" right="0.18359375" top="0.89257813" bottom="0.92480469"/>
  112. </Texture>
  113. <Texture name="Gender-Highlight" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  114. <Size x="93" y="33"/>
  115. <TexCoords left="0.00195313" right="0.18359375" top="0.92675781" bottom="0.95898438"/>
  116. </Texture>
  117. <Texture name="Gender-Selection" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  118. <Size x="93" y="33"/>
  119. <TexCoords left="0.00195313" right="0.18359375" top="0.96093750" bottom="0.99316406"/>
  120. </Texture>
  121. <Texture name="TextGlowSM-Bg" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  122. <Size x="117" y="32"/>
  123. <TexCoords left="0.18750000" right="0.41601563" top="0.89257813" bottom="0.92382813"/>
  124. </Texture>
  125. <Texture name="Frame-Top" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  126. <Size x="243" y="48"/>
  127. <TexCoords left="0.42382813" right="0.89843750" top="0.68847656" bottom="0.73535156"/>
  128. </Texture>
  129. <Texture name="Frame-Bottom" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  130. <Size x="243" y="46"/>
  131. <TexCoords left="0.42382813" right="0.89843750" top="0.73730469" bottom="0.78222656"/>
  132. </Texture>
  133. <Texture name="DividingLine" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  134. <Size x="192" y="3"/>
  135. <TexCoords left="0.42382813" right="0.79882813" top="0.78417969" bottom="0.78710938"/>
  136. </Texture>
  137. -->
  138.  
  139. <Script file="CharacterCreate.lua"/>
  140. <Frame name="CharacterCreateTooltip" frameStrata="TOOLTIP" hidden="true" parent="GlueParent" inherits="GlueTooltipTemplate">
  141. <Scripts>
  142. <OnLoad>
  143. --[[GlueTooltip_OnLoad(self);
  144. self:SetFont(CharacterCreateTooltipFont);
  145. self.defaultColor = HIGHLIGHT_FONT_COLOR;
  146. for i = 1, GLUETOOLTIP_NUM_LINES do
  147. _G[self:GetName().."TextLeft"..i]:SetJustifyH("CENTER");
  148. end]]
  149. </OnLoad>
  150. </Scripts>
  151. </Frame>
  152. <CheckButton name="CharCreateIconButtonTemplate" virtual="true" motionScriptsWhileDisabled="true">
  153. <Size x="50" y="50"/>
  154. <Layers>
  155. <Layer level="BACKGROUND">
  156. <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  157. <Size x="68" y="68"/>
  158. <Anchors>
  159. <Anchor point="CENTER" x="0" y="0"/>
  160. </Anchors>
  161. <TexCoords left="0.41601563" right="0.54101563" top="0.53710938" bottom="0.59960938"/>
  162. </Texture>
  163. </Layer>
  164. <Layer level="OVERLAY">
  165. <Texture name="$parentBevelEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" parentKey="bevel">
  166. <Size x="50" y="50"/>
  167. <Anchors>
  168. <Anchor point="CENTER" x="0" y="0"/>
  169. </Anchors>
  170. <TexCoords left="0" right="0.5" top="0.5" bottom="1.0"/>
  171. </Texture>
  172. <Texture name="$parentDisableTexture" hidden="true">
  173. <Size x="50" y="50"/>
  174. <Anchors>
  175. <Anchor point="CENTER" x="0" y="0"/>
  176. </Anchors>
  177. <Color r="0.0" g="0.0" b="0.0" a="0.75"/>
  178. </Texture>
  179. </Layer>
  180. </Layers>
  181. <Scripts>
  182. <OnMouseDown>
  183. if( self:IsEnabled() == 1 ) then
  184. _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 2, -2);
  185. _G[self:GetName().."Shadow"]:SetSize(70, 70);
  186. end
  187. </OnMouseDown>
  188. <OnMouseUp>
  189. if( self:IsEnabled() == 1 ) then
  190. _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 0, 0);
  191. _G[self:GetName().."Shadow"]:SetSize(76, 76);
  192. end
  193. </OnMouseUp>
  194. <OnEnable>
  195. self.nameFrame.text:SetFontObject("GlueFontNormalSmall");
  196. </OnEnable>
  197. <OnDisable>
  198. self.nameFrame.text:SetFontObject("GlueFontDisableSmall");
  199. </OnDisable>
  200. </Scripts>
  201. <HighlightTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD">
  202. <Size x="64" y="64"/>
  203. <Anchors>
  204. <Anchor point="CENTER" x="1" y="-1"/>
  205. </Anchors>
  206. <TexCoords left="0.79296875" right="0.95312500" top="0.08300781" bottom="0.16308594"/>
  207. </HighlightTexture>
  208. <CheckedTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD">
  209. <Size x="64" y="64"/>
  210. <Anchors>
  211. <Anchor point="CENTER" x="1" y="-1"/>
  212. </Anchors>
  213. <TexCoords left="0.79296875" right="0.95312500" top="0.00097656" bottom="0.08105469"/>
  214. </CheckedTexture>
  215. <Frames>
  216. <Frame name="$parentNameFrame" parentKey="nameFrame">
  217. <Size x="56" y="56"/>
  218. <Anchors>
  219. <Anchor point="BOTTOM"/>
  220. </Anchors>
  221. <Layers>
  222. <Layer level="BACKGROUND">
  223. <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  224. <Size x="89" y="49"/>
  225. <Anchors>
  226. <Anchor point="BOTTOM" x="2" y="-27"/>
  227. </Anchors>
  228. <TexCoords left="0.63476563" right="0.80859375" top="0.43359375" bottom="0.48144531"/>
  229. </Texture>
  230. </Layer>
  231. <Layer level="ARTWORK">
  232. <FontString name="$parentText" inherits="GlueFontNormalSmall" parentKey="text">
  233. <Anchors>
  234. <Anchor point="BOTTOM" x="2" y="-7"/>
  235. </Anchors>
  236. </FontString>
  237. </Layer>
  238. </Layers>
  239. </Frame>
  240. </Frames>
  241. <Scripts>
  242. <OnEnter>
  243. if ( self.tooltip ) then
  244. --CharacterCreateTooltip:SetOwner(self, -3, -5);
  245. --CharacterCreateTooltip:SetText(self.tooltip);
  246. end
  247. </OnEnter>
  248. <OnLeave>
  249. CharacterCreateTooltip:Hide();
  250. </OnLeave>
  251. </Scripts>
  252. </CheckButton>
  253. <CheckButton name="CharCreateRaceButtonTemplate" inherits="CharCreateIconButtonTemplate" virtual="true">
  254. <Scripts>
  255. <OnClick>
  256. CharacterRace_OnClick(self, self:GetID());
  257. </OnClick>
  258. </Scripts>
  259. <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Races"/>
  260. <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Races">
  261. <Size x="50" y="50"/>
  262. <Anchors>
  263. <Anchor point="CENTER" x="2" y="-2"/>
  264. </Anchors>
  265. </PushedTexture>
  266. </CheckButton>
  267. <CheckButton name="CharCreateClassButtonTemplate" virtual="true" motionScriptsWhileDisabled="true">
  268. <Size x="44" y="44"/>
  269. <Layers>
  270. <Layer level="BACKGROUND">
  271. <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  272. <Size x="60" y="60"/>
  273. <Anchors>
  274. <Anchor point="CENTER" x="0" y="0"/>
  275. </Anchors>
  276. <TexCoords left="0.41601563" right="0.54101563" top="0.53710938" bottom="0.59960938"/>
  277. </Texture>
  278. </Layer>
  279. <Layer level="OVERLAY">
  280. <Texture name="$parentBevelEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" parentKey="bevel">
  281. <Size x="44" y="44"/>
  282. <Anchors>
  283. <Anchor point="CENTER" x="0" y="0"/>
  284. </Anchors>
  285. <TexCoords left="0" right="0.5" top="0.5" bottom="1.0"/>
  286. </Texture>
  287. <Texture name="$parentDisableTexture" hidden="true">
  288. <Size x="44" y="44"/>
  289. <Anchors>
  290. <Anchor point="CENTER" x="0" y="0"/>
  291. </Anchors>
  292. <Color r="0.0" g="0.0" b="0.0" a="0.75"/>
  293. </Texture>
  294. </Layer>
  295. </Layers>
  296. <Scripts>
  297. <OnMouseDown>
  298. if( self:IsEnabled() == 1 ) then
  299. _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 2, -2);
  300. _G[self:GetName().."Shadow"]:SetSize(63, 63);
  301. end
  302. </OnMouseDown>
  303. <OnMouseUp>
  304. if( self:IsEnabled() == 1 ) then
  305. _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 0, 0);
  306. _G[self:GetName().."Shadow"]:SetSize(68, 68);
  307. end
  308. </OnMouseUp>
  309. <OnEnable>
  310. self.nameFrame.text:SetFontObject("GlueFontNormalSmall");
  311. </OnEnable>
  312. <OnDisable>
  313. self.nameFrame.text:SetFontObject("GlueFontDisableSmall");
  314. </OnDisable>
  315. </Scripts>
  316. <HighlightTexture name="Highlight-Square" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD">
  317. <Size x="56" y="56"/>
  318. <Anchors>
  319. <Anchor point="CENTER" x="1" y="-1"/>
  320. </Anchors>
  321. <TexCoords left="0.79296875" right="0.95312500" top="0.08300781" bottom="0.16308594"/>
  322. </HighlightTexture>
  323. <CheckedTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD">
  324. <Size x="56" y="56"/>
  325. <Anchors>
  326. <Anchor point="CENTER" x="1" y="-1"/>
  327. </Anchors>
  328. <TexCoords left="0.79296875" right="0.95312500" top="0.00097656" bottom="0.08105469"/>
  329. </CheckedTexture>
  330. <Frames>
  331. <Frame name="$parentNameFrame" parentKey="nameFrame">
  332. <Size x="64" y="64"/>
  333. <Anchors>
  334. <Anchor point="BOTTOM"/>
  335. </Anchors>
  336. <Layers>
  337. <Layer level="BACKGROUND">
  338. <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  339. <Size x="97" y="57"/>
  340. <Anchors>
  341. <Anchor point="BOTTOM" x="2" y="-31"/>
  342. </Anchors>
  343. <TexCoords left="0.63476563" right="0.80859375" top="0.43359375" bottom="0.48144531"/>
  344. </Texture>
  345. </Layer>
  346. <Layer level="ARTWORK">
  347. <FontString name="$parentText" inherits="GlueFontNormalSmall" parentKey="text">
  348. <Size x="0" y="0"/>
  349. <Anchors>
  350. <Anchor point="TOP" x="2" y="-59"/>
  351. </Anchors>
  352. </FontString>
  353. </Layer>
  354. </Layers>
  355. </Frame>
  356. </Frames>
  357. <Layers>
  358. <Layer level="BACKGROUND">
  359. <Texture file="Interface\Glues\CharacterSelect\Glue-CharacterSelect-Highlight" alphaMode="ADD" parentKey="selection" hidden="true">
  360. <Size>
  361. <AbsDimension x="256" y="96"/>
  362. </Size>
  363. <Anchors>
  364. <Anchor point="LEFT" x="-38" y="-2"/>
  365. </Anchors>
  366. </Texture>
  367. </Layer>
  368. <Layer level="OVERLAY">
  369. <FontString parentKey="text" inherits="QuestFontNormalHuge" hidden="true">
  370. <Anchors>
  371. <Anchor point="LEFT" relativePoint="RIGHT" x="20" y="0"/>
  372. </Anchors>
  373. </FontString>
  374. </Layer>
  375. </Layers>
  376. <Scripts>
  377. <OnClick>
  378. CharacterClass_OnClick(self, self:GetID());
  379. </OnClick>
  380. <OnEnter>
  381. if ( self.tooltip ) then
  382. CharacterCreateTooltip:SetOwner(self, -3, -5);
  383. CharacterCreateTooltip:SetText(self.tooltip);
  384. end
  385. </OnEnter>
  386. <OnLeave>
  387. CharacterCreateTooltip:Hide();
  388. </OnLeave>
  389. </Scripts>
  390. <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes"/>
  391. <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
  392. <Size x="44" y="44"/>
  393. <Anchors>
  394. <Anchor point="CENTER" x="2" y="-2"/>
  395. </Anchors>
  396. </PushedTexture>
  397. </CheckButton>
  398. <Button name="CharCreateNavButtonTemplate" inherits="GlueButtonTemplate" virtual="true">
  399. <Size x="124" y="62"/>
  400. <Layers>
  401. <Layer level="OVERLAY">
  402. <Texture name="$parentRightEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  403. <Size x="16" y="48"/>
  404. <Anchors>
  405. <Anchor point="RIGHT" x="-4" y="3"/>
  406. </Anchors>
  407. <TexCoords left="0.95703125" right="0.98828125" top="0.00097656" bottom="0.04785156"/>
  408. </Texture>
  409. <Texture name="$parentLeftEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  410. <Size x="16" y="48"/>
  411. <Anchors>
  412. <Anchor point="LEFT" x="4" y="3"/>
  413. </Anchors>
  414. <TexCoords left="0.95703125" right="0.98828125" top="0.08300781" bottom="0.12988281"/>
  415. </Texture>
  416. <Texture name="$parentTopEdge" file="Interface\Glues\CharacterCreate\ButtonFrame-Mid">
  417. <Size x="0" y="32"/>
  418. <Anchors>
  419. <Anchor point="RIGHT" relativeTo="$parentRightEdge" relativePoint="LEFT" x="0" y="16"/>
  420. <Anchor point="LEFT" relativeTo="$parentLeftEdge" relativePoint="RIGHT" x="0" y="16"/>
  421. </Anchors>
  422. <TexCoords left="0" right="1" top="0" bottom="0.5"/>
  423. </Texture>
  424. <Texture name="$parentBottomEdge" file="Interface\Glues\CharacterCreate\ButtonFrame-Mid">
  425. <Size x="0" y="32"/>
  426. <Anchors>
  427. <Anchor point="RIGHT" relativeTo="$parentRightEdge" relativePoint="LEFT" x="0" y="-16"/>
  428. <Anchor point="LEFT" relativeTo="$parentLeftEdge" relativePoint="RIGHT" x="0" y="-16"/>
  429. </Anchors>
  430. <TexCoords left="0" right="1" top="0.5" bottom="1"/>
  431. </Texture>
  432. </Layer>
  433. </Layers>
  434. <Scripts>
  435. <OnUpdate>
  436. CharacterCreate_DeathKnightSwap(self);
  437. </OnUpdate>
  438. </Scripts>
  439. </Button>
  440. <Button name="CharCreateChangeStyleButtonTemplate" inherits="CharCreateNavButtonTemplate" virtual="true">
  441. <Size x="110" y="62"/>
  442. <Layers>
  443. <Layer level="OVERLAY" textureSubLevel="1">
  444. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="arrow">
  445. <Size x="33" y="44"/>
  446. <Anchors>
  447. <Anchor point="CENTER" x="0" y="3"/>
  448. </Anchors>
  449. <TexCoords left="0.54492188" right="0.60937500" top="0.53710938" bottom="0.58007813"/>
  450. </Texture>
  451. </Layer>
  452. </Layers>
  453. <Scripts>
  454. <OnMouseDown>
  455. if ( self:IsEnabled() ) then
  456. self.arrow:SetPoint("CENTER", 1, 2);
  457. end
  458. </OnMouseDown>
  459. <OnMouseUp>
  460. self.arrow:SetPoint("CENTER", 0, 3);
  461. </OnMouseUp>
  462. </Scripts>
  463. </Button>
  464. <CheckButton name="CharCreateCustomizationButtonTemplate" virtual="true">
  465. <HitRectInsets>
  466. <AbsInset left="8" right="8" top="8" bottom="8"/>
  467. </HitRectInsets>
  468. <Size x="162" y="46"/>
  469. <Layers>
  470. <Layer level="ARTWORK">
  471. <FontString name="$parentText" inherits="GlueFontNormal" parentKey="text">
  472. <Anchors>
  473. <Anchor point="CENTER" x="0" y="0"/>
  474. </Anchors>
  475. </FontString>
  476. </Layer>
  477. </Layers>
  478. <NormalTexture name="CustomizeButton-Up" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  479. <Size x="214" y="85"/>
  480. <TexCoords left="0.00195313" right="0.41992188" top="0.60351563" bottom="0.68652344"/>
  481. </NormalTexture>
  482. <PushedTexture name="CustomizeButton-Down" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  483. <Size x="214" y="85"/>
  484. <TexCoords left="0.00195313" right="0.41992188" top="0.60351563" bottom="0.68652344"/>
  485. </PushedTexture>
  486. <HighlightTexture name="CustomizeButton-Highlight" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD">
  487. <Size x="214" y="85"/>
  488. <TexCoords left="0.00195313" right="0.41992188" top="0.60351563" bottom="0.68652344"/>
  489. </HighlightTexture>
  490. <Scripts>
  491. <OnMouseDown>
  492. self.text:SetPoint("CENTER", 1, -1);
  493. </OnMouseDown>
  494. <OnMouseUp>
  495. self.text:SetPoint("CENTER", 0, 0);
  496. </OnMouseUp>
  497. <OnClick>
  498. PlaySound("gsCharacterCreationClass");
  499. CharCreateSelectCustomizationType(self:GetID());
  500. </OnClick>
  501. </Scripts>
  502. </CheckButton>
  503. <Frame name="CharCreatePanelTemplate" virtual="true">
  504. <Size x="243" y="744"/>
  505. <Layers>
  506. <Layer level="BACKGROUND">
  507. <Texture parentKey="factionBg">
  508. <Anchors>
  509. <Anchor point="TOPLEFT" x="8" y="-10"/>
  510. <Anchor point="BOTTOMRIGHT" x="-8" y="10"/>
  511. </Anchors>
  512. <Color r="1" g="1" b="1" a="0.75"/>
  513. <Gradient orientation="VERTICAL">
  514. <MaxColor r="0.2" g="0" b="0"/>
  515. <MinColor r="0" g="0" b="0"/>
  516. </Gradient>
  517. </Texture>
  518. </Layer>
  519. <Layer level="ARTWORK">
  520. <Texture name="$parentTopEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  521. <Size x="243" y="48"/>
  522. <Anchors>
  523. <Anchor point="TOP"/>
  524. </Anchors>
  525. <TexCoords left="0.42382813" right="0.89843750" top="0.68847656" bottom="0.73535156"/>
  526. </Texture>
  527. <Texture name="$parentBottomEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  528. <Size x="243" y="46"/>
  529. <Anchors>
  530. <Anchor point="BOTTOM"/>
  531. </Anchors>
  532. <TexCoords left="0.42382813" right="0.89843750" top="0.73730469" bottom="0.78222656"/>
  533. </Texture>
  534. </Layer>
  535. <Layer level="ARTWORK" textureSubLevel="-1">
  536. <Texture name="$parentRightEdge" file="Interface\Glues\CharacterCreate\Frame-Sides">
  537. <Size x="16" y="0"/>
  538. <Anchors>
  539. <Anchor point="TOPRIGHT" relativeTo="$parentTopEdge" relativePoint="BOTTOMRIGHT" x="0" y="10"/>
  540. <Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomEdge" relativePoint="TOPRIGHT" x="0" y="-10"/>
  541. </Anchors>
  542. <TexCoords left="0" right="0.5" top="0" bottom="1"/>
  543. </Texture>
  544. <Texture name="$parentLeftEdge" file="Interface\Glues\CharacterCreate\Frame-Sides">
  545. <Size x="16" y="0"/>
  546. <Anchors>
  547. <Anchor point="TOPLEFT" relativeTo="$parentTopEdge" relativePoint="BOTTOMLEFT" x="0" y="10"/>
  548. <Anchor point="BOTTOMLEFT" relativeTo="$parentBottomEdge" relativePoint="TOPLEFT" x="0" y="-10"/>
  549. </Anchors>
  550. <TexCoords left="0.5" right="1" top="0" bottom="1"/>
  551. </Texture>
  552. </Layer>
  553. </Layers>
  554. </Frame>
  555. <Frame name="CharacterCreateInfoTemplate" hidden="true" virtual="true" inherits="CharCreatePanelTemplate">
  556. <Size>
  557. <AbsDimension x="243" y="300"/>
  558. </Size>
  559. <!--
  560. <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
  561. <EdgeSize>
  562. <AbsValue val="16"/>
  563. </EdgeSize>
  564. <TileSize>
  565. <AbsValue val="16"/>
  566. </TileSize>
  567. <BackgroundInsets>
  568. <AbsInset left="3" right="3" top="27" bottom="3"/>
  569. </BackgroundInsets>
  570. </Backdrop>
  571. -->
  572. <Layers>
  573. <Layer level="BORDER">
  574. <Texture name="$parentHeaderTex">
  575. <Size x="0" y="32"/>
  576. <Anchors>
  577. <Anchor point="TOPLEFT" x="6" y="-8"/>
  578. <Anchor point="TOPRIGHT" x="-6" y="-8"/>
  579. </Anchors>
  580. <Color r="0" g="0" b="0" a="1"/>
  581. </Texture>
  582. </Layer>
  583. <Layer level="ARTWORK">
  584. <FontString name="$parentTitle" inherits="FactionName_Shadow_Huge" parentKey="title">
  585. <Anchors>
  586. <Anchor point="LEFT" relativeTo="$parentHeaderTex" x="24" y="-2"/>
  587. </Anchors>
  588. <Color r="1" g="1" b="1"/>
  589. </FontString>
  590. </Layer>
  591. </Layers>
  592. <Frames>
  593. <ScrollFrame name="$parentScrollFrame" inherits="GlueScrollFrameTemplate" parentKey="scrollFrame">
  594. <Size x="210" y="0"/>
  595. <Anchors>
  596. <Anchor point="TOPLEFT" relativeTo="$parentHeaderTex" relativePoint="BOTTOMLEFT" x="11" y="0"/>
  597. <Anchor point="TOPRIGHT" relativeTo="$parentHeaderTex" relativePoint="BOTTOMRIGHT" x="-31" y="0"/>
  598. <Anchor point="BOTTOM" x="0" y="16"/>
  599. </Anchors>
  600. <Layers>
  601. <Layer level="BACKGROUND">
  602. <Texture>
  603. <Anchors>
  604. <Anchor point="TOPLEFT" relativeTo="$parentScrollBar" x="-3" y="18"/>
  605. <Anchor point="BOTTOMRIGHT" relativeTo="$parentScrollBar" x="1" y="-18"/>
  606. </Anchors>
  607. <Color r="0" g="0" b="0" a="0.5"/>
  608. </Texture>
  609. </Layer>
  610. <Layer level="BORDER">
  611. <Texture file="Interface\Glues\CharacterCreate\Frame-Sides" parentKey="c">
  612. <Size x="16" y="0"/>
  613. <Anchors>
  614. <Anchor point="TOPRIGHT" x="15" y="10"/>
  615. <Anchor point="BOTTOMRIGHT" x="15" y="10"/>
  616. </Anchors>
  617. <TexCoords left="0.5" right="1" top="0" bottom="1"/>
  618. </Texture>
  619. </Layer>
  620. <Layer level="ARTWORK">
  621. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="a">
  622. <Size x="51" y="33"/>
  623. <Anchors>
  624. <Anchor point="TOPRIGHT" x="31" y="32"/>
  625. </Anchors>
  626. <TexCoords left="0.1875" right="0.28710938" top="0.9375" bottom="0.96972656"/>
  627. </Texture>
  628. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="b">
  629. <Size x="51" y="33"/>
  630. <Anchors>
  631. <Anchor point="BOTTOMRIGHT" x="31" y="-9"/>
  632. </Anchors>
  633. <TexCoords left="0.1875" right="0.28710938" top="0.96972656" bottom="0.9375"/>
  634. </Texture>
  635. </Layer>
  636. </Layers>
  637. <Scripts>
  638. <OnLoad>
  639. local scrollBar = _G[self:GetName().."ScrollBar"];
  640. scrollBar:ClearAllPoints();
  641. scrollBar:SetPoint("TOPLEFT", self, "TOPRIGHT", 11, 10);
  642. scrollBar:SetPoint("BOTTOMLEFT", self, "BOTTOMRIGHT", 11, 12);
  643. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  644. </OnLoad>
  645. <OnScrollRangeChanged>
  646. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  647. </OnScrollRangeChanged>
  648. </Scripts>
  649. <ScrollChild>
  650. <Frame name="$parentScrollChild" parentKey="scrollChild">
  651. <Size x="210" y="10"/>
  652. <Layers>
  653. <Layer level="BACKGROUND">
  654. <FontString name="$parentBulletText" inherits="GlueFontNormalSmall" justifyH="LEFT" parentKey="bulletText">
  655. <Size x="190" y="0"/>
  656. <Anchors>
  657. <Anchor point="TOPLEFT" x="0" y="0"/>
  658. </Anchors>
  659. </FontString>
  660. <FontString name="$parentInfoText" inherits="GlueFontCharacterCreate" justifyH="LEFT" parentKey="infoText">
  661. <Size x="190" y="0"/>
  662. <Anchors>
  663. <Anchor point="TOPLEFT" relativeTo="$parentBulletText" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
  664. </Anchors>
  665. </FontString>
  666. </Layer>
  667. </Layers>
  668. </Frame>
  669. </ScrollChild>
  670. </ScrollFrame>
  671. </Frames>
  672. </Frame>
  673. <Frame name="CharacterCustomizationFrameTemplate" virtual="true">
  674. <Size>
  675. <AbsDimension x="230" y="32"/>
  676. </Size>
  677. <Layers>
  678. <Layer level="BACKGROUND">
  679. <Texture name="$parentLeft" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  680. <Size x="25" y="64"/>
  681. <Anchors>
  682. <Anchor point="LEFT" x="-5" y="0"/>
  683. </Anchors>
  684. <TexCoords left="0" right="0.1953125" top="0" bottom="1"/>
  685. </Texture>
  686. <Texture name="$parentRight" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  687. <Size x="25" y="64"/>
  688. <Anchors>
  689. <Anchor point="RIGHT" x="-44" y="0"/>
  690. </Anchors>
  691. <TexCoords left="0.8046875" right="1" top="0" bottom="1"/>
  692. </Texture>
  693. <Texture name="$parentMiddle" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  694. <Size x="40" y="64"/>
  695. <Anchors>
  696. <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
  697. <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
  698. </Anchors>
  699. <TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1"/>
  700. </Texture>
  701. <FontString name="$parentText" inherits="GlueFontHighlightSmall">
  702. <Anchors>
  703. <Anchor point="CENTER" relativeTo="$parentMiddle" x="0" y="2"/>
  704. </Anchors>
  705. </FontString>
  706. </Layer>
  707. </Layers>
  708. <Frames>
  709. <Button name="$parentRightButton">
  710. <Size x="32" y="32"/>
  711. <Anchors>
  712. <Anchor point="RIGHT"/>
  713. </Anchors>
  714. <Scripts>
  715. <OnClick>
  716. CharacterCustomization_Right(self:GetParent():GetID());
  717. </OnClick>
  718. </Scripts>
  719. <NormalTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Up"/>
  720. <PushedTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Down"/>
  721. <HighlightTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Highlight" alphaMode="ADD"/>
  722. </Button>
  723. <Button name="$parentLeftButton">
  724. <Size x="32" y="32"/>
  725. <Anchors>
  726. <Anchor point="RIGHT" relativeTo="$parentRightButton" relativePoint="LEFT" x="3" y="0"/>
  727. </Anchors>
  728. <Scripts>
  729. <OnClick>
  730. CharacterCustomization_Left(self:GetParent():GetID());
  731. </OnClick>
  732. </Scripts>
  733. <NormalTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Up"/>
  734. <PushedTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Down"/>
  735. <HighlightTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Highlight" alphaMode="ADD"/>
  736. </Button>
  737. </Frames>
  738. </Frame>
  739. <CheckButton name="CharacterCreateGenderButtonTemplate" virtual="true">
  740. <Size x="38" y="38"/>
  741. <Layers>
  742. <Layer level="BACKGROUND">
  743. <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-IconShadow">
  744. <Size x="58" y="58"/>
  745. <Anchors>
  746. <Anchor point="CENTER" x="0" y="0"/>
  747. </Anchors>
  748. <Color r="1.0" g="1.0" b="1.0" a="0.85"/>
  749. </Texture>
  750. </Layer>
  751. <Layer level="OVERLAY">
  752. <Texture name="$parentBevelEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights">
  753. <Size x="38" y="38"/>
  754. <Anchors>
  755. <Anchor point="CENTER" x="0" y="0"/>
  756. </Anchors>
  757. <TexCoords left="0" right="0.5" top="0.5" bottom="1.0"/>
  758. </Texture>
  759. <Texture name="$parentDisableTexture" hidden="true">
  760. <Size x="38" y="38"/>
  761. <Anchors>
  762. <Anchor point="CENTER" x="0" y="0"/>
  763. </Anchors>
  764. <Color r="0.0" g="0.0" b="0.0" a="0.75"/>
  765. </Texture>
  766. </Layer>
  767. </Layers>
  768. <Scripts>
  769. <OnMouseDown>
  770. if( self:IsEnabled() == 1 ) then
  771. _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 2, -2);
  772. _G[self:GetName().."Shadow"]:SetSize(52, 52);
  773. end
  774. </OnMouseDown>
  775. <OnMouseUp>
  776. if( self:IsEnabled() == 1 ) then
  777. _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 0, 0);
  778. _G[self:GetName().."Shadow"]:SetSize(58, 58);
  779. end
  780. </OnMouseUp>
  781. <OnLeave>
  782. CharacterCreateTooltip:Hide();
  783. </OnLeave>
  784. </Scripts>
  785. <HighlightTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" alphaMode="ADD">
  786. <TexCoords left="0" right="0.5" top="0" bottom="0.5"/>
  787. </HighlightTexture>
  788. <CheckedTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" alphaMode="ADD">
  789. <TexCoords left="0.5" right="1" top="0" bottom="0.5"/>
  790. </CheckedTexture>
  791. <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Gender"/>
  792. <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Gender">
  793. <Size x="38" y="38"/>
  794. <Anchors>
  795. <Anchor point="CENTER" x="2" y="-2"/>
  796. </Anchors>
  797. </PushedTexture>
  798. </CheckButton>
  799. <Frame name="CharCreatePreviewFrameTemplate" virtual="true">
  800. <Size x="128" y="118"/>
  801. <Layers>
  802. <Layer level="BACKGROUND">
  803. <Texture>
  804. <Anchors>
  805. <Anchor point="TOPLEFT" x="0" y="-3"/>
  806. <Anchor point="BOTTOMRIGHT" x="0" y="0"/>
  807. </Anchors>
  808. <Color r="0" g="0" b="0" a="0.4"/>
  809. </Texture>
  810. </Layer>
  811. </Layers>
  812. <Frames>
  813. <Model name="$parentModel" parentKey="model">
  814. <Size x="122" y="114"/>
  815. <Anchors>
  816. <Anchor point="CENTER"/>
  817. </Anchors>
  818. </Model>
  819. <Button parentKey="button" frameStrata="HIGH" setAllPoints="true">
  820. <Layers>
  821. <Layer level="BACKGROUND">
  822. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  823. <Size x="154" y="146"/>
  824. <Anchors>
  825. <Anchor point="CENTER"/>
  826. </Anchors>
  827. <TexCoords left="0.63476563" right="0.84960938" top="0.33007813" bottom="0.43164063"/>
  828. </Texture>
  829. </Layer>
  830. <Layer level="OVERLAY">
  831. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD" parentKey="highlight" hidden="true">
  832. <Anchors>
  833. <Anchor point="TOPLEFT" x="-8" y="8"/>
  834. <Anchor point="BOTTOMRIGHT" x="8" y="-8"/>
  835. </Anchors>
  836. <TexCoords left="0.41601563" right="0.63085938" top="0.33007813" bottom="0.43164063"/>
  837. </Texture>
  838. </Layer>
  839. </Layers>
  840. <Scripts>
  841. <OnEnter>
  842. self.highlight:Show();
  843. </OnEnter>
  844. <OnLeave>
  845. self.highlight:Hide();
  846. </OnLeave>
  847. <OnClick function="CharCreatePreviewFrameButton_OnClick"/>
  848. </Scripts>
  849. </Button>
  850. </Frames>
  851. </Frame>
  852.  
  853. <ModelFFX name="CharacterCreate" toplevel="true" parent="GlueParent" setAllPoints="true" enableKeyboard="true" hidden="true">
  854. <Frames>
  855. <Frame name="CharacterCreateFrame" setAllPoints="true" enableMouse="true">
  856. <Frames>
  857. <Button name="CharacterCreateRotateLeft">
  858. <Size x="50" y="50"/>
  859. <Anchors>
  860. <Anchor point="BOTTOM" x="-15" y="-1"/>
  861. </Anchors>
  862. <HitRectInsets>
  863. <AbsInset left="13" right="13" top="10" bottom="13"/>
  864. </HitRectInsets>
  865. <Scripts>
  866. <OnLoad>
  867. self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
  868. </OnLoad>
  869. <OnClick>
  870. PlaySound("igInventoryRotateCharacter");
  871. </OnClick>
  872. <OnUpdate>
  873. CharacterCreateRotateLeft_OnUpdate(self);
  874. </OnUpdate>
  875. </Scripts>
  876. <NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up">
  877. <TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
  878. </NormalTexture>
  879. <PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down">
  880. <TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
  881. </PushedTexture>
  882. <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
  883. <Size x="30" y="30"/>
  884. <Anchors>
  885. <Anchor point="CENTER" x="0" y="0"/>
  886. </Anchors>
  887. </HighlightTexture>
  888. </Button>
  889. <Button name="CharacterCreateRotateRight">
  890. <Size x="50" y="50"/>
  891. <Anchors>
  892. <Anchor point="LEFT" relativeTo="CharacterCreateRotateLeft" relativePoint="RIGHT" x="-19" y="0"/>
  893. </Anchors>
  894. <HitRectInsets>
  895. <AbsInset left="13" right="13" top="10" bottom="13"/>
  896. </HitRectInsets>
  897. <Scripts>
  898. <OnLoad>
  899. self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
  900. </OnLoad>
  901. <OnClick>
  902. PlaySound("igInventoryRotateCharacter");
  903. </OnClick>
  904. <OnUpdate>
  905. CharacterCreateRotateRight_OnUpdate(self);
  906. </OnUpdate>
  907. </Scripts>
  908. <NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up"/>
  909. <PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down"/>
  910. <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
  911. <Size x="30" y="30"/>
  912. <Anchors>
  913. <Anchor point="CENTER" x="0" y="0"/>
  914. </Anchors>
  915. </HighlightTexture>
  916. </Button>
  917. <Button name="CharCreateBackButton" inherits="CharCreateNavButtonTemplate" text="BACK">
  918. <Anchors>
  919. <Anchor point="BOTTOM" x="-132" y="-6"/>
  920. </Anchors>
  921. <Layers>
  922. <Layer level="OVERLAY" textureSubLevel="1">
  923. <Texture name="$parentArrow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  924. <Size x="33" y="44"/>
  925. <Anchors>
  926. <Anchor point="LEFT" x="-9" y="3"/>
  927. </Anchors>
  928. <TexCoords left="0.54492188" right="0.60937500" top="0.53710938" bottom="0.58007813"/>
  929. </Texture>
  930. </Layer>
  931. </Layers>
  932. <Scripts>
  933. <OnClick function="CharacterCreate_Back"/>
  934. </Scripts>
  935. </Button>
  936. <Button name="CharCreateOkayButton" inherits="CharCreateNavButtonTemplate" text="CUSTOMIZE">
  937. <Anchors>
  938. <Anchor point="BOTTOM" x="137" y="-6"/>
  939. </Anchors>
  940. <Layers>
  941. <Layer level="OVERLAY" textureSubLevel="1">
  942. <Texture name="$parentTopGlow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="TopGlow">
  943. <Size x="117" y="32"/>
  944. <Anchors>
  945. <Anchor point="TOP" x="0" y="18"/>
  946. </Anchors>
  947. <TexCoords left="0.18750000" right="0.41601563" top="0.89257813" bottom="0.92382813"/>
  948. </Texture>
  949. <Texture name="$parentBottomGlow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="BottomGlow">
  950. <Size x="117" y="32"/>
  951. <Anchors>
  952. <Anchor point="BOTTOM" x="0" y="-13"/>
  953. </Anchors>
  954. <TexCoords left="0.18750000" right="0.41601563" top="0.92382813" bottom="0.89257813"/>
  955. </Texture>
  956. <Texture name="$parentArrow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="Arrow">
  957. <Size x="33" y="44"/>
  958. <Anchors>
  959. <Anchor point="RIGHT" x="10" y="3"/>
  960. </Anchors>
  961. <TexCoords left="0.81250000" right="0.87695313" top="0.43359375" bottom="0.47656250"/>
  962. </Texture>
  963. </Layer>
  964. </Layers>
  965. <Scripts>
  966. <OnClick function="CharacterCreate_Forward"/>
  967. </Scripts>
  968. </Button>
  969. <EditBox name="CharacterCreateNameEdit" letters="12" hidden="true">
  970. <Size x="156" y="40"/>
  971. <Anchors>
  972. <Anchor point="BOTTOM" x="0" y="64"/>
  973. </Anchors>
  974. <Layers>
  975. <Layer level="BORDER">
  976. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  977. <Size x="117" y="32"/>
  978. <Anchors>
  979. <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-3"/>
  980. </Anchors>
  981. <TexCoords left="0.18750000" right="0.41601563" top="0.89257813" bottom="0.92382813"/>
  982. </Texture>
  983. </Layer>
  984. <Layer level="ARTWORK">
  985. <FontString inherits="FactionName_Shadow_Huge" text="NAME">
  986. <Size x="256" y="64"/>
  987. <Anchors>
  988. <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-23"/>
  989. </Anchors>
  990. </FontString>
  991. </Layer>
  992. </Layers>
  993. <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
  994. <BackgroundInsets>
  995. <AbsInset left="10" right="5" top="4" bottom="9"/>
  996. </BackgroundInsets>
  997. <TileSize>
  998. <AbsValue val="16"/>
  999. </TileSize>
  1000. <EdgeSize>
  1001. <AbsValue val="16"/>
  1002. </EdgeSize>
  1003. </Backdrop>
  1004. <Scripts>
  1005. <OnEscapePressed>
  1006. CharacterCreate_Back();
  1007. </OnEscapePressed>
  1008. <OnEnterPressed>
  1009. CharacterCreate_Forward();
  1010. </OnEnterPressed>
  1011. </Scripts>
  1012. <FontString inherits="GlueEditBoxFont"/>
  1013. <TextInsets>
  1014. <AbsInset left="15"/>
  1015. </TextInsets>
  1016. </EditBox>
  1017. <Button name="CharacterCreateRandomName" inherits="GlueButtonSmallTemplate" text="RANDOMIZE" hidden="true">
  1018. <Size x="146" y="30"/>
  1019. <Anchors>
  1020. <Anchor point="TOP" relativeTo="CharacterCreateNameEdit" relativePoint="BOTTOM" x="0" y="6"/>
  1021. </Anchors>
  1022. <Scripts>
  1023. <OnLoad>
  1024. self:SetWidth(self:GetTextWidth() + 50);
  1025. </OnLoad>
  1026. <OnClick>
  1027. CharacterCreate_GenerateRandomName(self);
  1028. CharCreateOkayButton:Disable();
  1029. </OnClick>
  1030. <OnUpdate>
  1031. CharacterCreate_DeathKnightSwap(self);
  1032. </OnUpdate>
  1033. </Scripts>
  1034. </Button>
  1035. <Frame name="CharCreateRaceFrame">
  1036. <Size x="243" y="104"/>
  1037. <Anchors>
  1038. <Anchor point="TOPLEFT" x="3" y="-3"/>
  1039. </Anchors>
  1040. <Layers>
  1041. <Layer level="BACKGROUND" textureSubLevel="-1">
  1042. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1043. <Size x="143" y="48"/>
  1044. <Anchors>
  1045. <Anchor point="TOPLEFT" x="30" y="-83"/>
  1046. </Anchors>
  1047. <TexCoords left="0.42382813" right="0.703125" top="0.68847656" bottom="0.73535156"/>
  1048. </Texture>
  1049. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1050. <Size x="143" y="48"/>
  1051. <Anchors>
  1052. <Anchor point="TOPRIGHT" x="-30" y="-83"/>
  1053. </Anchors>
  1054. <TexCoords left="0.61914063" right="0.89843750" top="0.68847656" bottom="0.73535156"/>
  1055. </Texture>
  1056. </Layer>
  1057. <Layer level="ARTWORK">
  1058. <FontString name="CharCreateCustomizationLabel" inherits="FactionName_Shadow_Huge" text="CUSTOMIZE_OPTIONS" hidden="true">
  1059. <Anchors>
  1060. <Anchor point="TOP" x="0" y="-26"/>
  1061. </Anchors>
  1062. <Color r="1.0" g="0.82" b="0.0"/>
  1063. </FontString>
  1064. </Layer>
  1065. </Layers>
  1066. <Frames>
  1067. <Frame name="CharCreateRaceInfoFrame" inherits="CharacterCreateInfoTemplate">
  1068. <Anchors>
  1069. <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-28" y="-607"/>
  1070. </Anchors>
  1071. </Frame>
  1072. <Frame name="CharCreateRaceButtonsFrame" setAllPoints="true">
  1073. <Layers>
  1074. <Layer level="BACKGROUND" textureSubLevel="-2">
  1075. <Texture name="$parentBanners" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1076. <Size x="186" y="566"/>
  1077. <Anchors>
  1078. <Anchor point="TOP" x="0" y="-96"/>
  1079. </Anchors>
  1080. <TexCoords left="0.00195313" right="0.41210938" top="0.00097656" bottom="0.60156250"/>
  1081. </Texture>
  1082. </Layer>
  1083. <Layer level="BACKGROUND" textureSubLevel="-1">
  1084. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1085. <Size x="143" y="48"/>
  1086. <Anchors>
  1087. <Anchor point="TOPLEFT" x="29" y="-84"/>
  1088. </Anchors>
  1089. <TexCoords left="0.42382813" right="0.703125" top="0.68847656" bottom="0.73535156"/>
  1090. </Texture>
  1091. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1092. <Size x="143" y="48"/>
  1093. <Anchors>
  1094. <Anchor point="TOPRIGHT" x="-29" y="-84"/>
  1095. </Anchors>
  1096. <TexCoords left="0.61914063" right="0.89843750" top="0.68847656" bottom="0.73535156"/>
  1097. </Texture>
  1098. </Layer>
  1099. <Layer level="ARTWORK">
  1100. <FontString name="CharCreateAllianceLabel" inherits="FactionName_Shadow_Large" text="ALLIANCE">
  1101. <Anchors>
  1102. <Anchor point="TOP" x="-41" y="-110"/>
  1103. </Anchors>
  1104. <Color r="1.0" g="0.82" b="0.0"/>
  1105. </FontString>
  1106. <FontString name="CharCreateHordeLabel" inherits="FactionName_Shadow_Large" text="HORDE">
  1107. <Anchors>
  1108. <Anchor point="TOP" x="45" y="-110"/>
  1109. </Anchors>
  1110. <Color r="1.0" g="0.82" b="0.0"/>
  1111. </FontString>
  1112. </Layer>
  1113. </Layers>
  1114. <Frames>
  1115. <CheckButton name="CharCreateRaceButton1" inherits="CharCreateRaceButtonTemplate" id="1">
  1116. <Anchors>
  1117. <Anchor point="TOP" relativePoint="TOP" x="-43" y="-121"/>
  1118. </Anchors>
  1119. </CheckButton>
  1120. <CheckButton name="CharCreateRaceButton2" inherits="CharCreateRaceButtonTemplate" id="2">
  1121. <Anchors>
  1122. <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton1" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1123. </Anchors>
  1124. </CheckButton>
  1125. <CheckButton name="CharCreateRaceButton3" inherits="CharCreateRaceButtonTemplate" id="3">
  1126. <Anchors>
  1127. <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton2" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1128. </Anchors>
  1129. </CheckButton>
  1130. <CheckButton name="CharCreateRaceButton4" inherits="CharCreateRaceButtonTemplate" id="4">
  1131. <Anchors>
  1132. <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton3" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1133. </Anchors>
  1134. </CheckButton>
  1135. <CheckButton name="CharCreateRaceButton5" inherits="CharCreateRaceButtonTemplate" id="5">
  1136. <Anchors>
  1137. <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton4" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1138. </Anchors>
  1139. </CheckButton>
  1140. <CheckButton name="CharCreateRaceButton6" inherits="CharCreateRaceButtonTemplate" id="6">
  1141. <Anchors>
  1142. <Anchor point="TOP" relativePoint="TOP" x="43" y="-121"/>
  1143. </Anchors>
  1144. </CheckButton>
  1145. <CheckButton name="CharCreateRaceButton7" inherits="CharCreateRaceButtonTemplate" id="7">
  1146. <Anchors>
  1147. <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton6" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1148. </Anchors>
  1149. </CheckButton>
  1150. <CheckButton name="CharCreateRaceButton8" inherits="CharCreateRaceButtonTemplate" id="8">
  1151. <Anchors>
  1152. <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton7" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1153. </Anchors>
  1154. </CheckButton>
  1155. <CheckButton name="CharCreateRaceButton9" inherits="CharCreateRaceButtonTemplate" id="9">
  1156. <Anchors>
  1157. <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton8" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1158. </Anchors>
  1159. </CheckButton>
  1160. <CheckButton name="CharCreateRaceButton10" inherits="CharCreateRaceButtonTemplate" id="10">
  1161. <Anchors>
  1162. <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton9" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1163. </Anchors>
  1164. </CheckButton>
  1165. </Frames>
  1166. </Frame>
  1167. <Frame name="CharCreatePandarenFactionFrame" enableMouse="true">
  1168. <Size x="243" y="104"/>
  1169. <Anchors>
  1170. <Anchor point="BOTTOM" x="0" y="-570"/>
  1171. </Anchors>
  1172. <Layers>
  1173. <Layer level="BACKGROUND">
  1174. <Texture file="Interface\Glues\CharacterCreate\Race-Change-BannerCover">
  1175. <Size x="256" y="128"/>
  1176. <Anchors>
  1177. <Anchor point="BOTTOM" x="0" y="0"/>
  1178. </Anchors>
  1179. </Texture>
  1180. </Layer>
  1181. </Layers>
  1182. <Frames>
  1183. <CheckButton name="$parentAllianceButton" inherits="CharCreateRaceButtonTemplate" parentKey="AllianceButton" hidden="true">
  1184. <Anchors>
  1185. <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton5" relativePoint="BOTTOMLEFT" x="0" y="-42"/>
  1186. </Anchors>
  1187. <Scripts>
  1188. <OnClick function="PandarenFactionButton_OnClick"/>
  1189. </Scripts>
  1190. </CheckButton>
  1191. <CheckButton name="$parentHordeButton" inherits="CharCreateRaceButtonTemplate" parentKey="HordeButton" hidden="true">
  1192. <Anchors>
  1193. <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton11" relativePoint="BOTTOMLEFT" x="0" y="-42"/>
  1194. </Anchors>
  1195. <Scripts>
  1196. <OnClick function="PandarenFactionButton_OnClick"/>
  1197. </Scripts>
  1198. </CheckButton>
  1199. </Frames>
  1200. <Scripts>
  1201. <OnLoad function="PandarenFactionButtons_OnLoad"/>
  1202. </Scripts>
  1203. </Frame>
  1204. <Frame inherits="CharCreatePanelTemplate" setAllPoints="true"> <!-- top filigree box -->
  1205. <Scripts>
  1206. <OnLoad>
  1207. CharCreateRaceFrame.factionBg = self.factionBg;
  1208. </OnLoad>
  1209. </Scripts>
  1210. </Frame>
  1211. </Frames>
  1212. </Frame>
  1213. <Frame name="CharCreateClassFrame" inherits="CharCreatePanelTemplate">
  1214. <Size x="243" y="744"/>
  1215. <Anchors>
  1216. <Anchor point="TOPRIGHT" x="117" y="-3"/>
  1217. <Anchor point="BOTTOMRIGHT" x="117" y="3"/>
  1218. </Anchors>
  1219. <Layers>
  1220. <Layer level="ARTWORK">
  1221. <FontString name="CharCreateClassLabel" inherits="FactionName_Shadow_Huge" text="CLASS">
  1222. <Anchors>
  1223. <Anchor point="TOP" x="-50" y="-21"/>
  1224. </Anchors>
  1225. <Color r="1.0" g="0.82" b="0.0"/>
  1226. </FontString>
  1227. </Layer>
  1228. </Layers>
  1229. <Frames>
  1230. <Frame name="CharCreateClassInfoFrame" inherits="CharacterCreateInfoTemplate">
  1231. <Anchors>
  1232. <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMLEFT" x="-1" y="51"/>
  1233. </Anchors>
  1234. </Frame>
  1235. <CheckButton name="CharCreateClassButton1" inherits="CharCreateClassButtonTemplate" id="1">
  1236. <Anchors>
  1237. <Anchor point="TOP" relativeTo="CharCreateClassLabel" relativePoint="BOTTOM" x="0" y="-12"/>
  1238. </Anchors>
  1239. </CheckButton>
  1240. <CheckButton name="CharCreateClassButton2" inherits="CharCreateClassButtonTemplate" id="2">
  1241. <Anchors>
  1242. <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton1" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1243. </Anchors>
  1244. </CheckButton>
  1245. <CheckButton name="CharCreateClassButton3" inherits="CharCreateClassButtonTemplate" id="3">
  1246. <Anchors>
  1247. <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton2" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1248. </Anchors>
  1249. </CheckButton>
  1250. <CheckButton name="CharCreateClassButton4" inherits="CharCreateClassButtonTemplate" id="4">
  1251. <Anchors>
  1252. <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton3" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1253. </Anchors>
  1254. </CheckButton>
  1255. <CheckButton name="CharCreateClassButton5" inherits="CharCreateClassButtonTemplate" id="5">
  1256. <Anchors>
  1257. <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton4" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1258. </Anchors>
  1259. </CheckButton>
  1260. <CheckButton name="CharCreateClassButton6" inherits="CharCreateClassButtonTemplate" id="6">
  1261. <Anchors>
  1262. <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton5" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1263. </Anchors>
  1264. </CheckButton>
  1265. <CheckButton name="CharCreateClassButton7" inherits="CharCreateClassButtonTemplate" id="7">
  1266. <Anchors>
  1267. <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton6" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1268. </Anchors>
  1269. </CheckButton>
  1270. <CheckButton name="CharCreateClassButton8" inherits="CharCreateClassButtonTemplate" id="8">
  1271. <Anchors>
  1272. <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton7" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1273. </Anchors>
  1274. </CheckButton>
  1275. <CheckButton name="CharCreateClassButton9" inherits="CharCreateClassButtonTemplate" id="9">
  1276. <Anchors>
  1277. <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton8" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1278. </Anchors>
  1279. </CheckButton>
  1280. <CheckButton name="CharCreateClassButton10" inherits="CharCreateClassButtonTemplate" id="10">
  1281. <Anchors>
  1282. <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton9" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1283. </Anchors>
  1284. </CheckButton>
  1285. </Frames>
  1286. </Frame>
  1287. <Button name="CharCreateMoreInfoButton" inherits="CharCreateNavButtonTemplate" text="CHAR_CREATE_MORE_INFO">
  1288. <Size x="180" y="62"/>
  1289. <Anchors>
  1290. <Anchor point="CENTER" relativeTo="CharCreateRaceFrame" x="0" y="0"/>
  1291. <Anchor point="BOTTOM" x="0" y="-6"/>
  1292. </Anchors>
  1293. <Layers>
  1294. <Layer level="OVERLAY" textureSubLevel="1">
  1295. <Texture name="$parentTopGlow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" hidden="true">
  1296. <Size x="117" y="32"/>
  1297. <Anchors>
  1298. <Anchor point="TOP" x="0" y="18"/>
  1299. </Anchors>
  1300. <TexCoords left="0.18750000" right="0.41601563" top="0.89257813" bottom="0.92382813"/>
  1301. </Texture>
  1302. <Texture name="$parentBottomGlow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" hidden="true">
  1303. <Size x="117" y="32"/>
  1304. <Anchors>
  1305. <Anchor point="BOTTOM" x="0" y="-13"/>
  1306. </Anchors>
  1307. <TexCoords left="0.18750000" right="0.41601563" top="0.92382813" bottom="0.89257813"/>
  1308. </Texture>
  1309. </Layer>
  1310. </Layers>
  1311. <Scripts>
  1312. <OnClick>
  1313. PlaySound("igMainMenuOptionCheckBoxOn");
  1314. if ( self.infoShown ) then
  1315. self.infoShown = nil;
  1316. CharCreateMoreInfoButtonTopGlow:Hide();
  1317. CharCreateMoreInfoButtonBottomGlow:Hide();
  1318. CharCreateRaceInfoFrame:Hide();
  1319. CharCreateClassInfoFrame:Hide();
  1320. else
  1321. self.infoShown = true;
  1322. CharCreateMoreInfoButtonTopGlow:Show();
  1323. CharCreateMoreInfoButtonBottomGlow:Show();
  1324. CharCreateRaceInfoFrame:Show();
  1325. CharCreateClassInfoFrame:Show();
  1326. end
  1327. </OnClick>
  1328. </Scripts>
  1329. </Button>
  1330. <Frame name="CharCreateCustomizationFrame" hidden="true" inherits="CharCreatePanelTemplate">
  1331. <Size x="243" y="104"/>
  1332. <Anchors>
  1333. <Anchor point="TOPLEFT" x="3" y="-3"/>
  1334. </Anchors>
  1335. <Scripts>
  1336. <OnShow>
  1337. CharCreateCustomizationFrame_OnShow();
  1338. </OnShow>
  1339. </Scripts>
  1340. <Layers>
  1341. <Layer level="BACKGROUND">
  1342. <Texture name="$parentBanner" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Banner">
  1343. <Size x="200" y="308"/>
  1344. <TexCoords left="0.109375" right="0.890625" top="0.201171875" bottom="0.80078125"/>
  1345. <Anchors>
  1346. <Anchor point="TOP" x="0" y="18" relativePoint="BOTTOM"/>
  1347. </Anchors>
  1348. </Texture>
  1349. </Layer>
  1350. <Layer level="BACKGROUND" textureSubLevel="1">
  1351. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1352. <Size x="143" y="48"/>
  1353. <Anchors>
  1354. <Anchor point="TOPLEFT" x="23" y="-84"/>
  1355. </Anchors>
  1356. <TexCoords left="0.42382813" right="0.703125" top="0.68847656" bottom="0.73535156"/>
  1357. </Texture>
  1358. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1359. <Size x="143" y="48"/>
  1360. <Anchors>
  1361. <Anchor point="TOPRIGHT" x="-23" y="-84"/>
  1362. </Anchors>
  1363. <TexCoords left="0.61914063" right="0.89843750" top="0.68847656" bottom="0.73535156"/>
  1364. </Texture>
  1365. </Layer>
  1366. <Layer level="ARTWORK">
  1367. <FontString name="CharCreateCustomizationLabel" inherits="FactionName_Shadow_Huge" text="CUSTOMIZE_OPTIONS" hidden="true">
  1368. <Anchors>
  1369. <Anchor point="TOP" x="0" y="-26"/>
  1370. </Anchors>
  1371. <Color r="1.0" g="0.82" b="0.0"/>
  1372. </FontString>
  1373. </Layer>
  1374. </Layers>
  1375. <Frames>
  1376. <CheckButton name="CharCreateCustomizationButton1" inherits="CharCreateCustomizationButtonTemplate" id="1">
  1377. <Anchors>
  1378. <Anchor point="TOP" x="0" y="-101"/>
  1379. </Anchors>
  1380. <Scripts>
  1381. <OnClick>
  1382. CharCustomizeButtonClick(1);
  1383. </OnClick>
  1384. </Scripts>
  1385. </CheckButton>
  1386. <CheckButton name="CharCreateCustomizationButton2" inherits="CharCreateCustomizationButtonTemplate" id="2">
  1387. <Anchors>
  1388. <Anchor point="TOP" relativeTo="CharCreateCustomizationButton1" relativePoint="BOTTOM" x="0" y="0"/>
  1389. </Anchors>
  1390. <Scripts>
  1391. <OnClick>
  1392. CharCustomizeButtonClick(2);
  1393. </OnClick>
  1394. </Scripts>
  1395. </CheckButton>
  1396. <CheckButton name="CharCreateCustomizationButton3" inherits="CharCreateCustomizationButtonTemplate" id="3">
  1397. <Anchors>
  1398. <Anchor point="TOP" relativeTo="CharCreateCustomizationButton2" relativePoint="BOTTOM" x="0" y="0"/>
  1399. </Anchors>
  1400. <Scripts>
  1401. <OnClick>
  1402. CharCustomizeButtonClick(3);
  1403. </OnClick>
  1404. </Scripts>
  1405. </CheckButton>
  1406. <CheckButton name="CharCreateCustomizationButton4" inherits="CharCreateCustomizationButtonTemplate" id="4">
  1407. <Anchors>
  1408. <Anchor point="TOP" relativeTo="CharCreateCustomizationButton3" relativePoint="BOTTOM" x="0" y="0"/>
  1409. </Anchors>
  1410. <Scripts>
  1411. <OnClick>
  1412. CharCustomizeButtonClick(4);
  1413. </OnClick>
  1414. </Scripts>
  1415. </CheckButton>
  1416. <CheckButton name="CharCreateCustomizationButton5" inherits="CharCreateCustomizationButtonTemplate" id="5">
  1417. <Anchors>
  1418. <Anchor point="TOP" relativeTo="CharCreateCustomizationButton4" relativePoint="BOTTOM" x="0" y="0"/>
  1419. </Anchors>
  1420. <Scripts>
  1421. <OnClick>
  1422. CharCustomizeButtonClick(5);
  1423. </OnClick>
  1424. </Scripts>
  1425. </CheckButton>
  1426. <Button name="CharCreateRandomizeButton" inherits="GlueButtonSmallTemplate" text="RANDOMIZE">
  1427. <Size x="146" y="34"/>
  1428. <Scripts>
  1429. <OnLoad>
  1430. self:SetWidth(self:GetTextWidth() + 50);
  1431. </OnLoad>
  1432. <OnClick>
  1433. CharacterCreate_Randomize();
  1434. </OnClick>
  1435. <OnUpdate>
  1436. CharacterCreate_DeathKnightSwap(self);
  1437. </OnUpdate>
  1438. </Scripts>
  1439. </Button>
  1440. <CheckButton name="CharacterCreateAlternateFormTop" hidden="true">
  1441. <Size x="82" y="79"/>
  1442. <Anchors>
  1443. <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT" x="-41" y="-106"/>
  1444. </Anchors>
  1445. <Layers>
  1446. <Layer level="BACKGROUND">
  1447. <Texture name="$parentPortrait">
  1448. <Size x="60" y="60"/>
  1449. <Anchors>
  1450. <Anchor point="CENTER" x="0" y="-5"/>
  1451. </Anchors>
  1452. </Texture>
  1453. </Layer>
  1454. <Layer level="OVERLAY">
  1455. <Texture name="$parentTop" file="Interface\Glues\CharacterCreate\AlternateForm">
  1456. <Size x="82" y="79"/>
  1457. <TexCoords left="0.00781250" right="0.64843750" top="0.00390625" bottom="0.310546875"/>
  1458. </Texture>
  1459. </Layer>
  1460. </Layers>
  1461. <Scripts>
  1462. <OnClick>
  1463. CharacterCreateAlternateFormTop:SetChecked(true);
  1464. CharacterCreateAlternateFormBottom:SetChecked(false);
  1465. if ( IsViewingAlteredForm() ) then
  1466. PlaySound("gsCharacterCreationClass");
  1467. SetViewingAlteredForm(false);
  1468. CharCreate_PrepPreviewModels(true);
  1469. CharCreate_ResetFeaturesDisplay();
  1470. end
  1471. </OnClick>
  1472. </Scripts>
  1473. <HighlightTexture name="$parentHighlight" file="Interface\Glues\CharacterCreate\AlternateForm" alphaMode="ADD">
  1474. <Size x="60" y="60"/>
  1475. <Anchors>
  1476. <Anchor point="CENTER" x="0" y="-5"/>
  1477. </Anchors>
  1478. <TexCoords left="0.49218750" right="0.96093750" top="0.62890625" bottom="0.86328125"/>
  1479. </HighlightTexture>
  1480. <CheckedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\AlternateForm" alphaMode="ADD">
  1481. <Size x="60" y="60"/>
  1482. <Anchors>
  1483. <Anchor point="CENTER" x="0" y="-5"/>
  1484. </Anchors>
  1485. <TexCoords left="0.00781250" right="0.47656250" top="0.62890625" bottom="0.86328125"/>
  1486. </CheckedTexture>
  1487. </CheckButton>
  1488. <CheckButton name="CharacterCreateAlternateFormBottom" hidden="true">
  1489. <Size x="82" y="79"/>
  1490. <Anchors>
  1491. <Anchor point="TOPLEFT" relativeTo="CharacterCreateAlternateFormTop" relativePoint="BOTTOMLEFT" x="0" y="0"/>
  1492. </Anchors>
  1493. <Layers>
  1494. <Layer level="BACKGROUND">
  1495. <Texture name="$parentPortrait">
  1496. <Size x="60" y="60"/>
  1497. <Anchors>
  1498. <Anchor point="CENTER" x="0" y="1"/>
  1499. </Anchors>
  1500. </Texture>
  1501. </Layer>
  1502. <Layer level="OVERLAY">
  1503. <Texture name="Bottom" file="Interface\Glues\CharacterCreate\AlternateForm">
  1504. <Size x="82" y="158"/>
  1505. <TexCoords left="0.00781250" right="0.64843750" top="0.310546875" bottom="0.62109375"/>
  1506. </Texture>
  1507. </Layer>
  1508. </Layers>
  1509. <Scripts>
  1510. <OnClick>
  1511. CharacterCreateAlternateFormTop:SetChecked(false);
  1512. CharacterCreateAlternateFormBottom:SetChecked(true);
  1513. if ( not IsViewingAlteredForm() ) then
  1514. PlaySound("gsCharacterCreationClass");
  1515. SetViewingAlteredForm(true);
  1516. CharCreate_PrepPreviewModels(true);
  1517. CharCreate_ResetFeaturesDisplay();
  1518. end
  1519. </OnClick>
  1520. </Scripts>
  1521. <HighlightTexture name="$parentHighlight" file="Interface\Glues\CharacterCreate\AlternateForm" alphaMode="ADD">
  1522. <Size x="60" y="60"/>
  1523. <Anchors>
  1524. <Anchor point="CENTER" x="0" y="1"/>
  1525. </Anchors>
  1526. <TexCoords left="0.49218750" right="0.96093750" top="0.62890625" bottom="0.86328125"/>
  1527. </HighlightTexture>
  1528. <CheckedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\AlternateForm" alphaMode="ADD">
  1529. <Size x="60" y="60"/>
  1530. <Anchors>
  1531. <Anchor point="CENTER" x="0" y="1"/>
  1532. </Anchors>
  1533. <TexCoords left="0.00781250" right="0.47656250" top="0.62890625" bottom="0.86328125"/>
  1534. </CheckedTexture>
  1535. </CheckButton>
  1536. </Frames>
  1537. </Frame>
  1538. <Frame name="CharCreatePreviewFrame" hidden="true">
  1539. <Size x="243" y="682"/>
  1540. <Anchors>
  1541. <Anchor point="RIGHT" x="77" y="0"/>
  1542. </Anchors>
  1543. <Layers>
  1544. <Layer level="BACKGROUND">
  1545. <Texture parentKey="factionBg">
  1546. <Anchors>
  1547. <Anchor point="TOPLEFT" x="8" y="-10"/>
  1548. <Anchor point="BOTTOMRIGHT" x="-8" y="10"/>
  1549. </Anchors>
  1550. <Color r="1" g="1" b="1" a="0.75"/>
  1551. <Gradient orientation="VERTICAL">
  1552. <MaxColor r="0.2" g="0" b="0"/>
  1553. <MinColor r="0" g="0" b="0"/>
  1554. </Gradient>
  1555. </Texture>
  1556. </Layer>
  1557. </Layers>
  1558. <Frames>
  1559. <Button name="CharCreateStyleUpButton" inherits="CharCreateChangeStyleButtonTemplate">
  1560. <Anchors>
  1561. <Anchor point="BOTTOM" relativePoint="TOP" x="-28" y="-17"/>
  1562. </Anchors>
  1563. <Scripts>
  1564. <OnLoad>
  1565. --SetClampedTextureRotation(self.arrow, 90);
  1566. </OnLoad>
  1567. <OnMouseDown>
  1568. CharCreate_ChangeFeatureVariation(-1);
  1569. CharacterCreateWhileMouseDown_OnMouseDown(-1);
  1570. </OnMouseDown>
  1571. <OnMouseUp>
  1572. CharacterCreateWhileMouseDown_OnMouseUp()
  1573. </OnMouseUp>
  1574. </Scripts>
  1575. </Button>
  1576. <Button name="CharCreateStyleDownButton" inherits="CharCreateChangeStyleButtonTemplate">
  1577. <Anchors>
  1578. <Anchor point="TOP" relativePoint="BOTTOM" x="-28" y="10"/>
  1579. </Anchors>
  1580. <Scripts>
  1581. <OnLoad>
  1582. --SetClampedTextureRotation(self.arrow, 270);
  1583. </OnLoad>
  1584. <OnMouseDown>
  1585. CharCreate_ChangeFeatureVariation(1);
  1586. CharacterCreateWhileMouseDown_OnMouseDown(1);
  1587. </OnMouseDown>
  1588. <OnMouseUp>
  1589. CharacterCreateWhileMouseDown_OnMouseUp()
  1590. </OnMouseUp>
  1591. </Scripts>
  1592. </Button>
  1593. <ScrollFrame parentKey="scrollFrame">
  1594. <Size x="180" y="0"/>
  1595. <Anchors>
  1596. <Anchor point="TOPLEFT" x="8" y="-14"/>
  1597. <Anchor point="BOTTOMLEFT" x="8" y="12"/>
  1598. </Anchors>
  1599. <Layers>
  1600. <Layer level="BACKGROUND">
  1601. <Texture setAllPoints="true">
  1602. <Color r="0" g="1" b="0" a="0"/>
  1603. </Texture>
  1604. </Layer>
  1605. </Layers>
  1606. <ScrollChild>
  1607. <Frame parentKey="container">
  1608. <Size x="10" y="10"/>
  1609. <Anchors>
  1610. <Anchor point="TOPLEFT"/>
  1611. </Anchors>
  1612. </Frame>
  1613. </ScrollChild>
  1614. </ScrollFrame>
  1615. <Frame setAllPoints="true" parentKey="border" frameStrata="HIGH">
  1616. <Layers>
  1617. <Layer level="BORDER">
  1618. <Texture name="$parentTopEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1619. <Size x="183" y="48"/>
  1620. <Anchors>
  1621. <Anchor point="TOPLEFT"/>
  1622. </Anchors>
  1623. <TexCoords left="0.42382813" right="0.78125" top="0.68847656" bottom="0.73535156"/>
  1624. </Texture>
  1625. <Texture name="$parentBottomEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1626. <Size x="183" y="46"/>
  1627. <Anchors>
  1628. <Anchor point="BOTTOMLEFT"/>
  1629. </Anchors>
  1630. <TexCoords left="0.42382813" right="0.78125" top="0.73730469" bottom="0.78222656"/>
  1631. </Texture>
  1632. <Texture name="$parentTopEdge2" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1633. <Size x="50" y="48"/>
  1634. <Anchors>
  1635. <Anchor point="LEFT" relativeTo="$parentTopEdge" relativePoint="RIGHT"/>
  1636. </Anchors>
  1637. <TexCoords left="0.72265625" right="0.8203125" top="0.68847656" bottom="0.73535156"/>
  1638. </Texture>
  1639. <Texture name="$parentBottomEdge2" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1640. <Size x="50" y="46"/>
  1641. <Anchors>
  1642. <Anchor point="LEFT" relativeTo="$parentBottomEdge" relativePoint="RIGHT"/>
  1643. </Anchors>
  1644. <TexCoords left="0.72265625" right="0.8203125" top="0.73730469" bottom="0.78222656"/>
  1645. </Texture>
  1646. </Layer>
  1647. <Layer level="BORDER" textureSubLevel="-1">
  1648. <Texture name="$parentLeftEdge" file="Interface\Glues\CharacterCreate\Frame-Sides">
  1649. <Size x="16" y="0"/>
  1650. <Anchors>
  1651. <Anchor point="TOPLEFT" relativeTo="$parentTopEdge" relativePoint="BOTTOMLEFT" x="0" y="10"/>
  1652. <Anchor point="BOTTOMLEFT" relativeTo="$parentBottomEdge" relativePoint="TOPLEFT" x="0" y="-10"/>
  1653. </Anchors>
  1654. <TexCoords left="0.5" right="1" top="0" bottom="1"/>
  1655. </Texture>
  1656. </Layer>
  1657. <Layer level="ARTWORK">
  1658. <Texture file="Interface\Glues\CharacterCreate\CharacterCreate-Arrow" parentKey="arrow">
  1659. <Anchors>
  1660. <Anchor point="RIGHT" relativePoint="LEFT" x="33" y="-4"/>
  1661. </Anchors>
  1662. </Texture>
  1663. </Layer>
  1664. <Layer level="OVERLAY">
  1665. <FontString inherits="GlueFontNormalSmall" parentKey="number" text="8">
  1666. <Anchors>
  1667. <Anchor point="CENTER" relativeKey="$parent.arrow" x="7" y="1"/>
  1668. </Anchors>
  1669. </FontString>
  1670. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD"> <!-- selection border -->
  1671. <Size x="146" y="136"/>
  1672. <Anchors>
  1673. <Anchor point="TOPLEFT" x="20" y="-273"/>
  1674. </Anchors>
  1675. <TexCoords left="0.41601563" right="0.63085938" top="0.43359375" bottom="0.53515625"/>
  1676. </Texture>
  1677. </Layer>
  1678. </Layers>
  1679. </Frame>
  1680. </Frames>
  1681. <Scripts>
  1682. <OnUpdate function="CharCreatePreviewFrame_OnUpdate"/>
  1683. <OnHide>
  1684. CharCreatePreviewFrame_StopAnimating();
  1685. </OnHide>
  1686. </Scripts>
  1687. </Frame>
  1688. <CheckButton name="CharCreateMaleButton" inherits="CharacterCreateGenderButtonTemplate" frameStrata="HIGH">
  1689. <Anchors>
  1690. <Anchor point="TOPLEFT" x="75" y="-48"/>
  1691. </Anchors>
  1692. <Layers>
  1693. <Layer level="ARTWORK">
  1694. <FontString name="CharCreateGenderLabel" inherits="FactionName_Shadow_Huge" text="GENDER">
  1695. <Anchors>
  1696. <Anchor point="TOP" x="30" y="24"/>
  1697. </Anchors>
  1698. <Color r="1.0" g="0.82" b="0.0"/>
  1699. </FontString>
  1700. </Layer>
  1701. </Layers>
  1702. <Scripts>
  1703. <OnLoad>
  1704. _G[self:GetName().."NormalTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
  1705. _G[self:GetName().."PushedTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
  1706. </OnLoad>
  1707. <OnClick>
  1708. PlaySound("gsCharacterCreationClass");
  1709. if ( GetSelectedSex() ~= SEX_MALE ) then
  1710. SetCharacterGender(SEX_MALE);
  1711. else
  1712. self:SetChecked(1);
  1713. end
  1714. </OnClick>
  1715. <OnEnter>
  1716. --CharacterCreateTooltip:SetOwner(self, -3, -5);
  1717. --CharacterCreateTooltip:SetText(MALE);
  1718. </OnEnter>
  1719. </Scripts>
  1720. </CheckButton>
  1721. <CheckButton name="CharCreateFemaleButton" inherits="CharacterCreateGenderButtonTemplate" frameStrata="HIGH">
  1722. <Anchors>
  1723. <Anchor point="TOPLEFT" x="135" y="-48"/>
  1724. </Anchors>
  1725. <Scripts>
  1726. <OnLoad>
  1727. _G[self:GetName().."NormalTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
  1728. _G[self:GetName().."PushedTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
  1729. </OnLoad>
  1730. <OnClick>
  1731. PlaySound("gsCharacterCreationClass");
  1732. if ( GetSelectedSex() ~= SEX_FEMALE and _G["CharCreateRaceButton6"]:GetChecked() ~= 1 ) then
  1733. SetCharacterGender(SEX_FEMALE);
  1734. elseif ( _G["CharCreateRaceButton6"]:GetChecked() ~= 1 ) then
  1735. self:SetChecked(1);
  1736. end
  1737. </OnClick>
  1738. <OnEnter>
  1739. --CharacterCreateTooltip:SetOwner(self, -3, -5);
  1740. --CharacterCreateTooltip:SetText(FEMALE);
  1741. </OnEnter>
  1742. </Scripts>
  1743. </CheckButton>
  1744. </Frames>
  1745. <Scripts>
  1746. <OnMouseDown>
  1747. CharacterCreateFrame_OnMouseDown(button);
  1748. </OnMouseDown>
  1749. <OnMouseUp>
  1750. CharacterCreateFrame_OnMouseUp(button);
  1751. </OnMouseUp>
  1752. <OnUpdate>
  1753. CharacterCreateFrame_OnUpdate(self, elapsed);
  1754. </OnUpdate>
  1755. <OnMouseWheel>
  1756. if ( CharCreatePreviewFrame:IsShown() ) then
  1757. CharCreate_ChangeFeatureVariation(delta * -1);
  1758. end
  1759. </OnMouseWheel>
  1760. </Scripts>
  1761. </Frame>
  1762. </Frames>
  1763. <Scripts>
  1764. <OnLoad>
  1765. CharacterCreate_OnLoad(self);
  1766. </OnLoad>
  1767. <OnShow>
  1768. CharacterCreate_OnShow();
  1769. </OnShow>
  1770. <OnHide>
  1771. CharacterCreate_OnHide();
  1772. </OnHide>
  1773. <OnEvent>
  1774. CharacterCreate_OnEvent(event, ...);
  1775. </OnEvent>
  1776. <OnChar>
  1777. CharacterCreate_OnChar();
  1778. </OnChar>
  1779. <OnKeyDown>
  1780. CharacterCreate_OnKeyDown(key);
  1781. </OnKeyDown>
  1782. <OnUpdateModel>
  1783. CharacterCreate_UpdateModel(self);
  1784. </OnUpdateModel>
  1785. </Scripts>
  1786. </ModelFFX>
  1787.  
  1788. <Frame name="CharacterTemplateConfirmDialog" toplevel="true" parent="GlueParent" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
  1789. <Frames>
  1790. <Frame name="$parentContents">
  1791. <Size x="512" y="120"/>
  1792. <Anchors>
  1793. <Anchor point="CENTER" x="0" y="0"/>
  1794. </Anchors>
  1795. <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  1796. <BackgroundInsets>
  1797. <AbsInset left="11" right="12" top="12" bottom="11"/>
  1798. </BackgroundInsets>
  1799. <TileSize>
  1800. <AbsValue val="32"/>
  1801. </TileSize>
  1802. <EdgeSize>
  1803. <AbsValue val="32"/>
  1804. </EdgeSize>
  1805. </Backdrop>
  1806. <Layers>
  1807. <Layer level="ARTWORK">
  1808. <Texture file="Interface\DialogFrame\UI-Dialog-Icon-AlertNew">
  1809. <Size x="48" y="48"/>
  1810. <Anchors>
  1811. <Anchor point="LEFT" x="24" y="16"/>
  1812. </Anchors>
  1813. </Texture>
  1814. <FontString inherits="GlueFontNormalLarge" text="TEMPLATE_CHARACTER_CHOOSE_FACTION">
  1815. <Size>
  1816. <AbsDimension x="400" y="0"/>
  1817. </Size>
  1818. <Anchors>
  1819. <Anchor point="TOP" x="0" y="-26"/>
  1820. </Anchors>
  1821. </FontString>
  1822. </Layer>
  1823. </Layers>
  1824. <Frames>
  1825. <Button name="$parentButton2" inherits="GlueDialogButtonTemplate" text="HORDE">
  1826. <Size x="150" y="40"/>
  1827. <Anchors>
  1828. <Anchor point="BOTTOM" x="0" y="12"/>
  1829. </Anchors>
  1830. <Scripts>
  1831. <OnClick>
  1832. CharacterTemplateConfirmDialog:Hide();
  1833. CreateCharacter(CharacterCreateNameEdit:GetText(), 0);
  1834. </OnClick>
  1835. <OnUpdate>
  1836. CharacterSelect_DeathKnightSwap(self);
  1837. </OnUpdate>
  1838. </Scripts>
  1839. </Button>
  1840. <Button name="$parentButton1" inherits="GlueDialogButtonTemplate" text="ALLIANCE">
  1841. <Size x="150" y="40"/>
  1842. <Anchors>
  1843. <Anchor point="RIGHT" relativeTo="$parentButton2" relativePoint="LEFT" x="-6" y="0"/>
  1844. </Anchors>
  1845. <Scripts>
  1846. <OnClick>
  1847. CharacterTemplateConfirmDialog:Hide();
  1848. CreateCharacter(CharacterCreateNameEdit:GetText(), 1);
  1849. </OnClick>
  1850. <OnUpdate>
  1851. CharacterSelect_DeathKnightSwap(self);
  1852. </OnUpdate>
  1853. </Scripts>
  1854. </Button>
  1855. <Button name="$parentButton3" inherits="GlueDialogButtonTemplate" text="CANCEL">
  1856. <Size x="150" y="40"/>
  1857. <Anchors>
  1858. <Anchor point="LEFT" relativeTo="$parentButton2" relativePoint="RIGHT" x="6" y="0"/>
  1859. </Anchors>
  1860. <Scripts>
  1861. <OnClick>
  1862. CharacterTemplateConfirmDialog:Hide();
  1863. PlaySound("gsTitleOptionExit");
  1864. </OnClick>
  1865. <OnUpdate>
  1866. CharacterSelect_DeathKnightSwap(self);
  1867. </OnUpdate>
  1868. </Scripts>
  1869. </Button>
  1870. </Frames>
  1871. </Frame>
  1872. </Frames>
  1873. <Scripts>
  1874. <OnChar>
  1875. -- block keys
  1876. </OnChar>
  1877. <OnKeyDown>
  1878. -- block keys
  1879. </OnKeyDown>
  1880. </Scripts>
  1881. </Frame>
  1882. </Ui>
RAW Paste Data