• 0

    posted a message on LibFuBarPlugin-3.0 help with 3 problems please
    Hi,

    Im using LibFuBarPlugin-3.0 and I cant get the following to work:

    FF_FuBar:SetFuBarOption('cannotDetachTooltip', true);

    OR
    FF_FuBar.cannotDetachTooltip = true;


    AND

    FF_FuBar:SetFuBarOption('cannotAttachToMinimap', true);

    OR
    FF_FuBar.cannotAttachToMinimap = true;


    Also, I want to be able to toggle colored text etc. I know I need to set up a db first, but I dont know what I need to add to it for color, icon and text toggle to work. Can anyone give me an example please?

    Thanks
    Felankor
    Posted in: Lua Code Discussion
  • 0

    posted a message on FuBar 3 Right click menu not working
    I used RockConfig as you said. That creates options in the config box that opens when you right click the addon. But is it possible to create a right click menu similar or the same as the ones in FuBar2?

    Thanks

    Felankor
    Posted in: Lua Code Discussion
  • 0

    posted a message on FuBar 3 Right click menu not working
    Thanks for the reply. I appreciate it. :)

    Felankor
    Posted in: Lua Code Discussion
  • 0

    posted a message on FuBar 3 Right click menu not working
    Hi,

    Why doesn't my menu work when I right click my addon on FuBar 3?
    When I right click my button on FuBar I get the FuBar config box (with no settings just blank).

    embeds.xml
    <Ui xmlns="[url]http://www.blizzard.com/wow/ui/"[/url] xmlns:xsi="[url]http://www.w3.org/2001/XMLSchema-instance"[/url] xsi:schemaLocation="[url]http://www.blizzard.com/wow/ui/[/url]
    ..\FrameXML\UI.xsd">
    
    <Include file="Libs\LibRock-1.0\lib.xml"/>
    <Include file="Libs\LibFuBarPlugin-3.0\lib.xml"/>
    
    <Script file="libs\AceLibrary\AceLibrary.lua"/>
    <Script file="libs\Tablet-2.0\Tablet-2.0.lua"/>
    
    </Ui>


    local Tablet = AceLibrary("Tablet-2.0")
    
    FF_FuBar = Rock:NewAddon("FFFuBar", "LibRockConfig-1.0", "LibFuBarPlugin-3.0")
    
    FF_FuBar.catagory = FFFUBAR_CATAGORY;
    FF_FuBar:SetFuBarOption('tooltipType', "Tablet-2.0")
    
    FF_FuBar.OnMenuRequest = {
      type = "group",
      args = {
        showmenu = {
          type = 'execute',
          name = FFFUBAR_SHOW_MENU,
          desc = FFFUBAR_SHOW_MENU_DESCRIPTION,
          func = function() FFMenu:Show(); end
        },
        showoptions = {
          type = 'execute',
          name = FFFUBAR_SHOW_OPTIONS,
          desc = FFFUBAR_SHOW_OPTIONS_DESCRIPTION,
          func = function() FFOptions:Show(); end
        },
        showbanlist = {
          type = 'execute',
          name = FFFUBAR_SHOW_BAN_LIST,
          desc = FFFUBAR_SHOW_BAN_LIST_DESCRIPTION,
          func = function() FFBanList:Show(); end
        },
        showwhisperlog = {
          type = 'execute',
          name = FFFUBAR_SHOW_WHISPER_LOG,
          desc = FFFUBAR_SHOW_WHISPER_LOG_DESCRIPTION,
          func = function() FFWhisperLog:Show(); end
        },
        showhelp = {
          type = 'execute',
          name = FFFUBAR_SHOW_HELP,
          desc = FFFUBAR_SHOW_HELP_DESCRIPTION,
          func = function() FFHelp:Show(); end
        }
      }
    };
    Posted in: Lua Code Discussion
  • 0

    posted a message on SOLVED. Delete Please.
    I think I might have just found something that I missed.
    I will try it when I get home, and keep you posted.

    Felankor
    Posted in: Lua Code Discussion
  • 0

    posted a message on SOLVED. Delete Please.
    SOLVED.
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.