added status bar

This commit is contained in:
Manuel Simon Hirsig
2016-01-23 21:40:27 +01:00
parent af07bc99ce
commit c104881f46
5 changed files with 168 additions and 126 deletions
+13 -6
View File
@@ -71,7 +71,7 @@ function Aux_OnLoad()
end
do
local btn = Aux.gui.button(AuxFrame, 12)
btn:SetPoint('RIGHT', AuxCloseButton, 'LEFT')
btn:SetPoint('TOPRIGHT', 0, 0)
btn:SetWidth(60)
btn:SetHeight(17)
btn:SetText('Default UI')
@@ -86,6 +86,17 @@ function Aux_OnLoad()
end)
end
do
local btn = Aux.gui.button(AuxFrame, 15)
btn:SetPoint('BOTTOMRIGHT', -6, 6)
btn:SetWidth(65)
btn:SetHeight(24)
btn:SetText('Close')
btn:SetScript('OnClick',function()
HideUIPanel(this:GetParent())
end)
end
Aux.item_search_frame.on_load()
Aux.filter_search_frame.on_load()
end
@@ -160,11 +171,7 @@ function Aux.log_frame_update(elapsedSec)
end
function Aux.log(msg)
local info = ChatTypeInfo['SYSTEM']
AuxLogFrameMessageFrame:AddMessage(msg, 1, 1, 0)
if not AuxLogFrameMessageFrame:IsVisible() and DEFAULT_CHAT_FRAME then
DEFAULT_CHAT_FRAME:AddMessage(msg, 1, 1, 0)
end
DEFAULT_CHAT_FRAME:AddMessage(msg, 1, 1, 0)
end
function Aux_SetupHookFunctions()