Thread Tools Display Modes
05-02-11, 06:36 PM   #1
Thrashfinger
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 6
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.
 
05-02-11, 09:33 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Thanks for the input. I will get it incorporated for when I do this *long* overdue update to MFWF for 4.x
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
05-02-11, 10:36 PM   #3
Thrashfinger
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 6
You are welcome. Cheers!
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » MozzFullWorldMap: Technical Support » Gatherer "Show/Hide Items" button + MozzFullWorldMap "Show Unexplored Areas" checkbox

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off