| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998 |
- <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">
- <Script file="TurnIn.lua" />
- <Script file="TurnInUI.lua" />
-
- <Frame name="TI_OptionFrameBoxTemplate" virtual="true">
- <!-- shamelessly stolen from blizzard -->
- <Layers>
- <Layer level="BACKGROUND">
- <FontString name="$parentTitle" inherits="GameFontHighlight">
- <Anchors>
- <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
- <Offset>
- <AbsDimension x="9" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
- <EdgeSize>
- <AbsValue val="16"/>
- </EdgeSize>
- <TileSize>
- <AbsValue val="16"/>
- </TileSize>
- <BackgroundInsets>
- <AbsInset left="5" right="5" top="5" bottom="5"/>
- </BackgroundInsets>
- </Backdrop>
- <Scripts>
- <OnLoad>
- self:SetBackdropBorderColor(0.4, 0.4, 0.4);
- self:SetBackdropColor(0.5, 0.5, 0.5);
- </OnLoad>
- </Scripts>
- </Frame>
-
-
- <Button name="TI_PriorityList" virtual="true" hidden="false">
- <Size>
- <AbsDimension x="235" y="20" />
- </Size>
- <Scripts><!--
- <OnEnter>
- getglobal(self:GetName() .. "_Background"):SetVertexColor(1,1,1,0.4);
- </OnEnter>
- <OnLeave>
- getglobal(self:GetName() .. "_Background"):SetVertexColor(0,0,0,0.4);
- </OnLeave>
- -->
- </Scripts>
- <Frames>
- <CheckButton name="$parent_Check" hidden="false" inherits="OptionsCheckButtonTemplate">
- <Anchors>
- <Anchor point="TOPLEFT"/>
- </Anchors>
- <HitRectInsets>
- <AbsInset left="0" right="0" top="0" bottom="0"/>
- </HitRectInsets>
- <Size>
- <AbsDimension x="20" y="22"/>
- </Size>
- <Scripts>
- <OnEnter>
- TI_OptionListCheckboxTooltip();
- </OnEnter>
- <OnLeave>
- TI_TooltipHide();
- </OnLeave>
- <OnClick>
- TI_OptionToggle();
- </OnClick>
- </Scripts>
- </CheckButton>
- <Button name="$parent_MoveDown" hidden="false">
- <Size>
- <AbsDimension x="24" y="24"/>
- </Size>
- <Anchors>
- <Anchor point="TOPRIGHT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnEnter>
- TI_TooltipMessage("Decrease this option's priority.");
- </OnEnter>
- <OnLeave>
- TI_TooltipHide();
- </OnLeave>
- <OnClick>
- TI_OptionMove(1);
- </OnClick>
- </Scripts>
- <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up"/>
- <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down"/>
- <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled"/>
- <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
- </Button>
- <Button name="$parent_MoveUp" hidden="false">
- <Size>
- <AbsDimension x="24" y="24"/>
- </Size>
- <Anchors>
- <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parent_MoveDown">
- <Offset>
- <AbsDimension x="3" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- TI_OptionMove(-1);
- </OnClick>
- <OnEnter>
- TI_TooltipMessage("Increase this option's priority.");
- </OnEnter>
- <OnLeave>
- TI_TooltipHide();
- </OnLeave>
- </Scripts>
- <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Up"/>
- <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Down"/>
- <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Disabled"/>
- <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
- </Button>
- </Frames>
- <Layers>
- <Layer level="ARTWORK">
- <Texture name="$parent_Icon" file="Interface\QuestFrame\UI-Quest-BulletPoint">
- <Size>
- <AbsDimension x="16" y="16"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="20" y="-3"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Texture>
- <FontString name="$parent_Text" inherits="GameFontNormal" justifyV="top" justifyH="left">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
- <Offset>
- <AbsDimension x="0" y="-1"/>
- </Offset>
- </Anchor>
- <Anchor point="TOPRIGHT" relativeTo="$parent_MoveUp" relativePoint="TOPLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- <Layer level="BACKGROUND">
- <Texture name="$parent_Background" setAllPoints="true">
- <Color r="0.2" g="0.2" b="1" a="0.0" />
- </Texture>
- </Layer>
- </Layers>
- <!--<NormalText name="$parent_Text" justifyV="top" justifyH="left" inherits="GameFontNormal" nonspacewrap="true">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
- <Offset>
- <AbsDimension x="0" y="-1"/>
- </Offset>
- </Anchor>
- <Anchor point="TOPRIGHT" relativeTo="$parent_MoveUp" relativePoint="TOPLEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Size>
- <AbsDimension x="156" y="0" />
- </Size>
- </NormalText>-->
- </Button>
-
- <Button name="TI_NPCList" virtual="true" hidden="false">
- <Size>
- <AbsDimension x="232" y="20" />
- </Size>
- <Frames>
- <CheckButton name="$parent_Check" hidden="false" inherits="OptionsCheckButtonTemplate">
- <Anchors>
- <Anchor point="TOPLEFT"/>
- </Anchors>
- <HitRectInsets>
- <AbsInset left="0" right="0" top="0" bottom="0"/>
- </HitRectInsets>
- <Size>
- <AbsDimension x="20" y="22"/>
- </Size>
- <Scripts>
- <OnClick>
- TI_NPCToggle();
- TI_NPCListCheckboxTooltip();
- </OnClick>
- <OnEnter>
- TI_NPCListCheckboxTooltip();
- </OnEnter>
- <OnLeave>
- TI_TooltipHide();
- </OnLeave>
- </Scripts>
- </CheckButton>
- <Button name="$parent_Delete" hidden="false" inherits="OptionsButtonTemplate" text="X">
- <Anchors>
- <Anchor point="RIGHT">
- <Offset>
- <AbsDimension x="3" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Size>
- <AbsDimension x="20" y="20" />
- </Size>
- <Scripts>
- <OnEnter>
- TI_TooltipMessage("Delete this NPC.");
- </OnEnter>
- <OnLeave>
- TI_TooltipHide();
- </OnLeave>
- <OnClick>
- TI_DeleteNPCIndex();
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- <Layers>
- <Layer level="ARTWORK">
- <FontString name="$parent_Text" justifyV="top" justifyH="left" inherits="GameFontNormal" text="">
- <Anchors>
- <Anchor point="LEFT">
- <Offset>
- <AbsDimension x="20" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Scripts>
- <OnClick>
- TI_SelectNPCIndex();
- </OnClick>
- </Scripts>
- <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
- </Button>
-
- <GameTooltip name="TI_Tooltip" hidden="true" inherits="GameTooltipTemplate" />
-
- <Frame Name="TI_TempNPCListEntry" virtual="true" hidden="true">
- <Scripts>
- <OnEnter>
- TI_TempNPCListTooltipShow();
- </OnEnter>
- <OnLeave>
- TI_TooltipHide();
- </OnLeave>
- </Scripts>
- <Size>
- <AbsDimension x="188" y="20" />
- </Size>
-
- <Layers>
- <Layer level="ARTWORK">
- <FontString name="$parent_Text" justifyV="top" justifyH="left" inherits="GameFontNormal" text="">
- <Anchors>
- <Anchor point="LEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <Button name="$parent_Delete" hidden="false" inherits="OptionsButtonTemplate" text="X">
- <Anchors>
- <Anchor point="TOPRIGHT">
- <Offset>
- <AbsDimension x="0" y="2"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Size>
- <AbsDimension x="20" y="20" />
- </Size>
- <Scripts>
- <OnClick>
- TI_DeleteTempNPCIndex(self:GetParent():GetID());
- </OnClick>
- <OnEnter>
- TI_TooltipMessage("Delete");
- </OnEnter>
- <OnLeave>
- TI_TooltipHide();
- </OnLeave>
- </Scripts>
- </Button>
- <Button name="$parent_Add" hidden="false" inherits="OptionsButtonTemplate" text="+">
- <Anchors>
- <Anchor point="RIGHT" relativeTo="$parent_Delete" relativePoint="LEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Size>
- <AbsDimension x="20" y="20" />
- </Size>
- <Scripts>
- <OnClick>
- TI_AddTempNPCIndex(self:GetParent():GetID());
- </OnClick>
- <OnEnter>
- TI_TooltipMessage("Add this NPC to the database");
- </OnEnter>
- <OnLeave>
- TI_TooltipHide();
- </OnLeave>
- </Scripts>
- </Button>
- </Frames>
- </Frame>
-
- <Frame Name="TI_TempNPCListWindow" parent="UIParent" frameStrata="DIALOG" toplevel="true" enableMouse="true" movable="true" hidden="true">
- <Size>
- <AbsDimension x="200" y="130" />
- </Size>
- <Anchors>
- <Anchor point="CENTER"/>
- </Anchors>
- <Layers>
- <Layer level="ARTWORK">
- <FontString inherits="GameFontNormal" text="Recently Visited NPCs">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
- <Offset><AbsDimension x="6" y="-7" /></Offset>
- </Anchor>
- <Anchor point="TOPRIGHT">
- <Offset><AbsDimension x="-6" y="-7" /></Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <Button name="$parent_Close" inherits="UIPanelCloseButton">
- <Anchors>
- <Anchor point="TOPRIGHT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Frame name="$parent1" id="1" hidden="true" inherits="TI_TempNPCListEntry">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
- <Offset><AbsDimension x="6" y="-27" /></Offset>
- </Anchor>
- <!--<Anchor point="TOPRIGHT">
- <Offset><AbsDimension x="-6" y="-27" /></Offset>
- </Anchor>-->
- </Anchors>
- </Frame>
- <Frame name="$parent2" id="2" hidden="true" inherits="TI_TempNPCListEntry">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent1">
- <Offset><AbsDimension x="0" y="0" /></Offset>
- </Anchor>
- </Anchors>
- </Frame>
- <Frame name="$parent3" id="3" hidden="true" inherits="TI_TempNPCListEntry">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent2">
- <Offset><AbsDimension x="0" y="0" /></Offset>
- </Anchor>
- </Anchors>
- </Frame>
- <Frame name="$parent4" id="4" hidden="true" inherits="TI_TempNPCListEntry">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent3">
- <Offset><AbsDimension x="0" y="0" /></Offset>
- </Anchor>
- </Anchors>
- </Frame>
- <Frame name="$parent5" id="5" hidden="true" inherits="TI_TempNPCListEntry">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent4">
- <Offset><AbsDimension x="0" y="0" /></Offset>
- </Anchor>
- </Anchors>
- </Frame>
- </Frames>
- <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
- <EdgeSize>
- <AbsValue val="16"/>
- </EdgeSize>
- <TileSize>
- <AbsValue val="16"/>
- </TileSize>
- <BackgroundInsets>
- <AbsInset left="5" right="5" top="5" bottom="5"/>
- </BackgroundInsets>
- </Backdrop>
- <Scripts>
- <OnMouseUp>
- if ( self.isMoving ) then
- self:StopMovingOrSizing();
- self.isMoving = false;
- end
- </OnMouseUp>
- <OnMouseDown>
- if ( arg1 == "LeftButton" ) then
- self:StartMoving();
- self.isMoving = true;
- end
- </OnMouseDown>
- <OnHide>
- if ( self.isMoving ) then
- self:StopMovingOrSizing();
- self.isMoving = false;
- end
- </OnHide>
- </Scripts>
- </Frame>
-
- <Frame Name="TI_OptionsFrame" frameStrata="DIALOG" toplevel="true" enableMouse="true" enableMouseWheel="true" movable="true" parent="UIParent">
- <TitleRegion>
- <Size>
- <AbsDimension x="128" y="64"/>
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="12"/>
- </Offset>
- </Anchor>
- </Anchors>
- </TitleRegion>
-
- <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
- <BackgroundInsets>
- <AbsInset left="11" right="12" top="12" bottom="11"/>
- </BackgroundInsets>
- <TileSize>
- <AbsValue val="32"/>
- </TileSize>
- <EdgeSize>
- <AbsValue val="32"/>
- </EdgeSize>
- </Backdrop>
-
- <Scripts>
- <OnShow>
-
- </OnShow>
- </Scripts>
- <Size>
- <AbsDimension x="300" y="500"/>
- </Size>
- <Anchors>
- <Anchor point="CENTER"/>
- </Anchors>
- <Layers>
- <Layer level="ARTWORK">
- <Texture name="$parentOptionFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
- <Size>
- <AbsDimension x="256" y="64"/>
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="12"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Texture>
- <FontString inherits="GameFontNormal" text="Turn In Options">
- <Anchors>
- <Anchor point="TOP" relativeTo="$parentOptionFrameHeader">
- <Offset>
- <AbsDimension x="0" y="-14"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
-
- </Layer>
- </Layers>
-
- <Frames>
- <Button name="$parent_Close" inherits="UIPanelCloseButton">
- <Anchors>
- <Anchor point="TOPRIGHT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
-
- <Frame name="TI_StatusIndicator" hidden="false">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="16" y="-24" />
- </Offset>
- </Anchor>
- </Anchors>
- <Size>
- <AbsDimension x="200" y="20" />
- </Size>
- <Frames>
- <CheckButton name="$parent_Checkbox" hidden="false" inherits="OptionsCheckButtonTemplate">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- <HitRectInsets>
- <AbsInset left="0" right="0" top="0" bottom="0"/>
- </HitRectInsets>
- <Size>
- <AbsDimension x="20" y="22"/>
- </Size>
- <Scripts>
- <OnClick>
- TI_StatusIndicator_CheckFn();
- </OnClick>
- </Scripts>
- </CheckButton>
- </Frames>
- <Layers>
- <Layer level="OVERLAY">
- <FontString name="$parent_Text" inherits="GameFontNormal" text="Turn In is ">
- <Anchors>
- <Anchor point="LEFT">
- <Offset>
- <AbsDimension x="20" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="$parent_Status" inherits="GameFontNormal">
- <Anchors>
- <Anchor point="LEFT" relativeTo="$parent_Text" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="1" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Scripts>
- <OnShow>
- TI_StatusIndicatorUpdate();
- </OnShow>
- </Scripts>
- </Frame>
-
- <Frame name="TI_SettingCheckboxes" hidden="false">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="TI_StatusIndicator" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="-10" />
- </Offset>
- </Anchor>
- </Anchors>
- <Size>
- <AbsDimension x="200" y="40" />
- </Size>
- <Frames>
- <CheckButton name="$parent_UseDefault" hidden="false" inherits="OptionsCheckButtonTemplate">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- <HitRectInsets>
- <AbsInset left="0" right="0" top="0" bottom="0"/>
- </HitRectInsets>
- <Size>
- <AbsDimension x="20" y="22"/>
- </Size>
- <Scripts>
- <OnClick>
- TI_SettingCheckboxFn("usedefault");
- </OnClick>
- </Scripts>
- </CheckButton>
- <CheckButton name="$parent_AddAutomatically" hidden="false" inherits="OptionsCheckButtonTemplate">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parent_UseDefault" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- <HitRectInsets>
- <AbsInset left="0" right="0" top="0" bottom="0"/>
- </HitRectInsets>
- <Size>
- <AbsDimension x="20" y="22"/>
- </Size>
- <Scripts>
- <OnClick>
- TI_SettingCheckboxFn("autoadd");
- </OnClick>
- </Scripts>
- </CheckButton>
- </Frames>
- <Layers>
- <Layer level="OVERLAY">
- <FontString name="$parent_UseDefault_Text" inherits="GameFontNormal" text="Use default options for unlisted NPCs">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="20" y="-4" />
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="$parent_AddAutomatically_Text" inherits="GameFontNormal" text="Automatically add new NPCs">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parent_UseDefault_Text" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="-10" />
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Scripts>
- <OnShow>
- TI_SettingCheckboxUpdate();
- </OnShow>
- </Scripts>
- </Frame>
-
- <Frame name="TI_OptionsPriorityContainer" inherits="TI_OptionFrameBoxTemplate">
- <Scripts>
- <OnLoad>
- self:SetBackdropBorderColor(0.4, 0.4, 0.4);
- self:SetBackdropColor(0.15, 0.15, 0.15);
- getglobal(self:GetName().."Title"):SetText("Gossip Options Priority List");
- </OnLoad>
- </Scripts>
- <Anchors>
- <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="16" y="16" />
- </Offset>
- </Anchor>
- </Anchors>
- <Size>
- <AbsDimension x="264" y="176" />
- </Size>
- <Frames>
- <ScrollFrame name="TI_OptionsPriorityScrollFrame" hidden="false" inherits="UIPanelScrollFrameTemplate">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="4" y="-8" />
- </Offset>
- </Anchor>
- <Anchor point="BOTTOMRIGHT">
- <Offset>
- <AbsDimension x="-28" y="8" />
- </Offset>
- </Anchor>
- </Anchors>
- <ScrollChild>
- <Frame name="TI_OptionsPriority">
- <Anchors>
- <Anchor point="TOPLEFT" />
- </Anchors>
- <Size>
- <AbsDimension x="200" y="30"/>
- </Size>
-
- <!--<Layers>
- <Layer level="OVERLAY">
- <FontString name="$parentText" justifyV="top" justifyH="left" inherits="GameFontNormal" text="Gossip Options">
- <Anchors>
- <Anchor point="TOPLEFT" />
- </Anchors>
- </FontString>
- </Layer>
- <Layer level="BACKGROUND">
- <Texture name="$parent_Background" setAllPoints="true">
- <Color r="0" g="1" b="0" a="0.0"/>
- </Texture>
- </Layer>
- </Layers>-->
- <Frames>
- <Button name="$parent1" id="1" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent2" id="2" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent1">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent3" id="3" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent2">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent4" id="4" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent3">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent5" id="5" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent4">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent6" id="6" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent5">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent7" id="7" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent6">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent8" id="8" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent7">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent9" id="9" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent8">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent10" id="10" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent9">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent11" id="11" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent10">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent12" id="12" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent11">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent13" id="13" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent12">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent14" id="14" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent13">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent15" id="15" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent14">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent16" id="16" hidden="true" inherits="TI_PriorityList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent15">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- </Frames>
- </Frame>
- </ScrollChild>
- </ScrollFrame>
- </Frames>
- </Frame>
-
- <Frame name="TI_OptionsNPCContainer" inherits="TI_OptionFrameBoxTemplate">
- <Scripts>
- <OnLoad>
- self:SetBackdropBorderColor(0.4, 0.4, 0.4);
- self:SetBackdropColor(0.15, 0.15, 0.15);
- getglobal(self:GetName().."Title"):SetText("NPC Database");
- </OnLoad>
- </Scripts>
- <Anchors>
- <Anchor point="BOTTOMLEFT" relativeTo="TI_OptionsPriorityContainer" relativePoint="TOPLEFT">
- <Offset>
- <AbsDimension x="0" y="16" />
- </Offset>
- </Anchor>
- </Anchors>
- <Size>
- <AbsDimension x="264" y="176" />
- </Size>
- <Frames>
-
- <ScrollFrame name="TI_NPCListScrollFrame" inherits="FauxScrollFrameTemplate" hidden="false" enableMouseWheel="true">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="-28" y="-8" />
- </Offset>
- </Anchor>
- <Anchor point="BOTTOMRIGHT">
- <Offset>
- <AbsDimension x="-28" y="8" />
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnVerticalScroll>
- --FauxScrollFrame_OnVerticalScroll(20, TI_NPCListScrollBarUpdate);
- FauxScrollFrame_OnVerticalScroll(self, offset, 20, TI_NPCListScrollBarUpdate);
- </OnVerticalScroll>
- <OnShow>
- TI_NPCListScrollBarUpdate();
- </OnShow>
- </Scripts>
- </ScrollFrame>
-
- <Button name="$parent1" hidden="true" inherits="TI_NPCList">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="4" y="-8" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent2" hidden="true" inherits="TI_NPCList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent1">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent3" hidden="true" inherits="TI_NPCList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent2">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent4" hidden="true" inherits="TI_NPCList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent3">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent5" hidden="true" inherits="TI_NPCList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent4">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent6" hidden="true" inherits="TI_NPCList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent5">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent7" hidden="true" inherits="TI_NPCList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent6">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parent8" hidden="true" inherits="TI_NPCList">
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent7">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- </Frames>
- </Frame>
-
- </Frames>
- </Frame>
-
-
- <Frame name="TurnIn" hidden="true" frameStrata="LOW" enableMouse="false">
- <Scripts>
- <OnLoad>
- TI_OnLoad();
- </OnLoad>
- <OnEvent>
- TI_OnEvent(event);
- </OnEvent>
- </Scripts>
- </Frame>
- </Ui>
|