Mercurial > wow > guild-delta
comparison gd.lua @ 7:baf66f6dd093
Slight tooltip reword. Also, drycoding FAAAAIIILLL.
| author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
|---|---|
| date | Fri, 18 Feb 2011 10:12:48 +0000 |
| parents | dffc0e7049ad |
| children | be450e79048a |
comparison
equal
deleted
inserted
replaced
| 6:dffc0e7049ad | 7:baf66f6dd093 |
|---|---|
| 42 values = function(info) return addon:MakeFieldList() end, | 42 values = function(info) return addon:MakeFieldList() end, |
| 43 get = function(info,x) return SV.fields[x] end, | 43 get = function(info,x) return SV.fields[x] end, |
| 44 set = function(info,x,val) SV.fields[x] = val end, | 44 set = function(info,x,val) SV.fields[x] = val end, |
| 45 }, | 45 }, |
| 46 nochange = { | 46 nochange = { |
| 47 name = L"No Change"], | 47 name = L["No Change"], |
| 48 desc = L["Print a message even when no changes are detected"], | 48 desc = L["Print a message even when no changes are detected"], |
| 49 type = 'toggle', | 49 type = 'toggle', |
| 50 order = 15, | 50 order = 15, |
| 51 get = function() return not not SV.notify_nochange end, | 51 get = function() return not not SV.notify_nochange end, |
| 52 set = function(info,val) SV.notify_nochange = val end, | 52 set = function(info,val) SV.notify_nochange = val end, |
| 75 get = function(info) return guild_selection end, | 75 get = function(info) return guild_selection end, |
| 76 set = function(info,val) guild_selection = val end, | 76 set = function(info,val) guild_selection = val end, |
| 77 }, | 77 }, |
| 78 clearguild = { | 78 clearguild = { |
| 79 name = L["Reset Guild"], | 79 name = L["Reset Guild"], |
| 80 desc = L"Erase stored data for selected guild; information will be scanned from scratch on next login."], | 80 desc = L["Erase stored data for selected guild; information will be scanned from scratch on next login."], |
| 81 type = 'execute', | 81 type = 'execute', |
| 82 order = 22, | 82 order = 22, |
| 83 disabled = function() return not guild_selection end, | 83 disabled = function() return not guild_selection end, |
| 84 func = function() | 84 func = function() |
| 85 assert(type(guild_selection)=='string') | 85 assert(type(guild_selection)=='string') |
| 133 set = "SetChat", | 133 set = "SetChat", |
| 134 order = 25, | 134 order = 25, |
| 135 }, | 135 }, |
| 136 chatframe_name = { | 136 chatframe_name = { |
| 137 name = L["Chatframe Override"], | 137 name = L["Chatframe Override"], |
| 138 desc = L["<Advanced> If blank, uses the numerical slider. If set, it is the NAME of a frame with AddMessage capability to use for output."], | 138 desc = L["<Advanced> If blank, uses the numerical slider. If set, it is the Lua variable name of a frame with AddMessage capability to use for output."], |
| 139 type = 'input', | 139 type = 'input', |
| 140 get = function() | 140 get = function() |
| 141 return type(SV.chatframe) == 'string' and SV.chatframe or nil | 141 return type(SV.chatframe) == 'string' and SV.chatframe or nil |
| 142 end, | 142 end, |
| 143 set = "SetChat", | 143 set = "SetChat", |
