WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   MozzFullWorldMap: Technical Support (http://www.wowinterface.com/forums/forumdisplay.php?f=132)
-   -   Gatherer "Show/Hide Items" button + MozzFullWorldMap "Show Unexplored Areas" checkbox (http://www.wowinterface.com/forums/showthread.php?t=39968)

Thrashfinger 05-02-11 06:36 PM

Gatherer "Show/Hide Items" button + MozzFullWorldMap "Show Unexplored Areas" checkbox
 
===============================================================================
Gatherer's "Show/Hide Items" button effectively obscures
MozzFullWorldMap's "Show Unexplored Areas" checkbox
FIX for MozzFullWorldMap v3.36
===============================================================================
* Works with WoW v4.1.0 and Gatherer v3.2.3 and MozzFullWorldMap v3.36. *

When both addons are used together, Gatherer's "Show/Hide Items" button partially
obscures MozzFullWorldMap's "Show Unexplored Areas" checkbox. The following code
modification should resolve this specific issue when using Gatherer and
MozzFullWorldMap together by anchoring MozzFullWorldMap's "Show Unexplored Areas"
checkbox to Gatherer's "Show/Hide Items" button, if it exists.

Open the MozzFullWorldMap.lua file, found at:
(WindowsXP default location)
C:\Program Files\World of Warcraft\Interface\AddOns\MozzFullWorldMap\MozzFullWorldMap.lua

Replace function Mozz_AnchorMapOptions() with the following function code.
(Lines starting at 704 through 712.)

From:
-------------------------------------------------------------------
Code:

function Mozz_AnchorMapOptions()

        if ( WORLDMAP_SETTINGS.size == WORLDMAP_WINDOWED_SIZE ) then
                MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", WorldMapPositioningGuide, "TOPLEFT", 20, -12.5 );
        else       
                MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", WorldMapPositioningGuide, "TOPLEFT", 5, 0 );
        end
       
end

-------------------------------------------------------------------
To:
-------------------------------------------------------------------
Code:

function Mozz_AnchorMapOptions()

        if ( WORLDMAP_SETTINGS.size == WORLDMAP_WINDOWED_SIZE ) then
                if ( Gatherer_WorldMapDisplay ) then
                        MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", Gatherer_WorldMapDisplay, "TOPRIGHT", 5, 3 );
                else
                        MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", WorldMapPositioningGuide, "TOPLEFT", 20, -12.5 );
                end
        else
                if ( Gatherer_WorldMapDisplay ) then
                        MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", Gatherer_WorldMapDisplay, "TOPRIGHT", 5, 3 );
                else
                        MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", WorldMapPositioningGuide, "TOPLEFT", 5, 0 );
                end
        end

end

-------------------------------------------------------------------
Save the file. Run the game. Your mileage may vary, but probably won't. ;)

spiel2001 05-02-11 09:33 PM

Thanks for the input. I will get it incorporated for when I do this *long* overdue update to MFWF for 4.x

Thrashfinger 05-02-11 10:36 PM

You are welcome. :cool: Cheers! :banana:


All times are GMT -6. The time now is 06:19 AM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC