LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Lua Programming Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=50)
-   -   Req: Hide DASS dps meter on request (https://www.lotrointerface.com/forums/showthread.php?t=1696)

daimon 12-06-2011 07:04 PM

Req: Hide DASS dps meter on request
 
Seems that the author of DASS dps meter plugin hasn't been online for a while.

Anyone of you Lua wizards that could make a simple fix to it and add a feature to it so it would get hidden when you're taking a screenshot or so.

Appreciated. Thanks you :)

MrJackdaw 12-28-2011 05:04 PM

Daimon! Has anyone done this for you yet? I had a go - seems to work.

Add this to the end of Main.Lua

Code:

prog.ppWin:SetWantsKeyEvents(true)

prog.ppWin.KeyDown = function( sender, args )
        if args.Action ==  0x100000B3 then
                prog.ppWin:SetVisible(not(prog.ppWin:IsVisible()))
        end
end

Call it a late Christmas present *grin*

daimon 12-29-2011 09:56 AM

Cheers JD! And Happy New year to you

Any chance you could upload this as an patch for the plugin ?


All times are GMT -5. The time now is 04:29 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI