comparison Bar.lua @ 30:0d95ce7a9ec2

- added Ace3 externs - converted ReAction_ConfigUI to use blizzard interface addons panel via AceConfigDialog-3.0 - partially converted FuBar module to LibRock, deprecated it (going to remove it entirely later) - cleaned up a couple other tidbits
author Flick <flickerstreak@gmail.com>
date Wed, 02 Apr 2008 23:31:13 +0000
parents 21bcaf8215ff
children c54c481ad0ed
comparison
equal deleted inserted replaced
29:9c89042bc328 30:0d95ce7a9ec2
19 error("ReAction.Bar: config table required") 19 error("ReAction.Bar: config table required")
20 end 20 end
21 21
22 local f = CreateFrame("Frame",nil,config.parent or UIParent,"SecureStateDriverTemplate") 22 local f = CreateFrame("Frame",nil,config.parent or UIParent,"SecureStateDriverTemplate")
23 f:SetFrameStrata("MEDIUM") 23 f:SetFrameStrata("MEDIUM")
24 config.width = config.width or 400 24 config.width = config.width or 480
25 config.height = config.height or 80 25 config.height = config.height or 40
26 f:SetWidth(config.width) 26 f:SetWidth(config.width)
27 f:SetWidth(config.height) 27 f:SetWidth(config.height)
28 28
29 self.frame = f 29 self.frame = f
30 self:RefreshLayout() 30 self:RefreshLayout()