-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFarmIt2_Help.xml
152 lines (134 loc) · 5.24 KB
/
FarmIt2_Help.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<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="FI_HelpFrame" parent="FI_Panel_1">
<Size x="400" y="420"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
_G[self:GetName().."_Title"]:SetText("General Help");
_G[self:GetName().."_Description"]:SetText(
"Below is a general guide on how to use FarmIt.\n"..
"Scroll down for more information."
);
_G[self:GetName().."_ScrollFrame_ScrollChildFrame_Text"]:SetText( FI_HELP_TEXT );
_G[self:GetName().."_ScrollFrame_ScrollChildFrame_Text"]:SetWidth( _G[self:GetName().."_ScrollFrame_ScrollChildFrame"]:GetWidth() );
</OnLoad>
</Scripts>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parent_Title" inherits="GameFontNormalLarge" justifyH="LEFT" text="Help">
<Anchors>
<Anchor point="TOPLEFT" x="9" y="-9"/>
</Anchors>
</FontString>
<FontString name="$parent_Description" inherits="GameFontNormalSmall" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Title" relativePoint="BOTTOMLEFT" x="0" y="-5"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<ScrollFrame name="$parent_ScrollFrame" inherits="UIPanelScrollFrameTemplate" hidden="false">
<Size x="370" y="355"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Description" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
</Anchors>
<!--Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize val="10"/>
<TileSize val="5"/>
<BackgroundInsets left="2" right="2" top="2" bottom="2"/>
</Backdrop-->
<ScrollChild>
<Frame name="$parent_ScrollChildFrame">
<Size x="370" y="10"/>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_Text" inherits="GameFontWhite" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</ScrollChild>
</ScrollFrame>
</Frames>
</Frame>
<Frame name="FI_CommandsFrame" parent="FI_Panel_2">
<Size x="400" y="420"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
_G[self:GetName().."_Title"]:SetText("Configuration Commands");
_G[self:GetName().."_Description"]:SetText(
"Type /farmit followed by the desired command and any necessary parameters.\n"..
"Scroll the list below to see details on each command."
);
_G[self:GetName().."_ScrollFrame_ScrollChildFrame_Text"]:SetText( FI_COMMANDS_TEXT );
_G[self:GetName().."_ScrollFrame_ScrollChildFrame_Text"]:SetWidth( _G[self:GetName().."_ScrollFrame_ScrollChildFrame"]:GetWidth() );
</OnLoad>
</Scripts>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parent_Title" inherits="GameFontNormalLarge" justifyH="LEFT" text="Help">
<Anchors>
<Anchor point="TOPLEFT" x="9" y="-9"/>
</Anchors>
</FontString>
<FontString name="$parent_Description" inherits="GameFontNormalSmall" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Title" relativePoint="BOTTOMLEFT" x="0" y="-5"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<ScrollFrame name="$parent_ScrollFrame" inherits="UIPanelScrollFrameTemplate" hidden="false">
<Size x="370" y="355"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Description" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
</Anchors>
<!--Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize val="10"/>
<TileSize val="5"/>
<BackgroundInsets left="2" right="2" top="2" bottom="2"/>
</Backdrop-->
<ScrollChild>
<Frame name="$parent_ScrollChildFrame">
<Size x="370" y="10"/>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_Text" inherits="GameFontWhite" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</ScrollChild>
</ScrollFrame>
</Frames>
</Frame>
</Ui>