I actually use the data broker for it as well, so I'm able to minimize it no problem. Was just curious what the button was for. Thanks for the info.
- - - Updated - - -
Another question: I'm trying to use QuseMap because I like the rectangle shape. (I actually wanted to use Radar, but it was really hard to get used to.) QuseMap is working just fine, but I wanted to get rid of all the extra stuff on it. I was able to get rid of everything except the clock. Two things happen when I try to get rid of the clock: 1) The default game clock comes back and 2) I get all kinds of LUA errors.
This is the code that has to do with the clock in the QuseMap LUA file:
Code:
--[[ Clock ]]
if not IsAddOnLoaded("Blizzard_TimeManager") then
LoadAddOn("Blizzard_TimeManager")
end
local clockFrame, clockTime = TimeManagerClockButton:GetRegions()
clockFrame:Hide()
clockTime:SetFont(font, fontsize, fontflag)
clockTime:SetShadowOffset(0,0)
clockTime:SetTextColor(color.r, color.g, color.b)
TimeManagerClockButton:ClearAllPoints()
TimeManagerClockButton:SetPoint("BOTTOM", Minimap, "BOTTOM", -1, 14)
TimeManagerClockButton:SetScript('OnShow', nil)
TimeManagerClockButton:Show()
TimeManagerClockButton:SetScript('OnClick', function(self, button)
if(button=="RightButton") then
if(self.alarmFiring) then
PlaySound('igMainMenuQuit')
TimeManager_TurnOffAlarm()
else
ToggleTimeManager()
end
else
ToggleCalendar()
end
end)
TimeManagerFrame:ClearAllPoints()
TimeManagerFrame:SetPoint("CENTER", Minimap, "CENTER", 0, 0)
TimeManagerFrame:SetClampedToScreen(true)
TimeManagerFrame:SetToplevel(true)
Anyone know what I need to do to just hide the clock completely without breaking it? I tried just commenting out the whole section, but like I said, lots of LUA errors.
Thanks