comparison modules/ReAction_ConfigUI/ReAction_ConfigUI.lua @ 50:c3c64e2def50

Assorted cleanup for hide/show grid, action ID labels, draggable resizing, etc
author Flick <flickerstreak@gmail.com>
date Tue, 22 Apr 2008 20:37:44 +0000
parents 7b7d178dec52
children c964fb84560c
comparison
equal deleted inserted replaced
49:dcf8116560a1 50:c3c64e2def50
183 end 183 end
184 return opts 184 return opts
185 end 185 end
186 186
187 function module:CreateBar() 187 function module:CreateBar()
188 if self.tmpBarType and self.tmpBarType ~= "" then 188 if self.tmpBarName and self.tmpBarName ~= "" then
189 ReAction:CreateBar(self.tmpBarName, self.tmpBarType, self.tmpBarRows, self.tmpBarCols, self.tmpBarSize, self.tmpBarSpacing) 189 ReAction:CreateBar(self.tmpBarName, self.tmpBarType or ReAction.defaultBarConfigChoice, self.tmpBarRows, self.tmpBarCols, self.tmpBarSize, self.tmpBarSpacing)
190 self.tmpBarName = nil 190 self.tmpBarName = nil
191 end 191 end
192 end 192 end
193 193
194 function module:InitializeOptions() 194 function module:InitializeOptions()