From a7c30634c3d60575cb9bba7bbb8bc3f40004342d Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Mon, 1 Jan 2007 22:16:05 +0000 Subject: [PATCH] * Added group name, and colored display text to the list frame for buffs --- PerfectRaid_Buffs.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PerfectRaid_Buffs.lua b/PerfectRaid_Buffs.lua index e1fc568..57792e1 100644 --- a/PerfectRaid_Buffs.lua +++ b/PerfectRaid_Buffs.lua @@ -228,7 +228,12 @@ function Buffs:CreateListFrame(parent, num) button = entries[i] if idx <= #list then local entry = list[idx] - button.line1:SetText(entry.buffname) + local display = entry.buffname + if entry.groupname then + display = display .. "/"..entry.groupname + end + display = display .. " (|cFF"..entry.color..entry.disptext.."|r)" + button.line1:SetText(display) button:Show() if parent.selected == idx then button:SetChecked(true) -- 1.7.9.5