add player money frame

This commit is contained in:
Spit
2025-10-08 01:41:27 +03:00
parent 13c25cb3f4
commit 30fbc94b2b
5 changed files with 13 additions and 4 deletions
+9
View File
@@ -63,5 +63,14 @@ function handle.INIT_UI()
btn:SetScript('OnClick',function()
if AuctionFrame:IsVisible() then HideUIPanel(AuctionFrame) else ShowUIPanel(AuctionFrame) end
end)
local money_frame = CreateFrame('Frame', '$parentMoneyFrame', aux_frame.content, 'SmallMoneyFrameTemplate')
money_frame:SetPoint('RIGHT', btn, 'LEFT', 5, 0)
money_frame:SetToplevel()
if gui.is_blizzard() then
local texture = aux_frame.content:CreateTexture(nil, 'ARTWORK')
gui.set_size(texture, 145, 34)
texture:SetTexture('Interface\\MoneyFrame\\UI-MONEYFRAME-BORDER')
texture:SetPoint('TOPRIGHT', money_frame, -6, 4)
end
end
end
+1 -1
View File
@@ -40,7 +40,7 @@ function aux.handle.INIT_UI()
do
status_bar = gui.status_bar(frame)
status_bar:SetWidth(265)
status_bar:SetWidth(210)
status_bar:SetHeight(25)
status_bar:SetPoint('TOPLEFT', aux.frame.content, 'BOTTOMLEFT', 0, -6)
status_bar:update_status(1, 1)
+1 -1
View File
@@ -42,7 +42,7 @@ function aux.handle.INIT_UI()
do
status_bar = gui.status_bar(frame)
status_bar:SetWidth(265)
status_bar:SetWidth(210)
status_bar:SetHeight(25)
status_bar:SetPoint('TOPLEFT', aux.frame.content, 'BOTTOMLEFT', 0, -6)
status_bar:update_status(1, 0)
+1 -1
View File
@@ -125,7 +125,7 @@ function aux.handle.INIT_UI()
do
status_bar = gui.status_bar(frame)
status_bar:SetWidth(265)
status_bar:SetWidth(210)
status_bar:SetHeight(25)
status_bar:SetPoint('TOPLEFT', aux.frame.content, 'BOTTOMLEFT', 0, -6)
status_bar:update_status(1, 1)
+1 -1
View File
@@ -213,7 +213,7 @@ function aux.handle.INIT_UI()
end
do
local frame = CreateFrame('Frame', nil, frame)
frame:SetWidth(265)
frame:SetWidth(210)
frame:SetHeight(25)
frame:SetPoint('TOPLEFT', aux.frame.content, 'BOTTOMLEFT', 0, -6)
status_bar_frame = frame