Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962
  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/..\FrameXML\UI.xsd">
  2. <Script file="TurnIn.lua" />
  3. <Script file="TurnInUI.lua" />
  4. <Button name="TI_PriorityList" virtual="true" hidden="false">
  5. <Size>
  6. <AbsDimension x="235" y="20" />
  7. </Size>
  8. <Scripts><!--
  9. <OnEnter>
  10. getglobal(this:GetName() .. "_Background"):SetVertexColor(1,1,1,0.4);
  11. </OnEnter>
  12. <OnLeave>
  13. getglobal(this:GetName() .. "_Background"):SetVertexColor(0,0,0,0.4);
  14. </OnLeave>
  15. -->
  16. </Scripts>
  17. <Frames>
  18. <CheckButton name="$parent_Check" hidden="false" inherits="OptionsCheckButtonTemplate">
  19. <Anchors>
  20. <Anchor point="TOPLEFT"/>
  21. </Anchors>
  22. <HitRectInsets>
  23. <AbsInset left="0" right="0" top="0" bottom="0"/>
  24. </HitRectInsets>
  25. <Size>
  26. <AbsDimension x="20" y="22"/>
  27. </Size>
  28. <Scripts>
  29. <OnEnter>
  30. TI_OptionListCheckboxTooltip();
  31. </OnEnter>
  32. <OnLeave>
  33. TI_TooltipHide();
  34. </OnLeave>
  35. <OnClick>
  36. TI_OptionToggle();
  37. </OnClick>
  38. </Scripts>
  39. </CheckButton>
  40. <Button name="$parent_MoveDown" hidden="false">
  41. <Size>
  42. <AbsDimension x="24" y="24"/>
  43. </Size>
  44. <Anchors>
  45. <Anchor point="TOPRIGHT">
  46. <Offset>
  47. <AbsDimension x="0" y="0"/>
  48. </Offset>
  49. </Anchor>
  50. </Anchors>
  51. <Scripts>
  52. <OnEnter>
  53. TI_TooltipMessage("Decrease this option's priority.");
  54. </OnEnter>
  55. <OnLeave>
  56. TI_TooltipHide();
  57. </OnLeave>
  58. <OnClick>
  59. TI_OptionMove(1);
  60. </OnClick>
  61. </Scripts>
  62. <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up"/>
  63. <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down"/>
  64. <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled"/>
  65. <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
  66. </Button>
  67. <Button name="$parent_MoveUp" hidden="false">
  68. <Size>
  69. <AbsDimension x="24" y="24"/>
  70. </Size>
  71. <Anchors>
  72. <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parent_MoveDown">
  73. <Offset>
  74. <AbsDimension x="3" y="0"/>
  75. </Offset>
  76. </Anchor>
  77. </Anchors>
  78. <Scripts>
  79. <OnClick>
  80. TI_OptionMove(-1);
  81. </OnClick>
  82. <OnEnter>
  83. TI_TooltipMessage("Increase this option's priority.");
  84. </OnEnter>
  85. <OnLeave>
  86. TI_TooltipHide();
  87. </OnLeave>
  88. </Scripts>
  89. <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Up"/>
  90. <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Down"/>
  91. <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Disabled"/>
  92. <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
  93. </Button>
  94. </Frames>
  95. <Layers>
  96. <Layer level="ARTWORK">
  97. <Texture name="$parent_Icon" file="Interface\QuestFrame\UI-Quest-BulletPoint">
  98. <Size>
  99. <AbsDimension x="16" y="16"/>
  100. </Size>
  101. <Anchors>
  102. <Anchor point="TOPLEFT">
  103. <Offset>
  104. <AbsDimension x="20" y="-3"/>
  105. </Offset>
  106. </Anchor>
  107. </Anchors>
  108. </Texture>
  109. <FontString name="$parent_Text" inherits="GameFontNormal" justifyV="top" justifyH="left">
  110. <Anchors>
  111. <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
  112. <Offset>
  113. <AbsDimension x="0" y="-1"/>
  114. </Offset>
  115. </Anchor>
  116. <Anchor point="TOPRIGHT" relativeTo="$parent_MoveUp" relativePoint="TOPLEFT">
  117. <Offset>
  118. <AbsDimension x="0" y="0"/>
  119. </Offset>
  120. </Anchor>
  121. </Anchors>
  122. </FontString>
  123. </Layer>
  124. <Layer level="BACKGROUND">
  125. <Texture name="$parent_Background" setAllPoints="true">
  126. <Color r="0.2" g="0.2" b="1" a="0.0" />
  127. </Texture>
  128. </Layer>
  129. </Layers>
  130. <!--<NormalText name="$parent_Text" justifyV="top" justifyH="left" inherits="GameFontNormal" nonspacewrap="true">
  131. <Anchors>
  132. <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
  133. <Offset>
  134. <AbsDimension x="0" y="-1"/>
  135. </Offset>
  136. </Anchor>
  137. <Anchor point="TOPRIGHT" relativeTo="$parent_MoveUp" relativePoint="TOPLEFT">
  138. <Offset>
  139. <AbsDimension x="0" y="0"/>
  140. </Offset>
  141. </Anchor>
  142. </Anchors>
  143. <Size>
  144. <AbsDimension x="156" y="0" />
  145. </Size>
  146. </NormalText>-->
  147. </Button>
  148. <Button name="TI_NPCList" virtual="true" hidden="false">
  149. <Size>
  150. <AbsDimension x="232" y="20" />
  151. </Size>
  152. <Frames>
  153. <CheckButton name="$parent_Check" hidden="false" inherits="OptionsCheckButtonTemplate">
  154. <Anchors>
  155. <Anchor point="TOPLEFT"/>
  156. </Anchors>
  157. <HitRectInsets>
  158. <AbsInset left="0" right="0" top="0" bottom="0"/>
  159. </HitRectInsets>
  160. <Size>
  161. <AbsDimension x="20" y="22"/>
  162. </Size>
  163. <Scripts>
  164. <OnClick>
  165. TI_NPCToggle();
  166. TI_NPCListCheckboxTooltip();
  167. </OnClick>
  168. <OnEnter>
  169. TI_NPCListCheckboxTooltip();
  170. </OnEnter>
  171. <OnLeave>
  172. TI_TooltipHide();
  173. </OnLeave>
  174. </Scripts>
  175. </CheckButton>
  176. <Button name="$parent_Delete" hidden="false" inherits="OptionsButtonTemplate" text="X">
  177. <Anchors>
  178. <Anchor point="RIGHT">
  179. <Offset>
  180. <AbsDimension x="3" y="0"/>
  181. </Offset>
  182. </Anchor>
  183. </Anchors>
  184. <Size>
  185. <AbsDimension x="20" y="20" />
  186. </Size>
  187. <Scripts>
  188. <OnEnter>
  189. TI_TooltipMessage("Delete this NPC.");
  190. </OnEnter>
  191. <OnLeave>
  192. TI_TooltipHide();
  193. </OnLeave>
  194. <OnClick>
  195. TI_DeleteNPCIndex();
  196. </OnClick>
  197. </Scripts>
  198. </Button>
  199. </Frames>
  200. <Layers>
  201. <Layer level="ARTWORK">
  202. <FontString name="$parent_Text" justifyV="top" justifyH="left" inherits="GameFontNormal" text="">
  203. <Anchors>
  204. <Anchor point="LEFT">
  205. <Offset>
  206. <AbsDimension x="20" y="0"/>
  207. </Offset>
  208. </Anchor>
  209. </Anchors>
  210. </FontString>
  211. </Layer>
  212. </Layers>
  213. <Scripts>
  214. <OnClick>
  215. TI_SelectNPCIndex();
  216. </OnClick>
  217. </Scripts>
  218. <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
  219. </Button>
  220. <GameTooltip name="TI_Tooltip" hidden="true" inherits="GameTooltipTemplate" />
  221. <Frame Name="TI_TempNPCListEntry" virtual="true" hidden="true">
  222. <Scripts>
  223. <OnEnter>
  224. TI_TempNPCListTooltipShow();
  225. </OnEnter>
  226. <OnLeave>
  227. TI_TooltipHide();
  228. </OnLeave>
  229. </Scripts>
  230. <Size>
  231. <AbsDimension x="188" y="20" />
  232. </Size>
  233. <Layers>
  234. <Layer level="ARTWORK">
  235. <FontString name="$parent_Text" justifyV="top" justifyH="left" inherits="GameFontNormal" text="">
  236. <Anchors>
  237. <Anchor point="LEFT">
  238. <Offset>
  239. <AbsDimension x="0" y="0"/>
  240. </Offset>
  241. </Anchor>
  242. </Anchors>
  243. </FontString>
  244. </Layer>
  245. </Layers>
  246. <Frames>
  247. <Button name="$parent_Delete" hidden="false" inherits="OptionsButtonTemplate" text="X">
  248. <Anchors>
  249. <Anchor point="TOPRIGHT">
  250. <Offset>
  251. <AbsDimension x="0" y="2"/>
  252. </Offset>
  253. </Anchor>
  254. </Anchors>
  255. <Size>
  256. <AbsDimension x="20" y="20" />
  257. </Size>
  258. <Scripts>
  259. <OnClick>
  260. TI_DeleteTempNPCIndex(this:GetParent():GetID());
  261. </OnClick>
  262. <OnEnter>
  263. TI_TooltipMessage("Delete");
  264. </OnEnter>
  265. <OnLeave>
  266. TI_TooltipHide();
  267. </OnLeave>
  268. </Scripts>
  269. </Button>
  270. <Button name="$parent_Add" hidden="false" inherits="OptionsButtonTemplate" text="+">
  271. <Anchors>
  272. <Anchor point="RIGHT" relativeTo="$parent_Delete" relativePoint="LEFT">
  273. <Offset>
  274. <AbsDimension x="0" y="0"/>
  275. </Offset>
  276. </Anchor>
  277. </Anchors>
  278. <Size>
  279. <AbsDimension x="20" y="20" />
  280. </Size>
  281. <Scripts>
  282. <OnClick>
  283. TI_AddTempNPCIndex(this:GetParent():GetID());
  284. </OnClick>
  285. <OnEnter>
  286. TI_TooltipMessage("Add this NPC to the database");
  287. </OnEnter>
  288. <OnLeave>
  289. TI_TooltipHide();
  290. </OnLeave>
  291. </Scripts>
  292. </Button>
  293. </Frames>
  294. </Frame>
  295. <Frame Name="TI_TempNPCListWindow" parent="UIParent" frameStrata="DIALOG" toplevel="true" enableMouse="true" movable="true" hidden="true">
  296. <Size>
  297. <AbsDimension x="200" y="130" />
  298. </Size>
  299. <Anchors>
  300. <Anchor point="CENTER"/>
  301. </Anchors>
  302. <Layers>
  303. <Layer level="ARTWORK">
  304. <FontString inherits="GameFontNormal" text="Recently Visited NPCs">
  305. <Anchors>
  306. <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
  307. <Offset><AbsDimension x="6" y="-7" /></Offset>
  308. </Anchor>
  309. <Anchor point="TOPRIGHT">
  310. <Offset><AbsDimension x="-6" y="-7" /></Offset>
  311. </Anchor>
  312. </Anchors>
  313. </FontString>
  314. </Layer>
  315. </Layers>
  316. <Frames>
  317. <Button name="$parent_Close" inherits="UIPanelCloseButton">
  318. <Anchors>
  319. <Anchor point="TOPRIGHT">
  320. <Offset>
  321. <AbsDimension x="0" y="0"/>
  322. </Offset>
  323. </Anchor>
  324. </Anchors>
  325. </Button>
  326. <Frame name="$parent1" id="1" hidden="true" inherits="TI_TempNPCListEntry">
  327. <Anchors>
  328. <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
  329. <Offset><AbsDimension x="6" y="-27" /></Offset>
  330. </Anchor>
  331. <!--<Anchor point="TOPRIGHT">
  332. <Offset><AbsDimension x="-6" y="-27" /></Offset>
  333. </Anchor>-->
  334. </Anchors>
  335. </Frame>
  336. <Frame name="$parent2" id="2" hidden="true" inherits="TI_TempNPCListEntry">
  337. <Anchors>
  338. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent1">
  339. <Offset><AbsDimension x="0" y="0" /></Offset>
  340. </Anchor>
  341. </Anchors>
  342. </Frame>
  343. <Frame name="$parent3" id="3" hidden="true" inherits="TI_TempNPCListEntry">
  344. <Anchors>
  345. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent2">
  346. <Offset><AbsDimension x="0" y="0" /></Offset>
  347. </Anchor>
  348. </Anchors>
  349. </Frame>
  350. <Frame name="$parent4" id="4" hidden="true" inherits="TI_TempNPCListEntry">
  351. <Anchors>
  352. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent3">
  353. <Offset><AbsDimension x="0" y="0" /></Offset>
  354. </Anchor>
  355. </Anchors>
  356. </Frame>
  357. <Frame name="$parent5" id="5" hidden="true" inherits="TI_TempNPCListEntry">
  358. <Anchors>
  359. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent4">
  360. <Offset><AbsDimension x="0" y="0" /></Offset>
  361. </Anchor>
  362. </Anchors>
  363. </Frame>
  364. </Frames>
  365. <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
  366. <EdgeSize>
  367. <AbsValue val="16"/>
  368. </EdgeSize>
  369. <TileSize>
  370. <AbsValue val="16"/>
  371. </TileSize>
  372. <BackgroundInsets>
  373. <AbsInset left="5" right="5" top="5" bottom="5"/>
  374. </BackgroundInsets>
  375. </Backdrop>
  376. <Scripts>
  377. <OnMouseUp>
  378. if ( this.isMoving ) then
  379. this:StopMovingOrSizing();
  380. this.isMoving = false;
  381. end
  382. </OnMouseUp>
  383. <OnMouseDown>
  384. if ( arg1 == "LeftButton" ) then
  385. this:StartMoving();
  386. this.isMoving = true;
  387. end
  388. </OnMouseDown>
  389. <OnHide>
  390. if ( this.isMoving ) then
  391. this:StopMovingOrSizing();
  392. this.isMoving = false;
  393. end
  394. </OnHide>
  395. </Scripts>
  396. </Frame>
  397. <Frame Name="TI_OptionsFrame" frameStrata="DIALOG" toplevel="true" enableMouse="true" enableMouseWheel="true" movable="true" parent="UIParent">
  398. <TitleRegion>
  399. <Size>
  400. <AbsDimension x="128" y="64"/>
  401. </Size>
  402. <Anchors>
  403. <Anchor point="TOP">
  404. <Offset>
  405. <AbsDimension x="0" y="12"/>
  406. </Offset>
  407. </Anchor>
  408. </Anchors>
  409. </TitleRegion>
  410. <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  411. <BackgroundInsets>
  412. <AbsInset left="11" right="12" top="12" bottom="11"/>
  413. </BackgroundInsets>
  414. <TileSize>
  415. <AbsValue val="32"/>
  416. </TileSize>
  417. <EdgeSize>
  418. <AbsValue val="32"/>
  419. </EdgeSize>
  420. </Backdrop>
  421. <Scripts>
  422. <OnShow>
  423. </OnShow>
  424. </Scripts>
  425. <Size>
  426. <AbsDimension x="300" y="500"/>
  427. </Size>
  428. <Anchors>
  429. <Anchor point="CENTER"/>
  430. </Anchors>
  431. <Layers>
  432. <Layer level="ARTWORK">
  433. <Texture name="$parentOptionFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
  434. <Size>
  435. <AbsDimension x="256" y="64"/>
  436. </Size>
  437. <Anchors>
  438. <Anchor point="TOP">
  439. <Offset>
  440. <AbsDimension x="0" y="12"/>
  441. </Offset>
  442. </Anchor>
  443. </Anchors>
  444. </Texture>
  445. <FontString inherits="GameFontNormal" text="Turn In Options">
  446. <Anchors>
  447. <Anchor point="TOP" relativeTo="$parentOptionFrameHeader">
  448. <Offset>
  449. <AbsDimension x="0" y="-14"/>
  450. </Offset>
  451. </Anchor>
  452. </Anchors>
  453. </FontString>
  454. </Layer>
  455. </Layers>
  456. <Frames>
  457. <Button name="$parent_Close" inherits="UIPanelCloseButton">
  458. <Anchors>
  459. <Anchor point="TOPRIGHT">
  460. <Offset>
  461. <AbsDimension x="0" y="0"/>
  462. </Offset>
  463. </Anchor>
  464. </Anchors>
  465. </Button>
  466. <Frame name="TI_StatusIndicator" hidden="false">
  467. <Anchors>
  468. <Anchor point="TOPLEFT">
  469. <Offset>
  470. <AbsDimension x="16" y="-24" />
  471. </Offset>
  472. </Anchor>
  473. </Anchors>
  474. <Size>
  475. <AbsDimension x="200" y="20" />
  476. </Size>
  477. <Frames>
  478. <CheckButton name="$parent_Checkbox" hidden="false" inherits="OptionsCheckButtonTemplate">
  479. <Anchors>
  480. <Anchor point="TOPLEFT">
  481. <Offset>
  482. <AbsDimension x="0" y="0" />
  483. </Offset>
  484. </Anchor>
  485. </Anchors>
  486. <HitRectInsets>
  487. <AbsInset left="0" right="0" top="0" bottom="0"/>
  488. </HitRectInsets>
  489. <Size>
  490. <AbsDimension x="20" y="22"/>
  491. </Size>
  492. <Scripts>
  493. <OnClick>
  494. TI_StatusIndicator_CheckFn();
  495. </OnClick>
  496. </Scripts>
  497. </CheckButton>
  498. </Frames>
  499. <Layers>
  500. <Layer level="OVERLAY">
  501. <FontString name="$parent_Text" inherits="GameFontNormal" text="Turn In is ">
  502. <Anchors>
  503. <Anchor point="LEFT">
  504. <Offset>
  505. <AbsDimension x="20" y="0" />
  506. </Offset>
  507. </Anchor>
  508. </Anchors>
  509. </FontString>
  510. <FontString name="$parent_Status" inherits="GameFontNormal">
  511. <Anchors>
  512. <Anchor point="LEFT" relativeTo="$parent_Text" relativePoint="RIGHT">
  513. <Offset>
  514. <AbsDimension x="1" y="0" />
  515. </Offset>
  516. </Anchor>
  517. </Anchors>
  518. </FontString>
  519. </Layer>
  520. </Layers>
  521. <Scripts>
  522. <OnShow>
  523. TI_StatusIndicatorUpdate();
  524. </OnShow>
  525. </Scripts>
  526. </Frame>
  527. <Frame name="TI_SettingCheckboxes" hidden="false">
  528. <Anchors>
  529. <Anchor point="TOPLEFT" relativeTo="TI_StatusIndicator" relativePoint="BOTTOMLEFT">
  530. <Offset>
  531. <AbsDimension x="0" y="-10" />
  532. </Offset>
  533. </Anchor>
  534. </Anchors>
  535. <Size>
  536. <AbsDimension x="200" y="40" />
  537. </Size>
  538. <Frames>
  539. <CheckButton name="$parent_UseDefault" hidden="false" inherits="OptionsCheckButtonTemplate">
  540. <Anchors>
  541. <Anchor point="TOPLEFT">
  542. <Offset>
  543. <AbsDimension x="0" y="0" />
  544. </Offset>
  545. </Anchor>
  546. </Anchors>
  547. <HitRectInsets>
  548. <AbsInset left="0" right="0" top="0" bottom="0"/>
  549. </HitRectInsets>
  550. <Size>
  551. <AbsDimension x="20" y="22"/>
  552. </Size>
  553. <Scripts>
  554. <OnClick>
  555. TI_SettingCheckboxFn("usedefault");
  556. </OnClick>
  557. </Scripts>
  558. </CheckButton>
  559. <CheckButton name="$parent_AddAutomatically" hidden="false" inherits="OptionsCheckButtonTemplate">
  560. <Anchors>
  561. <Anchor point="TOPLEFT" relativeTo="$parent_UseDefault" relativePoint="BOTTOMLEFT">
  562. <Offset>
  563. <AbsDimension x="0" y="0" />
  564. </Offset>
  565. </Anchor>
  566. </Anchors>
  567. <HitRectInsets>
  568. <AbsInset left="0" right="0" top="0" bottom="0"/>
  569. </HitRectInsets>
  570. <Size>
  571. <AbsDimension x="20" y="22"/>
  572. </Size>
  573. <Scripts>
  574. <OnClick>
  575. TI_SettingCheckboxFn("autoadd");
  576. </OnClick>
  577. </Scripts>
  578. </CheckButton>
  579. </Frames>
  580. <Layers>
  581. <Layer level="OVERLAY">
  582. <FontString name="$parent_UseDefault_Text" inherits="GameFontNormal" text="Use default options for unlisted NPCs">
  583. <Anchors>
  584. <Anchor point="TOPLEFT">
  585. <Offset>
  586. <AbsDimension x="20" y="-4" />
  587. </Offset>
  588. </Anchor>
  589. </Anchors>
  590. </FontString>
  591. <FontString name="$parent_AddAutomatically_Text" inherits="GameFontNormal" text="Automatically add new NPCs">
  592. <Anchors>
  593. <Anchor point="TOPLEFT" relativeTo="$parent_UseDefault_Text" relativePoint="BOTTOMLEFT">
  594. <Offset>
  595. <AbsDimension x="0" y="-10" />
  596. </Offset>
  597. </Anchor>
  598. </Anchors>
  599. </FontString>
  600. </Layer>
  601. </Layers>
  602. <Scripts>
  603. <OnShow>
  604. TI_SettingCheckboxUpdate();
  605. </OnShow>
  606. </Scripts>
  607. </Frame>
  608. <Frame name="TI_OptionsPriorityContainer" inherits="OptionFrameBoxTemplate">
  609. <Scripts>
  610. <OnLoad>
  611. this:SetBackdropBorderColor(0.4, 0.4, 0.4);
  612. this:SetBackdropColor(0.15, 0.15, 0.15);
  613. getglobal(this:GetName().."Title"):SetText("Gossip Options Priority List");
  614. </OnLoad>
  615. </Scripts>
  616. <Anchors>
  617. <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
  618. <Offset>
  619. <AbsDimension x="16" y="16" />
  620. </Offset>
  621. </Anchor>
  622. </Anchors>
  623. <Size>
  624. <AbsDimension x="264" y="176" />
  625. </Size>
  626. <Frames>
  627. <ScrollFrame name="TI_OptionsPriorityScrollFrame" hidden="false" inherits="UIPanelScrollFrameTemplate">
  628. <Anchors>
  629. <Anchor point="TOPLEFT">
  630. <Offset>
  631. <AbsDimension x="4" y="-8" />
  632. </Offset>
  633. </Anchor>
  634. <Anchor point="BOTTOMRIGHT">
  635. <Offset>
  636. <AbsDimension x="-28" y="8" />
  637. </Offset>
  638. </Anchor>
  639. </Anchors>
  640. <ScrollChild>
  641. <Frame name="TI_OptionsPriority">
  642. <Anchors>
  643. <Anchor point="TOPLEFT" />
  644. </Anchors>
  645. <Size>
  646. <AbsDimension x="200" y="30"/>
  647. </Size>
  648. <!--<Layers>
  649. <Layer level="OVERLAY">
  650. <FontString name="$parentText" justifyV="top" justifyH="left" inherits="GameFontNormal" text="Gossip Options">
  651. <Anchors>
  652. <Anchor point="TOPLEFT" />
  653. </Anchors>
  654. </FontString>
  655. </Layer>
  656. <Layer level="BACKGROUND">
  657. <Texture name="$parent_Background" setAllPoints="true">
  658. <Color r="0" g="1" b="0" a="0.0"/>
  659. </Texture>
  660. </Layer>
  661. </Layers>-->
  662. <Frames>
  663. <Button name="$parent1" id="1" hidden="true" inherits="TI_PriorityList">
  664. <Anchors>
  665. <Anchor point="TOPLEFT">
  666. <Offset>
  667. <AbsDimension x="0" y="0" />
  668. </Offset>
  669. </Anchor>
  670. </Anchors>
  671. </Button>
  672. <Button name="$parent2" id="2" hidden="true" inherits="TI_PriorityList">
  673. <Anchors>
  674. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent1">
  675. <Offset>
  676. <AbsDimension x="0" y="0" />
  677. </Offset>
  678. </Anchor>
  679. </Anchors>
  680. </Button>
  681. <Button name="$parent3" id="3" hidden="true" inherits="TI_PriorityList">
  682. <Anchors>
  683. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent2">
  684. <Offset>
  685. <AbsDimension x="0" y="0" />
  686. </Offset>
  687. </Anchor>
  688. </Anchors>
  689. </Button>
  690. <Button name="$parent4" id="4" hidden="true" inherits="TI_PriorityList">
  691. <Anchors>
  692. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent3">
  693. <Offset>
  694. <AbsDimension x="0" y="0" />
  695. </Offset>
  696. </Anchor>
  697. </Anchors>
  698. </Button>
  699. <Button name="$parent5" id="5" hidden="true" inherits="TI_PriorityList">
  700. <Anchors>
  701. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent4">
  702. <Offset>
  703. <AbsDimension x="0" y="0" />
  704. </Offset>
  705. </Anchor>
  706. </Anchors>
  707. </Button>
  708. <Button name="$parent6" id="6" hidden="true" inherits="TI_PriorityList">
  709. <Anchors>
  710. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent5">
  711. <Offset>
  712. <AbsDimension x="0" y="0" />
  713. </Offset>
  714. </Anchor>
  715. </Anchors>
  716. </Button>
  717. <Button name="$parent7" id="7" hidden="true" inherits="TI_PriorityList">
  718. <Anchors>
  719. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent6">
  720. <Offset>
  721. <AbsDimension x="0" y="0" />
  722. </Offset>
  723. </Anchor>
  724. </Anchors>
  725. </Button>
  726. <Button name="$parent8" id="8" hidden="true" inherits="TI_PriorityList">
  727. <Anchors>
  728. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent7">
  729. <Offset>
  730. <AbsDimension x="0" y="0" />
  731. </Offset>
  732. </Anchor>
  733. </Anchors>
  734. </Button>
  735. <Button name="$parent9" id="9" hidden="true" inherits="TI_PriorityList">
  736. <Anchors>
  737. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent8">
  738. <Offset>
  739. <AbsDimension x="0" y="0" />
  740. </Offset>
  741. </Anchor>
  742. </Anchors>
  743. </Button>
  744. <Button name="$parent10" id="10" hidden="true" inherits="TI_PriorityList">
  745. <Anchors>
  746. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent9">
  747. <Offset>
  748. <AbsDimension x="0" y="0" />
  749. </Offset>
  750. </Anchor>
  751. </Anchors>
  752. </Button>
  753. <Button name="$parent11" id="11" hidden="true" inherits="TI_PriorityList">
  754. <Anchors>
  755. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent10">
  756. <Offset>
  757. <AbsDimension x="0" y="0" />
  758. </Offset>
  759. </Anchor>
  760. </Anchors>
  761. </Button>
  762. <Button name="$parent12" id="12" hidden="true" inherits="TI_PriorityList">
  763. <Anchors>
  764. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent11">
  765. <Offset>
  766. <AbsDimension x="0" y="0" />
  767. </Offset>
  768. </Anchor>
  769. </Anchors>
  770. </Button>
  771. <Button name="$parent13" id="13" hidden="true" inherits="TI_PriorityList">
  772. <Anchors>
  773. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent12">
  774. <Offset>
  775. <AbsDimension x="0" y="0" />
  776. </Offset>
  777. </Anchor>
  778. </Anchors>
  779. </Button>
  780. <Button name="$parent14" id="14" hidden="true" inherits="TI_PriorityList">
  781. <Anchors>
  782. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent13">
  783. <Offset>
  784. <AbsDimension x="0" y="0" />
  785. </Offset>
  786. </Anchor>
  787. </Anchors>
  788. </Button>
  789. <Button name="$parent15" id="15" hidden="true" inherits="TI_PriorityList">
  790. <Anchors>
  791. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent14">
  792. <Offset>
  793. <AbsDimension x="0" y="0" />
  794. </Offset>
  795. </Anchor>
  796. </Anchors>
  797. </Button>
  798. <Button name="$parent16" id="16" hidden="true" inherits="TI_PriorityList">
  799. <Anchors>
  800. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent15">
  801. <Offset>
  802. <AbsDimension x="0" y="0" />
  803. </Offset>
  804. </Anchor>
  805. </Anchors>
  806. </Button>
  807. </Frames>
  808. </Frame>
  809. </ScrollChild>
  810. </ScrollFrame>
  811. </Frames>
  812. </Frame>
  813. <Frame name="TI_OptionsNPCContainer" inherits="OptionFrameBoxTemplate">
  814. <Scripts>
  815. <OnLoad>
  816. this:SetBackdropBorderColor(0.4, 0.4, 0.4);
  817. this:SetBackdropColor(0.15, 0.15, 0.15);
  818. getglobal(this:GetName().."Title"):SetText("NPC Database");
  819. </OnLoad>
  820. </Scripts>
  821. <Anchors>
  822. <Anchor point="BOTTOMLEFT" relativeTo="TI_OptionsPriorityContainer" relativePoint="TOPLEFT">
  823. <Offset>
  824. <AbsDimension x="0" y="16" />
  825. </Offset>
  826. </Anchor>
  827. </Anchors>
  828. <Size>
  829. <AbsDimension x="264" y="176" />
  830. </Size>
  831. <Frames>
  832. <ScrollFrame name="TI_NPCListScrollFrame" inherits="FauxScrollFrameTemplate" hidden="false" enableMouseWheel="true">
  833. <Anchors>
  834. <Anchor point="TOPLEFT">
  835. <Offset>
  836. <AbsDimension x="-28" y="-8" />
  837. </Offset>
  838. </Anchor>
  839. <Anchor point="BOTTOMRIGHT">
  840. <Offset>
  841. <AbsDimension x="-28" y="8" />
  842. </Offset>
  843. </Anchor>
  844. </Anchors>
  845. <Scripts>
  846. <OnVerticalScroll>
  847. FauxScrollFrame_OnVerticalScroll(20, TI_NPCListScrollBarUpdate);
  848. </OnVerticalScroll>
  849. <OnShow>
  850. TI_NPCListScrollBarUpdate();
  851. </OnShow>
  852. </Scripts>
  853. </ScrollFrame>
  854. <Button name="$parent1" hidden="true" inherits="TI_NPCList">
  855. <Anchors>
  856. <Anchor point="TOPLEFT">
  857. <Offset>
  858. <AbsDimension x="4" y="-8" />
  859. </Offset>
  860. </Anchor>
  861. </Anchors>
  862. </Button>
  863. <Button name="$parent2" hidden="true" inherits="TI_NPCList">
  864. <Anchors>
  865. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent1">
  866. <Offset>
  867. <AbsDimension x="0" y="0" />
  868. </Offset>
  869. </Anchor>
  870. </Anchors>
  871. </Button>
  872. <Button name="$parent3" hidden="true" inherits="TI_NPCList">
  873. <Anchors>
  874. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent2">
  875. <Offset>
  876. <AbsDimension x="0" y="0" />
  877. </Offset>
  878. </Anchor>
  879. </Anchors>
  880. </Button>
  881. <Button name="$parent4" hidden="true" inherits="TI_NPCList">
  882. <Anchors>
  883. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent3">
  884. <Offset>
  885. <AbsDimension x="0" y="0" />
  886. </Offset>
  887. </Anchor>
  888. </Anchors>
  889. </Button>
  890. <Button name="$parent5" hidden="true" inherits="TI_NPCList">
  891. <Anchors>
  892. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent4">
  893. <Offset>
  894. <AbsDimension x="0" y="0" />
  895. </Offset>
  896. </Anchor>
  897. </Anchors>
  898. </Button>
  899. <Button name="$parent6" hidden="true" inherits="TI_NPCList">
  900. <Anchors>
  901. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent5">
  902. <Offset>
  903. <AbsDimension x="0" y="0" />
  904. </Offset>
  905. </Anchor>
  906. </Anchors>
  907. </Button>
  908. <Button name="$parent7" hidden="true" inherits="TI_NPCList">
  909. <Anchors>
  910. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent6">
  911. <Offset>
  912. <AbsDimension x="0" y="0" />
  913. </Offset>
  914. </Anchor>
  915. </Anchors>
  916. </Button>
  917. <Button name="$parent8" hidden="true" inherits="TI_NPCList">
  918. <Anchors>
  919. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent7">
  920. <Offset>
  921. <AbsDimension x="0" y="0" />
  922. </Offset>
  923. </Anchor>
  924. </Anchors>
  925. </Button>
  926. </Frames>
  927. </Frame>
  928. </Frames>
  929. </Frame>
  930. <Frame name="TurnIn" hidden="true" frameStrata="LOW" enableMouse="false">
  931. <Scripts>
  932. <OnLoad>
  933. TI_OnLoad();
  934. </OnLoad>
  935. <OnEvent>
  936. TI_OnEvent(event);
  937. </OnEvent>
  938. </Scripts>
  939. </Frame>
  940. </Ui>