Add method to TooltipRenderer which accepts Color instead of ARGB int

This commit is contained in:
johni0702
2015-06-10 18:48:48 +02:00
parent 05cc37adcc
commit f1327dbdc1
9 changed files with 19 additions and 11 deletions

View File

@@ -170,7 +170,7 @@ public class GuiReplayViewer extends GuiScreen implements GuiYesNoCallback {
if(uploadButton.isMouseOver() && !uploadButton.enabled && loadButton.enabled) {
if(currentFileUploaded) {
ReplayMod.tooltipRenderer.drawTooltip(mouseX, mouseY, I18n.format("replaymod.gui.viewer.alreadyuploaded"), this, Color.RED.getRGB());
ReplayMod.tooltipRenderer.drawTooltip(mouseX, mouseY, I18n.format("replaymod.gui.viewer.alreadyuploaded"), this, Color.RED);
}
}
}