Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

TurnIn.xml 26KB

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