Changed GuiProgressBar color to Grey because people complained that Red raped their eyes
This commit is contained in:
@@ -55,7 +55,7 @@ public class GuiProgressBar extends Gui {
|
|||||||
* Replaces the default progress String that is being displayed (x%) with a custom String.
|
* Replaces the default progress String that is being displayed (x%) with a custom String.
|
||||||
* This has to be called whenever the progress itself changes.
|
* This has to be called whenever the progress itself changes.
|
||||||
* Setting <code>progressString</code> to <code>null</code> uses the default progress String.
|
* Setting <code>progressString</code> to <code>null</code> uses the default progress String.
|
||||||
* @param progressString
|
* @param progressString The String to display
|
||||||
*/
|
*/
|
||||||
public void setProgressString(String progressString) {
|
public void setProgressString(String progressString) {
|
||||||
this.progressString = progressString;
|
this.progressString = progressString;
|
||||||
@@ -80,7 +80,7 @@ public class GuiProgressBar extends Gui {
|
|||||||
|
|
||||||
// Draws red progress
|
// Draws red progress
|
||||||
drawRect(xPosition + BORDER_WIDTH, yPosition + BORDER_WIDTH,
|
drawRect(xPosition + BORDER_WIDTH, yPosition + BORDER_WIDTH,
|
||||||
xPosition + BORDER_WIDTH + progressWidth, yPosition + height - BORDER_WIDTH, Color.RED.getRGB());
|
xPosition + BORDER_WIDTH + progressWidth, yPosition + height - BORDER_WIDTH, Color.GRAY.getRGB());
|
||||||
|
|
||||||
|
|
||||||
int xMiddle = xPosition + (width/2);
|
int xMiddle = xPosition + (width/2);
|
||||||
|
|||||||
Reference in New Issue
Block a user