Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,711 changes: 910 additions & 801 deletions EavesDrop.lua

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions EavesDrop.toc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## Interface: 80000
## Name: EavesDrop
## Interface: 100200
## Title: EavesDrop
## Notes: A simple combat log that displays events similar to SCT
## Version: 2.60
## Author: Grayhoof (Edited by Domzae)
## Version: 10.2.00
## Author: Grayhoof (Edited by Domzae, Schoolias)
## IconTexture: Interface\AddOns\Eavesdrop\media\textures\icon.blp
## SavedVariables: EavesDropDB
## SavedVariablesPerCharacter: EavesDropStatsDB
## X-Website: http://grayhoof.wowinterface.com/
## X-Website: http://github.com/vbhayden/Eavesdrop
## X-Category: Combat
## X-RelSite-WoWI: 5332
## X-Embeds: Ace3, LibSharedMedia-3.0
Expand All @@ -17,11 +17,10 @@
## X-Curse-Repository-ID: wow/eaves-drop/mainline

embeds.xml

templates.xml
locals\localization-enUS.lua
locals\localization-koKR.lua
locals\localization-zhCN.lua
EavesDrop.lua
EavesDropStats.lua
options.lua
EavesDrop.xml
16 changes: 12 additions & 4 deletions EavesDropStats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -174,22 +174,30 @@ function EavesDrop:SetupHistory()
EavesDropHistoryFrameSkillText:SetText(L["Skill"])
EavesDropHistoryFrameAmountCritText:SetText(L["Crit"])
EavesDropHistoryFrameAmountNormalText:SetText(L["Normal"])

r,g,b,a = db["LABELC"].r, db["LABELC"].g, db["LABELC"].b, db["LABELC"].a
EavesDropHistoryFrameSkillText:SetTextColor(r,g,b,a)
EavesDropHistoryFrameAmountCritText:SetTextColor(r,g,b,a)
EavesDropHistoryFrameAmountNormalText:SetTextColor(r,g,b,a)

--Buttons
EavesDropHistoryFrameOutgoingHit.tooltipText = L["OutgoingDamage"]
EavesDropHistoryFrameOutgoingHeal.tooltipText = L["OutgoingHeals"]
EavesDropHistoryFrameIncomingHit.tooltipText = L["IncomingDamge"]
EavesDropHistoryFrameIncomingHeal.tooltipText = L["IncomingHeals"]
EavesDropHistoryButton.tooltipText = L["History"]
EavesDropHistoryFrameResetText:SetText(L["Reset"])

--Frame
local r,g,b,a = db["FRAME"].r, db["FRAME"].g, db["FRAME"].b, db["FRAME"].a
EavesDropHistoryFrame:SetBackdropColor(r, g, b, a)
EavesDropHistoryTopBar:SetGradientAlpha("VERTICAL", r*.1, g*.1, b*.1, 0, r*.2, g*.2, b*.2, a)
EavesDropHistoryBottomBar:SetGradientAlpha("VERTICAL", r*.2, g*.2, b*.2, a, r*.1, g*.1, b*.1, 0)
local frameColor = db["FRAME"]
EavesDropHistoryFrame:SetBackdropColor(frameColor.r, frameColor.g, frameColor.b, frameColor.a)

-- TODO
local outerColor = CreateColor(r * .1, g * .1, b * .1, 0)
local innerColor = CreateColor(r * .2, g * .2, b * .2, a)
EavesDropHistoryTopBar:SetGradient("VERTICAL", outerColor, innerColor)
EavesDropHistoryBottomBar:SetGradient("VERTICAL", innerColor, outerColor)

r,g,b,a = db["BORDER"].r, db["BORDER"].g, db["BORDER"].b, db["BORDER"].a
EavesDropHistoryFrame:SetBackdropBorderColor(r, g, b, a)
--position frame (have to schedule cause UI scale is still 1 for some reason during init)
Expand Down
1 change: 1 addition & 0 deletions embeds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
<Include file="libs\AceGUI-3.0\AceGUI-3.0.xml"/>
<Include file="libs\AceConfig-3.0\AceConfig-3.0.xml"/>
<Include file="libs\LibSharedMedia-3.0\lib.xml"/>
<Include file="libs\LibFunctional-1.0\lib.xml"/>

</Ui>
Loading