Added options to adjust the vertical and horizontal growth direction

This commit is contained in:
Hendrik Leppkes
2009-02-21 14:58:17 +01:00
parent 4529c41327
commit a1189dbad8
3 changed files with 48 additions and 3 deletions
+20
View File
@@ -19,6 +19,8 @@ do
zoom = "Zoom",
macrotext = "HideMacroText",
hotkey = "HideHotkey",
vgrowth = "VGrowth",
hgrowth = "HGrowth",
}
-- retrieves a valid bar object from the barregistry table
@@ -80,6 +82,24 @@ function ButtonBar:GetOptionObject()
set = optSetter,
get = optGetter,
},
vgrowth = {
order = 75,
name = L["Vertical Growth"],
desc = L["Vertical growth direction for this bar."],
type = "select",
values = {UP = L["Up"], DOWN = L["Down"]},
set = optSetter,
get = optGetter,
},
hgrowth = {
order = 76,
name = L["Horizontal Growth"],
desc = L["Horizontal growth direction for this bar."],
type = "select",
values = {LEFT = L["Left"], RIGHT = L["Right"]},
set = optSetter,
get = optGetter,
},
hidedesc = {
order = 80,
name = L["Button Look"],