/trunk
end) |
------------------------------------------------------------------------ |
-- Alt power bar |
-- Add a ReloadUI button to the interface options frame |
------------------------------------------------------------------------ |
CreateFrame("Button", "$parentReloadUI", InterfaceOptionsFrame, "UIPanelButtonTemplate") |
InterfaceOptionsFrameReloadUI:SetPoint("LEFT", InterfaceOptionsFrameDefaults, "RIGHT", 4, 0) |
InterfaceOptionsFrameReloadUI:SetScript("OnClick", ReloadUI) |
InterfaceOptionsFrameReloadUI:SetSize(128, 22) |
InterfaceOptionsFrameReloadUI:SetText(RELOADUI) |
------------------------------------------------------------------------ |
-- Movable alt power bar |
------------------------------------------------------------------------ |
MakeMovable(PlayerPowerBarAlt) |
PlayerPowerBarAlt:SetScript("OnShow", nil) |
PlayerPowerBarAlt:SetScript("OnHide", PlayerPowerBarAlt.StopMovingOrSizing) |
------------------------------------------------------------------------ |
-- Friends frame |
------------------------------------------------------------------------ |
--[[ |
-- Move the Scroll of Resurrection button up so it doesn't overlap tabs |
FriendsTabHeaderSoRButton:ClearAllPoints() |
FriendsTabHeaderSoRButton:SetPoint("TOPRIGHT", FriendsFrameCloseButton, "BOTTOMRIGHT", -12, -1) |
-- Hide the Battle.net Broadcast button so it's not hiding the SoR button |
Hide(FriendsFrameBattlenetFrame.BroadcastButton) |
-- Move the Battle.net Broadcast button so it's not hiding the SoR button |
-- Make it invisible and cover the whole Battle.net name box |
FriendsFrameBattlenetFrame.BroadcastButton:ClearAllPoints() |
FriendsFrameBattlenetFrame.BroadcastButton:SetAllPoints(FriendsFrameBattlenetFrame) |
FriendsFrameBattlenetFrame.BroadcastButton:SetAlpha(0) |
]] |
-- Hide RAF button |
Hide(FriendsTabHeaderRecruitAFriendButton) |
-- Hide SoR button |
Hide(FriendsTabHeaderSoRButton) |
------------------------------------------------------------------------ |
-- Show item counts >= 1000 |
------------------------------------------------------------------------ |
PVPArenaTextString:SetWidth(halfWidth) |
------------------------------------------------------------------------ |
-- Message frames |
-- Disable quest super tracking for un-tracked quests, |
-- or for all quests if TomTom is enabled. |
------------------------------------------------------------------------ |
PhanxMod:RegisterEvent("SUPER_TRACKED_QUEST_CHANGED", function() |