Libraries Update
This commit is contained in:
+10
-1
@@ -15,7 +15,7 @@ local max = math.max
|
||||
|
||||
--api locals
|
||||
local PixelUtil = PixelUtil or DFPixelUtil
|
||||
local version = 9
|
||||
local version = 10
|
||||
|
||||
local CONST_MENU_TYPE_MAINMENU = "main"
|
||||
local CONST_MENU_TYPE_SUBMENU = "sub"
|
||||
@@ -2169,6 +2169,11 @@ function DF:CreateCoolTip()
|
||||
end
|
||||
end
|
||||
|
||||
--get the value of the fixed parameter
|
||||
function gameCooltip:GetFixedParameter()
|
||||
return gameCooltip.FixedValue
|
||||
end
|
||||
|
||||
--set a fixed value for menu, the fixedValue is sent with the menu callback function
|
||||
function gameCooltip:SetFixedParameter(value, injected)
|
||||
if (injected ~= nil) then
|
||||
@@ -3072,6 +3077,10 @@ function DF:CreateCoolTip()
|
||||
return gameCooltip:ShowCooltip(frame, menuType, color)
|
||||
end
|
||||
|
||||
function gameCooltip:IsShown()
|
||||
return frame1:IsShown()
|
||||
end
|
||||
|
||||
function gameCooltip:ShowCooltip(frame, menuType, color)
|
||||
frame1:SetFrameStrata("TOOLTIP")
|
||||
frame2:SetFrameStrata("TOOLTIP")
|
||||
|
||||
Reference in New Issue
Block a user