vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | function ParchmentButton_OnClick() |
2 | ToggleParchment(); |
||
3 | end |
||
4 | |||
5 | function ParchmentButton_Init() |
||
6 | if(Parchment_Config.ButtonShow == false) then |
||
7 | ParchmentButtonFrame:Hide(); |
||
8 | end |
||
9 | end |
||
10 | |||
11 | function ParchmentButton_UpdatePosition() |
||
12 | ParchmentButtonFrame:SetPoint( |
||
13 | "TOPLEFT", |
||
14 | "Minimap", |
||
15 | "TOPLEFT", |
||
16 | 52 - (80 * cos(Parchment_Config.ButtonPos)), |
||
17 | (80 * sin(Parchment_Config.ButtonPos)) - 52 |
||
18 | ); |
||
19 | end |