function PH_ConfigFrame_OnLoad(panel) --arbitrary change for commit -- Set the name for the Category for the Panel -- panel.name = "PH_ConfigFrame " .. GetAddOnMetadata("Portrait Health", "Version"); -- When the player clicks okay, run this function. -- panel.okay = function (self) PH_ConfigFrame_Close(); end; -- When the player clicks cancel, run this function. -- panel.cancel = function (self) PH_ConfigFrame_CancelOrLoad(); end; -- Add the panel to the Interface Options -- InterfaceOptions_AddCategory(panel); end