From 28ea0cec21cf1592a886e1c959e4c13733aaaa07 Mon Sep 17 00:00:00 2001 From: Scott King Date: Sun, 19 Jul 2015 22:30:26 -0600 Subject: [PATCH] Revert "Config panel skeleton" -- accidentally published on master This reverts commit 3e523961b7d6d33954f39a680651206fbbf40b09. --- CHANGELOG.txt | 3 --- PortraitHealth.lua | 2 +- PortraitHealth.toc | 2 +- PortraitHealthConfig.lua | 17 ----------------- PortraitHealthConfig.xml | 13 ------------- 5 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 PortraitHealthConfig.lua delete mode 100644 PortraitHealthConfig.xml diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 1416489..a3318db 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,3 @@ -v4.0 - - GUI config - v3.0.2 - simplified execute phase code diff --git a/PortraitHealth.lua b/PortraitHealth.lua index 2df90c3..a5c3340 100755 --- a/PortraitHealth.lua +++ b/PortraitHealth.lua @@ -4,7 +4,7 @@ local classDisplayName, class, classID = UnitClass("player"); local PlayerClass = classID; local PlayerClassName = classDisplayName; local PlayerClassNameIndex = class; -local PH_v = '4.0'; -- version number +local PH_v = '3.0.2'; -- version number local limit1 = 0; -- limiter for sounds local executeSound = "Sound\\interface\\AuctionWindowClose.ogg"; local total = 0 -- timer start diff --git a/PortraitHealth.toc b/PortraitHealth.toc index 79ee7ed..c19094d 100755 --- a/PortraitHealth.toc +++ b/PortraitHealth.toc @@ -2,7 +2,7 @@ ## Title: Portrait Health ## Notes: See your target's health percentage in bold text over their portrait. ## Author: Cilcraft -## Version: 4.0 +## Version: 3.0.2 ##SavedVariablesPerCharacter: PH_sound, PH_on PortraitHealth.lua PortraitHealth.xml diff --git a/PortraitHealthConfig.lua b/PortraitHealthConfig.lua deleted file mode 100644 index f8ea149..0000000 --- a/PortraitHealthConfig.lua +++ /dev/null @@ -1,17 +0,0 @@ -function PH_ConfigFrame_OnLoad(panel) - -- 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 deleted file mode 100644 index db922e1..0000000 --- a/PortraitHealthConfig.xml +++ /dev/null @@ -1,13 +0,0 @@ - -