WoWInterface SVN RuneWatch

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 16 to Rev 17
    Reverse comparison

Rev 16 → Rev 17

trunk/Options.lua
8,23 → 8,38
desc = "Open the Configuration Dialog",
func = function() RuneWatch:ShowConfig() end,
guiHidden = true
},
locked = {
type = "toggle",
name = "Locked",
desc = "Toggles the ui's locked state, preventing it from being moved.",
get = function(info) return RuneWatch.db.locked end,
set = function(info, v) RuneWatch.db.locked = v; RuneWatch:GuiUpdate(); end
},
scale = {
type = "range",
name = "UI Scale",
desc = "Scales the UI to a factor of the default.",
min = 0.1,
max = 5,
step = 0.1,
get = function(info) return RuneWatch.db.scale end,
set = function(info, v) RuneWatch.db.scale = v; RuneWatch:GuiUpdate(); end
frame = {
type = "group",
name = "Frame",
desc = "UI-Frame Options",
args = {
locked = {
type = "toggle",
name = "Locked",
desc = "Toggles the ui's locked state, preventing it from being moved.",
get = function(info) return RuneWatch.db.locked end,
set = function(info, v) RuneWatch.db.locked = v; RuneWatch:GuiUpdate(); end
},
scale = {
type = "range",
name = "UI Scale",
desc = "Scales the UI to a factor of the default.",
min = 0.1,
max = 5,
step = 0.1,
get = function(info) return RuneWatch.db.scale end,
set = function(info, v) RuneWatch.db.scale = v; RuneWatch:GuiUpdate(); end
}
}
},
behaviour = {
type = "group",
name = "Behaviour",
desc = "Mod-Behaviour Options",
args = {
 
}
}
}
}