Added new Gui with Progress Bar when editing a Replay using the ReplayEditor | https://trello.com/c/uGFDgv6E/

Added ProgressUpdateListener interface for the use with ProgressBars
This commit is contained in:
CrushedPixel
2015-07-02 23:08:09 +02:00
parent 088bb00ab3
commit 8c81dd414e
9 changed files with 237 additions and 23 deletions

View File

@@ -17,6 +17,10 @@ public class GuiProgressBar extends Gui {
private String progressString = null;
public GuiProgressBar() {
this(0, 0, 0, 0);
}
public GuiProgressBar(int xPosition, int yPosition, int width, int height) {
this(xPosition, yPosition, width, height, 0);
}

View File

@@ -0,0 +1,9 @@
package eu.crushedpixel.replaymod.gui.elements.listeners;
public interface ProgressUpdateListener {
void onProgressChanged(float progress);
void onProgressChanged(float progress, String progressString);
}