gui refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-02 09:16:21 +02:00
parent 4b94ca2c08
commit bf327cc50e
2 changed files with 13 additions and 12 deletions
+1
View File
@@ -67,6 +67,7 @@ function public.checkbutton(parent, text_height)
end
function public.button(parent, text_height)
text_height = text_height or m.config.medium_font_size
local button = CreateFrame('Button', nil, parent)
m.set_content_style(button)
local highlight = button:CreateTexture(nil, 'HIGHLIGHT')