vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 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="ChatrBacklog.lua" /> |
||
3 | <Frame name="ChatrBacklogOptions" toplevel="true" hidden="true" enableMouse="true" parent="ChatrOptions"> |
||
4 | <Size><AbsDimension x="250" y="100"/></Size> |
||
5 | <Anchors> |
||
6 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> |
||
7 | <Offset><AbsDimension x="0" y="0" /></Offset> |
||
8 | </Anchor> |
||
9 | </Anchors> |
||
10 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
11 | <EdgeSize><AbsValue val="32"/></EdgeSize> |
||
12 | <TileSize><AbsValue val="32"/></TileSize> |
||
13 | <BackgroundInsets><AbsInset left="11" right="12" top="12" bottom="11"/></BackgroundInsets> |
||
14 | </Backdrop> |
||
15 | |||
16 | <Scripts> |
||
17 | <OnLoad> |
||
18 | this:RegisterEvent("VARIABLES_LOADED"); |
||
19 | </OnLoad> |
||
20 | <OnEvent> |
||
21 | if event=="VARIABLES_LOADED" then |
||
22 | ChatrBacklog_Init(); |
||
23 | end |
||
24 | </OnEvent> |
||
25 | </Scripts> |
||
26 | <Layers> |
||
27 | <Layer level="OVERLAY"> |
||
28 | <FontString name="ChatrBacklogOptionsTitle" inherits="GameFontNormal" text="ChatrBacklog" justifyH="CENTER"> |
||
29 | <Anchors><Anchor point="TOP"></Anchor></Anchors> |
||
30 | </FontString> |
||
31 | </Layer> |
||
32 | </Layers> |
||
33 | <Frames> |
||
34 | <Button name="ChatrBacklogClear" inherits="GameMenuButtonTemplate" text="Clear"> |
||
35 | <Size><AbsDimension x="80" y="40" /></Size> |
||
36 | <Anchors><Anchor point="CENTER"></Anchor></Anchors> |
||
37 | <Scripts> |
||
38 | <OnClick>ChatrBacklog_Log={};Chatr_Print("Whoosh!");</OnClick> |
||
39 | </Scripts> |
||
40 | </Button> |
||
41 | </Frames> |
||
42 | |||
43 | </Frame> |
||
44 | <Button name="ChatrBacklogToggle" inherits="GameMenuButtonTemplate" text="Backlog" parent="ChatrOptions"> |
||
45 | <Size><AbsDimension x="60" y="25" /></Size> |
||
46 | <Scripts> |
||
47 | <OnClick>if ChatrBacklogOptions:IsShown() then ChatrBacklogOptions:Hide() else ChatrBacklogOptions:Show() end</OnClick> |
||
48 | </Scripts> |
||
49 | </Button> |
||
50 | </Ui> |