API addition to disable/enable pin mouse interaction #52


  • Enhancment
  • Invalid
Closed
Assigned to moonfann
  • Forge_User_19205249 created this issue Sep 10, 2011

    I make an Addon called MiniHugeHUD that moves the minimap over the screen and it also moves GatherMate2 and this works fine thanks to your reparent API ("Display:ReparentMinimapPins(parent)") so thanks for that! :)

    BUT (never being satified) I would like to request another API to allow other addon's to enable and disable the mouse interaction with your icons/pins. As these are dotted all over the screen with my addon it is quite likely that while trying to interact with the enviroment or click on the screen to turn the character the user will have there mouse over one of your pins meaning it won't work!

    I already have a modifier keybinding in my addon to allow the user to call up minimap interaction to allow popups of quest handin "!" on the minimap etc so all I need is a way to tell GatherMate2 to disable and reenable pin's on mouse interaction. Most of the code it there as your options menu disables this with the toggle option "Minimap Icon Tooltips" but as all your code and variables are local I can't really do much about kicking them off.

    What I propose is two API's for external Addons:

    Current State

    Some way of asking GatherMate2 whether the minimap pins are interactive currently.

    This is both so we know not to do anything and also what state to return it to afterwards!

    Change State

    A function that accepts say a boolean and just turns on/off the interaction (like your "Minimap Icon Tooltips" toggle in your options menu)

    Hope you don't mind! I haven't written a patch to save you time as I know everyone likes to do stuff differently! ;)

    Thanks

    Zas

  • Forge_User_19205249 added the tags New Enhancment Sep 10, 2011
  • Forge_User_19205249 removed a tag New Sep 30, 2011
  • Forge_User_19205249 added a tag Invalid Sep 30, 2011
  • Forge_User_19205249 closed issue Sep 30, 2011
  • Forge_User_19205249 posted a comment Sep 30, 2011

    I have abandoned this ticket. I still believe it should be done but have found a work around for my needs. No point it you spending time on it unless others also wanted it. :)

    Regards,

    Zas


To post a comment, please login or register a new account.