Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OnLoad:
- self:RegisterEvent("PLAYER_ENTERING_WORLD")
- OnEvent:
- self.bg:SetVertexColor(.35, .91, 1, 1)
- OnEnter:
- self.bg:SetVertexColor(.2, .56, .6, 1)
- OnLeave:
- self.bg:SetVertexColor(.35, .91, 1, 1)
- OnClick:
- if pressed then
- if IsControlKeyDown() then
- if SkadaBarWindowMeter:IsVisible() then
- SkadaBarWindowMeter:Hide()
- else
- SkadaBarWindowMeter:Show()
- end
- elseif
- IsAltKeyDown() then
- if SkadaBarWindowMeter:IsVisible() then
- Skada:OpenReportWindow(window)
- end
- else
- if Minimap:IsVisible() then
- Minimap:Hide()
- self.bg:SetVertexColor(.35, .91, 1, 1)
- self.text:SetTextColor(0, 0, 0, 1)
- else
- Minimap:Show()
- self.text:SetTextColor(.35, .91, 1, 1)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement