WoWInterface SVN Sigma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 4 to Rev 5
    Reverse comparison

Rev 4 → Rev 5

Sigma/Sigma.toc New file
0,0 → 1,9
## Interface: 40000
## Title: Sigma
## Notes: Sum up all current auctions and display the total.
## Author: Ailae
## Version: 40000.wowi:revision
## LoadOnDemand: 1
## LoadWith: Blizzard_AuctionUI
 
Sigma.lua
\ No newline at end of file
Sigma/Sigma.tga Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
Sigma/Sigma.lua New file
0,0 → 1,30
--[[
 
Sigma
by Ailae of Emeriss-EU
 
Sum upp all current auctions
 
]]
 
local f = CreateFrame("Frame", nil, AuctionFrameAuctions)
f:SetSize(200, 20)
f:SetPoint("LEFT", AuctionFrameMoneyFrame, "RIGHT", 10, 0)
 
local text = f:CreateFontString(nil, "OVERLAY", "GameFontHighlightMedium")
text:SetPoint("LEFT")
 
f:RegisterEvent("AUCTION_OWNED_LIST_UPDATE")
 
f:SetScript("OnEvent", function(self, event, ...)
local total = 0
for i=1, GetNumAuctionItems("owner") do
total = total + select(9, GetAuctionItemInfo("owner", i))
end
 
if total > 0 then
text:SetFormattedText("%s %s", "\124TInterface\\AddOns\\Sigma\\Sigma:0:0:0:0\124t", GetCoinTextureString(total))
else
text:SetText("")
end
end)
\ No newline at end of file
Sigma Property changes : Added: tsvn:logtemplate + Ailae@Sigma: