mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Use drawRect instead of drawGradientRect where appropriate. Also represent colors as hex to make them easier to read
This commit is contained in:
8 files changed
+11
-11
No files matched your search
@@ -83,8 +83,8 @@ public class GuiRobitRepair extends GuiRobit implements IContainerListener {
|
||||
byte b0 = 67;
|
||||
|
||||
if (fontRenderer.getUnicodeFlag()) {
|
||||
drawRect(i1 - 3, b0 - 2, xSize - 25 - 7, b0 + 10, -16777216);
|
||||
drawRect(i1 - 2, b0 - 1, xSize - 25 - 8, b0 + 9, -12895429);
|
||||
drawRect(i1 - 3, b0 - 2, xSize - 25 - 7, b0 + 10, 0xFF000000);
|
||||
drawRect(i1 - 2, b0 - 1, xSize - 25 - 8, b0 + 9, 0xFF3B3B3B);
|
||||
} else {
|
||||
fontRenderer.drawString(s, i1, b0 + 1, l);
|
||||
fontRenderer.drawString(s, i1 + 1, b0, l);
|
||||
|
||||
Reference in new issue
Block a user