Mercurial > wow > reaction
comparison Editor.lua @ 288:d931fa418e17
Merge LBF fix to default
| author | Flick |
|---|---|
| date | Fri, 01 Jul 2011 14:32:17 -0700 |
| parents | f2ed8a8e2320 |
| children | 0cb6a9944497 |
comparison
equal
deleted
inserted
replaced
| 287:0ea325e616ab | 288:d931fa418e17 |
|---|---|
| 279 isPercent = true, | 279 isPercent = true, |
| 280 step = 0.01, | 280 step = 0.01, |
| 281 bigStep = 0.05, | 281 bigStep = 0.05, |
| 282 order = 5, | 282 order = 5, |
| 283 }, | 283 }, |
| 284 grid = { | |
| 285 type = "group", | |
| 286 name = L["Button Grid"], | |
| 287 inline = true, | |
| 288 order = 6, | |
| 289 args = { | |
| 290 rows = { | |
| 291 type = "range", | |
| 292 name = L["Rows"], | |
| 293 get = function() return select(1,bar:GetButtonGrid()) end, | |
| 294 set = function(info, val) bar:SetButtonGrid(val) end, | |
| 295 width = "double", | |
| 296 min = 1, | |
| 297 max = 32, | |
| 298 step = 1, | |
| 299 order = 2, | |
| 300 }, | |
| 301 cols = { | |
| 302 type = "range", | |
| 303 name = L["Columns"], | |
| 304 get = function() return select(2,bar:GetButtonGrid()) end, | |
| 305 set = function(info, val) bar:SetButtonGrid(nil,val) end, | |
| 306 width = "double", | |
| 307 min = 1, | |
| 308 max = 32, | |
| 309 step = 1, | |
| 310 order = 3, | |
| 311 }, | |
| 312 sz = { | |
| 313 type = "range", | |
| 314 name = L["Size"], | |
| 315 get = function() return select(1,bar:GetButtonSize()) end, | |
| 316 set = function(info, val) bar:SetButtonSize(val,val) end, | |
| 317 width = "double", | |
| 318 min = 10, | |
| 319 max = 72, | |
| 320 step = 1, | |
| 321 order = 4, | |
| 322 }, | |
| 323 spacing = { | |
| 324 type = "range", | |
| 325 name = L["Spacing"], | |
| 326 get = function() return select(3,bar:GetButtonGrid()) end, | |
| 327 set = function(info, val) bar:SetButtonGrid(nil,nil,val) end, | |
| 328 width = "double", | |
| 329 min = 0, | |
| 330 max = 24, | |
| 331 step = 1, | |
| 332 order = 5, | |
| 333 } | |
| 334 } | |
| 335 }, | |
| 284 anchor = { | 336 anchor = { |
| 285 type = "group", | 337 type = "group", |
| 286 name = L["Anchor"], | 338 name = L["Anchor"], |
| 287 inline = true, | 339 inline = true, |
| 288 order = 6, | 340 order = 7, |
| 289 args = { | 341 args = { |
| 290 frame = { | 342 frame = { |
| 291 type = "input", | 343 type = "input", |
| 292 name = L["Frame"], | 344 name = L["Frame"], |
| 293 desc = L["The frame that the bar is anchored to"], | 345 desc = L["The frame that the bar is anchored to"], |
