Mercurial > wow > reaction
comparison modules/ReAction_ConfigUI/ReAction_ConfigUI.lua @ 53:7e09c02ae620
Pet Action support
| author | Flick <flickerstreak@gmail.com> |
|---|---|
| date | Fri, 25 Apr 2008 20:35:55 +0000 |
| parents | c9df7866ff31 |
| children | 20003239af0b |
comparison
equal
deleted
inserted
replaced
| 52:c9df7866ff31 | 53:7e09c02ae620 |
|---|---|
| 418 }, | 418 }, |
| 419 type = { | 419 type = { |
| 420 type = "select", | 420 type = "select", |
| 421 name = L["Button Type"], | 421 name = L["Button Type"], |
| 422 get = function() return self.tmpBarType or ReAction.defaultBarConfigChoice or "" end, | 422 get = function() return self.tmpBarType or ReAction.defaultBarConfigChoice or "" end, |
| 423 set = function(info, val) self.tmpBarType = val end, | 423 set = function(info, val) |
| 424 local c = ReAction.defaultBarConfig[val] | |
| 425 self.tmpBarType = val | |
| 426 self.tmpBarSize = c.defaultButtonSize or self.tmpBarSize | |
| 427 self.tmpBarRows = c.defaultBarRows or self.tmpBarRows | |
| 428 self.tmpBarCols = c.defaultBarCols or self.tmpBarCols | |
| 429 self.tmpBarSpacing = c.defaultBarSpacing or self.tmpBarSpacing | |
| 430 end, | |
| 424 values = "GetBarTypes", | 431 values = "GetBarTypes", |
| 425 order = 3, | 432 order = 3, |
| 426 }, | 433 }, |
| 427 grid = { | 434 grid = { |
| 428 type = "group", | 435 type = "group", |
