MichaelCrow

Untitled

Mar 3rd, 2016
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.37 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="AccountLogin.lua"/>
  4. <Button name="VirtualKeyPadButtonTemplate" inherits="GlueMenuButtonTemplate" virtual="true">
  5. <Size x="40" y="24"/>
  6. <Scripts>
  7. <OnClick>
  8. VirtualKeypadButton_OnClick(self);
  9. </OnClick>
  10. </Scripts>
  11. </Button>
  12.  
  13. <Button name="AccountNameButton" virtual="true">
  14. <Size x="250" y="20"/>
  15. <Layers>
  16. <Layer level="ARTWORK">
  17. <Texture name="$parentBGHighlight" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD" hidden="true">
  18. <Anchors>
  19. <Anchor point="LEFT">
  20. <Offset>
  21. <AbsDimension x="-20" y="0"/>
  22. </Offset>
  23. </Anchor>
  24. <Anchor point="RIGHT">
  25. <Offset>
  26. <AbsDimension x="-10" y="0"/>
  27. </Offset>
  28. </Anchor>
  29. </Anchors>
  30. </Texture>
  31. </Layer>
  32. </Layers>
  33. <Scripts>
  34. <OnLoad>
  35. self.BG_Highlight = _G[self:GetName().."BGHighlight"];
  36. </OnLoad>
  37. <OnClick>
  38. WoWAccountSelectButton_OnClick(self);
  39. </OnClick>
  40. <OnDoubleClick>
  41. WoWAccountSelectButton_OnDoubleClick(self);
  42. </OnDoubleClick>
  43. </Scripts>
  44. <ButtonText>
  45. <Anchors>
  46. <Anchor point="LEFT">
  47. <Offset>
  48. <AbsDimension x="2" y="2"/>
  49. </Offset>
  50. </Anchor>
  51. </Anchors>
  52. </ButtonText>
  53. <NormalFont style="GlueFontNormalSmall"/>
  54. <HighlightFont style="GlueFontHighlightSmall"/>
  55. <DisabledFont style="GlueFontDisableSmall"/>
  56. <PushedTexture name="$parentPushedTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
  57. <Anchors>
  58. <Anchor point="LEFT">
  59. <Offset>
  60. <AbsDimension x="-20" y="0"/>
  61. </Offset>
  62. </Anchor>
  63. <Anchor point="RIGHT">
  64. <Offset>
  65. <AbsDimension x="-10" y="0"/>
  66. </Offset>
  67. </Anchor>
  68. </Anchors>
  69. </PushedTexture>
  70. </Button>
  71.  
  72. <Frame name="AccountLoginUIResetFrame" toplevel="true" frameStrata="DIALOG" hidden="true">
  73. <Size x="1" y="1"/>
  74. <Anchors>
  75. <Anchor point="TOP"/>
  76. </Anchors>
  77. <Layers>
  78. <Layer level="OVERLAY">
  79. <FontString name="AccountLoginUIResetWarning" inherits="GlueFontRedLarge" text="RESET_WARNING">
  80. <Size x="400" y="48"/>
  81. <Anchors>
  82. <Anchor point="TOP">
  83. <Offset>
  84. <AbsDimension x="0" y="-32"/>
  85. </Offset>
  86. </Anchor>
  87. </Anchors>
  88. </FontString>
  89. </Layer>
  90. </Layers>
  91. </Frame>
  92.  
  93. <Frame name="AccountLogin" toplevel="true" parent="GlueParent" setAllPoints="true" enableKeyboard="true" frameStrata="HIGH" hidden="true">
  94. <Frames>
  95. <Frame name="AccountLoginUI" setAllPoints="true">
  96. <Layers>
  97. <Layer level="ARTWORK">
  98. <Texture file="Interface\Glues\Mainmenu\Glues-BlizzardLogo" hidden="true">
  99. <Size>
  100. <AbsDimension x="100" y="100"/>
  101. </Size>
  102. <Anchors>
  103. <Anchor point="BOTTOM">
  104. <Offset>
  105. <AbsDimension x="0" y="8"/>
  106. </Offset>
  107. </Anchor>
  108. </Anchors>
  109. </Texture>
  110. <FontString inherits="GlueFontNormalSmall" text="BLIZZ_DISCLAIMER" hidden="true">
  111. <Anchors>
  112. <Anchor point="BOTTOM">
  113. <Offset>
  114. <AbsDimension x="0" y="10"/>
  115. </Offset>
  116. </Anchor>
  117. </Anchors>
  118. </FontString>
  119. <FontString name="AccountLoginVersion" inherits="GlueFontDisableSmall" justifyH="LEFT">
  120. <Anchors>
  121. <Anchor point="BOTTOM">
  122. <Offset>
  123. <AbsDimension x="-170" y="20"/>
  124. </Offset>
  125. </Anchor>
  126. </Anchors>
  127. </FontString>
  128. <FontString name="AccountLoginRealmName" inherits="GlueFontDisableSmall" justifyH="RIGHT" hidden="false">
  129. <Size>
  130. <AbsDimension x="256" y="0"/>
  131. </Size>
  132. <Anchors>
  133. <Anchor point="BOTTOM">
  134. <Offset>
  135. <AbsDimension x="90" y="20"/>
  136. </Offset>
  137. </Anchor>
  138. </Anchors>
  139. </FontString>
  140. </Layer>
  141. <Layer level="OVERLAY">
  142. <Texture name="AccountLoginLogo" file="Interface\Glues\Common\Glues-WoW-WotLKLogo" hidden="true">
  143. <Size>
  144. <AbsDimension x="256" y="128"/>
  145. </Size>
  146. <Anchors>
  147. <Anchor point="TOPLEFT">
  148. <Offset>
  149. <AbsDimension x="3" y="-7"/>
  150. </Offset>
  151. </Anchor>
  152. </Anchors>
  153. </Texture>
  154. <Texture name="WorldOfWarcraftRating" hidden="true">
  155. <Size>
  156. <AbsDimension x="128" y="128"/>
  157. </Size>
  158. <Anchors>
  159. <Anchor point="TOPRIGHT">
  160. <Offset>
  161. <AbsDimension x="0" y="0"/>
  162. </Offset>
  163. </Anchor>
  164. </Anchors>
  165. </Texture>
  166. </Layer>
  167. </Layers>
  168. <Frames>
  169. <EditBox name="AccountLoginAccountEdit" letters="320">
  170. <Size x="200" y="37"/>
  171. <Anchors>
  172. <Anchor point="BOTTOM">
  173. <Offset>
  174. <AbsDimension x="0" y="170"/>
  175. </Offset>
  176. </Anchor>
  177. </Anchors>
  178. <Layers>
  179. <Layer level="BACKGROUND">
  180. <FontString name="$parentFill" inherits="GlueFontDisableSmall" justifyH="LEFT" justifyV="MIDDLE" text="Enter your Accountname">
  181. <Anchors>
  182. <Anchor point="CENTER" relativePoint="CENTER">
  183. <Offset>
  184. <AbsDimension x="0" y="3"/>
  185. </Offset>
  186. </Anchor>
  187. </Anchors>
  188. </FontString>
  189. </Layer>
  190. </Layers>
  191. <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
  192. <BackgroundInsets>
  193. <AbsInset left="10" right="5" top="4" bottom="9"/>
  194. </BackgroundInsets>
  195. <TileSize>
  196. <AbsValue val="16"/>
  197. </TileSize>
  198. <EdgeSize>
  199. <AbsValue val="16"/>
  200. </EdgeSize>
  201. </Backdrop>
  202. <Scripts>
  203. <OnTabPressed>
  204. AccountLogin_FocusPassword();
  205. </OnTabPressed>
  206. <OnEscapePressed>
  207. AccountLogin_Exit();
  208. </OnEscapePressed>
  209. <OnEnterPressed>
  210. if ( TOSFrame:IsShown() ) then
  211. return;
  212. end
  213. AccountLogin_Login();
  214. </OnEnterPressed>
  215. <OnEditFocusLost>
  216. self:HighlightText(0, 0);
  217. </OnEditFocusLost>
  218. <OnEditFocusGained>
  219. self:HighlightText();
  220. </OnEditFocusGained>
  221. <OnTextChanged>
  222. if ( self:GetText() ~= "" ) then
  223. AccountLoginAccountEditFill:Hide();
  224. else
  225. AccountLoginAccountEditFill:Show();
  226. end
  227. </OnTextChanged>
  228. </Scripts>
  229. <FontString inherits="GlueEditBoxFont"/>
  230. <TextInsets>
  231. <AbsInset left="12" right="5" bottom="5"/>
  232. </TextInsets>
  233. </EditBox>
  234. <EditBox name="AccountLoginPasswordEdit" letters="16" password="1">
  235. <Size x="200" y="37"/>
  236. <Anchors>
  237. <Anchor point="BOTTOM">
  238. <Offset>
  239. <AbsDimension x="0" y="130"/>
  240. </Offset>
  241. </Anchor>
  242. </Anchors>
  243. <Layers>
  244. <Layer level="BACKGROUND">
  245. <FontString name="$parentFill" inherits="GlueFontDisableSmall" justifyH="LEFT" justifyV="MIDDLE" text="Enter your Password">
  246. <Anchors>
  247. <Anchor point="CENTER" relativePoint="CENTER">
  248. <Offset>
  249. <AbsDimension x="0" y="3"/>
  250. </Offset>
  251. </Anchor>
  252. </Anchors>
  253. </FontString>
  254. </Layer>
  255. </Layers>
  256. <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
  257. <BackgroundInsets>
  258. <AbsInset left="10" right="5" top="4" bottom="9"/>
  259. </BackgroundInsets>
  260. <TileSize>
  261. <AbsValue val="16"/>
  262. </TileSize>
  263. <EdgeSize>
  264. <AbsValue val="16"/>
  265. </EdgeSize>
  266. </Backdrop>
  267. <Scripts>
  268. <OnTabPressed>
  269. if ( AccountLoginTokenEdit:IsShown() ) then
  270. AccountLoginTokenEdit:SetFocus();
  271. else
  272. AccountLogin_FocusAccountName();
  273. end
  274. </OnTabPressed>
  275. <OnEscapePressed>
  276. AccountLogin_Exit();
  277. </OnEscapePressed>
  278. <OnEnterPressed>
  279. if ( TOSFrame:IsShown() ) then
  280. return;
  281. end
  282. AccountLogin_Login();
  283. </OnEnterPressed>
  284. <OnEditFocusLost>
  285. self:HighlightText(0, 0);
  286. </OnEditFocusLost>
  287. <OnEditFocusGained>
  288. self:HighlightText();
  289. </OnEditFocusGained>
  290. <OnTextChanged>
  291. if ( self:GetText() ~= "" ) then
  292. AccountLoginPasswordEditFill:Hide();
  293. else
  294. AccountLoginPasswordEditFill:Show();
  295. end
  296. </OnTextChanged>
  297. </Scripts>
  298. <FontString inherits="GlueEditBoxFont"/>
  299. <TextInsets>
  300. <AbsInset left="12" right="5" bottom="5"/>
  301. </TextInsets>
  302. </EditBox>
  303.  
  304. <EditBox name="AccountLoginTokenEdit" letters="320" hidden="true">
  305. <Size x="200" y="37"/>
  306. <Anchors>
  307. <Anchor point="TOP" relativeTo="AccountLoginPasswordEdit" relativePoint="BOTTOM">
  308. <Offset>
  309. <AbsDimension x="0" y="-15"/>
  310. </Offset>
  311. </Anchor>
  312. </Anchors>
  313. <Layers>
  314. <Layer level="BACKGROUND">
  315. <FontString name="$parentLabel" inherits="GlueFontNormal" justifyH="CENTER" text="AUTHENTICATOR">
  316. <Size>
  317. <AbsDimension x="600" y="64"/>
  318. </Size>
  319. <Anchors>
  320. <Anchor point="BOTTOM" relativePoint="TOP">
  321. <Offset>
  322. <AbsDimension x="0" y="-23"/>
  323. </Offset>
  324. </Anchor>
  325. </Anchors>
  326. </FontString>
  327. </Layer>
  328. </Layers>
  329. <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
  330. <BackgroundInsets>
  331. <AbsInset left="10" right="5" top="4" bottom="9"/>
  332. </BackgroundInsets>
  333. <TileSize>
  334. <AbsValue val="16"/>
  335. </TileSize>
  336. <EdgeSize>
  337. <AbsValue val="16"/>
  338. </EdgeSize>
  339. </Backdrop>
  340. <Scripts>
  341. <OnTabPressed>
  342. AccountLogin_FocusAccountName();
  343. </OnTabPressed>
  344. <OnEscapePressed>
  345. AccountLogin_Exit();
  346. </OnEscapePressed>
  347. <OnEnterPressed>
  348. if ( TOSFrame:IsShown() ) then
  349. return;
  350. end
  351. AccountLogin_Login();
  352. </OnEnterPressed>
  353. <OnEditFocusLost>
  354. self:HighlightText(0, 0);
  355. </OnEditFocusLost>
  356. <OnEditFocusGained>
  357. self:HighlightText();
  358. </OnEditFocusGained>
  359. </Scripts>
  360. <FontString inherits="GlueEditBoxFont"/>
  361. <TextInsets>
  362. <AbsInset left="12" right="5" bottom="5"/>
  363. </TextInsets>
  364. </EditBox>
  365.  
  366.  
  367. <Frame name="AccountLoginDropDown" inherits="GlueDropDownMenuTemplate" hidden="true">
  368. <Anchors>
  369. <Anchor point="TOP" relativeTo="AccountLoginAccountEdit" relativePoint="BOTTOM">
  370. <Offset>
  371. <AbsDimension x="2" y="5"/>
  372. </Offset>
  373. </Anchor>
  374. </Anchors>
  375. <Scripts>
  376. <OnLoad>
  377. GlueDropDownMenu_SetWidth(174, self);
  378. GlueDropDownMenu_SetSelectedValue(self, 1);
  379. GlueDropDownMenu_Initialize(self, AccountLoginDropDown_Initialize);
  380. AccountLoginDropDownText:SetJustifyH("LEFT");
  381. </OnLoad>
  382. </Scripts>
  383. </Frame>
  384. <Button name="AccountLoginLoginButton" inherits="GlueButtonTemplateBlue" text="LOGIN">
  385. <Size x="200" y="55"/>
  386. <Anchors>
  387. <Anchor point="BOTTOM">
  388. <Offset>
  389. <AbsDimension x="0" y="80"/>
  390. </Offset>
  391. </Anchor>
  392. </Anchors>
  393. <Scripts>
  394. <OnClick>
  395. AccountLogin_Login();
  396. </OnClick>
  397. </Scripts>
  398. </Button>
  399. <Button name="AccountLoginExitButton" inherits="GlueButtonSmallTemplateBlue" text="QUIT">
  400. <Anchors>
  401. <Anchor point="TOPLEFT" relativeTo="AccountLoginLoginButton" relativePoint="BOTTOMRIGHT">
  402. <Offset>
  403. <AbsDimension x="-5" y="5"/>
  404. </Offset>
  405. </Anchor>
  406. </Anchors>
  407. <Scripts>
  408. <OnClick>
  409. AccountLogin_Exit();
  410. </OnClick>
  411. </Scripts>
  412. </Button>
  413. <Button name="AccountLoginTOSButton" inherits="GlueButtonSmallTemplateBlue" text="TOS_FRAME_TITLE" hidden="true">
  414. <Anchors>
  415. <Anchor point="BOTTOM" relativeTo="AccountLoginExitButton" relativePoint="TOP">
  416. <Offset>
  417. <AbsDimension x="0" y="80"/>
  418. </Offset>
  419. </Anchor>
  420. </Anchors>
  421. <Scripts>
  422. <OnClick>
  423. AccountLogin_TOS();
  424. </OnClick>
  425. </Scripts>
  426. </Button>
  427. <Button name="AccountLoginCreditsButton" inherits="GlueButtonSmallTemplateBlue" text="CREDITS" hidden="true">
  428. <Anchors>
  429. <Anchor point="BOTTOM" relativeTo="AccountLoginTOSButton" relativePoint="TOP">
  430. <Offset>
  431. <AbsDimension x="0" y="-2"/>
  432. </Offset>
  433. </Anchor>
  434. </Anchors>
  435. <Scripts>
  436. <OnClick>
  437. AccountLogin_Credits();
  438. </OnClick>
  439. </Scripts>
  440. </Button>
  441. <Button name="AccountLoginCinematicsButton" inherits="GlueButtonSmallTemplateBlue" text="CINEMATICS" hidden="true">
  442. <Anchors>
  443. <Anchor point="BOTTOM" relativeTo="AccountLoginCreditsButton" relativePoint="TOP">
  444. <Offset>
  445. <AbsDimension x="0" y="-2"/>
  446. </Offset>
  447. </Anchor>
  448. </Anchors>
  449. <Scripts>
  450. <OnClick>
  451. PlaySound("gsTitleOptions");
  452. AccountLogin_Cinematics();
  453. </OnClick>
  454. </Scripts>
  455. </Button>
  456. <Button name="OptionsButton" inherits="GlueButtonSmallTemplateBlue" text="OPTIONS">
  457. <Anchors>
  458. <Anchor point="BOTTOMRIGHT">
  459. <Offset>
  460. <AbsDimension x="-5" y="5"/>
  461. </Offset>
  462. </Anchor>
  463. </Anchors>
  464. <Scripts>
  465. <OnClick>
  466. PlaySound("gsTitleOptions");
  467. OptionsSelectFrame:Show();
  468. </OnClick>
  469. </Scripts>
  470. </Button>
  471. <Button name="AccountLoginCommunityButton" inherits="GlueButtonSmallTemplateBlue" text="COMMUNITY_SITE">
  472. <Anchors>
  473. <Anchor point="BOTTOMLEFT">
  474. <Offset>
  475. <AbsDimension x="5" y="5"/>
  476. </Offset>
  477. </Anchor>
  478. </Anchors>
  479. <Scripts>
  480. <OnClick>
  481. AccountLogin_LaunchCommunitySite();
  482. </OnClick>
  483. </Scripts>
  484. </Button>
  485. <Button name="AccountLoginManageAccountButton" inherits="GlueButtonSmallTemplateBlue" text="MANAGE_ACCOUNT">
  486. <Anchors>
  487. <Anchor point="TOPRIGHT" relativeTo="AccountLoginLoginButton" relativePoint="BOTTOMLEFT">
  488. <Offset>
  489. <AbsDimension x="5" y="5"/>
  490. </Offset>
  491. </Anchor>
  492. </Anchors>
  493. <Scripts>
  494. <OnClick>
  495. AccountLogin_ManageAccount();
  496. </OnClick>
  497. </Scripts>
  498. </Button>
  499. <Button name="AccountLoginUpgradeAccountButton" inherits="GlueButtonTemplateBlue" text="UPGRADE_ACCOUNT" hidden="true">
  500. <Size x="320" y="60"/>
  501. <Anchors>
  502. <Anchor point="TOP" x="0" y="0"/>
  503. </Anchors>
  504. <Scripts>
  505. <OnClick>
  506. UpgradeAccount();
  507. </OnClick>
  508. </Scripts>
  509. </Button>
  510.  
  511.  
  512. <Frame>
  513. <Layers>
  514. <Layer level="ARTWORK">
  515. <FontString name="AccountLoginSaveAccountNameText" inherits="GlueFontNormalSmall" text="SAVE_ACCOUNT_NAME">
  516. <Anchors>
  517. <Anchor point="TOP" relativeTo="AccountLoginLoginButton" relativePoint="BOTTOM">
  518. <Offset>
  519. <AbsDimension x="10" y="0"/>
  520. </Offset>
  521. </Anchor>
  522. </Anchors>
  523. <FontHeight>
  524. <AbsValue val="10"/>
  525. </FontHeight>
  526. <Shadow>
  527. <Offset>
  528. <AbsDimension x="1" y="-1"/>
  529. </Offset>
  530. <Color r="0" g="0" b="0"/>
  531. </Shadow>
  532. <Color r="1.0" g="0.78" b="0"/>
  533. </FontString>
  534. </Layer>
  535. </Layers>
  536. </Frame>
  537. <CheckButton name="AccountLoginSaveAccountName">
  538. <Size>
  539. <AbsDimension x="20" y="20"/>
  540. </Size>
  541. <Anchors>
  542. <Anchor point="RIGHT" relativeTo="AccountLoginSaveAccountNameText" relativePoint="LEFT">
  543. <Offset>
  544. <AbsDimension x="0" y="0"/>
  545. </Offset>
  546. </Anchor>
  547. </Anchors>
  548. <Scripts>
  549. <OnLoad>
  550. if ( GetSavedAccountName() ~= "" ) then
  551. self:SetChecked(1);
  552. else
  553. self:SetChecked(0);
  554. end
  555. </OnLoad>
  556. <OnClick>
  557. if ( self:GetChecked() ) then
  558. PlaySound("igMainMenuOptionCheckBoxOff");
  559. AccountLoginSavePasswordText:Show();
  560. AccountLoginSavePassword:Show();
  561. else
  562. PlaySound("igMainMenuOptionCheckBoxOn");
  563. AccountLoginSavePasswordText:Hide();
  564. AccountLoginSavePassword:Hide();
  565. AccountLoginSavePassword:SetChecked(0);
  566. end
  567. </OnClick>
  568. </Scripts>
  569. <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
  570. <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
  571. <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
  572. <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
  573. <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
  574. </CheckButton>
  575. <Frame>
  576. <Layers>
  577. <Layer level="ARTWORK">
  578. <FontString name="AccountLoginSavePasswordText" inherits="GlueFontNormalSmall" text="Remember Password">
  579. <Anchors>
  580. <Anchor point="TOP" relativeTo="AccountLoginSaveAccountNameText" relativePoint="BOTTOM">
  581. <Offset>
  582. <AbsDimension x="-16" y="-8"/>
  583. </Offset>
  584. </Anchor>
  585. </Anchors>
  586. <FontHeight>
  587. <AbsValue val="10"/>
  588. </FontHeight>
  589. <Shadow>
  590. <Offset>
  591. <AbsDimension x="1" y="-1"/>
  592. </Offset>
  593. <Color r="0" g="0" b="0"/>
  594. </Shadow>
  595. <Color r="1.0" g="0.78" b="0"/>
  596. </FontString>
  597. </Layer>
  598. </Layers>
  599. </Frame>
  600. <CheckButton name="AccountLoginSavePassword">
  601. <Size>
  602. <AbsDimension x="20" y="20"/>
  603. </Size>
  604. <Anchors>
  605. <Anchor point="RIGHT" relativeTo="AccountLoginSavePasswordText" relativePoint="LEFT">
  606. <Offset>
  607. <AbsDimension x="-1" y="0"/>
  608. </Offset>
  609. </Anchor>
  610. </Anchors>
  611. <Scripts>
  612. <OnLoad>
  613. if ( string.find(GetSavedAccountName(),"|") ) then
  614. self:SetChecked(1);
  615. else
  616. self:SetChecked(0);
  617. end
  618.  
  619. if ( GetSavedAccountName() ~= "" ) then
  620. AccountLoginSavePasswordText:Show();
  621. AccountLoginSavePassword:Show();
  622. else
  623. AccountLoginSavePasswordText:Hide();
  624. AccountLoginSavePassword:Hide();
  625. self:SetChecked(0);
  626. end
  627. </OnLoad>
  628. <OnClick>
  629. if ( self:GetChecked() and AccountLoginSaveAccountName:GetChecked() ) then
  630. PlaySound("igMainMenuOptionCheckBoxOff");
  631. GlueDialog_Show("REMEMBER_PASSWORD");
  632. elseif ( AccountLoginSaveAccountName:GetChecked() ) then
  633. PlaySound("igMainMenuOptionCheckBoxOn");
  634. else
  635. self:SetChecked(0);
  636. end
  637. </OnClick>
  638. </Scripts>
  639. <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
  640. <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
  641. <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
  642. <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
  643. <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
  644. </CheckButton>
  645.  
  646.  
  647. <CheckButton name="AccountLoginShowLauncher" hidden="true">
  648. <Size>
  649. <AbsDimension x="20" y="20"/>
  650. </Size>
  651. <Anchors>
  652. <Anchor point="TOPLEFT" relativeTo="AccountLoginCommunityButton" relativePoint="BOTTOMLEFT">
  653. <Offset>
  654. <AbsDimension x="7" y="-5"/>
  655. </Offset>
  656. </Anchor>
  657. </Anchors>
  658. <Layers>
  659. <Layer level="ARTWORK">
  660. <FontString inherits="GlueFontNormalSmall" text="SHOW_LAUNCHER">
  661. <Anchors>
  662. <Anchor point="LEFT">
  663. <Offset>
  664. <AbsDimension x="24" y="0"/>
  665. </Offset>
  666. </Anchor>
  667. </Anchors>
  668. <FontHeight>
  669. <AbsValue val="10"/>
  670. </FontHeight>
  671. <Shadow>
  672. <Offset>
  673. <AbsDimension x="1" y="-1"/>
  674. </Offset>
  675. <Color r="0" g="0" b="0"/>
  676. </Shadow>
  677. <Color r="1.0" g="0.78" b="0"/>
  678. </FontString>
  679. </Layer>
  680. </Layers>
  681. <Scripts>
  682. <OnLoad>
  683. self:SetChecked(0);
  684. </OnLoad>
  685. </Scripts>
  686. <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
  687. <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
  688. <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
  689. <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
  690. <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
  691. </CheckButton>
  692. <Frame name="ServerAlertFrame" hidden="true">
  693. <Size>
  694. <AbsDimension x="352" y="400"/>
  695. </Size>
  696. <Anchors>
  697. <Anchor point="TOPLEFT">
  698. <Offset>
  699. <AbsDimension x="10" y="-130"/>
  700. </Offset>
  701. </Anchor>
  702. </Anchors>
  703. <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  704. <BackgroundInsets>
  705. <AbsInset left="11" right="11" top="11" bottom="11"/>
  706. </BackgroundInsets>
  707. <TileSize>
  708. <AbsValue val="32"/>
  709. </TileSize>
  710. <EdgeSize>
  711. <AbsValue val="32"/>
  712. </EdgeSize>
  713. </Backdrop>
  714. <Layers>
  715. <Layer level="ARTWORK">
  716. <FontString name="ServerAlertTitle" inherits="GlueFontNormalLarge" text="SERVER_ALERT_TITLE">
  717. <Anchors>
  718. <Anchor point="TOP">
  719. <Offset>
  720. <AbsDimension x="0" y="-20"/>
  721. </Offset>
  722. </Anchor>
  723. </Anchors>
  724. </FontString>
  725. </Layer>
  726. </Layers>
  727. <Frames>
  728. <ScrollFrame name="ServerAlertScrollFrame" inherits="GlueScrollFrameTemplate">
  729. <Size>
  730. <AbsDimension x="300" y="340"/>
  731. </Size>
  732. <Anchors>
  733. <Anchor point="TOPLEFT">
  734. <Offset>
  735. <AbsDimension x="15" y="-46"/>
  736. </Offset>
  737. </Anchor>
  738. </Anchors>
  739. <Scripts>
  740. <OnLoad>
  741. self.scrollBarHideable = 1;
  742. GlueScrollFrame_OnScrollRangeChanged(self);
  743. </OnLoad>
  744. <OnScrollRangeChanged>
  745. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  746. if (floor(ServerAlertScrollFrame:GetVerticalScrollRange()) > 0) then
  747. self.updated = 1;
  748. end
  749. </OnScrollRangeChanged>
  750. </Scripts>
  751. <ScrollChild>
  752. <SimpleHTML name="ServerAlertText" hyperlinkFormat="|cff06ff07|H%s|h[%s]|h|r">
  753. <Size>
  754. <AbsDimension x="300" y="400"/>
  755. </Size>
  756. <Scripts>
  757. <OnHyperlinkClick>
  758. LaunchURL(link);
  759. </OnHyperlinkClick>
  760. </Scripts>
  761. <FontString inherits="GlueFontHighlightSmall" spacing="2"/>
  762. <FontStringHeader1 inherits="GlueFontNormalLarge" spacing="4"/>
  763. <FontStringHeader2 inherits="GlueFontHighlight" spacing="4"/>
  764. </SimpleHTML>
  765. </ScrollChild>
  766. </ScrollFrame>
  767. </Frames>
  768. </Frame>
  769. <Frame name="VirtualKeypadFrame" hidden="true" frameStrata="DIALOG" enableMouse="true">
  770. <Size>
  771. <AbsDimension x="155" y="175"/>
  772. </Size>
  773. <Anchors>
  774. <Anchor point="TOPLEFT" relativeTo="AccountLoginAccountEdit" relativePoint="TOPRIGHT">
  775. <Offset>
  776. <AbsDimension x="15" y="-2"/>
  777. </Offset>
  778. </Anchor>
  779. </Anchors>
  780. <Layers>
  781. <Layer level="ARTWORK">
  782. <FontString inherits="GlueFontNormalSmall" text="ENTER_PIN_NUMBER">
  783. <Anchors>
  784. <Anchor point="TOP">
  785. <Offset>
  786. <AbsDimension x="-8" y="-5"/>
  787. </Offset>
  788. </Anchor>
  789. </Anchors>
  790. </FontString>
  791. </Layer>
  792. </Layers>
  793. <Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\TutorialFrame\TutorialFrameBorder" tile="true">
  794. <EdgeSize>
  795. <AbsValue val="32"/>
  796. </EdgeSize>
  797. <TileSize>
  798. <AbsValue val="32"/>
  799. </TileSize>
  800. <BackgroundInsets>
  801. <AbsInset left="6" right="2" top="4" bottom="5"/>
  802. </BackgroundInsets>
  803. </Backdrop>
  804. <Frames>
  805. <Frame name="VirtualKeypadPINFrame">
  806. <Size x="130" y="20"/>
  807. <Anchors>
  808. <Anchor point="TOP">
  809. <Offset>
  810. <AbsDimension x="7" y="-31"/>
  811. </Offset>
  812. </Anchor>
  813. </Anchors>
  814. <Layers>
  815. <Layer level="BACKGROUND">
  816. <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
  817. <Size>
  818. <AbsDimension x="8" y="20"/>
  819. </Size>
  820. <Anchors>
  821. <Anchor point="TOPLEFT">
  822. <Offset>
  823. <AbsDimension x="-5" y="0"/>
  824. </Offset>
  825. </Anchor>
  826. </Anchors>
  827. <TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
  828. </Texture>
  829. <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
  830. <Size>
  831. <AbsDimension x="8" y="20"/>
  832. </Size>
  833. <Anchors>
  834. <Anchor point="RIGHT">
  835. <Offset>
  836. <AbsDimension x="-10" y="0"/>
  837. </Offset>
  838. </Anchor>
  839. </Anchors>
  840. <TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
  841. </Texture>
  842. <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
  843. <Size>
  844. <AbsDimension x="10" y="20"/>
  845. </Size>
  846. <Anchors>
  847. <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
  848. <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
  849. </Anchors>
  850. <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/>
  851. </Texture>
  852. </Layer>
  853. <Layer level="ARTWORK">
  854. <FontString name="VirtualKeypadText" inherits="GlueFontHighlight" justifyH="LEFT">
  855. <Anchors>
  856. <Anchor point="LEFT">
  857. <Offset>
  858. <AbsDimension x="0" y="0"/>
  859. </Offset>
  860. </Anchor>
  861. </Anchors>
  862. <Size x="120" y="12"/>
  863. </FontString>
  864. </Layer>
  865. </Layers>
  866. </Frame>
  867. <Button name="VirtualKeypadButton1" inherits="VirtualKeyPadButtonTemplate" id="0">
  868. <Anchors>
  869. <Anchor point="TOPLEFT" relativeTo="VirtualKeypadPINFrame" relativePoint="BOTTOMLEFT">
  870. <Offset>
  871. <AbsDimension x="-6" y="-6"/>
  872. </Offset>
  873. </Anchor>
  874. </Anchors>
  875. </Button>
  876. <Button name="VirtualKeypadButton2" inherits="VirtualKeyPadButtonTemplate" id="1">
  877. <Anchors>
  878. <Anchor point="LEFT" relativeTo="VirtualKeypadButton1" relativePoint="RIGHT">
  879. <Offset>
  880. <AbsDimension x="3" y="0"/>
  881. </Offset>
  882. </Anchor>
  883. </Anchors>
  884. </Button>
  885. <Button name="VirtualKeypadButton3" inherits="VirtualKeyPadButtonTemplate" id="2">
  886. <Anchors>
  887. <Anchor point="LEFT" relativeTo="VirtualKeypadButton2" relativePoint="RIGHT">
  888. <Offset>
  889. <AbsDimension x="3" y="0"/>
  890. </Offset>
  891. </Anchor>
  892. </Anchors>
  893. </Button>
  894. <Button name="VirtualKeypadButton4" inherits="VirtualKeyPadButtonTemplate" id="3">
  895. <Anchors>
  896. <Anchor point="TOPLEFT" relativeTo="VirtualKeypadButton1" relativePoint="BOTTOMLEFT">
  897. <Offset>
  898. <AbsDimension x="0" y="-2"/>
  899. </Offset>
  900. </Anchor>
  901. </Anchors>
  902. </Button>
  903. <Button name="VirtualKeypadButton5" inherits="VirtualKeyPadButtonTemplate" id="4">
  904. <Anchors>
  905. <Anchor point="LEFT" relativeTo="VirtualKeypadButton4" relativePoint="RIGHT">
  906. <Offset>
  907. <AbsDimension x="3" y="0"/>
  908. </Offset>
  909. </Anchor>
  910. </Anchors>
  911. </Button>
  912. <Button name="VirtualKeypadButton6" inherits="VirtualKeyPadButtonTemplate" id="5">
  913. <Anchors>
  914. <Anchor point="LEFT" relativeTo="VirtualKeypadButton5" relativePoint="RIGHT">
  915. <Offset>
  916. <AbsDimension x="3" y="0"/>
  917. </Offset>
  918. </Anchor>
  919. </Anchors>
  920. </Button>
  921. <Button name="VirtualKeypadButton7" inherits="VirtualKeyPadButtonTemplate" id="6">
  922. <Anchors>
  923. <Anchor point="TOPLEFT" relativeTo="VirtualKeypadButton4" relativePoint="BOTTOMLEFT">
  924. <Offset>
  925. <AbsDimension x="0" y="-2"/>
  926. </Offset>
  927. </Anchor>
  928. </Anchors>
  929. </Button>
  930. <Button name="VirtualKeypadButton8" inherits="VirtualKeyPadButtonTemplate" id="7">
  931. <Anchors>
  932. <Anchor point="LEFT" relativeTo="VirtualKeypadButton7" relativePoint="RIGHT">
  933. <Offset>
  934. <AbsDimension x="3" y="0"/>
  935. </Offset>
  936. </Anchor>
  937. </Anchors>
  938. </Button>
  939. <Button name="VirtualKeypadButton9" inherits="VirtualKeyPadButtonTemplate" id="8">
  940. <Anchors>
  941. <Anchor point="LEFT" relativeTo="VirtualKeypadButton8" relativePoint="RIGHT">
  942. <Offset>
  943. <AbsDimension x="3" y="0"/>
  944. </Offset>
  945. </Anchor>
  946. </Anchors>
  947. </Button>
  948. <Button name="VirtualKeypadButton10" inherits="VirtualKeyPadButtonTemplate" id="9">
  949. <Anchors>
  950. <Anchor point="TOP" relativeTo="VirtualKeypadButton8" relativePoint="BOTTOM">
  951. <Offset>
  952. <AbsDimension x="0" y="-2"/>
  953. </Offset>
  954. </Anchor>
  955. </Anchors>
  956. </Button>
  957. <Button name="VirtualKeypadBackButton" inherits="VirtualKeyPadButtonTemplate">
  958. <Anchors>
  959. <Anchor point="RIGHT" relativeTo="VirtualKeypadButton10" relativePoint="LEFT">
  960. <Offset>
  961. <AbsDimension x="-3" y="0"/>
  962. </Offset>
  963. </Anchor>
  964. </Anchors>
  965. <Layers>
  966. <Layer level="OVERLAY">
  967. <Texture file="Interface\Glues\Login\UI-BackArrow">
  968. <Size>
  969. <AbsDimension x="16" y="16"/>
  970. </Size>
  971. <Anchors>
  972. <Anchor point="CENTER">
  973. <Offset>
  974. <AbsDimension x="0" y="-1"/>
  975. </Offset>
  976. </Anchor>
  977. </Anchors>
  978. </Texture>
  979. </Layer>
  980. </Layers>
  981. <Scripts>
  982. <OnClick>
  983. local numNumbers = strlen(VirtualKeypadText:GetText());
  984. VirtualKeypadText:SetText(strsub(VirtualKeypadText:GetText(), 1, numNumbers-1));
  985. VirtualKeypadFrame.PIN = strsub(VirtualKeypadFrame.PIN, 1, numNumbers-1);
  986. VirtualKeypad_UpdateButtons();
  987. </OnClick>
  988. </Scripts>
  989. </Button>
  990. <Button name="VirtualKeypadOkayButton" text="VIRTUAL_KEYPAD_OKAY">
  991. <Size x="40" y="24"/>
  992. <Anchors>
  993. <Anchor point="LEFT" relativeTo="VirtualKeypadButton10" relativePoint="RIGHT">
  994. <Offset>
  995. <AbsDimension x="3" y="0"/>
  996. </Offset>
  997. </Anchor>
  998. </Anchors>
  999. <Scripts>
  1000. <OnClick>
  1001. VirtualKeypadOkayButton_OnClick();
  1002. </OnClick>
  1003. </Scripts>
  1004. <NormalTexture inherits="DialogButtonNormalTexture"/>
  1005. <PushedTexture inherits="DialogButtonPushedTexture"/>
  1006. <DisabledTexture inherits="DialogButtonDisabledTexture"/>
  1007. <HighlightTexture inherits="DialogButtonHighlightTexture"/>
  1008. <NormalFont style="GlueFontNormalSmall"/>
  1009. <HighlightFont style="GlueFontHighlightSmall"/>
  1010. <DisabledFont style="GlueFontDisableSmall"/>
  1011. </Button>
  1012. <Button name="VirtualKeypadCloseButton" inherits="GlueCloseButton">
  1013. <Anchors>
  1014. <Anchor point="TOPRIGHT">
  1015. <Offset>
  1016. <AbsDimension x="3" y="4"/>
  1017. </Offset>
  1018. </Anchor>
  1019. </Anchors>
  1020. <Scripts>
  1021. <OnClick>
  1022. self:GetParent():Hide();
  1023. CancelLogin();
  1024. </OnClick>
  1025. </Scripts>
  1026. </Button>
  1027. </Frames>
  1028. <Scripts>
  1029. <OnLoad>
  1030. self:RegisterEvent("PLAYER_ENTER_PIN");
  1031. self.PIN = "";
  1032. VirtualKeypadText:SetText("");
  1033. </OnLoad>
  1034. <OnEvent>
  1035. VirtualKeypadFrame_OnEvent(event, ...);
  1036. </OnEvent>
  1037. <OnHide>
  1038. VirtualKeypadText:SetText("");
  1039. self.PIN = "";
  1040. </OnHide>
  1041. </Scripts>
  1042. </Frame>
  1043. <Frame name="ChangedOptionsDialog" toplevel="true" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG">
  1044. <Scripts>
  1045. <OnShow>
  1046. ChangedOptionsDialog_OnShow(self);
  1047. </OnShow>
  1048. <OnKeyDown>
  1049. ChangedOptionsDialog_OnKeyDown(self,key);
  1050. </OnKeyDown>
  1051. </Scripts>
  1052. <Frames>
  1053. <Frame name="ChangedOptionsDialogBackground">
  1054. <Size>
  1055. <AbsDimension x="512" y="256"/>
  1056. </Size>
  1057. <Anchors>
  1058. <Anchor point="CENTER">
  1059. <Offset>
  1060. <AbsDimension x="0" y="0"/>
  1061. </Offset>
  1062. </Anchor>
  1063. </Anchors>
  1064. <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  1065. <BackgroundInsets>
  1066. <AbsInset left="11" right="12" top="12" bottom="11"/>
  1067. </BackgroundInsets>
  1068. <TileSize>
  1069. <AbsValue val="32"/>
  1070. </TileSize>
  1071. <EdgeSize>
  1072. <AbsValue val="32"/>
  1073. </EdgeSize>
  1074. </Backdrop>
  1075. <Layers>
  1076. <Layer level="ARTWORK">
  1077. <FontString name="ChangedOptionsDialogTitle" inherits="GlueFontNormal" text="CHANGED_OPTIONS_WARNING_TITLE">
  1078. <Anchors>
  1079. <Anchor point="TOP">
  1080. <Offset>
  1081. <AbsDimension x="0" y="-26"/>
  1082. </Offset>
  1083. </Anchor>
  1084. </Anchors>
  1085. </FontString>
  1086. <FontString name="ChangedOptionsDialogText" inherits="TOSFont">
  1087. <Size>
  1088. <AbsDimension x="440" y="0"/>
  1089. </Size>
  1090. <Anchors>
  1091. <Anchor point="TOP" relativeTo="ChangedOptionsDialogTitle" relativePoint="BOTTOM">
  1092. <Offset>
  1093. <AbsDimension x="0" y="-16"/>
  1094. </Offset>
  1095. </Anchor>
  1096. </Anchors>
  1097. </FontString>
  1098. </Layer>
  1099. </Layers>
  1100. <Frames>
  1101. <Button name="ChangedOptionsDialogOkayButton" inherits="GlueButtonTemplateBlue" text="OKAY">
  1102. <Anchors>
  1103. <Anchor point="BOTTOM" relativePoint="BOTTOM">
  1104. <Offset>
  1105. <AbsDimension x="0" y="16"/>
  1106. </Offset>
  1107. </Anchor>
  1108. </Anchors>
  1109. <Scripts>
  1110. <OnClick>
  1111. ChangedOptionsDialog:Hide();
  1112. AcceptChangedOptionWarnings();
  1113. </OnClick>
  1114. </Scripts>
  1115. </Button>
  1116. </Frames>
  1117. </Frame>
  1118. </Frames>
  1119. </Frame>
  1120. <Frame name="TokenEnterDialog" toplevel="true" setAllPoints="true" hidden="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG">
  1121. <Layers>
  1122. <Layer level="BACKGROUND">
  1123. <Texture setAllPoints="true">
  1124. <Color a="0.75" r="0" g="0" b="0"/>
  1125. </Texture>
  1126. </Layer>
  1127. </Layers>
  1128. <Frames>
  1129. <Frame name="$parentBackground">
  1130. <Size>
  1131. <AbsDimension x="372" y="200"/>
  1132. </Size>
  1133. <Anchors>
  1134. <Anchor point="CENTER">
  1135. <Offset>
  1136. <AbsDimension x="0" y="-20"/>
  1137. </Offset>
  1138. </Anchor>
  1139. </Anchors>
  1140. <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  1141. <BackgroundInsets>
  1142. <AbsInset left="11" right="12" top="12" bottom="11"/>
  1143. </BackgroundInsets>
  1144. <TileSize>
  1145. <AbsValue val="32"/>
  1146. </TileSize>
  1147. <EdgeSize>
  1148. <AbsValue val="32"/>
  1149. </EdgeSize>
  1150. </Backdrop>
  1151. <Layers>
  1152. <Layer level="ARTWORK">
  1153. <FontString name="$parentTitle" inherits="GlueFontNormal" text="ENTER_AUTHCODE_TITLE">
  1154. <Anchors>
  1155. <Anchor point="TOP">
  1156. <Offset>
  1157. <AbsDimension x="0" y="-26"/>
  1158. </Offset>
  1159. </Anchor>
  1160. </Anchors>
  1161. </FontString>
  1162. <FontString name="$parentText" inherits="TOSFont" text="ENTER_AUTHCODE_INFO">
  1163. <Anchors>
  1164. <Anchor point="TOP" relativeTo="TokenEnterDialogBackgroundTitle" relativePoint="BOTTOM">
  1165. <Offset>
  1166. <AbsDimension x="0" y="-16"/>
  1167. </Offset>
  1168. </Anchor>
  1169. </Anchors>
  1170. </FontString>
  1171. </Layer>
  1172. </Layers>
  1173. <Frames>
  1174. <EditBox name="$parentEdit" letters="16">
  1175. <Size>
  1176. <AbsDimension x="160" y="37"/>
  1177. </Size>
  1178. <Anchors>
  1179. <Anchor point="CENTER">
  1180. <Offset>
  1181. <AbsDimension x="0" y="0"/>
  1182. </Offset>
  1183. </Anchor>
  1184. </Anchors>
  1185. <Layers>
  1186. <Layer level="BACKGROUND">
  1187. <FontString inherits="GlueFontNormal">
  1188. <Size>
  1189. <AbsDimension x="256" y="64"/>
  1190. </Size>
  1191. <Anchors>
  1192. <Anchor point="BOTTOM" relativePoint="TOP">
  1193. <Offset>
  1194. <AbsDimension x="0" y="-23"/>
  1195. </Offset>
  1196. </Anchor>
  1197. </Anchors>
  1198. </FontString>
  1199. </Layer>
  1200. </Layers>
  1201. <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
  1202. <BackgroundInsets>
  1203. <AbsInset left="10" right="5" top="4" bottom="9"/>
  1204. </BackgroundInsets>
  1205. <TileSize>
  1206. <AbsValue val="16"/>
  1207. </TileSize>
  1208. <EdgeSize>
  1209. <AbsValue val="16"/>
  1210. </EdgeSize>
  1211. </Backdrop>
  1212. <Scripts>
  1213. <OnEscapePressed>
  1214. TokenEntry_Cancel(self:GetParent());
  1215. </OnEscapePressed>
  1216. <OnEnterPressed>
  1217. TokenEntry_Okay(self:GetParent());
  1218. </OnEnterPressed>
  1219. <OnEditFocusLost>
  1220. self:HighlightText(0, 0);
  1221. </OnEditFocusLost>
  1222. <OnEditFocusGained>
  1223. self:HighlightText();
  1224. </OnEditFocusGained>
  1225. </Scripts>
  1226. <FontString inherits="GlueEditBoxFont"/>
  1227. <TextInsets>
  1228. <AbsInset left="15" bottom="5"/>
  1229. </TextInsets>
  1230. </EditBox>
  1231. <Button name="$parentOkayButton" inherits="GlueButtonTemplateBlue" text="OKAY">
  1232. <Anchors>
  1233. <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
  1234. <Offset>
  1235. <AbsDimension x="20" y="16"/>
  1236. </Offset>
  1237. </Anchor>
  1238. </Anchors>
  1239. <Scripts>
  1240. <OnClick>
  1241. TokenEntry_Okay(self:GetParent());
  1242. </OnClick>
  1243. </Scripts>
  1244. </Button>
  1245. <Button name="$parentCancelButton" inherits="GlueButtonTemplateBlue" text="CANCEL">
  1246. <Anchors>
  1247. <Anchor point="LEFT" relativeTo="$parentOkayButton" relativePoint="RIGHT">
  1248. <Offset>
  1249. <AbsDimension x="0" y="0"/>
  1250. </Offset>
  1251. </Anchor>
  1252. </Anchors>
  1253. <Scripts>
  1254. <OnClick>
  1255. TokenEntry_Cancel(self:GetParent());
  1256. </OnClick>
  1257. </Scripts>
  1258. </Button>
  1259. </Frames>
  1260. </Frame>
  1261. </Frames>
  1262. <Scripts>
  1263. <OnLoad>
  1264. TokenEntryOkayButton_OnLoad(self);
  1265. </OnLoad>
  1266. <OnEvent>
  1267. TokenEntryOkayButton_OnEvent(self, event);
  1268. </OnEvent>
  1269. <OnShow>
  1270. TokenEntryOkayButton_OnShow();
  1271. </OnShow>
  1272. <OnKeyDown>
  1273. TokenEntryOkayButton_OnKeyDown(self, key);
  1274. </OnKeyDown>
  1275. </Scripts>
  1276. </Frame>
  1277. <Frame name="WoWAccountSelectDialog" toplevel="true" setAllPoints="true" hidden="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG">
  1278. <Layers>
  1279. <Layer level="BACKGROUND">
  1280. <Texture setAllPoints="true">
  1281. <Color a="0.75" r="0" g="0" b="0"/>
  1282. </Texture>
  1283. </Layer>
  1284. </Layers>
  1285. <Frames>
  1286. <Frame name="$parentBackground">
  1287. <Size>
  1288. <AbsDimension x="275" y="265"/>
  1289. </Size>
  1290. <Anchors>
  1291. <Anchor point="CENTER">
  1292. <Offset>
  1293. <AbsDimension x="0" y="-20"/>
  1294. </Offset>
  1295. </Anchor>
  1296. </Anchors>
  1297. <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  1298. <BackgroundInsets>
  1299. <AbsInset left="11" right="12" top="12" bottom="11"/>
  1300. </BackgroundInsets>
  1301. <TileSize>
  1302. <AbsValue val="32"/>
  1303. </TileSize>
  1304. <EdgeSize>
  1305. <AbsValue val="32"/>
  1306. </EdgeSize>
  1307. </Backdrop>
  1308. <Layers>
  1309. <Layer level="ARTWORK">
  1310. <FontString name="$parentTitle" inherits="GlueFontNormal" text="WOW_ACCOUNTS">
  1311. <Anchors>
  1312. <Anchor point="TOPLEFT">
  1313. <Offset>
  1314. <AbsDimension x="20" y="-20"/>
  1315. </Offset>
  1316. </Anchor>
  1317. </Anchors>
  1318. </FontString>
  1319. <FontString name="$parentText" inherits="TOSFont" text="SELECT_ACCOUNT">
  1320. <Anchors>
  1321. <Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT">
  1322. <Offset>
  1323. <AbsDimension x="5" y="-4"/>
  1324. </Offset>
  1325. </Anchor>
  1326. </Anchors>
  1327. </FontString>
  1328. </Layer>
  1329. </Layers>
  1330. <Frames>
  1331. <Frame name="$parentContainer">
  1332. <Anchors>
  1333. <Anchor point="TOPLEFT">
  1334. <Offset x="12" y="-52"/>
  1335. </Anchor>
  1336. <Anchor point="BOTTOMRIGHT">
  1337. <Offset x="-16" y="36"/>
  1338. </Anchor>
  1339. </Anchors>
  1340. <Backdrop edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
  1341. <BackgroundInsets>
  1342. <AbsInset left="10" right="5" top="4" bottom="9"/>
  1343. </BackgroundInsets>
  1344. <TileSize>
  1345. <AbsValue val="16"/>
  1346. </TileSize>
  1347. <EdgeSize>
  1348. <AbsValue val="16"/>
  1349. </EdgeSize>
  1350. </Backdrop>
  1351. <Frames>
  1352. <Button name="$parentButton1" inherits="AccountNameButton">
  1353. <Anchors>
  1354. <Anchor point="TOPLEFT">
  1355. <Offset x="12" y="-6"/>
  1356. </Anchor>
  1357. </Anchors>
  1358. </Button>
  1359. <Button name="$parentButton2" inherits="AccountNameButton">
  1360. <Anchors>
  1361. <Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT">
  1362. <Offset x="0" y="0"/>
  1363. </Anchor>
  1364. </Anchors>
  1365. </Button>
  1366. <Button name="$parentButton3" inherits="AccountNameButton">
  1367. <Anchors>
  1368. <Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT">
  1369. <Offset x="0" y="0"/>
  1370. </Anchor>
  1371. </Anchors>
  1372. </Button>
  1373. <Button name="$parentButton4" inherits="AccountNameButton">
  1374. <Anchors>
  1375. <Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT">
  1376. <Offset x="0" y="0"/>
  1377. </Anchor>
  1378. </Anchors>
  1379. </Button>
  1380. <Button name="$parentButton5" inherits="AccountNameButton">
  1381. <Anchors>
  1382. <Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT">
  1383. <Offset x="0" y="0"/>
  1384. </Anchor>
  1385. </Anchors>
  1386. </Button>
  1387. <Button name="$parentButton6" inherits="AccountNameButton">
  1388. <Anchors>
  1389. <Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT">
  1390. <Offset x="0" y="0"/>
  1391. </Anchor>
  1392. </Anchors>
  1393. </Button>
  1394. <Button name="$parentButton7" inherits="AccountNameButton">
  1395. <Anchors>
  1396. <Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT">
  1397. <Offset x="0" y="0"/>
  1398. </Anchor>
  1399. </Anchors>
  1400. </Button>
  1401. <Button name="$parentButton8" inherits="AccountNameButton">
  1402. <Anchors>
  1403. <Anchor point="TOPLEFT" relativeTo="$parentButton7" relativePoint="BOTTOMLEFT">
  1404. <Offset x="0" y="0"/>
  1405. </Anchor>
  1406. </Anchors>
  1407. </Button>
  1408.  
  1409. <ScrollFrame name="$parentScrollFrame" inherits="GlueScrollFrameTemplate">
  1410. <Size>
  1411. <AbsDimension x="219" y="162"/>
  1412. </Size>
  1413. <Anchors>
  1414. <Anchor point="TOPLEFT">
  1415. <Offset x="0" y="-6"/>
  1416. </Anchor>
  1417. </Anchors>
  1418. <Scripts>
  1419. <OnVerticalScroll>
  1420. WoWAccountSelect_OnVerticalScroll(self, offset);
  1421. </OnVerticalScroll>
  1422. </Scripts>
  1423. <ScrollChild>
  1424. <Frame name="$parentScrollChildFrame">
  1425. <Size>
  1426. <AbsDimension x="510" y="395"/>
  1427. </Size>
  1428. </Frame>
  1429. </ScrollChild>
  1430. </ScrollFrame>
  1431. </Frames>
  1432. </Frame>
  1433. <Button name="$parentAcceptButton" inherits="GlueButtonTemplateBlue" text="ACCEPT">
  1434. <Size>
  1435. <AbsDimension x="125" y="37"/>
  1436. </Size>
  1437. <Anchors>
  1438. <Anchor point="BOTTOMLEFT">
  1439. <Offset>
  1440. <AbsDimension x="8" y="6"/>
  1441. </Offset>
  1442. </Anchor>
  1443. </Anchors>
  1444. <Scripts>
  1445. <OnClick>
  1446. PlaySound("gsLoginChangeRealmOK");
  1447. WoWAccountSelect_Accept();
  1448. </OnClick>
  1449. </Scripts>
  1450. </Button>
  1451. <Button name="$parentCancelButton" inherits="GlueButtonTemplateBlue" text="CANCEL">
  1452. <Size>
  1453. <AbsDimension x="125" y="37"/>
  1454. </Size>
  1455. <Anchors>
  1456. <Anchor point="BOTTOMRIGHT">
  1457. <Offset>
  1458. <AbsDimension x="-8" y="6"/>
  1459. </Offset>
  1460. </Anchor>
  1461. </Anchors>
  1462. <Scripts>
  1463. <OnClick>
  1464. PlaySound("gsLoginChangeRealmCancel");
  1465. WoWAccountSelect_OnCancel(WoWAccountSelectDialog);
  1466. </OnClick>
  1467. </Scripts>
  1468. </Button>
  1469. </Frames>
  1470. </Frame>
  1471. </Frames>
  1472. <Scripts>
  1473. <OnLoad>
  1474. WoWAccountSelect_OnLoad(self);
  1475. </OnLoad>
  1476. <OnEvent>
  1477. WoWAccountSelect_OnEvent(self, event, ...);
  1478. </OnEvent>
  1479. <OnKeyDown>
  1480. WoWAccountSelect_OnKeyDown(self, key);
  1481. </OnKeyDown>
  1482. <OnShow>
  1483. WoWAccountSelect_OnShow(self)
  1484. </OnShow>
  1485. </Scripts>
  1486. </Frame>
  1487. <Frame name="KoreanRatings" hidden="true">
  1488. <Size x="288" y="224"/>
  1489. <Anchors>
  1490. <Anchor point="TOPRIGHT"/>
  1491. </Anchors>
  1492. <Layers>
  1493. <Layer level="ARTWORK">
  1494. <FontString name="KoreanRatingsText" inherits="GlueFontHighlightExtraSmall" justifyH="RIGHT" text="RATINGS_TEXT">
  1495. <Anchors>
  1496. <Anchor point="TOPRIGHT" x="-10" y="-15"/>
  1497. </Anchors>
  1498. </FontString>
  1499. <Texture name="KoreanRatingsDrugs" file="Interface\Glues\Login\Glues-KoreanRating-Drugs.tga">
  1500. <Size x="99" y="117"/>
  1501. <Anchors>
  1502. <Anchor point="TOPRIGHT" relativeTo="KoreanRatingsText" relativePoint="BOTTOMRIGHT" x="0" y="-5"/>
  1503. </Anchors>
  1504. <TexCoords left="0.094" right="0.896" top="0.023" bottom="0.966"/>
  1505. </Texture>
  1506. <Texture name="KoreanRatingsViolence" file="Interface\Glues\Login\Glues-KoreanRating-Violence.tga">
  1507. <Size x="99" y="117"/>
  1508. <Anchors>
  1509. <Anchor point="RIGHT" relativeTo="KoreanRatingsDrugs" relativePoint="LEFT" x="-10" y="0"/>
  1510. </Anchors>
  1511. <TexCoords left="0.094" right="0.896" top="0.023" bottom="0.966"/>
  1512. </Texture>
  1513. <Texture name="KoreanRatingsAge" file="Interface\Glues\Login\Glues-KoreanRating-Age.tga">
  1514. <Size x="99" y="117"/>
  1515. <Anchors>
  1516. <Anchor point="RIGHT" relativeTo="KoreanRatingsViolence" relativePoint="LEFT" x="-10" y="0"/>
  1517. </Anchors>
  1518. <TexCoords left="0.109" right="0.88" top="0.039" bottom="0.951"/>
  1519. </Texture>
  1520. </Layer>
  1521. </Layers>
  1522. </Frame>
  1523. </Frames>
  1524. <Scripts>
  1525. <OnShow>
  1526. GlueFrameFadeIn(self, LOGIN_FADE_IN);
  1527. if ( GetSavedAccountName() == "" ) then
  1528. AccountLogin_FocusAccountName();
  1529. else
  1530. AccountLogin_FocusPassword();
  1531. end
  1532.  
  1533. if ( not IsSystemSupported() ) then
  1534. GlueDialog_Show("SYSTEM_INCOMPATIBLE_SSE");
  1535. end
  1536. </OnShow>
  1537. </Scripts>
  1538. </Frame>
  1539. <Frame name="TOSFrame" hidden="true">
  1540. <Size>
  1541. <AbsDimension x="640" y="512"/>
  1542. </Size>
  1543. <Anchors>
  1544. <Anchor point="CENTER">
  1545. <Offset>
  1546. <AbsDimension x="0" y="0"/>
  1547. </Offset>
  1548. </Anchor>
  1549. </Anchors>
  1550. <HitRectInsets>
  1551. <AbsInset left="0" right="44" top="0" bottom="13"/>
  1552. </HitRectInsets>
  1553. <Layers>
  1554. <Layer level="BACKGROUND">
  1555. <Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
  1556. <Size>
  1557. <AbsDimension x="256" y="256"/>
  1558. </Size>
  1559. <Anchors>
  1560. <Anchor point="TOPLEFT"/>
  1561. </Anchors>
  1562. </Texture>
  1563. <Texture file="Interface\HelpFrame\HelpFrame-Top">
  1564. <Size>
  1565. <AbsDimension x="256" y="256"/>
  1566. </Size>
  1567. <Anchors>
  1568. <Anchor point="TOPLEFT">
  1569. <Offset>
  1570. <AbsDimension x="256" y="0"/>
  1571. </Offset>
  1572. </Anchor>
  1573. </Anchors>
  1574. </Texture>
  1575. <Texture file="Interface\Glues\Login\Glues-TOS-TopRight">
  1576. <Size>
  1577. <AbsDimension x="128" y="256"/>
  1578. </Size>
  1579. <Anchors>
  1580. <Anchor point="TOPRIGHT"/>
  1581. </Anchors>
  1582. </Texture>
  1583. <Texture file="Interface\HelpFrame\HelpFrame-BotLeft">
  1584. <Size>
  1585. <AbsDimension x="256" y="256"/>
  1586. </Size>
  1587. <Anchors>
  1588. <Anchor point="BOTTOMLEFT"/>
  1589. </Anchors>
  1590. </Texture>
  1591. <Texture file="Interface\HelpFrame\HelpFrame-Bottom">
  1592. <Size>
  1593. <AbsDimension x="256" y="256"/>
  1594. </Size>
  1595. <Anchors>
  1596. <Anchor point="BOTTOMLEFT">
  1597. <Offset>
  1598. <AbsDimension x="256" y="0"/>
  1599. </Offset>
  1600. </Anchor>
  1601. </Anchors>
  1602. </Texture>
  1603. <Texture file="Interface\HelpFrame\HelpFrame-BotRight">
  1604. <Size>
  1605. <AbsDimension x="128" y="256"/>
  1606. </Size>
  1607. <Anchors>
  1608. <Anchor point="BOTTOMRIGHT"/>
  1609. </Anchors>
  1610. </Texture>
  1611. </Layer>
  1612. <Layer level="ARTWORK">
  1613. <Texture name="TOSFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
  1614. <Size>
  1615. <AbsDimension x="300" y="38"/>
  1616. </Size>
  1617. <Anchors>
  1618. <Anchor point="TOP" relativeTo="TOSFrame">
  1619. <Offset>
  1620. <AbsDimension x="-12" y="12"/>
  1621. </Offset>
  1622. </Anchor>
  1623. </Anchors>
  1624. <TexCoords left="0.3" right="0.7" top="0.015625" bottom="0.609375"/>
  1625. </Texture>
  1626. <Texture file="Interface\DialogFrame\UI-DialogBox-Header">
  1627. <Size>
  1628. <AbsDimension x="15" y="38"/>
  1629. </Size>
  1630. <Anchors>
  1631. <Anchor point="RIGHT" relativeTo="TOSFrameHeader" relativePoint="LEFT">
  1632. <Offset>
  1633. <AbsDimension x="0" y="0"/>
  1634. </Offset>
  1635. </Anchor>
  1636. </Anchors>
  1637. <TexCoords left="0.23046875" right="0.28515625" top="0.015625" bottom="0.609375"/>
  1638. </Texture>
  1639. <Texture file="Interface\DialogFrame\UI-DialogBox-Header">
  1640. <Size>
  1641. <AbsDimension x="15" y="38"/>
  1642. </Size>
  1643. <Anchors>
  1644. <Anchor point="LEFT" relativeTo="TOSFrameHeader" relativePoint="RIGHT">
  1645. <Offset>
  1646. <AbsDimension x="0" y="0"/>
  1647. </Offset>
  1648. </Anchor>
  1649. </Anchors>
  1650. <TexCoords left="0.7109375" right="0.76953125" top="0.015625" bottom="0.609375"/>
  1651. </Texture>
  1652. <FontString name="TOSFrameTitle" inherits="GlueFontNormal" text="TOS_FRAME_TITLE">
  1653. <Anchors>
  1654. <Anchor point="TOP" relativeTo="TOSFrameHeader">
  1655. <Offset>
  1656. <AbsDimension x="0" y="-12"/>
  1657. </Offset>
  1658. </Anchor>
  1659. </Anchors>
  1660. </FontString>
  1661. <FontString name="TOSNotice" inherits="GlueFontHighlight" text="TOS_NOTICE" hidden="true">
  1662. <Size>
  1663. <AbsDimension x="550" y="0"/>
  1664. </Size>
  1665. <Anchors>
  1666. <Anchor point="TOP">
  1667. <Offset>
  1668. <AbsDimension x="0" y="75"/>
  1669. </Offset>
  1670. </Anchor>
  1671. </Anchors>
  1672. </FontString>
  1673. </Layer>
  1674. </Layers>
  1675. <Frames>
  1676. <ScrollFrame name="TOSScrollFrame" inherits="GlueScrollFrameTemplate">
  1677. <Size>
  1678. <AbsDimension x="540" y="407"/>
  1679. </Size>
  1680. <Anchors>
  1681. <Anchor point="TOPLEFT">
  1682. <Offset>
  1683. <AbsDimension x="20" y="-56"/>
  1684. </Offset>
  1685. </Anchor>
  1686. </Anchors>
  1687. <Layers>
  1688. <Layer level="ARTWORK">
  1689. <Texture name="TOSScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1690. <Size>
  1691. <AbsDimension x="31" y="256"/>
  1692. </Size>
  1693. <Anchors>
  1694. <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
  1695. <Offset>
  1696. <AbsDimension x="-2" y="5"/>
  1697. </Offset>
  1698. </Anchor>
  1699. </Anchors>
  1700. <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
  1701. </Texture>
  1702. <Texture name="TOSScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1703. <Size>
  1704. <AbsDimension x="31" y="106"/>
  1705. </Size>
  1706. <Anchors>
  1707. <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
  1708. <Offset>
  1709. <AbsDimension x="-2" y="-2"/>
  1710. </Offset>
  1711. </Anchor>
  1712. </Anchors>
  1713. <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
  1714. </Texture>
  1715. <Texture name="TOSScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1716. <Size>
  1717. <AbsDimension x="31" y="60"/>
  1718. </Size>
  1719. <Anchors>
  1720. <Anchor point="TOP" relativeTo="TOSScrollBarTop" relativePoint="BOTTOM">
  1721. <Offset>
  1722. <AbsDimension x="0" y="0"/>
  1723. </Offset>
  1724. </Anchor>
  1725. <Anchor point="BOTTOM" relativeTo="TOSScrollBarBottom" relativePoint="TOP">
  1726. <Offset>
  1727. <AbsDimension x="0" y="0"/>
  1728. </Offset>
  1729. </Anchor>
  1730. </Anchors>
  1731. <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
  1732. </Texture>
  1733. </Layer>
  1734. </Layers>
  1735. <Scripts>
  1736. <OnShow>
  1737. AccountLogin_UpdateAcceptButton(self, TOSAccepted, "TOS");
  1738. </OnShow>
  1739. <OnScrollRangeChanged>
  1740. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  1741. if ( not TOSScrollFrame.loaded ) then
  1742. TOSAccept:Disable();
  1743. TOSScrollFrame.loaded = true;
  1744. end
  1745. AccountLogin_UpdateAcceptButton(self, TOSAccepted, "TOS");
  1746. </OnScrollRangeChanged>
  1747. <OnVerticalScroll>
  1748. GlueScrollFrame_OnVerticalScroll(self, offset);
  1749. AccountLogin_UpdateAcceptButton(self, TOSAccepted, "TOS");
  1750. </OnVerticalScroll>
  1751. </Scripts>
  1752. <ScrollChild>
  1753. <SimpleHTML name="TOSText" file="tos.html">
  1754. <Size>
  1755. <AbsDimension x="530" y="407"/>
  1756. </Size>
  1757. <FontString inherits="TOSFont"/>
  1758. <FontStringHeader1 inherits="GlueFontNormal"/>
  1759. <FontStringHeader2 inherits="GlueFontNormalSmall"/>
  1760. </SimpleHTML>
  1761. </ScrollChild>
  1762. </ScrollFrame>
  1763. <ScrollFrame name="EULAScrollFrame" inherits="GlueScrollFrameTemplate">
  1764. <Size>
  1765. <AbsDimension x="540" y="407"/>
  1766. </Size>
  1767. <Anchors>
  1768. <Anchor point="TOPLEFT">
  1769. <Offset>
  1770. <AbsDimension x="20" y="-56"/>
  1771. </Offset>
  1772. </Anchor>
  1773. </Anchors>
  1774. <Layers>
  1775. <Layer level="ARTWORK">
  1776. <Texture name="EULAScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1777. <Size>
  1778. <AbsDimension x="31" y="256"/>
  1779. </Size>
  1780. <Anchors>
  1781. <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
  1782. <Offset>
  1783. <AbsDimension x="-2" y="5"/>
  1784. </Offset>
  1785. </Anchor>
  1786. </Anchors>
  1787. <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
  1788. </Texture>
  1789. <Texture name="EULAScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1790. <Size>
  1791. <AbsDimension x="31" y="106"/>
  1792. </Size>
  1793. <Anchors>
  1794. <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
  1795. <Offset>
  1796. <AbsDimension x="-2" y="-2"/>
  1797. </Offset>
  1798. </Anchor>
  1799. </Anchors>
  1800. <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
  1801. </Texture>
  1802. <Texture name="EULAScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1803. <Size>
  1804. <AbsDimension x="31" y="60"/>
  1805. </Size>
  1806. <Anchors>
  1807. <Anchor point="TOP" relativeTo="EULAScrollBarTop" relativePoint="BOTTOM">
  1808. <Offset>
  1809. <AbsDimension x="0" y="0"/>
  1810. </Offset>
  1811. </Anchor>
  1812. <Anchor point="BOTTOM" relativeTo="EULAScrollBarBottom" relativePoint="TOP">
  1813. <Offset>
  1814. <AbsDimension x="0" y="0"/>
  1815. </Offset>
  1816. </Anchor>
  1817. </Anchors>
  1818. <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
  1819. </Texture>
  1820. </Layer>
  1821. </Layers>
  1822. <Scripts>
  1823. <OnShow>
  1824. AccountLogin_UpdateAcceptButton(self, EULAAccepted, "EULA");
  1825. </OnShow>
  1826. <OnScrollRangeChanged>
  1827. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  1828. AccountLogin_UpdateAcceptButton(self, EULAAccepted, "EULA");
  1829. </OnScrollRangeChanged>
  1830. <OnVerticalScroll>
  1831. GlueScrollFrame_OnVerticalScroll(self, offset);
  1832. AccountLogin_UpdateAcceptButton(self, EULAAccepted, "EULA");
  1833. </OnVerticalScroll>
  1834. </Scripts>
  1835. <ScrollChild>
  1836. <SimpleHTML name="EULAText" file="eula.html">
  1837. <Size>
  1838. <AbsDimension x="530" y="407"/>
  1839. </Size>
  1840. <FontString inherits="TOSFont"/>
  1841. <FontStringHeader1 inherits="GlueFontNormal"/>
  1842. <FontStringHeader2 inherits="GlueFontNormalSmall"/>
  1843. </SimpleHTML>
  1844. </ScrollChild>
  1845. </ScrollFrame>
  1846. <ScrollFrame name="TerminationScrollFrame" inherits="GlueScrollFrameTemplate">
  1847. <Size>
  1848. <AbsDimension x="540" y="407"/>
  1849. </Size>
  1850. <Anchors>
  1851. <Anchor point="TOPLEFT">
  1852. <Offset>
  1853. <AbsDimension x="20" y="-56"/>
  1854. </Offset>
  1855. </Anchor>
  1856. </Anchors>
  1857. <Layers>
  1858. <Layer level="ARTWORK">
  1859. <Texture name="TerminationScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1860. <Size>
  1861. <AbsDimension x="31" y="256"/>
  1862. </Size>
  1863. <Anchors>
  1864. <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
  1865. <Offset>
  1866. <AbsDimension x="-2" y="5"/>
  1867. </Offset>
  1868. </Anchor>
  1869. </Anchors>
  1870. <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
  1871. </Texture>
  1872. <Texture name="TerminationScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1873. <Size>
  1874. <AbsDimension x="31" y="106"/>
  1875. </Size>
  1876. <Anchors>
  1877. <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
  1878. <Offset>
  1879. <AbsDimension x="-2" y="-2"/>
  1880. </Offset>
  1881. </Anchor>
  1882. </Anchors>
  1883. <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
  1884. </Texture>
  1885. <Texture name="TerminationScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1886. <Size>
  1887. <AbsDimension x="31" y="60"/>
  1888. </Size>
  1889. <Anchors>
  1890. <Anchor point="TOP" relativeTo="TerminationScrollBarTop" relativePoint="BOTTOM">
  1891. <Offset>
  1892. <AbsDimension x="0" y="0"/>
  1893. </Offset>
  1894. </Anchor>
  1895. <Anchor point="BOTTOM" relativeTo="TerminationScrollBarBottom" relativePoint="TOP">
  1896. <Offset>
  1897. <AbsDimension x="0" y="0"/>
  1898. </Offset>
  1899. </Anchor>
  1900. </Anchors>
  1901. <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
  1902. </Texture>
  1903. </Layer>
  1904. </Layers>
  1905. <Scripts>
  1906. <OnShow>
  1907. AccountLogin_UpdateAcceptButton(self, TerminationWithoutNoticeAccepted, "TERMINATION");
  1908. </OnShow>
  1909. <OnScrollRangeChanged>
  1910. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  1911. AccountLogin_UpdateAcceptButton(self, TerminationWithoutNoticeAccepted, "TERMINATION");
  1912. </OnScrollRangeChanged>
  1913. <OnVerticalScroll>
  1914. GlueScrollFrame_OnVerticalScroll(self, offset);
  1915. AccountLogin_UpdateAcceptButton(self, TerminationWithoutNoticeAccepted, "TERMINATION");
  1916. </OnVerticalScroll>
  1917. </Scripts>
  1918. <ScrollChild>
  1919. <SimpleHTML name="TerminationText" file="termination.html">
  1920. <Size>
  1921. <AbsDimension x="530" y="407"/>
  1922. </Size>
  1923. <FontString inherits="TOSFont"/>
  1924. <FontStringHeader1 inherits="GlueFontNormal"/>
  1925. <FontStringHeader2 inherits="GlueFontNormalSmall"/>
  1926. </SimpleHTML>
  1927. </ScrollChild>
  1928. </ScrollFrame>
  1929. <ScrollFrame name="ScanningScrollFrame" inherits="GlueScrollFrameTemplate">
  1930. <Size>
  1931. <AbsDimension x="540" y="407"/>
  1932. </Size>
  1933. <Anchors>
  1934. <Anchor point="TOPLEFT">
  1935. <Offset>
  1936. <AbsDimension x="20" y="-56"/>
  1937. </Offset>
  1938. </Anchor>
  1939. </Anchors>
  1940. <Layers>
  1941. <Layer level="ARTWORK">
  1942. <Texture name="ScanningScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1943. <Size>
  1944. <AbsDimension x="31" y="256"/>
  1945. </Size>
  1946. <Anchors>
  1947. <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
  1948. <Offset>
  1949. <AbsDimension x="-2" y="5"/>
  1950. </Offset>
  1951. </Anchor>
  1952. </Anchors>
  1953. <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
  1954. </Texture>
  1955. <Texture name="ScanningScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1956. <Size>
  1957. <AbsDimension x="31" y="106"/>
  1958. </Size>
  1959. <Anchors>
  1960. <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
  1961. <Offset>
  1962. <AbsDimension x="-2" y="-2"/>
  1963. </Offset>
  1964. </Anchor>
  1965. </Anchors>
  1966. <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
  1967. </Texture>
  1968. <Texture name="ScanningScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  1969. <Size>
  1970. <AbsDimension x="31" y="60"/>
  1971. </Size>
  1972. <Anchors>
  1973. <Anchor point="TOP" relativeTo="ScanningScrollBarTop" relativePoint="BOTTOM">
  1974. <Offset>
  1975. <AbsDimension x="0" y="0"/>
  1976. </Offset>
  1977. </Anchor>
  1978. <Anchor point="BOTTOM" relativeTo="ScanningScrollBarBottom" relativePoint="TOP">
  1979. <Offset>
  1980. <AbsDimension x="0" y="0"/>
  1981. </Offset>
  1982. </Anchor>
  1983. </Anchors>
  1984. <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
  1985. </Texture>
  1986. </Layer>
  1987. </Layers>
  1988. <Scripts>
  1989. <OnShow>
  1990. AccountLogin_UpdateAcceptButton(self, ScanningAccepted, "SCAN");
  1991. </OnShow>
  1992. <OnScrollRangeChanged>
  1993. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  1994. AccountLogin_UpdateAcceptButton(self, ScanningAccepted, "SCAN");
  1995. </OnScrollRangeChanged>
  1996. <OnVerticalScroll>
  1997. GlueScrollFrame_OnVerticalScroll(self, offset);
  1998. AccountLogin_UpdateAcceptButton(self, ScanningAccepted, "SCAN");
  1999. </OnVerticalScroll>
  2000. </Scripts>
  2001. <ScrollChild>
  2002. <SimpleHTML name="ScanningText" file="scan.html">
  2003. <Size>
  2004. <AbsDimension x="530" y="407"/>
  2005. </Size>
  2006. <FontString inherits="TOSFont"/>
  2007. <FontStringHeader1 inherits="GlueFontNormal"/>
  2008. <FontStringHeader2 inherits="GlueFontNormalSmall"/>
  2009. </SimpleHTML>
  2010. </ScrollChild>
  2011. </ScrollFrame>
  2012. <ScrollFrame name="ContestScrollFrame" inherits="GlueScrollFrameTemplate">
  2013. <Size>
  2014. <AbsDimension x="540" y="407"/>
  2015. </Size>
  2016. <Anchors>
  2017. <Anchor point="TOPLEFT">
  2018. <Offset>
  2019. <AbsDimension x="20" y="-56"/>
  2020. </Offset>
  2021. </Anchor>
  2022. </Anchors>
  2023. <Layers>
  2024. <Layer level="ARTWORK">
  2025. <Texture name="ContestScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  2026. <Size>
  2027. <AbsDimension x="31" y="256"/>
  2028. </Size>
  2029. <Anchors>
  2030. <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
  2031. <Offset>
  2032. <AbsDimension x="-2" y="5"/>
  2033. </Offset>
  2034. </Anchor>
  2035. </Anchors>
  2036. <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
  2037. </Texture>
  2038. <Texture name="ContestScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  2039. <Size>
  2040. <AbsDimension x="31" y="106"/>
  2041. </Size>
  2042. <Anchors>
  2043. <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
  2044. <Offset>
  2045. <AbsDimension x="-2" y="-2"/>
  2046. </Offset>
  2047. </Anchor>
  2048. </Anchors>
  2049. <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
  2050. </Texture>
  2051. <Texture name="ContestScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  2052. <Size>
  2053. <AbsDimension x="31" y="60"/>
  2054. </Size>
  2055. <Anchors>
  2056. <Anchor point="TOP" relativeTo="ContestScrollBarTop" relativePoint="BOTTOM">
  2057. <Offset>
  2058. <AbsDimension x="0" y="0"/>
  2059. </Offset>
  2060. </Anchor>
  2061. <Anchor point="BOTTOM" relativeTo="ContestScrollBarBottom" relativePoint="TOP">
  2062. <Offset>
  2063. <AbsDimension x="0" y="0"/>
  2064. </Offset>
  2065. </Anchor>
  2066. </Anchors>
  2067. <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
  2068. </Texture>
  2069. </Layer>
  2070. </Layers>
  2071. <Scripts>
  2072. <OnShow>
  2073. AccountLogin_UpdateAcceptButton(self, ContestAccepted, "CONTEST");
  2074. </OnShow>
  2075. <OnScrollRangeChanged>
  2076. GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  2077. AccountLogin_UpdateAcceptButton(self, ContestAccepted, "CONTEST");
  2078. </OnScrollRangeChanged>
  2079. <OnVerticalScroll>
  2080. GlueScrollFrame_OnVerticalScroll(self, offset);
  2081. AccountLogin_UpdateAcceptButton(self, ContestAccepted, "CONTEST");
  2082. </OnVerticalScroll>
  2083. </Scripts>
  2084. <ScrollChild>
  2085. <SimpleHTML name="ContestText" file="contest.html">
  2086. <Size>
  2087. <AbsDimension x="530" y="407"/>
  2088. </Size>
  2089. <FontString inherits="TOSFont"/>
  2090. <FontStringHeader1 inherits="GlueFontNormal"/>
  2091. <FontStringHeader2 inherits="GlueFontNormalSmall"/>
  2092. </SimpleHTML>
  2093. </ScrollChild>
  2094. </ScrollFrame>
  2095. <Button name="TOSDecline" inherits="GlueButtonTemplateBlue" text="DECLINE">
  2096. <Size>
  2097. <AbsDimension x="128" y="34"/>
  2098. </Size>
  2099. <Anchors>
  2100. <Anchor point="BOTTOMRIGHT">
  2101. <Offset>
  2102. <AbsDimension x="-53" y="13"/>
  2103. </Offset>
  2104. </Anchor>
  2105. </Anchors>
  2106. <Scripts>
  2107. <OnClick>
  2108. AccountLogin_Exit();
  2109. </OnClick>
  2110. </Scripts>
  2111. </Button>
  2112. <Button name="TOSAccept" inherits="GlueButtonTemplateBlue" text="TOS_ACCEPT">
  2113. <Size>
  2114. <AbsDimension x="128" y="34"/>
  2115. </Size>
  2116. <Anchors>
  2117. <Anchor point="RIGHT" relativeTo="TOSDecline" relativePoint="LEFT">
  2118. <Offset>
  2119. <AbsDimension x="0" y="0"/>
  2120. </Offset>
  2121. </Anchor>
  2122. </Anchors>
  2123. <Scripts>
  2124. <OnLoad>
  2125. self:Disable();
  2126. </OnLoad>
  2127. <OnClick>
  2128. if ( TOSFrame.noticeType == "TOS" ) then
  2129. AcceptTOS();
  2130. elseif ( TOSFrame.noticeType == "EULA" ) then
  2131. AcceptEULA();
  2132. elseif ( TOSFrame.noticeType == "TERMINATION" ) then
  2133. AcceptTerminationWithoutNotice();
  2134. elseif ( TOSFrame.noticeType == "SCAN" ) then
  2135. AcceptScanning();
  2136. elseif ( TOSFrame.noticeType == "CONTEST" ) then
  2137. AcceptContest();
  2138. end
  2139. self:GetParent():Hide();
  2140. TOSNotice:Hide();
  2141. TOSAccept:Disable();
  2142. AccountLogin_ShowUserAgreements();
  2143. </OnClick>
  2144. </Scripts>
  2145. </Button>
  2146. </Frames>
  2147. <Scripts>
  2148. <OnShow>
  2149. PlaySound("igMainMenuOpen");
  2150. </OnShow>
  2151. <OnHide>
  2152. PlaySound("igMainMenuClose");
  2153. </OnHide>
  2154. </Scripts>
  2155. </Frame>
  2156. <!-- SURVEY NOTIFICATION FRAME BEGIN -->
  2157. <Frame name="SurveyNotificationFrame" hidden="true">
  2158. <Size>
  2159. <AbsDimension x="640" y="512"/>
  2160. </Size>
  2161. <Anchors>
  2162. <Anchor point="CENTER">
  2163. <Offset>
  2164. <AbsDimension x="0" y="0"/>
  2165. </Offset>
  2166. </Anchor>
  2167. </Anchors>
  2168. <HitRectInsets>
  2169. <AbsInset left="0" right="44" top="0" bottom="13"/>
  2170. </HitRectInsets>
  2171. <Layers>
  2172. <Layer level="BACKGROUND">
  2173. <Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
  2174. <Size>
  2175. <AbsDimension x="256" y="256"/>
  2176. </Size>
  2177. <Anchors>
  2178. <Anchor point="TOPLEFT"/>
  2179. </Anchors>
  2180. </Texture>
  2181. <Texture file="Interface\HelpFrame\HelpFrame-Top">
  2182. <Size>
  2183. <AbsDimension x="256" y="256"/>
  2184. </Size>
  2185. <Anchors>
  2186. <Anchor point="TOPLEFT">
  2187. <Offset>
  2188. <AbsDimension x="256" y="0"/>
  2189. </Offset>
  2190. </Anchor>
  2191. </Anchors>
  2192. </Texture>
  2193. <Texture file="Interface\Glues\Login\Glues-TOS-TopRight">
  2194. <Size>
  2195. <AbsDimension x="128" y="256"/>
  2196. </Size>
  2197. <Anchors>
  2198. <Anchor point="TOPRIGHT"/>
  2199. </Anchors>
  2200. </Texture>
  2201. <Texture file="Interface\HelpFrame\HelpFrame-BotLeft">
  2202. <Size>
  2203. <AbsDimension x="256" y="256"/>
  2204. </Size>
  2205. <Anchors>
  2206. <Anchor point="BOTTOMLEFT"/>
  2207. </Anchors>
  2208. </Texture>
  2209. <Texture file="Interface\HelpFrame\HelpFrame-Bottom">
  2210. <Size>
  2211. <AbsDimension x="256" y="256"/>
  2212. </Size>
  2213. <Anchors>
  2214. <Anchor point="BOTTOMLEFT">
  2215. <Offset>
  2216. <AbsDimension x="256" y="0"/>
  2217. </Offset>
  2218. </Anchor>
  2219. </Anchors>
  2220. </Texture>
  2221. <Texture file="Interface\HelpFrame\HelpFrame-BotRight">
  2222. <Size>
  2223. <AbsDimension x="128" y="256"/>
  2224. </Size>
  2225. <Anchors>
  2226. <Anchor point="BOTTOMRIGHT"/>
  2227. </Anchors>
  2228. </Texture>
  2229. </Layer>
  2230. <Layer level="ARTWORK">
  2231. <Texture name="SurveyNotificationFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
  2232. <Size>
  2233. <AbsDimension x="620" y="64"/>
  2234. </Size>
  2235. <Anchors>
  2236. <Anchor point="TOP">
  2237. <Offset>
  2238. <AbsDimension x="-12" y="12"/>
  2239. </Offset>
  2240. </Anchor>
  2241. </Anchors>
  2242. </Texture>
  2243. <FontString name="SurveyNotificationFrameTitle" inherits="GlueFontNormal" text="HARDWARE_SURVEY_TITLE">
  2244. <Anchors>
  2245. <Anchor point="TOP" relativeTo="SurveyNotificationFrameHeader">
  2246. <Offset>
  2247. <AbsDimension x="0" y="-14"/>
  2248. </Offset>
  2249. </Anchor>
  2250. </Anchors>
  2251. </FontString>
  2252. </Layer>
  2253. </Layers>
  2254. <Frames>
  2255. <ScrollFrame name="SurveyScrollFrame" inherits="GlueScrollFrameTemplate">
  2256. <Size>
  2257. <AbsDimension x="540" y="407"/>
  2258. </Size>
  2259. <Anchors>
  2260. <Anchor point="TOPLEFT">
  2261. <Offset>
  2262. <AbsDimension x="30" y="-56"/>
  2263. </Offset>
  2264. </Anchor>
  2265. </Anchors>
  2266. <Scripts>
  2267. <OnLoad>
  2268. self.scrollBarHideable = 1;
  2269. GlueScrollFrame_OnScrollRangeChanged(self);
  2270. </OnLoad>
  2271. </Scripts>
  2272. <ScrollChild>
  2273. <SimpleHTML name="SurveyText" file="survey.html">
  2274. <Size>
  2275. <AbsDimension x="530" y="407"/>
  2276. </Size>
  2277. <FontString inherits="GlueFontHighlight"/>
  2278. <FontStringHeader1 inherits="GlueFontNormal"/>
  2279. <FontStringHeader2 inherits="GlueFontNormalSmall"/>
  2280. </SimpleHTML>
  2281. </ScrollChild>
  2282. </ScrollFrame>
  2283. <Button name="SurveyNotificationDecline" inherits="GlueMenuButtonTemplate" text="HARDWARE_SURVEY_DISAGREE">
  2284. <Anchors>
  2285. <Anchor point="BOTTOMRIGHT">
  2286. <Offset>
  2287. <AbsDimension x="-53" y="21"/>
  2288. </Offset>
  2289. </Anchor>
  2290. </Anchors>
  2291. <Scripts>
  2292. <OnClick>
  2293. AccountLogin_SurveyNotificationDone(0);
  2294. self:GetParent():Hide();
  2295. </OnClick>
  2296. <OnLoad>
  2297. self:SetWidth(200);
  2298. </OnLoad>
  2299. </Scripts>
  2300. </Button>
  2301. <Button name="SurveyNotificationAccept" inherits="GlueMenuButtonTemplate" text="HARDWARE_SURVEY_AGREE">
  2302. <Anchors>
  2303. <Anchor point="RIGHT" relativeTo="SurveyNotificationDecline" relativePoint="LEFT">
  2304. <Offset>
  2305. <AbsDimension x="0" y="0"/>
  2306. </Offset>
  2307. </Anchor>
  2308. </Anchors>
  2309. <Scripts>
  2310. <OnLoad>
  2311. self:SetWidth(200);
  2312. </OnLoad>
  2313. <OnClick>
  2314. AccountLogin_SurveyNotificationDone(1);
  2315. self:GetParent():Hide();
  2316. </OnClick>
  2317. </Scripts>
  2318. </Button>
  2319. </Frames>
  2320. </Frame>
  2321. <!-- SURVEY NOTIFICATION FRAME END -->
  2322. <Frame name="ConnectionHelpFrame" hidden="true">
  2323. <Size>
  2324. <AbsDimension x="640" y="512"/>
  2325. </Size>
  2326. <Anchors>
  2327. <Anchor point="CENTER">
  2328. <Offset>
  2329. <AbsDimension x="0" y="0"/>
  2330. </Offset>
  2331. </Anchor>
  2332. </Anchors>
  2333. <HitRectInsets>
  2334. <AbsInset left="0" right="44" top="0" bottom="13"/>
  2335. </HitRectInsets>
  2336. <Layers>
  2337. <Layer level="BACKGROUND">
  2338. <Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
  2339. <Size>
  2340. <AbsDimension x="256" y="256"/>
  2341. </Size>
  2342. <Anchors>
  2343. <Anchor point="TOPLEFT"/>
  2344. </Anchors>
  2345. </Texture>
  2346. <Texture file="Interface\HelpFrame\HelpFrame-Top">
  2347. <Size>
  2348. <AbsDimension x="256" y="256"/>
  2349. </Size>
  2350. <Anchors>
  2351. <Anchor point="TOPLEFT">
  2352. <Offset>
  2353. <AbsDimension x="256" y="0"/>
  2354. </Offset>
  2355. </Anchor>
  2356. </Anchors>
  2357. </Texture>
  2358. <Texture file="Interface\Glues\Login\Glues-TOS-TopRight">
  2359. <Size>
  2360. <AbsDimension x="128" y="256"/>
  2361. </Size>
  2362. <Anchors>
  2363. <Anchor point="TOPRIGHT"/>
  2364. </Anchors>
  2365. </Texture>
  2366. <Texture file="Interface\HelpFrame\HelpFrame-BotLeft">
  2367. <Size>
  2368. <AbsDimension x="256" y="256"/>
  2369. </Size>
  2370. <Anchors>
  2371. <Anchor point="BOTTOMLEFT"/>
  2372. </Anchors>
  2373. </Texture>
  2374. <Texture file="Interface\HelpFrame\HelpFrame-Bottom">
  2375. <Size>
  2376. <AbsDimension x="256" y="256"/>
  2377. </Size>
  2378. <Anchors>
  2379. <Anchor point="BOTTOMLEFT">
  2380. <Offset>
  2381. <AbsDimension x="256" y="0"/>
  2382. </Offset>
  2383. </Anchor>
  2384. </Anchors>
  2385. </Texture>
  2386. <Texture file="Interface\HelpFrame\HelpFrame-BotRight">
  2387. <Size>
  2388. <AbsDimension x="128" y="256"/>
  2389. </Size>
  2390. <Anchors>
  2391. <Anchor point="BOTTOMRIGHT"/>
  2392. </Anchors>
  2393. </Texture>
  2394. </Layer>
  2395. <Layer level="ARTWORK">
  2396. <Texture name="ConnectionHelpFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
  2397. <Size>
  2398. <AbsDimension x="420" y="64"/>
  2399. </Size>
  2400. <Anchors>
  2401. <Anchor point="TOP">
  2402. <Offset>
  2403. <AbsDimension x="-12" y="12"/>
  2404. </Offset>
  2405. </Anchor>
  2406. </Anchors>
  2407. </Texture>
  2408. <FontString inherits="GlueFontNormal" text="CONNECTION_HELP_FRAME_TITLE">
  2409. <Anchors>
  2410. <Anchor point="TOP" relativeTo="ConnectionHelpFrameHeader">
  2411. <Offset>
  2412. <AbsDimension x="0" y="-14"/>
  2413. </Offset>
  2414. </Anchor>
  2415. </Anchors>
  2416. </FontString>
  2417. </Layer>
  2418. </Layers>
  2419. <Frames>
  2420. <ScrollFrame name="ConnectionHelpScrollFrame" inherits="GlueScrollFrameTemplate">
  2421. <Size>
  2422. <AbsDimension x="540" y="407"/>
  2423. </Size>
  2424. <Anchors>
  2425. <Anchor point="TOPLEFT">
  2426. <Offset>
  2427. <AbsDimension x="20" y="-56"/>
  2428. </Offset>
  2429. </Anchor>
  2430. </Anchors>
  2431. <Layers>
  2432. <Layer level="ARTWORK">
  2433. <Texture name="ConnectionHelpScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  2434. <Size>
  2435. <AbsDimension x="31" y="256"/>
  2436. </Size>
  2437. <Anchors>
  2438. <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
  2439. <Offset>
  2440. <AbsDimension x="-2" y="5"/>
  2441. </Offset>
  2442. </Anchor>
  2443. </Anchors>
  2444. <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
  2445. </Texture>
  2446. <Texture name="ConnectionHelpScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  2447. <Size>
  2448. <AbsDimension x="31" y="106"/>
  2449. </Size>
  2450. <Anchors>
  2451. <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
  2452. <Offset>
  2453. <AbsDimension x="-2" y="-2"/>
  2454. </Offset>
  2455. </Anchor>
  2456. </Anchors>
  2457. <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
  2458. </Texture>
  2459. <Texture name="ConnectionHelpScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
  2460. <Size>
  2461. <AbsDimension x="31" y="60"/>
  2462. </Size>
  2463. <Anchors>
  2464. <Anchor point="TOP" relativeTo="ConnectionHelpScrollBarTop" relativePoint="BOTTOM">
  2465. <Offset>
  2466. <AbsDimension x="0" y="0"/>
  2467. </Offset>
  2468. </Anchor>
  2469. <Anchor point="BOTTOM" relativeTo="ConnectionHelpScrollBarBottom" relativePoint="TOP">
  2470. <Offset>
  2471. <AbsDimension x="0" y="0"/>
  2472. </Offset>
  2473. </Anchor>
  2474. </Anchors>
  2475. <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
  2476. </Texture>
  2477. </Layer>
  2478. </Layers>
  2479. <Scripts>
  2480. <OnVerticalScroll>
  2481. local scrollbar = _G[self:GetName().."ScrollBar"];
  2482. scrollbar:SetValue(offset);
  2483. local min;
  2484. local max;
  2485. min, max = scrollbar:GetMinMaxValues();
  2486. if ( offset == 0 ) then
  2487. _G[scrollbar:GetName().."ScrollUpButton"]:Disable();
  2488. else
  2489. _G[scrollbar:GetName().."ScrollUpButton"]:Enable();
  2490. end
  2491. -- HACK: scrollbars do not handle max properly
  2492. -- DO NOT CHANGE - without speaking to Mikros/Barris/Thompson
  2493. if (scrollbar:GetValue() >= max - 20) then
  2494. _G[scrollbar:GetName().."ScrollDownButton"]:Disable();
  2495. else
  2496. _G[scrollbar:GetName().."ScrollDownButton"]:Enable();
  2497. end
  2498. </OnVerticalScroll>
  2499. </Scripts>
  2500. <ScrollChild>
  2501. <SimpleHTML name="ConnectionHelpText" file="connection-help.html">
  2502. <Size>
  2503. <AbsDimension x="540" y="800"/>
  2504. </Size>
  2505. <FontString inherits="TOSFont"/>
  2506. <FontStringHeader1 inherits="GlueFontNormalLarge"/>
  2507. <FontStringHeader2 inherits="GlueFontNormal"/>
  2508. <FontStringHeader3 inherits="GlueFontNormal"/>
  2509. </SimpleHTML>
  2510. </ScrollChild>
  2511. </ScrollFrame>
  2512. <Button name="ConnectionHelpOkay" inherits="GlueMenuButtonTemplate" text="OKAY">
  2513. <Anchors>
  2514. <Anchor point="BOTTOMRIGHT">
  2515. <Offset>
  2516. <AbsDimension x="-53" y="21"/>
  2517. </Offset>
  2518. </Anchor>
  2519. </Anchors>
  2520. <Scripts>
  2521. <OnClick>
  2522. ConnectionHelpFrame:Hide();
  2523. AccountLoginUI:Show();
  2524. </OnClick>
  2525. </Scripts>
  2526. </Button>
  2527. </Frames>
  2528. </Frame>
  2529. </Frames>
  2530. <Scripts>
  2531. <OnLoad>
  2532. AccountLogin_OnLoad(self);
  2533. </OnLoad>
  2534. <OnShow>
  2535. AccountLogin_OnShow(self);
  2536. </OnShow>
  2537. <OnHide>
  2538. AccountLogin_OnHide(self);
  2539. </OnHide>
  2540. <OnKeyDown>
  2541. AccountLogin_OnKeyDown(key);
  2542. </OnKeyDown>
  2543. <OnEvent>
  2544. AccountLogin_OnEvent(event, ...);
  2545. </OnEvent>
  2546. <OnUpdate>
  2547. LoginScreen_OnUpdate(self, elapsed);
  2548. </OnUpdate>
  2549. </Scripts>
  2550. </Frame>
  2551.  
  2552. <Frame name="CinematicsFrame" toplevel="true" parent="GlueParent" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
  2553. <Frames>
  2554. <Frame name="CinematicsBackground">
  2555. <Size>
  2556. <AbsDimension x="272" y="256"/>
  2557. </Size>
  2558. <Anchors>
  2559. <Anchor point="CENTER">
  2560. <Offset>
  2561. <AbsDimension x="0" y="0"/>
  2562. </Offset>
  2563. </Anchor>
  2564. </Anchors>
  2565. <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  2566. <BackgroundInsets>
  2567. <AbsInset left="11" right="12" top="12" bottom="11"/>
  2568. </BackgroundInsets>
  2569. <TileSize>
  2570. <AbsValue val="32"/>
  2571. </TileSize>
  2572. <EdgeSize>
  2573. <AbsValue val="32"/>
  2574. </EdgeSize>
  2575. </Backdrop>
  2576. <Layers>
  2577. <Layer level="ARTWORK">
  2578. <FontString inherits="GlueFontNormalLarge" text="CINEMATICS">
  2579. <Size>
  2580. <AbsDimension x="450" y="0"/>
  2581. </Size>
  2582. <Anchors>
  2583. <Anchor point="TOP">
  2584. <Offset>
  2585. <AbsDimension x="0" y="-16"/>
  2586. </Offset>
  2587. </Anchor>
  2588. </Anchors>
  2589. </FontString>
  2590. </Layer>
  2591. </Layers>
  2592. <Frames>
  2593. <Button name="CinematicsButton1" inherits="GlueButtonTemplateBlue" text="WORLD_OF_WARCRAFT" hidden="true" id="1">
  2594. <Size>
  2595. <AbsDimension x="240" y="45"/>
  2596. </Size>
  2597. <Anchors>
  2598. <Anchor point="TOP">
  2599. <Offset>
  2600. <AbsDimension x="0" y="-50"/>
  2601. </Offset>
  2602. </Anchor>
  2603. </Anchors>
  2604. <Scripts>
  2605. <OnClick function="Cinematics_PlayMovie"/>
  2606. </Scripts>
  2607. </Button>
  2608. <Button name="CinematicsButton2" inherits="GlueButtonTemplateBlue" text="BURNING_CRUSADE" hidden="true" id="2">
  2609. <Size>
  2610. <AbsDimension x="240" y="45"/>
  2611. </Size>
  2612. <Anchors>
  2613. <Anchor point="TOP" relativeTo="CinematicsButton1" relativePoint="BOTTOM">
  2614. <Offset>
  2615. <AbsDimension x="0" y="5"/>
  2616. </Offset>
  2617. </Anchor>
  2618. </Anchors>
  2619. <Scripts>
  2620. <OnClick function="Cinematics_PlayMovie"/>
  2621. </Scripts>
  2622. </Button>
  2623. <Button name="CinematicsButton3" inherits="GlueButtonTemplateBlue" text="WRATH_OF_THE_LICH_KING" hidden="true" id="3">
  2624. <Size>
  2625. <AbsDimension x="240" y="45"/>
  2626. </Size>
  2627. <Anchors>
  2628. <Anchor point="TOP" relativeTo="CinematicsButton2" relativePoint="BOTTOM">
  2629. <Offset>
  2630. <AbsDimension x="0" y="5"/>
  2631. </Offset>
  2632. </Anchor>
  2633. </Anchors>
  2634. <Scripts>
  2635. <OnClick function="Cinematics_PlayMovie"/>
  2636. </Scripts>
  2637. </Button>
  2638. </Frames>
  2639. </Frame>
  2640. </Frames>
  2641. <Scripts>
  2642. <OnLoad>
  2643. CinematicsFrame_OnLoad(self);
  2644. </OnLoad>
  2645. <OnShow>
  2646. self:Raise();
  2647. </OnShow>
  2648. <OnKeyDown>
  2649. CinematicsFrame_OnKeyDown(key);
  2650. </OnKeyDown>
  2651. </Scripts>
  2652. </Frame>
  2653.  
  2654. <Script file="LoginScene.lua"/>
  2655. <Script file="LSTool.lua"/>
  2656. </Ui>
Advertisement
Add Comment
Please, Sign In to add comment