CliqueConfig:SpellTab_OnClick()
if CliqueConfig:IsVisible() then
self:SetChecked(true)
end
local num = GetNumSpellTabs()
self:ClearAllPoints()
local lastTab = _G["AscensionSpellbookFrameSideBarTab" .. num]
self:SetPoint("TOPLEFT", lastTab, "BOTTOMLEFT", 0, -17)
self.arrow:SetSize(21, 53)
self.arrow.arrow = _G[self.arrow:GetName() .. "Arrow"]
self.arrow.glow = _G[self.arrow:GetName() .. "Glow"]
self.arrow.arrow:SetAllPoints(true)
self.arrow.glow:SetAllPoints(true)
-- Rotate 90 degrees
-- left, bottom, right, bottom, left, top, right, top
self.arrow.arrow:SetTexCoord(0.78515625, 0.58789063, 0.99218750, 0.58789063, 0.78515625, 0.54687500, 0.99218750, 0.54687500)
self.arrow.glow:SetTexCoord(0.40625000, 0.82812500, 0.66015625, 0.82812500, 0.40625000, 0.77343750, 0.66015625, 0.77343750)
self.text:SetSpacing(4)
self:SetHeight(self.text:GetHeight() + 42)
table.insert(UISpecialFrames, "CliqueDialog")
CliqueConfig:UpdateList()
CliqueConfig:EnableSpellbookButtons()
CliqueConfig:EnableSpellbookButtons()
self.text:SetSpacing(4)
CliqueConfigPortrait:SetTexture("Interface\\Addons\\Clique\\images\\icon_circle_128")
CliqueConfig.page1:SetParent(CliqueConfig.Inset)
CliqueConfig.page2:SetParent(CliqueConfig.Inset)
CliqueConfig.page1:SetAllPoints(CliqueConfig.Inset)
CliqueConfig.page2:SetAllPoints(CliqueConfig.Inset)
CliqueConfig:OnShow()
CliqueConfig:OnHide()