Thread Tools Display Modes
09-08-12, 08:52 AM   #21
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
It is currently not possible to override the default runebar element's Update, you have to make a custom element if you are not happy with it. But Haste wants to merge Runes, Druidmana(now used by Mistweaver monks too) and other class resources represented by bars, so things will soon(tm) change.

With the default element you could use self.Runes[i].bg and color it differently so that you have more contrast when the rune is on cooldown. Phanx argument, that it is probably not easy to distinguish 90% from full on very small elements, remains (PostUpdate would help here, that's true).

Apart from that you could use
lua Code:
  1. colors = setmetatable({
  2.     runes = setmetatable({
  3.         {0.69, 0.31, 0.31}, -- blood
  4.         {0.33, 0.59, 0.33}, -- unholy
  5.         {0.31, 0.45, 0.63}, -- frost
  6.         {0.84, 0.75, 0.75}, -- death
  7.     }, {__index = oUF.colors.runes}),
  8. }, {__index = oUF.colors})
to change the runes' colors if you have problems distinguishing them.
  Reply With Quote
09-08-12, 09:19 AM   #22
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Mmm, I already implemented everything on my side before posting in this thread. Just wanted to share my ideas about improving runebar module in the future and tried to prove my point of view, but i think i failed (
  Reply With Quote
09-08-12, 07:52 PM   #23
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
I don't think you've failed.
  Reply With Quote
09-09-12, 01:23 AM   #24
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Different inputs can lead to a better product. That is no fail.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » The new ClassIcons element


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off