4 - Separate colors for labels and info.
It would be sweet if the labels and the actual information could have different colors. So instead of XP: ####/#### (##%) all in gold (or w/e), the XP: would be one color and the ####/#### (##%) could be another.
I attempted to do this using WoW's method of wrapping stuff in hex codes (ex: XP: |cff00ff00%d/%d (%d%%)|r ) but that doesn't work in WAR, as the |cff00ff00 and |r show as text. So it would probably require that WB plugins have 2 text pieces stuck to each other, each with their own color definition.
| User | When | Change |
|---|---|---|
| Shakakaw | Mon, 06 Oct 2008 02:13:19 | Changed status from New to Duplicate |
| Firedancer | Sat, 04 Oct 2008 16:29:10 | Create |
- 3 comments
- 3 comments
Facts
- Last updated on
- 06 Oct 2008
- Reported on
- 04 Oct 2008
- Status
- Duplicate - This report duplicates an existing ticket.
- Type
- Enhancement - A change which is intended to better the project in some way
- Priority
- Medium - Normal priority.
- #3
Shakakaw Sun, 05 Oct 2008 11:33:26It's a good fix, but it will be obsolete soon as I will implement the ability to have more labels, icons, etc etc.
- #2
Firedancer Sat, 04 Oct 2008 17:01:50I added the following to WaaghBar.element in the WaaghBar.lua file:
setColor = function(self, r, g, b) local objN = WaaghBar.getObjN(self) LabelSetTextColor("WaaghBarWindow_"..tostring(objN).."Label", r, g, b) end,
and then I added a call to that in the plugin's onXXXUpdated() function after the setLabel to color the entire label. Ex (using renown):
renown:setColor(255,0,255)
It's not perfect, but at least all my plugins aren't the same color anymore. Colors make it easier for me to tell what stuff is at a glance...labels just take up space.
Figured I'd share this with you in case you wanted to add it in. :)
- #1
Shakakaw Sat, 04 Oct 2008 16:56:30Yes sir, you are most correct. And we're working on it. Feel free to contribute code if you want.