Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

TurnIn.xml 29KB

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