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/"> |
2 | |||
3 | <Button name="DUF_MainMenuButton" inherits="UIPanelButtonTemplate" virtual="true" hidden="false"> |
||
4 | <Size><AbsDimension x="140" y="22"/></Size> |
||
5 | </Button> |
||
6 | |||
7 | <Button name="DUF_SelectButton" inherits="DiscordLib_PlainBackgroundTemplate" frameStrata="HIGH" virtual="true"> |
||
8 | <Size><AbsDimension x="140" y="16"/></Size> |
||
9 | <NormalText name="$parentText" inherits="GameFontNormalSmall"/> |
||
10 | <Scripts> |
||
11 | <OnLoad> |
||
12 | DUF_SelectButton_OnLoad(); |
||
13 | </OnLoad> |
||
14 | <OnEnter> |
||
15 | this:SetTextColor(1, 0, 0); |
||
16 | this:SetBackdropColor(.6, .6, .6); |
||
17 | this:SetBackdropBorderColor(1, 1, 0); |
||
18 | </OnEnter> |
||
19 | <OnLeave> |
||
20 | if (DUF_ELEMENT_SELECTED == this:GetName()) then |
||
21 | this:SetBackdropColor(1, 1, 0); |
||
22 | this:SetBackdropBorderColor(1, 1, 1); |
||
23 | else |
||
24 | DUF_SelectButton_OnLoad(); |
||
25 | end |
||
26 | </OnLeave> |
||
27 | </Scripts> |
||
28 | </Button> |
||
29 | |||
30 | <Button name="DUF_SelectButton2" inherits="DiscordLib_PlainBackgroundTemplate" frameStrata="HIGH" virtual="true"> |
||
31 | <Size><AbsDimension x="130" y="20"/></Size> |
||
32 | <NormalText name="$parentText" inherits="GameFontNormal"/> |
||
33 | <Scripts> |
||
34 | <OnLoad> |
||
35 | DUF_SelectButton_OnLoad(); |
||
36 | </OnLoad> |
||
37 | <OnEnter> |
||
38 | this:SetTextColor(1, 0, 0); |
||
39 | this:SetBackdropColor(.6, .6, .6); |
||
40 | this:SetBackdropBorderColor(1, 1, 0); |
||
41 | </OnEnter> |
||
42 | <OnLeave> |
||
43 | if (DUF_FRAME_SELECTED == this:GetName()) then |
||
44 | this:SetBackdropColor(1, 1, 0); |
||
45 | this:SetBackdropBorderColor(1, 1, 1); |
||
46 | else |
||
47 | DUF_SelectButton_OnLoad(); |
||
48 | end |
||
49 | </OnLeave> |
||
50 | </Scripts> |
||
51 | </Button> |
||
52 | |||
53 | <Button name="DUF_SelectButton3" inherits="DiscordLib_PlainBackgroundTemplate" frameStrata="HIGH" virtual="true"> |
||
54 | <Size><AbsDimension x="130" y="20"/></Size> |
||
55 | <NormalText name="$parentText" inherits="GameFontNormal"/> |
||
56 | <Scripts> |
||
57 | <OnLoad> |
||
58 | DUF_SelectButton_OnLoad(); |
||
59 | </OnLoad> |
||
60 | <OnEnter> |
||
61 | this:SetTextColor(1, 0, 0); |
||
62 | this:SetBackdropColor(.6, .6, .6); |
||
63 | this:SetBackdropBorderColor(1, 1, 0); |
||
64 | </OnEnter> |
||
65 | <OnLeave> |
||
66 | if (DUF_OPTIONS_SELECTED == this:GetName()) then |
||
67 | this:SetBackdropColor(1, 1, 0); |
||
68 | this:SetBackdropBorderColor(1, 1, 1); |
||
69 | else |
||
70 | DUF_SelectButton_OnLoad(); |
||
71 | end |
||
72 | </OnLeave> |
||
73 | </Scripts> |
||
74 | </Button> |
||
75 | |||
76 | <Frame name="DUF_ElementOptionsTemplate" hidden="true" frameStrata="HIGH" virtual="true"> |
||
77 | <Size><AbsDimension x="10" y="10"/></Size> |
||
78 | <Anchors> |
||
79 | <Anchor point="TOPLEFT" relativeTo="DUF_Options_Pet" relativePoint="BOTTOMLEFT"/> |
||
80 | </Anchors> |
||
81 | </Frame> |
||
82 | |||
83 | <CheckButton name="DUF_CheckBoxTemplate" inherits="DiscordLib_CheckBoxTemplate" virtual="true"> |
||
84 | <Scripts> |
||
85 | <OnClick> |
||
86 | DUF_CheckButton_OnClick(); |
||
87 | </OnClick> |
||
88 | </Scripts> |
||
89 | </CheckButton> |
||
90 | |||
91 | <Button name="DUF_ColorPickerTemplate" inherits="DiscordLib_ColorPickerTemplate" virtual="true"> |
||
92 | <Scripts> |
||
93 | <OnClick> |
||
94 | DUF_ColorPicker_OnClick(); |
||
95 | </OnClick> |
||
96 | </Scripts> |
||
97 | </Button> |
||
98 | |||
99 | <Slider name="DUF_SliderTemplate" inherits="DiscordLib_SliderTemplate" virtual="true"> |
||
100 | <Frames> |
||
101 | <EditBox name="$parent_Display" inherits="DiscordLib_SliderEditBoxTemplate"> |
||
102 | <Scripts> |
||
103 | <OnEnterPressed> |
||
104 | DUF_Slider_UpdateFromEditBox(); |
||
105 | </OnEnterPressed> |
||
106 | </Scripts> |
||
107 | </EditBox> |
||
108 | </Frames> |
||
109 | <Scripts> |
||
110 | <OnValueChanged> |
||
111 | DUF_Slider_Update(); |
||
112 | </OnValueChanged> |
||
113 | </Scripts> |
||
114 | </Slider> |
||
115 | |||
116 | <EditBox name="DUF_EditBoxTemplate" inherits="DiscordLib_EditBoxTemplate" virtual="true"> |
||
117 | <Scripts> |
||
118 | <OnEnterPressed> |
||
119 | DUF_EditBox_Update(); |
||
120 | </OnEnterPressed> |
||
121 | </Scripts> |
||
122 | </EditBox> |
||
123 | |||
124 | <Button name="DUF_MenuOptionTemplate" inherits="DiscordLib_MenuOptionTemplate" virtual="true"> |
||
125 | <Scripts> |
||
126 | <OnClick> |
||
127 | DUF_Menu_OnClick(); |
||
128 | </OnClick> |
||
129 | </Scripts> |
||
130 | </Button> |
||
131 | |||
132 | </Ui> |