comparison modules/ReAction_ConfigUI/ReAction_ConfigUI.lua @ 88:fc83b3f5b322

Added keybindings using LibKeyBound-1.0, with modifications for Override bindings instead of standard bindings.
author Flick <flickerstreak@gmail.com>
date Sun, 31 Aug 2008 06:02:18 +0000
parents 1ad208c25618
children 7cabc8ac6c16
comparison
equal deleted inserted replaced
87:3499ac7c3a9b 88:fc83b3f5b322
77 name = L["Close on Launch"], 77 name = L["Close on Launch"],
78 desc = L["Close the Interface Options window when launching the ReAction Bar Editor"], 78 desc = L["Close the Interface Options window when launching the ReAction Bar Editor"],
79 get = function() return self.db.profile.closeOnLaunch end, 79 get = function() return self.db.profile.closeOnLaunch end,
80 set = function(info, val) self.db.profile.closeOnLaunch = val end, 80 set = function(info, val) self.db.profile.closeOnLaunch = val end,
81 order = 3, 81 order = 3,
82 },
83 _keybind = {
84 type = "execute",
85 handler = self,
86 name = L["Key Bindings"],
87 desc = L["Show the keybinding dialogue"],
88 func = function()
89 ReAction:SetKeybindMode(true)
90 end,
91 order = 4,
82 }, 92 },
83 }, true) -- global 93 }, true) -- global
84 94
85 AceConfigReg:RegisterOptionsTable(configName,ReAction.options) 95 AceConfigReg:RegisterOptionsTable(configName,ReAction.options)
86 self.frame = AceConfigDialog:AddToBlizOptions(configName, configName) 96 self.frame = AceConfigDialog:AddToBlizOptions(configName, configName)