/trunk/Torta/Windows
<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"> |
<Frame name="$parentExplorerSubWindow" parent="TortaParentFrameMainPage" inherits="TortaSubWindowTemplate"> |
<Frame name="$parentExplorerSubWindow" parent="TortaParentFrameMainPage" enableMouse="true" inherits="TortaSubWindowTemplate"> |
<Anchors> |
<Anchor point="TOPLEFT"> |
<Offset y="-2"/> |
Torta.gui:CheckExplorerWindow(); |
end |
</OnUpdate> |
<OnMouseDown> |
if button == "RightButton" then |
Torta.gui:clShowExplorerDropdownMenu() |
end |
</OnMouseDown> |
</Scripts> |
</Frame> |
</Ui> |
</Anchors> |
<Layers> |
<Layer level="ARTWORK"> |
<FontString name="$parentHeaderText" inherits="GameFontNormal" text="List Name Goes Here - Torta Checklist"> |
<FontString name="$parentHeaderText" inherits="GameFontNormal" text="List Name Goes Here"> |
<Anchors> |
<Anchor point="LEFT" relativeTo="$parentHeaderTexture"/> |
<Anchor point="RIGHT" relativeTo="$parentHeaderTexture"/> |
</Anchors> |
</FontString> |
<FontString name="$parentNoLoadedListText" inherits="GameFontHighlight" text="You currently do not have a list loaded. You can either select a list in Turtle Explorer or create a new one by clicking the Manage button."> |
<FontString name="$parentNoLoadedListText" inherits="GameFontHighlight"> |
<Anchors> |
<Anchor point="LEFT"> |
<Offset x="30"/> |
<Anchor point="BOTTOM"/> |
</Anchors> |
</FontString> |
<FontString name="$parentNoTasksText" inherits="GameFontHighlight" hidden="true"> |
<Anchors> |
<Anchor point="LEFT"> |
<Offset x="30"/> |
</Anchor> |
<Anchor point="RIGHT"> |
<Offset x="-30"/> |
</Anchor> |
<Anchor point="TOP"/> |
<Anchor point="BOTTOM"/> |
</Anchors> |
</FontString> |
</Layer> |
</Layers> |
<Frames> |
<Button name="TortaExplorerButtonTemplate" inherits="TortaListboxButtonTemplate" virtual="true"> |
<Scripts> |
<OnClick> |
Torta.cl3:LoadList(self:GetID()); |
if button == "LeftButton" then |
Torta.cl3:LoadList(self:GetID()); |
else |
Torta.gui:clShowButtonDropdown(self); |
end |
</OnClick> |
<OnLoad> |
self:RegisterForClicks("LeftButtonDown", "RightButtonDown"); |
</OnLoad> |
</Scripts> |
</Button> |