Grid

197 - Custom health bar background color

What is the enhancement in mind? How should it look and feel?

Currently I use a custom color for my grid health bars. However, the background when this color is selected is black which isn't very obvious when people start losing health (my color is a  darkish blue grey). Inverting the color seems to be the only option to further customize this and it suffers from the same issue. I would like to be able to independantly set the background color while keeping the custom health bar color.

Please provide any additional information below.

User When Change
Phanx Oct 26, 2009 at 08:40 UTC Changed status from Replied to Declined
jecht0777 Sep 13, 2009 at 16:29 UTC Changed status from Waiting to Replied
Phanx Sep 13, 2009 at 10:43 UTC Changed status from New to Waiting
twych Sep 04, 2009 at 19:31 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 4 comments
  • Avatar of Phanx Phanx Oct 26, 2009 at 08:40 UTC - 0 likes

    @twych:

    It's not so much an issue of time and effort required to add the code, as it is an issue of the option not being practically useful enough to justify adding anything to the code or the configuration menus. The amount of options available is already overwhelming for new users. Adding another option, to change something that maybe 1 in 10000 users will ever even think about, and that doesn't really affect the addon's functionality, doesn't really warrant making that situation worse.

    As an aside, you can ease the pain of updating by reading the changelog when you download a new version. If you don't see any entries noting changes to GridFrame.lua since your last installed version, just don't copy that file out of the zip into your addon directory.

    @jecht0777:

    Yes, the color you set for health bars is used for the deficit portion of the health bar (what appears to be the background), and the foreground portion uses the same color at 20% of the original brightness. If you enable the "Invert health bar colors" option, then the color you set will be used for the foreground, and the deficit portion will be shown at 20% brightness. Some combination of settings should be able to accomplish the results you're looking for. If not, I'd suggest reconsidering the usability of your chosen color scheme. In raid frames, functionality is critical; having the colors match your minimap border really isn't that important. :p

    Last edited Oct 26, 2009 by Phanx
  • Avatar of twych twych Sep 15, 2009 at 21:40 UTC - 0 likes

    Thanks for the response Phanx.. I'm not aware of the amount of coding it would take to pull off, but I thought that it might be something that would benefit more people than just myself. I was already editing GridFrame.lua, I just thought an in-game enhancement might be nice if for nothing else than being able to retain the colors between updates. A minor annoyance, sure, but an in-game option to set that would be nice.

  • Avatar of jecht0777 jecht0777 Sep 13, 2009 at 16:29 UTC - 0 likes

    I thought you could do this before in Grid. Has it been removed. If so what version was it last in and does that one work with WoW 3.2....????

    Also could you let us know what the values for : f:SetBackdropColor(0,0,0,1)

    what does the 0,0,0,1 mean? I am thinking it might mean Red, Green, Blue, Alpha... but im not good with programming or LUA :)

    Edited: After 3 hours of messing with this I found that you can change this color like before. Only thing is the value of the color needs to be extremely brighter than you would think. I like my health bars a Dark Green color and the background a light green. The only way I could make this happen is making the Health Bar Color bright green.

    Last edited Sep 13, 2009 by jecht0777: Testing
  • Avatar of Phanx Phanx Sep 13, 2009 at 10:43 UTC - 0 likes

    I'm not sure it's really worth the code bulk to add an option for such a minor cosmetic thing. However, you can easily change it yourself by modifying line 111 in GridFrame.lua:

    	f:SetBackdropColor(0,0,0,1)
    
  • 4 comments

Facts

Last updated
Oct 26, 2009
Reported
Sep 04, 2009
Status
Declined - We decided not to take action on this ticket.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees