WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   LibQtipclick and LDB help (https://www.wowinterface.com/forums/showthread.php?t=22074)

Aurorablade 04-13-09 04:07 PM

LibQtipclick and LDB help
 
Okay so i have LQTipClick set up to display on my LDB mouseover, however what i would like to do for the purposes of this mod is for it to show on say a right click, I tried one method i could think of but it didn't work as intended.

Also does LDB accept click modifiers, IE, i have my Tip on right click but another function trigger on an ALT right click.

Torhal 04-13-09 07:28 PM

You should have something along these lines:

Code:

function DataObj:OnClick(button)
        if button == "RightButton" then
                if IsControlKeyDown() then
                        DoControlStuff()
                else
                        ShowYourTooltip()
                end
        else
                WhateverElse()
        end
end

As the author of LibQTipClick, I should point out that its official forum is here

Aurorablade 04-13-09 07:32 PM

yeah i had bugged you before...I am just trying to lessen my 'bug mod author with idiot question' quota...


All times are GMT -6. The time now is 09:54 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI