|
|
@ -7,7 +7,7 @@ local LibStub = LibStub
|
|
|
|
local gui = LibStub("AceGUI-3.0")
|
|
|
|
local gui = LibStub("AceGUI-3.0")
|
|
|
|
local reg = LibStub("AceConfigRegistry-3.0")
|
|
|
|
local reg = LibStub("AceConfigRegistry-3.0")
|
|
|
|
|
|
|
|
|
|
|
|
local MAJOR, MINOR = "AceConfigDialog-3.0", 85
|
|
|
|
local MAJOR, MINOR = "AceConfigDialog-3.0", 86
|
|
|
|
local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
|
|
|
|
local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
|
|
|
|
|
|
|
|
|
|
|
|
if not AceConfigDialog then return end
|
|
|
|
if not AceConfigDialog then return end
|
|
|
@ -147,6 +147,7 @@ local stringIsLiteral = {
|
|
|
|
width = true,
|
|
|
|
width = true,
|
|
|
|
image = true,
|
|
|
|
image = true,
|
|
|
|
fontSize = true,
|
|
|
|
fontSize = true,
|
|
|
|
|
|
|
|
tooltipHyperlink = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
--Is Never a function or method
|
|
|
|
--Is Never a function or method
|
|
|
@ -501,6 +502,14 @@ local function OptionOnMouseOver(widget, event)
|
|
|
|
local tooltip = AceConfigDialog.tooltip
|
|
|
|
local tooltip = AceConfigDialog.tooltip
|
|
|
|
|
|
|
|
|
|
|
|
tooltip:SetOwner(widget.frame, "ANCHOR_TOPRIGHT")
|
|
|
|
tooltip:SetOwner(widget.frame, "ANCHOR_TOPRIGHT")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
local tooltipHyperlink = GetOptionsMemberValue("tooltipHyperlink", opt, options, path, appName)
|
|
|
|
|
|
|
|
if tooltipHyperlink then
|
|
|
|
|
|
|
|
tooltip:SetHyperlink(tooltipHyperlink)
|
|
|
|
|
|
|
|
tooltip:Show()
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
local name = GetOptionsMemberValue("name", opt, options, path, appName)
|
|
|
|
local name = GetOptionsMemberValue("name", opt, options, path, appName)
|
|
|
|
local desc = GetOptionsMemberValue("desc", opt, options, path, appName)
|
|
|
|
local desc = GetOptionsMemberValue("desc", opt, options, path, appName)
|
|
|
|
local usage = GetOptionsMemberValue("usage", opt, options, path, appName)
|
|
|
|
local usage = GetOptionsMemberValue("usage", opt, options, path, appName)
|
|
|
|