many gui replacements in the search tabs

This commit is contained in:
Manuel Simon Hirsig
2016-01-24 17:05:57 +01:00
parent acbde9a9dd
commit ed6f65277e
7 changed files with 227 additions and 264 deletions
+2 -2
View File
@@ -295,7 +295,7 @@ function m.status_bar(parent)
local text_frame = CreateFrame('Frame', nil, self)
text_frame:SetFrameLevel(level + 4)
text_frame:SetAllPoints(self)
local text = m.create_label(text_frame)
local text = m.label(text_frame)
text:SetTextColor(unpack(m.config.text_color.enabled))
text:SetPoint('CENTER', 0, 0)
self.text = text
@@ -327,7 +327,7 @@ function m.status_bar(parent)
return self
end
function m.create_label(parent, size)
function m.label(parent, size)
local label = parent:CreateFontString()
label:SetFont(m.config.content_font, size or m.config.normal_font_size)
label:SetTextColor(unpack(m.config.label_color.enabled))