Sync fix, MacBook Air end
Scott King [07-20-15 - 06:04]
Sync fix, MacBook Air end
diff --git a/PortraitHealthConfig.lua b/PortraitHealthConfig.lua
new file mode 100644
index 0000000..f8e6980
--- /dev/null
+++ b/PortraitHealthConfig.lua
@@ -0,0 +1,17 @@
+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
diff --git a/PortraitHealthConfig.xml b/PortraitHealthConfig.xml
new file mode 100644
index 0000000..e8213fa
--- /dev/null
+++ b/PortraitHealthConfig.xml
@@ -0,0 +1,15 @@
+<Ui xmlns="http://www.blizzard.com/wow/ui/"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.blizzard.com/wow/ui/
+ ..\..\FrameXML\UI.xsd">
+<Script File="PortraitHealthConfig.lua"/>
+ <Frame name="PH_ConfigFrame">
+ <Scripts>
+ <OnLoad>
+ PH_ConfigFrame_OnLoad(self);
+ </OnLoad>
+ <OnEvent>
+ </OnEvent>
+ </Scripts>
+ </Frame>
+</Ui>