Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

TurnIn.xml 29KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019
  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_TOOLTIP_16_16_5555" 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_TOOLTIP_16_16_5555" 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:ApplyBackdrop();
  419. self:SetBackdropBorderColor(0.6, 0.6, 0.6);
  420. self:SetBackdropColor(0.2, 0.2, 0.2);
  421. </OnLoad>
  422. <OnMouseUp>
  423. if ( self.isMoving ) then
  424. self:StopMovingOrSizing();
  425. self.isMoving = false;
  426. end
  427. </OnMouseUp>
  428. <OnMouseDown>
  429. if ( button == "LeftButton" ) then
  430. self:StartMoving();
  431. self.isMoving = true;
  432. end
  433. </OnMouseDown>
  434. <OnHide>
  435. if ( self.isMoving ) then
  436. self:StopMovingOrSizing();
  437. self.isMoving = false;
  438. end
  439. </OnHide>
  440. </Scripts>
  441. </Frame>
  442. <Frame Name="TI_OptionsFrame" inherits="BackdropTemplate" frameStrata="DIALOG" toplevel="true" enableMouse="true" enableMouseWheel="true" movable="true" parent="UIParent">
  443. <TitleRegion>
  444. <Size>
  445. <AbsDimension x="128" y="64"/>
  446. </Size>
  447. <Anchors>
  448. <Anchor point="TOP">
  449. <Offset>
  450. <AbsDimension x="0" y="12"/>
  451. </Offset>
  452. </Anchor>
  453. </Anchors>
  454. </TitleRegion>
  455. <KeyValues>
  456. <KeyValue key="backdropInfo" value="BACKDROP_DIALOG_32_32" type="global"/>
  457. </KeyValues>
  458. <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  459. <BackgroundInsets>
  460. <AbsInset left="11" right="12" top="12" bottom="11"/>
  461. </BackgroundInsets>
  462. <TileSize>
  463. <AbsValue val="32"/>
  464. </TileSize>
  465. <EdgeSize>
  466. <AbsValue val="32"/>
  467. </EdgeSize>
  468. </Backdrop>
  469. <Scripts>
  470. <OnLoad>
  471. self:ApplyBackdrop()
  472. self:EnableMouse(true)
  473. self:RegisterForDrag("LeftButton")
  474. </OnLoad>
  475. <OnDragStart>
  476. self:StartMoving()
  477. </OnDragStart>
  478. <OnDragStop>
  479. self:StopMovingOrSizing()
  480. </OnDragStop>
  481. </Scripts>
  482. <Size>
  483. <AbsDimension x="300" y="500"/>
  484. </Size>
  485. <Anchors>
  486. <Anchor point="CENTER"/>
  487. </Anchors>
  488. <Layers>
  489. <Layer level="ARTWORK">
  490. <Texture name="$parentOptionFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
  491. <Size>
  492. <AbsDimension x="256" y="64"/>
  493. </Size>
  494. <Anchors>
  495. <Anchor point="TOP">
  496. <Offset>
  497. <AbsDimension x="0" y="12"/>
  498. </Offset>
  499. </Anchor>
  500. </Anchors>
  501. </Texture>
  502. <FontString inherits="GameFontNormal" text="Turn In Options">
  503. <Anchors>
  504. <Anchor point="TOP" relativeTo="$parentOptionFrameHeader">
  505. <Offset>
  506. <AbsDimension x="0" y="-14"/>
  507. </Offset>
  508. </Anchor>
  509. </Anchors>
  510. </FontString>
  511. </Layer>
  512. </Layers>
  513. <Frames>
  514. <Button name="$parent_Close" inherits="UIPanelCloseButton">
  515. <Anchors>
  516. <Anchor point="TOPRIGHT">
  517. <Offset>
  518. <AbsDimension x="0" y="0"/>
  519. </Offset>
  520. </Anchor>
  521. </Anchors>
  522. </Button>
  523. <Frame name="TI_StatusIndicator" hidden="false">
  524. <Anchors>
  525. <Anchor point="TOPLEFT">
  526. <Offset>
  527. <AbsDimension x="16" y="-24" />
  528. </Offset>
  529. </Anchor>
  530. </Anchors>
  531. <Size>
  532. <AbsDimension x="200" y="20" />
  533. </Size>
  534. <Frames>
  535. <CheckButton name="$parent_Checkbox" hidden="false" inherits="OptionsCheckButtonTemplate">
  536. <Anchors>
  537. <Anchor point="TOPLEFT">
  538. <Offset>
  539. <AbsDimension x="0" y="0" />
  540. </Offset>
  541. </Anchor>
  542. </Anchors>
  543. <HitRectInsets>
  544. <AbsInset left="0" right="0" top="0" bottom="0"/>
  545. </HitRectInsets>
  546. <Size>
  547. <AbsDimension x="20" y="22"/>
  548. </Size>
  549. <Scripts>
  550. <OnClick>
  551. TI_StatusIndicator_CheckFn(self);
  552. </OnClick>
  553. </Scripts>
  554. </CheckButton>
  555. </Frames>
  556. <Layers>
  557. <Layer level="OVERLAY">
  558. <FontString name="$parent_Text" inherits="GameFontNormal" text="Turn In is ">
  559. <Anchors>
  560. <Anchor point="LEFT">
  561. <Offset>
  562. <AbsDimension x="20" y="0" />
  563. </Offset>
  564. </Anchor>
  565. </Anchors>
  566. </FontString>
  567. <FontString name="$parent_Status" inherits="GameFontNormal">
  568. <Anchors>
  569. <Anchor point="LEFT" relativeTo="$parent_Text" relativePoint="RIGHT">
  570. <Offset>
  571. <AbsDimension x="1" y="0" />
  572. </Offset>
  573. </Anchor>
  574. </Anchors>
  575. </FontString>
  576. </Layer>
  577. </Layers>
  578. <Scripts>
  579. <OnShow>
  580. TI_StatusIndicatorUpdate();
  581. </OnShow>
  582. </Scripts>
  583. </Frame>
  584. <Frame name="TI_SettingCheckboxes" hidden="false">
  585. <Anchors>
  586. <Anchor point="TOPLEFT" relativeTo="TI_StatusIndicator" relativePoint="BOTTOMLEFT">
  587. <Offset>
  588. <AbsDimension x="0" y="-10" />
  589. </Offset>
  590. </Anchor>
  591. </Anchors>
  592. <Size>
  593. <AbsDimension x="200" y="40" />
  594. </Size>
  595. <Frames>
  596. <CheckButton name="$parent_UseDefault" hidden="false" inherits="OptionsCheckButtonTemplate">
  597. <Anchors>
  598. <Anchor point="TOPLEFT">
  599. <Offset>
  600. <AbsDimension x="0" y="0" />
  601. </Offset>
  602. </Anchor>
  603. </Anchors>
  604. <HitRectInsets>
  605. <AbsInset left="0" right="0" top="0" bottom="0"/>
  606. </HitRectInsets>
  607. <Size>
  608. <AbsDimension x="20" y="22"/>
  609. </Size>
  610. <Scripts>
  611. <OnClick>
  612. TI_SettingCheckboxFn(self, "usedefault");
  613. </OnClick>
  614. </Scripts>
  615. </CheckButton>
  616. <CheckButton name="$parent_AddAutomatically" hidden="false" inherits="OptionsCheckButtonTemplate">
  617. <Anchors>
  618. <Anchor point="TOPLEFT" relativeTo="$parent_UseDefault" relativePoint="BOTTOMLEFT">
  619. <Offset>
  620. <AbsDimension x="0" y="0" />
  621. </Offset>
  622. </Anchor>
  623. </Anchors>
  624. <HitRectInsets>
  625. <AbsInset left="0" right="0" top="0" bottom="0"/>
  626. </HitRectInsets>
  627. <Size>
  628. <AbsDimension x="20" y="22"/>
  629. </Size>
  630. <Scripts>
  631. <OnClick>
  632. TI_SettingCheckboxFn(self, "autoadd");
  633. </OnClick>
  634. </Scripts>
  635. </CheckButton>
  636. </Frames>
  637. <Layers>
  638. <Layer level="OVERLAY">
  639. <FontString name="$parent_UseDefault_Text" inherits="GameFontNormal" text="Use default options for unlisted NPCs">
  640. <Anchors>
  641. <Anchor point="TOPLEFT">
  642. <Offset>
  643. <AbsDimension x="20" y="-4" />
  644. </Offset>
  645. </Anchor>
  646. </Anchors>
  647. </FontString>
  648. <FontString name="$parent_AddAutomatically_Text" inherits="GameFontNormal" text="Automatically add new NPCs">
  649. <Anchors>
  650. <Anchor point="TOPLEFT" relativeTo="$parent_UseDefault_Text" relativePoint="BOTTOMLEFT">
  651. <Offset>
  652. <AbsDimension x="0" y="-10" />
  653. </Offset>
  654. </Anchor>
  655. </Anchors>
  656. </FontString>
  657. </Layer>
  658. </Layers>
  659. <Scripts>
  660. <OnShow>
  661. TI_SettingCheckboxUpdate();
  662. </OnShow>
  663. </Scripts>
  664. </Frame>
  665. <Frame name="TI_OptionsPriorityContainer" inherits="TI_OptionFrameBoxTemplate">
  666. <Scripts>
  667. <OnLoad>
  668. self:ApplyBackdrop();
  669. self:SetBackdropBorderColor(0.4, 0.4, 0.4);
  670. self:SetBackdropColor(0.15, 0.15, 0.15);
  671. getglobal(self:GetName().."Title"):SetText("Gossip Options Priority List");
  672. </OnLoad>
  673. </Scripts>
  674. <Anchors>
  675. <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
  676. <Offset>
  677. <AbsDimension x="16" y="16" />
  678. </Offset>
  679. </Anchor>
  680. </Anchors>
  681. <Size>
  682. <AbsDimension x="264" y="176" />
  683. </Size>
  684. <Frames>
  685. <ScrollFrame name="TI_OptionsPriorityScrollFrame" hidden="false" inherits="UIPanelScrollFrameTemplate">
  686. <Anchors>
  687. <Anchor point="TOPLEFT">
  688. <Offset>
  689. <AbsDimension x="4" y="-8" />
  690. </Offset>
  691. </Anchor>
  692. <Anchor point="BOTTOMRIGHT">
  693. <Offset>
  694. <AbsDimension x="-28" y="8" />
  695. </Offset>
  696. </Anchor>
  697. </Anchors>
  698. <ScrollChild>
  699. <Frame name="TI_OptionsPriority">
  700. <Anchors>
  701. <Anchor point="TOPLEFT" />
  702. </Anchors>
  703. <Size>
  704. <AbsDimension x="200" y="30"/>
  705. </Size>
  706. <!--<Layers>
  707. <Layer level="OVERLAY">
  708. <FontString name="$parentText" justifyV="top" justifyH="left" inherits="GameFontNormal" text="Gossip Options">
  709. <Anchors>
  710. <Anchor point="TOPLEFT" />
  711. </Anchors>
  712. </FontString>
  713. </Layer>
  714. <Layer level="BACKGROUND">
  715. <Texture name="$parent_Background" setAllPoints="true">
  716. <Color r="0" g="1" b="0" a="0.0"/>
  717. </Texture>
  718. </Layer>
  719. </Layers>-->
  720. <Frames>
  721. <Button name="$parent1" id="1" hidden="true" inherits="TI_PriorityList">
  722. <Anchors>
  723. <Anchor point="TOPLEFT">
  724. <Offset>
  725. <AbsDimension x="0" y="0" />
  726. </Offset>
  727. </Anchor>
  728. </Anchors>
  729. </Button>
  730. <Button name="$parent2" id="2" hidden="true" inherits="TI_PriorityList">
  731. <Anchors>
  732. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent1">
  733. <Offset>
  734. <AbsDimension x="0" y="0" />
  735. </Offset>
  736. </Anchor>
  737. </Anchors>
  738. </Button>
  739. <Button name="$parent3" id="3" hidden="true" inherits="TI_PriorityList">
  740. <Anchors>
  741. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent2">
  742. <Offset>
  743. <AbsDimension x="0" y="0" />
  744. </Offset>
  745. </Anchor>
  746. </Anchors>
  747. </Button>
  748. <Button name="$parent4" id="4" hidden="true" inherits="TI_PriorityList">
  749. <Anchors>
  750. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent3">
  751. <Offset>
  752. <AbsDimension x="0" y="0" />
  753. </Offset>
  754. </Anchor>
  755. </Anchors>
  756. </Button>
  757. <Button name="$parent5" id="5" hidden="true" inherits="TI_PriorityList">
  758. <Anchors>
  759. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent4">
  760. <Offset>
  761. <AbsDimension x="0" y="0" />
  762. </Offset>
  763. </Anchor>
  764. </Anchors>
  765. </Button>
  766. <Button name="$parent6" id="6" hidden="true" inherits="TI_PriorityList">
  767. <Anchors>
  768. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent5">
  769. <Offset>
  770. <AbsDimension x="0" y="0" />
  771. </Offset>
  772. </Anchor>
  773. </Anchors>
  774. </Button>
  775. <Button name="$parent7" id="7" hidden="true" inherits="TI_PriorityList">
  776. <Anchors>
  777. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent6">
  778. <Offset>
  779. <AbsDimension x="0" y="0" />
  780. </Offset>
  781. </Anchor>
  782. </Anchors>
  783. </Button>
  784. <Button name="$parent8" id="8" hidden="true" inherits="TI_PriorityList">
  785. <Anchors>
  786. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent7">
  787. <Offset>
  788. <AbsDimension x="0" y="0" />
  789. </Offset>
  790. </Anchor>
  791. </Anchors>
  792. </Button>
  793. <Button name="$parent9" id="9" hidden="true" inherits="TI_PriorityList">
  794. <Anchors>
  795. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent8">
  796. <Offset>
  797. <AbsDimension x="0" y="0" />
  798. </Offset>
  799. </Anchor>
  800. </Anchors>
  801. </Button>
  802. <Button name="$parent10" id="10" hidden="true" inherits="TI_PriorityList">
  803. <Anchors>
  804. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent9">
  805. <Offset>
  806. <AbsDimension x="0" y="0" />
  807. </Offset>
  808. </Anchor>
  809. </Anchors>
  810. </Button>
  811. <Button name="$parent11" id="11" hidden="true" inherits="TI_PriorityList">
  812. <Anchors>
  813. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent10">
  814. <Offset>
  815. <AbsDimension x="0" y="0" />
  816. </Offset>
  817. </Anchor>
  818. </Anchors>
  819. </Button>
  820. <Button name="$parent12" id="12" hidden="true" inherits="TI_PriorityList">
  821. <Anchors>
  822. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent11">
  823. <Offset>
  824. <AbsDimension x="0" y="0" />
  825. </Offset>
  826. </Anchor>
  827. </Anchors>
  828. </Button>
  829. <Button name="$parent13" id="13" hidden="true" inherits="TI_PriorityList">
  830. <Anchors>
  831. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent12">
  832. <Offset>
  833. <AbsDimension x="0" y="0" />
  834. </Offset>
  835. </Anchor>
  836. </Anchors>
  837. </Button>
  838. <Button name="$parent14" id="14" hidden="true" inherits="TI_PriorityList">
  839. <Anchors>
  840. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent13">
  841. <Offset>
  842. <AbsDimension x="0" y="0" />
  843. </Offset>
  844. </Anchor>
  845. </Anchors>
  846. </Button>
  847. <Button name="$parent15" id="15" hidden="true" inherits="TI_PriorityList">
  848. <Anchors>
  849. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent14">
  850. <Offset>
  851. <AbsDimension x="0" y="0" />
  852. </Offset>
  853. </Anchor>
  854. </Anchors>
  855. </Button>
  856. <Button name="$parent16" id="16" hidden="true" inherits="TI_PriorityList">
  857. <Anchors>
  858. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent15">
  859. <Offset>
  860. <AbsDimension x="0" y="0" />
  861. </Offset>
  862. </Anchor>
  863. </Anchors>
  864. </Button>
  865. </Frames>
  866. </Frame>
  867. </ScrollChild>
  868. </ScrollFrame>
  869. </Frames>
  870. </Frame>
  871. <Frame name="TI_OptionsNPCContainer" inherits="TI_OptionFrameBoxTemplate">
  872. <Scripts>
  873. <OnLoad>
  874. self:ApplyBackdrop();
  875. self:SetBackdropBorderColor(0.4, 0.4, 0.4);
  876. self:SetBackdropColor(0.15, 0.15, 0.15);
  877. getglobal(self:GetName().."Title"):SetText("NPC Database");
  878. </OnLoad>
  879. </Scripts>
  880. <Anchors>
  881. <Anchor point="BOTTOMLEFT" relativeTo="TI_OptionsPriorityContainer" relativePoint="TOPLEFT">
  882. <Offset>
  883. <AbsDimension x="0" y="16" />
  884. </Offset>
  885. </Anchor>
  886. </Anchors>
  887. <Size>
  888. <AbsDimension x="264" y="176" />
  889. </Size>
  890. <Frames>
  891. <ScrollFrame name="TI_NPCListScrollFrame" inherits="FauxScrollFrameTemplate" hidden="false" enableMouseWheel="true">
  892. <Anchors>
  893. <Anchor point="TOPLEFT">
  894. <Offset>
  895. <AbsDimension x="-28" y="-8" />
  896. </Offset>
  897. </Anchor>
  898. <Anchor point="BOTTOMRIGHT">
  899. <Offset>
  900. <AbsDimension x="-28" y="8" />
  901. </Offset>
  902. </Anchor>
  903. </Anchors>
  904. <Scripts>
  905. <OnVerticalScroll>
  906. --FauxScrollFrame_OnVerticalScroll(20, TI_NPCListScrollBarUpdate);
  907. FauxScrollFrame_OnVerticalScroll(self, offset, 20, TI_NPCListScrollBarUpdate);
  908. </OnVerticalScroll>
  909. <OnShow>
  910. TI_NPCListScrollBarUpdate();
  911. </OnShow>
  912. </Scripts>
  913. </ScrollFrame>
  914. <Button name="$parent1" hidden="true" inherits="TI_NPCList">
  915. <Anchors>
  916. <Anchor point="TOPLEFT">
  917. <Offset>
  918. <AbsDimension x="4" y="-8" />
  919. </Offset>
  920. </Anchor>
  921. </Anchors>
  922. </Button>
  923. <Button name="$parent2" hidden="true" inherits="TI_NPCList">
  924. <Anchors>
  925. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent1">
  926. <Offset>
  927. <AbsDimension x="0" y="0" />
  928. </Offset>
  929. </Anchor>
  930. </Anchors>
  931. </Button>
  932. <Button name="$parent3" hidden="true" inherits="TI_NPCList">
  933. <Anchors>
  934. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent2">
  935. <Offset>
  936. <AbsDimension x="0" y="0" />
  937. </Offset>
  938. </Anchor>
  939. </Anchors>
  940. </Button>
  941. <Button name="$parent4" hidden="true" inherits="TI_NPCList">
  942. <Anchors>
  943. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent3">
  944. <Offset>
  945. <AbsDimension x="0" y="0" />
  946. </Offset>
  947. </Anchor>
  948. </Anchors>
  949. </Button>
  950. <Button name="$parent5" hidden="true" inherits="TI_NPCList">
  951. <Anchors>
  952. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent4">
  953. <Offset>
  954. <AbsDimension x="0" y="0" />
  955. </Offset>
  956. </Anchor>
  957. </Anchors>
  958. </Button>
  959. <Button name="$parent6" hidden="true" inherits="TI_NPCList">
  960. <Anchors>
  961. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent5">
  962. <Offset>
  963. <AbsDimension x="0" y="0" />
  964. </Offset>
  965. </Anchor>
  966. </Anchors>
  967. </Button>
  968. <Button name="$parent7" hidden="true" inherits="TI_NPCList">
  969. <Anchors>
  970. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent6">
  971. <Offset>
  972. <AbsDimension x="0" y="0" />
  973. </Offset>
  974. </Anchor>
  975. </Anchors>
  976. </Button>
  977. <Button name="$parent8" hidden="true" inherits="TI_NPCList">
  978. <Anchors>
  979. <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent7">
  980. <Offset>
  981. <AbsDimension x="0" y="0" />
  982. </Offset>
  983. </Anchor>
  984. </Anchors>
  985. </Button>
  986. </Frames>
  987. </Frame>
  988. </Frames>
  989. </Frame>
  990. <Frame name="TurnIn" hidden="true" frameStrata="LOW" enableMouse="false">
  991. <Scripts>
  992. <OnLoad function="TI_OnLoad"/>
  993. <OnEvent function="TI_OnEvent"/>
  994. </Scripts>
  995. </Frame>
  996. </Ui>