Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_NPCScan.Overlay: Add API to change Minimap canvas' parent. #44

Closed
GoogleCodeExporter opened this issue Jan 27, 2016 · 1 comment
Closed

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Jan 27, 2016

Name of add-on: Npcscan.Overlay


Description of change/new feature:
Add a way to reparent NPCScan.Overlay's Minimap features so that FarmHud can 
show NPCScan.Overlay.

Quick hack:

function me:ReparentMinimap(minimap)
    Minimap = minimap
    self.ScrollFrame:SetParent(Minimap)
    self.ScrollFrame:SetAllPoints()
end

and adding someway to reach the mod:
_G["npcscan_overlay"] = me

Original issue reported on code.google.com by codered...@gmail.com on 3 May 2011 at 5:49

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jan 27, 2016

Added in version 4.1.0.2, r1611.

The new API is MinimapModule:SetMinimapFrame( Frame ).  I tested with FarmHud 
v1.0.0 and it seems to work alright.

You can access the Minimap module like this:
local MinimapModule = _NPCScan.Overlay.Modules.List[ "Minimap" ];

Original comment by saiket....@gmail.com on 4 May 2011 at 12:49

  • Changed title: _NPCScan.Overlay: Add API to change Minimap canvas' parent.
  • Changed state: Fixed
  • Added labels: AddOn-NPCScan.Overlay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.