From 15f67f51d9c83b9cbaf568287245dec1e16829b6 Mon Sep 17 00:00:00 2001 From: Paul Spears Date: Wed, 21 Oct 2009 18:09:07 -0500 Subject: [PATCH] added highlights to selected weight and stat --- WeightsWatcher.xml | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++ config.lua | 5 ++++ 2 files changed, 83 insertions(+) diff --git a/WeightsWatcher.xml b/WeightsWatcher.xml index fe081b1..f1e03eb 100644 --- a/WeightsWatcher.xml +++ b/WeightsWatcher.xml @@ -7,6 +7,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -63,6 +105,20 @@ + + + + + + + + + + + + + + @@ -105,6 +161,12 @@ self:SetCursorPosition(cursorPosition) end + + self:GetParent().highlightFrame:Show() + + + self:GetParent().highlightFrame:Hide() + @@ -130,6 +192,22 @@ + + + + + + + + + + + + + + + + configSelectWeight(self:GetParent()) diff --git a/config.lua b/config.lua index 1ad74df..e1d23dd 100644 --- a/config.lua +++ b/config.lua @@ -108,6 +108,11 @@ end function configSelectWeight(weightFrame) local empty + if ww_config.rightPanel.weightFrame then + ww_config.rightPanel.weightFrame.text.highlightFrame:Hide() + end + weightFrame.text.highlightFrame:Show() + ww_config.rightPanel.weightFrame = weightFrame ww_config.rightPanel.statList = ww_vars.weightsList[weightFrame.category.class][weightFrame.name] -- 1.7.9.5