- big giant options screen usability cleanup:

- colorized the FAQ and Module Settings description text to be more readable
- removed custom coloring from certain options that didn't match the rest
- hid a few debug-only settings
- consolidated all the 'create custom module' buttons into a drop-down + create button
- clarified description of some options so that their intent/purpose is more clear
- moved around/cleaned up headers for consistency
- doubled the width of long options so that they don't get cut off and ...'d
This commit is contained in:
Parnic
2010-09-12 22:36:02 +00:00
parent cc9dbc283e
commit 1961b66f57
25 changed files with 367 additions and 446 deletions

View File

@ -7,7 +7,7 @@ ComboPoints.prototype.comboSize = 20
-- Constructor --
function ComboPoints.prototype:init()
ComboPoints.super.prototype.init(self, "ComboPoints")
self:SetDefaultColor("ComboPoints", 1, 1, 0)
self.scalingEnabled = true
end
@ -21,6 +21,12 @@ end
function ComboPoints.prototype:GetOptions()
local opts = ComboPoints.super.prototype.GetOptions(self)
opts["headerLookAndFeel"] = {
type = 'header',
name = 'Look and Feel',
order = 29.9
}
opts["vpos"] = {
type = "range",
name = "Vertical Position",
@ -179,7 +185,7 @@ end
-- OVERRIDE
function ComboPoints.prototype:Redraw()
ComboPoints.super.prototype.Redraw(self)
self:CreateFrame()
self:UpdateComboPoints()
end
@ -188,7 +194,7 @@ end
-- OVERRIDE
function ComboPoints.prototype:Enable(core)
ComboPoints.super.prototype.Enable(self, core)
self:RegisterEvent("PLAYER_TARGET_CHANGED", "UpdateComboPoints")
if IceHUD.WowVer >= 30000 then
self:RegisterEvent("UNIT_COMBO_POINTS", "UpdateComboPoints")
@ -223,7 +229,7 @@ function ComboPoints.prototype:CreateFrame()
end
self.frame:ClearAllPoints()
self.frame:SetPoint("TOP", self.parent, "BOTTOM", self.moduleSettings.hpos, self.moduleSettings.vpos)
self:Show(true)
self:CreateComboFrame()
@ -348,7 +354,7 @@ function ComboPoints.prototype:UpdateComboPoints()
else
self.frame.graphicalBG[i]:Hide()
end
if (points ~= nil and i <= points) then
self.frame.graphical[i]:Show()
else