Quantcast
WoWInterface - View Single Post - Progress Bar Beautification
View Single Post
09-26-16, 11:11 PM   #2
Thrumbar
A Chromatic Dragonspawn
Join Date: Jan 2005
Posts: 155
You could submit the changes yourself.

1. Create an Github account https://github.com/join?source=header-home

2. After you creat the Git account you go to the Carbonite Git and Fork it.. https://github.com/mikepauer/Carbonite
The Fork button is on the top right of the page.

3. Make changes on your Git account for the selected files and the save and do a pull request from you git account to the carbonite git. The pull request button is there on screen....

Thrumbar

Originally Posted by Svegan View Post
I would ask, if the devs that are actively maintaining the addon, would be willing to make the following changes to the progress bar code. It has been tested on my system, and works very nicely. It does not depend on screen resolution, or a specific scale setting for the UI.

Lua Code:
  1. if Nx.qdb.profile.QuestWatch.BonusBar then
  2. --[[    if (math.floor(percent) == 0) then
  3.     list:ItemSet(2, format(" |TInterface\\Addons\\Carbonite\\Gfx\\Skin\\InfoBarB:12:100|t %.2f%%", percent))
  4.     else
  5.     ]]  list:ItemSet(2, format(" |TInterface\\Addons\\Carbonite\\Gfx\\Skin\\InfoBarB:12:%d:|t %.2f%%", math.floor(percent), percent))
  6.      --end

In the version I have, the first section starts at line 9048 and the second chunk of code at line 9090.
Message me here, or battletag me at SDEagleOne#1109 in game. I would love to see how this works on other resolutions. I run at 1680x1050 on my monitor. Thanks to all the ones who do work on this wonderful addon as well.
  Reply With Quote