Advertisement
Guest User

CharacterCreate.cml

a guest
Aug 2nd, 2015
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.20 KB | None | 0 0
  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. <Script file="CharacterCreate.lua"/>
  4. <Frame name="CharacterCreateTooltip" frameStrata="TOOLTIP" hidden="true" parent="GlueParent" inherits="GlueTooltipTemplate">
  5. <Scripts>
  6. <OnLoad>
  7. GlueTooltip_SetFont(self, CharacterCreateTooltipFont);
  8. self:SetBackdropBorderColor(1.0, 1.0, 1.0);
  9. self:SetBackdropColor(0.09, 0.09, 0.19 );
  10. </OnLoad>
  11. </Scripts>
  12. </Frame>
  13. <CheckButton name="CharacterCreateIconButtonTemplate" virtual="true" motionScriptsWhileDisabled="true">
  14. <Size x="38" y="38"/>
  15. <Layers>
  16. <Layer level="BACKGROUND">
  17. <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-IconShadow">
  18. <Size x="58" y="58"/>
  19. <Anchors>
  20. <Anchor point="CENTER" x="0" y="0"/>
  21. </Anchors>
  22. <Color r="1.0" g="1.0" b="1.0" a="0.85"/>
  23. </Texture>
  24. </Layer>
  25. <Layer level="OVERLAY">
  26. <Texture name="$parentBevelEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights">
  27. <Size x="38" y="38"/>
  28. <Anchors>
  29. <Anchor point="CENTER" x="0" y="0"/>
  30. </Anchors>
  31. <TexCoords left="0" right="0.5" top="0.5" bottom="1.0"/>
  32. </Texture>
  33. <Texture name="$parentDisableTexture" hidden="true">
  34. <Size x="38" y="38"/>
  35. <Anchors>
  36. <Anchor point="CENTER" x="0" y="0"/>
  37. </Anchors>
  38. <Color r="0.0" g="0.0" b="0.0" a="0.75"/>
  39. </Texture>
  40. </Layer>
  41. </Layers>
  42. <Scripts>
  43. <OnMouseDown>
  44. if( self:IsEnabled() == 1 ) then
  45. _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 2, -2);
  46. _G[self:GetName().."Shadow"]:SetSize(52, 52);
  47. end
  48. </OnMouseDown>
  49. <OnMouseUp>
  50. if( self:IsEnabled() == 1 ) then
  51. _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 0, 0);
  52. _G[self:GetName().."Shadow"]:SetSize(58, 58);
  53. end
  54. </OnMouseUp>
  55. </Scripts>
  56. <HighlightTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" alphaMode="ADD">
  57. <TexCoords left="0" right="0.5" top="0" bottom="0.5"/>
  58. </HighlightTexture>
  59. <CheckedTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" alphaMode="ADD">
  60. <TexCoords left="0.5" right="1" top="0" bottom="0.5"/>
  61. </CheckedTexture>
  62. </CheckButton>
  63. <CheckButton name="CharacterCreateRaceButtonTemplate" inherits="CharacterCreateIconButtonTemplate" virtual="true">
  64. <Layers>
  65. <Layer level="ARTWORK">
  66. <FontString name="$parentText" inherits="GlueFontNormalSmall">
  67. <Anchors>
  68. <Anchor point="BOTTOM" relativePoint="TOP" x="1" y="2"/>
  69. </Anchors>
  70. </FontString>
  71. </Layer>
  72. </Layers>
  73. <Scripts>
  74. <OnClick>
  75. if( self.enable ) then
  76. CharacterRace_OnClick(self, self:GetID());
  77. CharacterCreateTooltip:Hide();
  78. end
  79. </OnClick>
  80. <OnEnter>
  81. GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
  82. GlueTooltip_SetText(self.tooltip, CharacterCreateTooltip);
  83. </OnEnter>
  84. <OnLeave>
  85. CharacterCreateTooltip:Hide();
  86. </OnLeave>
  87. </Scripts>
  88. <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Races"/>
  89. <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Races">
  90. <Size x="38" y="38"/>
  91. <Anchors>
  92. <Anchor point="CENTER" x="2" y="-2"/>
  93. </Anchors>
  94. </PushedTexture>
  95. </CheckButton>
  96. <CheckButton name="CharacterCreateClassButtonTemplate" inherits="CharacterCreateIconButtonTemplate" virtual="true">
  97. <Scripts>
  98. <OnClick>
  99. if( self.enable ) then
  100. CharacterClass_OnClick(self:GetID());
  101. CharacterCreateTooltip:Hide();
  102. end
  103. </OnClick>
  104. <OnEnter>
  105. GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
  106. GlueTooltip_SetText(self.tooltip, CharacterCreateTooltip);
  107. </OnEnter>
  108. <OnLeave>
  109. CharacterCreateTooltip:Hide();
  110. </OnLeave>
  111. </Scripts>
  112. <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes"/>
  113. <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
  114. <Size x="38" y="38"/>
  115. <Anchors>
  116. <Anchor point="CENTER" x="2" y="-2"/>
  117. </Anchors>
  118. </PushedTexture>
  119. </CheckButton>
  120. <CheckButton name="CharacterCreateGenderButtonTemplate" inherits="CharacterCreateIconButtonTemplate" virtual="true">
  121. <Scripts>
  122. <OnLeave>
  123. CharacterCreateTooltip:Hide();
  124. </OnLeave>
  125. </Scripts>
  126. <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Gender"/>
  127. <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Gender">
  128. <Size x="38" y="38"/>
  129. <Anchors>
  130. <Anchor point="CENTER" x="2" y="-2"/>
  131. </Anchors>
  132. </PushedTexture>
  133. </CheckButton>
  134. <Frame name="CharacterCustomizationFrameTemplate" virtual="true">
  135. <Size>
  136. <AbsDimension x="230" y="32"/>
  137. </Size>
  138. <Layers>
  139. <Layer level="BACKGROUND">
  140. <Texture name="$parentLeft" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  141. <Size x="25" y="64"/>
  142. <Anchors>
  143. <Anchor point="LEFT" x="-5" y="0"/>
  144. </Anchors>
  145. <TexCoords left="0" right="0.1953125" top="0" bottom="1"/>
  146. </Texture>
  147. <Texture name="$parentRight" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  148. <Size x="25" y="64"/>
  149. <Anchors>
  150. <Anchor point="RIGHT" x="-44" y="0"/>
  151. </Anchors>
  152. <TexCoords left="0.8046875" right="1" top="0" bottom="1"/>
  153. </Texture>
  154. <Texture name="$parentMiddle" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  155. <Size x="40" y="64"/>
  156. <Anchors>
  157. <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
  158. <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
  159. </Anchors>
  160. <TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1"/>
  161. </Texture>
  162. <FontString name="$parentText" inherits="GlueFontHighlightSmall">
  163. <Anchors>
  164. <Anchor point="CENTER" relativeTo="$parentMiddle" x="0" y="2"/>
  165. </Anchors>
  166. </FontString>
  167. </Layer>
  168. </Layers>
  169. <Frames>
  170. <Button name="$parentRightButton">
  171. <Size x="32" y="32"/>
  172. <Anchors>
  173. <Anchor point="RIGHT"/>
  174. </Anchors>
  175. <Scripts>
  176. <OnClick>
  177. CharacterCustomization_Right(self:GetParent():GetID());
  178. </OnClick>
  179. </Scripts>
  180. <NormalTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Up"/>
  181. <PushedTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Down"/>
  182. <HighlightTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Highlight" alphaMode="ADD"/>
  183. </Button>
  184. <Button name="$parentLeftButton">
  185. <Size x="32" y="32"/>
  186. <Anchors>
  187. <Anchor point="RIGHT" relativeTo="$parentRightButton" relativePoint="LEFT" x="3" y="0"/>
  188. </Anchors>
  189. <Scripts>
  190. <OnClick>
  191. CharacterCustomization_Left(self:GetParent():GetID());
  192. </OnClick>
  193. </Scripts>
  194. <NormalTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Up"/>
  195. <PushedTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Down"/>
  196. <HighlightTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Highlight" alphaMode="ADD"/>
  197. </Button>
  198. </Frames>
  199. </Frame>
  200. <ModelFFX name="CharacterCreate" toplevel="true" parent="GlueParent" setAllPoints="true" enableKeyboard="true" hidden="true">
  201. <Frames>
  202. <Frame name="CharacterCreateFrame" setAllPoints="true" enableMouse="true">
  203. <Frames>
  204. <Frame name="CharacterCreateWoWLogo">
  205. <Size x="256" y="128"/>
  206. <Anchors>
  207. <Anchor point="TOPRIGHT" x="-10" y="5"/>
  208. </Anchors>
  209. <Layers>
  210. <Layer level="ARTWORK">
  211. <Texture name="CharacterCreateLogo" file="Interface\Glues\Common\Glues-WoW-WotLKLogo">
  212. <Size x="256" y="128"/>
  213. <Anchors>
  214. <Anchor point="TOP" relativePoint="TOPLEFT" x="128" y="0"/>
  215. </Anchors>
  216. </Texture>
  217. </Layer>
  218. </Layers>
  219. </Frame>
  220. <Frame name="CharacterCreateCharacterRace">
  221. <Size x="267" y="277"/>
  222. <Anchors>
  223. <Anchor point="TOP" relativeTo="CharacterCreateWoWLogo" relativePoint="BOTTOM" x="0" y="10"/>
  224. </Anchors>
  225. <Layers>
  226. <Layer level="BORDER">
  227. <Texture name="CharacterCreateRaceIcon" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-RacesRound">
  228. <Size x="48" y="48"/>
  229. <Anchors>
  230. <Anchor point="TOPLEFT" x="4" y="-4"/>
  231. </Anchors>
  232. <TexCoords left="0" right="0.375" top="0" bottom="0.75"/>
  233. </Texture>
  234. </Layer>
  235. <Layer level="ARTWORK">
  236. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-InfoBox" setAllPoints="true">
  237. <TexCoords left="0.005859375" right="0.52734375" top="0.005859375" bottom="0.56640625"/>
  238. </Texture>
  239. </Layer>
  240. <Layer level="OVERLAY">
  241. <FontString name="CharacterCreateRaceLabel" inherits="FactionName_Shadow_Huge" justifyH="LEFT" text="RACE">
  242. <Size x="220" y="0"/>
  243. <Anchors>
  244. <Anchor point="TOP" x="40" y="-10"/>
  245. </Anchors>
  246. </FontString>
  247. </Layer>
  248. </Layers>
  249. <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background">
  250. <BackgroundInsets>
  251. <AbsInset left="12" right="3" top="20" bottom="6"/>
  252. </BackgroundInsets>
  253. </Backdrop>
  254. <Frames>
  255. <ScrollFrame name="CharacterCreateRaceScrollFrame" inherits="GlueScrollFrameTemplate">
  256. <Size x="220" y="210"/>
  257. <Anchors>
  258. <Anchor point="TOPLEFT" x="20" y="-55"/>
  259. </Anchors>
  260. <Scripts>
  261. <OnLoad>
  262. CharacterCreateRaceScrollFrameScrollBar:ClearAllPoints();
  263. CharacterCreateRaceScrollFrameScrollBar:SetPoint("TOPLEFT", CharacterCreateRaceScrollFrame, "TOPRIGHT", 7, 4);
  264. CharacterCreateRaceScrollFrameScrollBar:SetPoint("BOTTOMLEFT", CharacterCreateRaceScrollFrame, "BOTTOMRIGHT", 7, 12);
  265. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  266. </OnLoad>
  267. <OnScrollRangeChanged>
  268. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  269. </OnScrollRangeChanged>
  270. </Scripts>
  271. <ScrollChild>
  272. <Frame name="CharacterCreateRaceScrollChild">
  273. <Size x="220" y="10"/>
  274. <Layers>
  275. <Layer level="BACKGROUND">
  276. <FontString name="CharacterCreateRaceAbilityText" inherits="GlueFontNormalSmall" justifyH="LEFT">
  277. <Size x="220" y="0"/>
  278. <Anchors>
  279. <Anchor point="TOPLEFT" x="0" y="0"/>
  280. </Anchors>
  281. </FontString>
  282. <FontString name="CharacterCreateRaceText" inherits="GlueFontCharacterCreate" justifyH="LEFT">
  283. <Size x="220" y="0"/>
  284. <Anchors>
  285. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceAbilityText" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
  286. </Anchors>
  287. </FontString>
  288. </Layer>
  289. </Layers>
  290. </Frame>
  291. </ScrollChild>
  292. </ScrollFrame>
  293. </Frames>
  294. </Frame>
  295. <Frame name="CharacterCreateCharacterClass">
  296. <Size x="267" y="277"/>
  297. <Anchors>
  298. <Anchor point="TOP" relativeTo="CharacterCreateCharacterRace" relativePoint="BOTTOM" x="0" y="0"/>
  299. </Anchors>
  300. <Layers>
  301. <Layer level="BORDER">
  302. <Texture name="CharacterCreateClassIcon" file="Interface\TargetingFrame\UI-Classes-Circles">
  303. <Size x="48" y="48"/>
  304. <Anchors>
  305. <Anchor point="TOPLEFT" x="4" y="-4"/>
  306. </Anchors>
  307. <TexCoords left="0" right="0.375" top="0" bottom="0.75"/>
  308. </Texture>
  309. </Layer>
  310. <Layer level="ARTWORK">
  311. <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-InfoBox" setAllPoints="true">
  312. <TexCoords left="0.005859375" right="0.52734375" top="0.005859375" bottom="0.56640625"/>
  313. </Texture>
  314. </Layer>
  315. <Layer level="OVERLAY">
  316. <FontString name="CharacterCreateClassLabel" inherits="FactionName_Shadow_Huge" justifyH="LEFT" text="RACE">
  317. <Size x="220" y="0"/>
  318. <Anchors>
  319. <Anchor point="TOP" x="40" y="-10"/>
  320. </Anchors>
  321. </FontString>
  322. </Layer>
  323. </Layers>
  324. <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background">
  325. <BackgroundInsets>
  326. <AbsInset left="12" right="3" top="20" bottom="6"/>
  327. </BackgroundInsets>
  328. </Backdrop>
  329. <Frames>
  330. <ScrollFrame name="CharacterCreateClassScrollFrame" inherits="GlueScrollFrameTemplate">
  331. <Size x="220" y="210"/>
  332. <Anchors>
  333. <Anchor point="TOPLEFT" x="20" y="-55"/>
  334. </Anchors>
  335. <Scripts>
  336. <OnLoad>
  337. CharacterCreateClassScrollFrameScrollBar:ClearAllPoints();
  338. CharacterCreateClassScrollFrameScrollBar:SetPoint("TOPLEFT", CharacterCreateClassScrollFrame, "TOPRIGHT", 7, 4);
  339. CharacterCreateClassScrollFrameScrollBar:SetPoint("BOTTOMLEFT", CharacterCreateClassScrollFrame, "BOTTOMRIGHT", 7, 12);
  340. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  341. </OnLoad>
  342. <OnScrollRangeChanged>
  343. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  344. </OnScrollRangeChanged>
  345. </Scripts>
  346. <ScrollChild>
  347. <Frame name="CharacterCreateClassScrollChild">
  348. <Size x="220" y="10"/>
  349. <Layers>
  350. <Layer level="BACKGROUND">
  351. <FontString name="CharacterCreateClassRolesText" inherits="GlueFontNormalSmall" justifyH="LEFT">
  352. <Size x="220" y="0"/>
  353. <Anchors>
  354. <Anchor point="TOPLEFT" x="0" y="0"/>
  355. </Anchors>
  356. </FontString>
  357. <FontString name="CharacterCreateClassText" inherits="GlueFontCharacterCreate" justifyH="LEFT">
  358. <Size x="220" y="0"/>
  359. <Anchors>
  360. <Anchor point="TOPLEFT" relativeTo="CharacterCreateClassRolesText" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
  361. </Anchors>
  362. </FontString>
  363. </Layer>
  364. </Layers>
  365. </Frame>
  366. </ScrollChild>
  367. </ScrollFrame>
  368. </Frames>
  369. </Frame>
  370. <Frame name="CharacterCreateConfigurationFrame">
  371. <Size x="256" y="758"/>
  372. <Anchors>
  373. <Anchor point="TOPLEFT" relativeTo="CharacterCreateFrame" relativePoint="TOPLEFT" x="0" y="-5"/>
  374. </Anchors>
  375. <Layers>
  376. <Layer level="ARTWORK">
  377. <Texture name="CharacterCreateOuterBorder1" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-OuterBorder">
  378. <Size x="256" y="256"/>
  379. <Anchors>
  380. <Anchor point="TOP" x="0" y="0"/>
  381. </Anchors>
  382. <TexCoords left="0" right="1" top="1" bottom="0"/>
  383. </Texture>
  384. <Texture name="CharacterCreateOuterBorder2" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-OuterBorder">
  385. <Size x="256" y="246"/>
  386. <Anchors>
  387. <Anchor point="TOP" relativeTo="CharacterCreateOuterBorder1" relativePoint="BOTTOM" x="0" y="0"/>
  388. </Anchors>
  389. <TexCoords left="0" right="1" top="0" bottom="0.9609375"/>
  390. </Texture>
  391. <Texture name="CharacterCreateOuterBorder3" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-OuterBorder">
  392. <Size x="256" y="256"/>
  393. <Anchors>
  394. <Anchor point="TOP" relativeTo="CharacterCreateOuterBorder2" relativePoint="BOTTOM" x="0" y="0"/>
  395. </Anchors>
  396. </Texture>
  397. </Layer>
  398. <Layer level="BACKGROUND">
  399. <Texture name="CharacterCreateConfigurationBackground" file="Interface\Tooltips\UI-Tooltip-Background">
  400. <Anchors>
  401. <Anchor point="TOPLEFT" relativeTo="CharacterCreateOuterBorder1" relativePoint="TOPLEFT" x="10" y="-8"/>
  402. <Anchor point="BOTTOMRIGHT" relativeTo="CharacterCreateOuterBorder3" relativePoint="BOTTOMRIGHT" x="-10" y="8"/>
  403. </Anchors>
  404. </Texture>
  405. </Layer>
  406. <Layer level="BORDER">
  407. <Texture name="CharacterCreateBanners" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Banners">
  408. <Size x="256" y="575"/>
  409. <Anchors>
  410. <Anchor point="TOP" relativeTo="CharacterCreateOuterBorder1" relativePoint="TOP" x="0" y="-5"/>
  411. </Anchors>
  412. </Texture>
  413. </Layer>
  414. <Layer level="OVERLAY">
  415. <FontString name="CharacterCreateAllianceLabel" inherits="FactionName_Shadow_Huge" text="ALLIANCE">
  416. <Anchors>
  417. <Anchor point="TOP" relativePoint="TOP" x="-49" y="-20"/>
  418. </Anchors>
  419. </FontString>
  420. <FontString name="CharacterCreateHordeLabel" inherits="FactionName_Shadow_Huge" text="HORDE">
  421. <Anchors>
  422. <Anchor point="TOP" relativePoint="TOP" x="50" y="-20"/>
  423. </Anchors>
  424. </FontString>
  425. <!--
  426.  
  427. <FontString name="CharacterCreateAllianceRaceLabel" inherits="OptionsFontSmall"/>
  428. <FontString name="CharacterCreateHordeRaceLabel" inherits="OptionsFontSmall"/>
  429. -->
  430. <FontString name="CharacterCreateGender" inherits="CharacterCreateTooltipFont">
  431. <Anchors>
  432. <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-380"/>
  433. </Anchors>
  434. <Color r="1.0" g="0.78" b="0"/>
  435. </FontString>
  436. <FontString name="CharacterCreateClassName" inherits="CharacterCreateTooltipFont">
  437. <Anchors>
  438. <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-450"/>
  439. </Anchors>
  440. <Color r="1.0" g="0.78" b="0"/>
  441. </FontString>
  442. </Layer>
  443. </Layers>
  444. <Frames>
  445.  
  446. <CheckButton name="CharacterCreateRaceButton1" inherits="CharacterCreateRaceButtonTemplate" id="1">
  447. <Anchors>
  448. <Anchor point="TOP" relativePoint="TOP" x="-50" y="-50"/>
  449. </Anchors>
  450. </CheckButton>
  451. <CheckButton name="CharacterCreateRaceButton2" inherits="CharacterCreateRaceButtonTemplate" id="2">
  452. <Anchors>
  453. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton1" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  454. </Anchors>
  455. </CheckButton>
  456. <CheckButton name="CharacterCreateRaceButton3" inherits="CharacterCreateRaceButtonTemplate" id="3">
  457. <Anchors>
  458. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton2" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  459. </Anchors>
  460. </CheckButton>
  461. <CheckButton name="CharacterCreateRaceButton4" inherits="CharacterCreateRaceButtonTemplate" id="4">
  462. <Anchors>
  463. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton3" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  464. </Anchors>
  465. </CheckButton>
  466. <CheckButton name="CharacterCreateRaceButton5" inherits="CharacterCreateRaceButtonTemplate" id="5">
  467. <Anchors>
  468. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton4" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  469. </Anchors>
  470. </CheckButton>
  471. <CheckButton name="CharacterCreateRaceButton6" inherits="CharacterCreateRaceButtonTemplate" id="6">
  472. <Anchors>
  473. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton5" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  474. </Anchors>
  475. </CheckButton>
  476. <CheckButton name="CharacterCreateRaceButton7" inherits="CharacterCreateRaceButtonTemplate" id="7">
  477. <Anchors>
  478. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton6" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  479. </Anchors>
  480. </CheckButton>
  481. <CheckButton name="CharacterCreateRaceButton8" inherits="CharacterCreateRaceButtonTemplate" id="8">
  482. <Anchors>
  483. <Anchor point="TOP" relativePoint="TOP" x="50" y="-50"/>
  484. </Anchors>
  485. </CheckButton>
  486. <CheckButton name="CharacterCreateRaceButton9" inherits="CharacterCreateRaceButtonTemplate" id="9">
  487. <Anchors>
  488. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton8" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  489. </Anchors>
  490. </CheckButton>
  491. <CheckButton name="CharacterCreateRaceButton10" inherits="CharacterCreateRaceButtonTemplate" id="10">
  492. <Anchors>
  493. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton9" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  494. </Anchors>
  495. </CheckButton>
  496. <CheckButton name="CharacterCreateRaceButton11" inherits="CharacterCreateRaceButtonTemplate" id="11">
  497. <Anchors>
  498. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton10" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  499. </Anchors>
  500. </CheckButton>
  501. <CheckButton name="CharacterCreateRaceButton12" inherits="CharacterCreateRaceButtonTemplate" id="12">
  502. <Anchors>
  503. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton11" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  504. </Anchors>
  505. </CheckButton>
  506. <CheckButton name="CharacterCreateRaceButton13" inherits="CharacterCreateRaceButtonTemplate" id="13">
  507. <Anchors>
  508. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton12" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  509. </Anchors>
  510. </CheckButton>
  511. <CheckButton name="CharacterCreateRaceButton14" inherits="CharacterCreateRaceButtonTemplate" id="14">
  512. <Anchors>
  513. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton13" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  514. </Anchors>
  515. </CheckButton>
  516. <CheckButton name="CharacterCreateRaceButton15" inherits="CharacterCreateRaceButtonTemplate" id="15">
  517. <Anchors>
  518. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton14" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  519. </Anchors>
  520. </CheckButton>
  521. <CheckButton name="CharacterCreateRaceButton16" inherits="CharacterCreateRaceButtonTemplate" id="16">
  522. <Anchors>
  523. <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton15" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  524. </Anchors>
  525. </CheckButton>
  526.  
  527. <CheckButton name="CharacterCreateGenderButtonMale" inherits="CharacterCreateGenderButtonTemplate">
  528. <Anchors>
  529. <Anchor point="TOP" x="-20" y="-385"/>
  530. </Anchors>
  531. <Scripts>
  532. <OnLoad>
  533. _G[self:GetName().."NormalTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
  534. _G[self:GetName().."PushedTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
  535. </OnLoad>
  536. <OnClick>
  537. PlaySound("gsCharacterCreationClass");
  538. if ( GetSelectedSex() ~= SEX_MALE ) then
  539. SetCharacterGender(SEX_MALE);
  540. end
  541. </OnClick>
  542. <OnEnter>
  543. GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
  544. GlueTooltip_SetText(MALE, CharacterCreateTooltip);
  545. </OnEnter>
  546. </Scripts>
  547. </CheckButton>
  548. <CheckButton name="CharacterCreateGenderButtonFemale" inherits="CharacterCreateGenderButtonTemplate">
  549. <Anchors>
  550. <Anchor point="TOP" x="20" y="-385"/>
  551. </Anchors>
  552. <Scripts>
  553. <OnLoad>
  554. _G[self:GetName().."NormalTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
  555. _G[self:GetName().."PushedTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
  556. </OnLoad>
  557. <OnClick>
  558. PlaySound("gsCharacterCreationClass");
  559. if ( GetSelectedSex() ~= SEX_FEMALE ) then
  560. SetCharacterGender(SEX_FEMALE);
  561. end
  562. </OnClick>
  563. <OnEnter>
  564. GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
  565. GlueTooltip_SetText(FEMALE, CharacterCreateTooltip);
  566. </OnEnter>
  567. </Scripts>
  568. </CheckButton>
  569. <CheckButton name="CharacterCreateClassButton1" inherits="CharacterCreateClassButtonTemplate" id="1">
  570. <Anchors>
  571. <Anchor point="TOP" x="-90" y="-456"/>
  572. </Anchors>
  573. </CheckButton>
  574. <CheckButton name="CharacterCreateClassButton2" inherits="CharacterCreateClassButtonTemplate" id="2">
  575. <Anchors>
  576. <Anchor point="LEFT" relativeTo="CharacterCreateClassButton1" relativePoint="RIGHT" x="6" y="0"/>
  577. </Anchors>
  578. </CheckButton>
  579. <CheckButton name="CharacterCreateClassButton3" inherits="CharacterCreateClassButtonTemplate" id="3">
  580. <Anchors>
  581. <Anchor point="LEFT" relativeTo="CharacterCreateClassButton2" relativePoint="RIGHT" x="6" y="0"/>
  582. </Anchors>
  583. </CheckButton>
  584. <CheckButton name="CharacterCreateClassButton4" inherits="CharacterCreateClassButtonTemplate" id="4">
  585. <Anchors>
  586. <Anchor point="LEFT" relativeTo="CharacterCreateClassButton3" relativePoint="RIGHT" x="6" y="0"/>
  587. </Anchors>
  588. </CheckButton>
  589. <CheckButton name="CharacterCreateClassButton5" inherits="CharacterCreateClassButtonTemplate" id="5">
  590. <Anchors>
  591. <Anchor point="LEFT" relativeTo="CharacterCreateClassButton4" relativePoint="RIGHT" x="6" y="0"/>
  592. </Anchors>
  593. </CheckButton>
  594. <CheckButton name="CharacterCreateClassButton6" inherits="CharacterCreateClassButtonTemplate" id="6">
  595. <Anchors>
  596. <Anchor point="TOP" relativeTo="CharacterCreateClassButton1" relativePoint="BOTTOM" x="0" y="-6"/>
  597. </Anchors>
  598. </CheckButton>
  599. <CheckButton name="CharacterCreateClassButton7" inherits="CharacterCreateClassButtonTemplate" id="7">
  600. <Anchors>
  601. <Anchor point="TOP" relativeTo="CharacterCreateClassButton2" relativePoint="BOTTOM" x="0" y="-6"/>
  602. </Anchors>
  603. </CheckButton>
  604. <CheckButton name="CharacterCreateClassButton8" inherits="CharacterCreateClassButtonTemplate" id="8">
  605. <Anchors>
  606. <Anchor point="TOP" relativeTo="CharacterCreateClassButton3" relativePoint="BOTTOM" x="0" y="-6"/>
  607. </Anchors>
  608. </CheckButton>
  609. <CheckButton name="CharacterCreateClassButton9" inherits="CharacterCreateClassButtonTemplate" id="9">
  610. <Anchors>
  611. <Anchor point="TOP" relativeTo="CharacterCreateClassButton4" relativePoint="BOTTOM" x="0" y="-6"/>
  612. </Anchors>
  613. </CheckButton>
  614. <CheckButton name="CharacterCreateClassButton10" inherits="CharacterCreateClassButtonTemplate" id="10">
  615. <Anchors>
  616. <Anchor point="TOP" relativeTo="CharacterCreateClassButton5" relativePoint="BOTTOM" x="0" y="-6"/>
  617. </Anchors>
  618. </CheckButton>
  619.  
  620.  
  621. <Button name="CharCreateRandomizeButton" inherits="GlueButtonTemplate" text="RANDOMIZE">
  622. <Size x="150" y="51"/>
  623. <Anchors>
  624. <Anchor point="BOTTOM" x="0" y="7"/>
  625. </Anchors>
  626. <Scripts>
  627. <OnLoad>
  628. self:SetWidth(self:GetTextWidth() + 50);
  629. </OnLoad>
  630. <OnClick>
  631. CharacterCreate_Randomize();
  632. </OnClick>
  633. </Scripts>
  634. </Button>
  635. <Frame name="CharacterCustomizationButtonFrame5" inherits="CharacterCustomizationFrameTemplate" id="5">
  636. <Anchors>
  637. <Anchor point="BOTTOM" relativeTo="CharCreateRandomizeButton" relativePoint="TOP" x="-6" y="-3"/>
  638. </Anchors>
  639. </Frame>
  640. <Frame name="CharacterCustomizationButtonFrame4" inherits="CharacterCustomizationFrameTemplate" id="4">
  641. <Anchors>
  642. <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame5" relativePoint="TOP" x="0" y="0"/>
  643. </Anchors>
  644. </Frame>
  645. <Frame name="CharacterCustomizationButtonFrame3" inherits="CharacterCustomizationFrameTemplate" id="3">
  646. <Anchors>
  647. <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame4" relativePoint="TOP" x="0" y="0"/>
  648. </Anchors>
  649. </Frame>
  650. <Frame name="CharacterCustomizationButtonFrame2" inherits="CharacterCustomizationFrameTemplate" id="2">
  651. <Anchors>
  652. <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame3" relativePoint="TOP" x="0" y="0"/>
  653. </Anchors>
  654. </Frame>
  655. <Frame name="CharacterCustomizationButtonFrame1" inherits="CharacterCustomizationFrameTemplate" id="1">
  656. <Anchors>
  657. <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame2" relativePoint="TOP" x="0" y="0"/>
  658. </Anchors>
  659. </Frame>
  660. </Frames>
  661. </Frame>
  662. <Button name="CharacterCreateRandomName" inherits="GlueButtonTemplate" text="RANDOMIZE">
  663. <Size x="156" y="51"/>
  664. <Anchors>
  665. <Anchor point="BOTTOM" x="0" y="7"/>
  666. </Anchors>
  667. <Scripts>
  668. <OnLoad>
  669. self:SetWidth(self:GetTextWidth() + 50);
  670. </OnLoad>
  671. <OnClick>
  672. CharacterCreateNameEdit:SetText(GetRandomName());
  673. PlaySound("gsCharacterCreationLook");
  674. </OnClick>
  675. </Scripts>
  676. </Button>
  677. <EditBox name="CharacterCreateNameEdit" letters="12">
  678. <Size x="156" y="40"/>
  679. <Anchors>
  680. <Anchor point="BOTTOM" relativeTo="CharacterCreateRandomName" relativePoint="TOP" x="0" y="-8"/>
  681. </Anchors>
  682. <Layers>
  683. <Layer level="BACKGROUND">
  684. <FontString inherits="GlueFontNormalLarge" text="NAME">
  685. <Size x="256" y="64"/>
  686. <Anchors>
  687. <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-23"/>
  688. </Anchors>
  689. </FontString>
  690. </Layer>
  691. </Layers>
  692. <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
  693. <BackgroundInsets>
  694. <AbsInset left="10" right="5" top="4" bottom="9"/>
  695. </BackgroundInsets>
  696. <TileSize>
  697. <AbsValue val="16"/>
  698. </TileSize>
  699. <EdgeSize>
  700. <AbsValue val="16"/>
  701. </EdgeSize>
  702. </Backdrop>
  703. <Scripts>
  704. <OnEscapePressed>
  705. CharacterCreate_Back();
  706. </OnEscapePressed>
  707. <OnEnterPressed>
  708. CharacterCreate_Okay();
  709. </OnEnterPressed>
  710. </Scripts>
  711. <FontString inherits="GlueEditBoxFont"/>
  712. <TextInsets>
  713. <AbsInset left="15"/>
  714. </TextInsets>
  715. </EditBox>
  716. <Button name="CharacterCreateRotateLeft">
  717. <Size x="50" y="50"/>
  718. <Anchors>
  719. <Anchor point="LEFT" relativeTo="CharacterCreateNameEdit" relativePoint="RIGHT" x="-10" y="2"/>
  720. </Anchors>
  721. <HitRectInsets>
  722. <AbsInset left="13" right="13" top="10" bottom="13"/>
  723. </HitRectInsets>
  724. <Scripts>
  725. <OnLoad>
  726. self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
  727. </OnLoad>
  728. <OnClick>
  729. PlaySound("igInventoryRotateCharacter");
  730. </OnClick>
  731. <OnUpdate>
  732. CharacterCreateRotateLeft_OnUpdate(self);
  733. </OnUpdate>
  734. </Scripts>
  735. <NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up">
  736. <TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
  737. </NormalTexture>
  738. <PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down">
  739. <TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
  740. </PushedTexture>
  741. <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
  742. <Size x="30" y="30"/>
  743. <Anchors>
  744. <Anchor point="CENTER" x="0" y="0"/>
  745. </Anchors>
  746. </HighlightTexture>
  747. </Button>
  748. <Button name="CharacterCreateRotateRight">
  749. <Size x="50" y="50"/>
  750. <Anchors>
  751. <Anchor point="RIGHT" relativeTo="CharacterCreateNameEdit" relativePoint="LEFT" x="14" y="2"/>
  752. </Anchors>
  753. <HitRectInsets>
  754. <AbsInset left="13" right="13" top="10" bottom="13"/>
  755. </HitRectInsets>
  756. <Scripts>
  757. <OnLoad>
  758. self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
  759. </OnLoad>
  760. <OnClick>
  761. PlaySound("igInventoryRotateCharacter");
  762. </OnClick>
  763. <OnUpdate>
  764. CharacterCreateRotateRight_OnUpdate(self);
  765. </OnUpdate>
  766. </Scripts>
  767. <NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up"/>
  768. <PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down"/>
  769. <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
  770. <Size x="30" y="30"/>
  771. <Anchors>
  772. <Anchor point="CENTER" x="0" y="0"/>
  773. </Anchors>
  774. </HighlightTexture>
  775. </Button>
  776. <Button name="CharCreateBackButton" inherits="GlueButtonTemplate" text="BACK">
  777. <Size x="150" y="51"/>
  778. <Anchors>
  779. <Anchor point="BOTTOMRIGHT" x="-5" y="5"/>
  780. </Anchors>
  781. <Scripts>
  782. <OnClick>
  783. CharacterCreate_Back();
  784. </OnClick>
  785. </Scripts>
  786. </Button>
  787. <Button name="CharCreateOkayButton" inherits="GlueButtonTemplate" text="CHARACTER_CREATE_ACCEPT">
  788. <Size x="150" y="51"/>
  789. <Anchors>
  790. <Anchor point="BOTTOM" relativeTo="CharCreateBackButton" relativePoint="TOP" x="0" y="-8"/>
  791. </Anchors>
  792. <Scripts>
  793. <OnClick>
  794. CharacterCreate_Okay();
  795. </OnClick>
  796. </Scripts>
  797. </Button>
  798. </Frames>
  799. <Scripts>
  800. <OnShow>
  801. CharacterCreateLogo:SetTexture(VX_LOGO_TEXTURE);
  802. </OnShow>
  803. <OnMouseDown>
  804. CharacterCreateFrame_OnMouseDown(button);
  805. </OnMouseDown>
  806. <OnMouseUp>
  807. CharacterCreateFrame_OnMouseUp(button);
  808. </OnMouseUp>
  809. <OnUpdate>
  810. CharacterCreateFrame_OnUpdate();
  811. </OnUpdate>
  812. </Scripts>
  813. </Frame>
  814. </Frames>
  815. <Scripts>
  816. <OnLoad>
  817. CharacterCreate_OnLoad(self);
  818. </OnLoad>
  819. <OnShow>
  820. CharacterCreate_OnShow();
  821. </OnShow>
  822. <OnHide>
  823. CharacterCreate_OnHide();
  824. </OnHide>
  825. <OnChar>
  826. CharacterCreate_OnChar();
  827. </OnChar>
  828. <OnKeyDown>
  829. CharacterCreate_OnKeyDown(key);
  830. </OnKeyDown>
  831. <OnUpdateModel>
  832. CharacterCreate_UpdateModel(self);
  833. </OnUpdateModel>
  834. </Scripts>
  835. </ModelFFX>
  836. </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement