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/" |
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
3 | xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd"> |
||
4 | |||
5 | <Script file="visibility.lua"/> |
||
6 | |||
7 | <CheckButton name="BOptionsShowButton" inherits="BongosCheckButtonTemplate" virtual="true"> |
||
8 | <Scripts> |
||
9 | <OnClick> |
||
10 | if this:GetChecked() then |
||
11 | BBar.Show(BBar.IDToBar(this:GetText()), 1) |
||
12 | else |
||
13 | BBar.Hide(BBar.IDToBar(this:GetText()), 1) |
||
14 | end |
||
15 | </OnClick> |
||
16 | <OnMouseWheel> |
||
17 | BOptionsVisibility_OnMousewheel(BOptionsPanelVisibilityScrollFrame, arg1); |
||
18 | </OnMouseWheel> |
||
19 | </Scripts> |
||
20 | </CheckButton> |
||
21 | |||
22 | <!-- Panel for hiding/showing bars --> |
||
23 | <Frame name="BongosOptionsVisibility" inherits="BongosOptionsPanel" virtual="true"> |
||
24 | <Frames> |
||
25 | <ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate"> |
||
26 | <Anchors> |
||
27 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
28 | <Offset x="-48" y="-32"/> |
||
29 | </Anchor> |
||
30 | <Anchor point="BOTTOMRIGHT"> |
||
31 | <Offset x="-24" y="6"/> |
||
32 | </Anchor> |
||
33 | </Anchors> |
||
34 | <Scripts> |
||
35 | <OnVerticalScroll> |
||
36 | FauxScrollFrame_OnVerticalScroll(18, BOptionsVisibilityScrollBar_Update); |
||
37 | </OnVerticalScroll> |
||
38 | </Scripts> |
||
39 | </ScrollFrame> |
||
40 | </Frames> |
||
41 | <Scripts> |
||
42 | <OnLoad> |
||
43 | BOptionsVisibility_OnLoad(); |
||
44 | </OnLoad> |
||
45 | <OnShow> |
||
46 | BOptionsVisibility_OnShow(); |
||
47 | </OnShow> |
||
48 | <OnMouseWheel> |
||
49 | BOptionsVisibility_OnMousewheel(BOptionsPanelVisibilityScrollFrame, arg1); |
||
50 | </OnMouseWheel> |
||
51 | </Scripts> |
||
52 | </Frame> |
||
53 | </Ui> |