WorldMapTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT");
WorldMapTooltip:SetText(TOGGLE_BATTLEFIELDMINIMAP_TOOLTIP, nil, nil, nil, nil, 1);
WorldMapTooltip:Show();
WorldMapTooltip:Hide();
WorldMapQuestSelectBar:SetVertexColor(1, 0.824, 0);
WorldMapQuestHighlightBar:SetVertexColor(0.243, 0.570, 1);
local text = _G[self:GetName().."Text"];
text:SetText(TRACK_QUEST);
self:SetPoint("BOTTOMLEFT", WorldMapPositioningGuide, "BOTTOMLEFT", 10, 4);
local isChecked = self:GetChecked();
if ( isChecked ) then
PlaySound("igMainMenuOptionCheckBoxOn");
else
PlaySound("igMainMenuOptionCheckBoxOff");
end
WorldMapTrackQuest_Toggle(isChecked);
WorldMapTooltip:SetOwner(self, "ANCHOR_RIGHT");
WorldMapTooltip:SetText(OPTION_TOOLTIP_MAP_TRACK_QUEST, nil, nil, nil, nil, 1);
WorldMapTooltip:Hide();
local text = _G[self:GetName().."Text"];
text:SetText(SHOW_QUEST_OBJECTIVES_ON_MAP_TEXT);
self:SetPoint("BOTTOMRIGHT", WorldMapPositioningGuide, "BOTTOMRIGHT", -15 - text:GetWidth(), 4);
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOn");
else
PlaySound("igMainMenuOptionCheckBoxOff");
end
SetCVar("questPOI", self:GetChecked());
WorldMapQuestShowObjectives_Toggle();
if ( WORLDMAP_SETTINGS.size == WORLDMAP_WINDOWED_SIZE ) then
WatchFrame_GetCurrentMapQuests();
WatchFrame_Update();
end
WorldMapFrame_DisplayQuests();
WorldMapTooltip:SetOwner(self, "ANCHOR_LEFT");
WorldMapTooltip:SetText(OPTION_TOOLTIP_SHOW_QUEST_OBJECTIVES_ON_MAP, nil, nil, nil, nil, 1);
WorldMapTooltip:Hide();
self:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
self:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
self.shoppingTooltips = { WorldMapCompareTooltip1, WorldMapCompareTooltip2, WorldMapCompareTooltip3 };