Feature: in text UI, show downloads in a single-line (#250)

* Feature: show downloads in a single-line in text UIs
This commit is contained in:
Luis Uguina
2020-06-14 20:01:32 +10:00
committed by GitHub
parent 8736892565
commit fe69d6faa2
6 changed files with 82 additions and 10 deletions

View File

@@ -191,6 +191,12 @@ public class GuiSwing extends JFrame implements Gui {
}
}
@Override public void status(String msg, int progress, long size) {
if (activityWorking != null) {
this.activityWorking.setStatus(String.format("%s %d%%", msg, progress));
}
}
@Override public void setRenderingProjectName(String name_) {
if (activityWorking != null) {
this.activityWorking.setRenderingProjectName(name_);