Skip to content

Commit 4e3e0a3

Browse files
committed
implemented javaFX presentation of render statistics.
1 parent 1998e28 commit 4e3e0a3

File tree

10 files changed

+541
-2
lines changed

10 files changed

+541
-2
lines changed

libs/extensions/rlib-5.2.0.jar

-12 KB
Binary file not shown.
51 Bytes
Binary file not shown.

libs/rlibFX-3.0.jar

699 Bytes
Binary file not shown.

libs/rlibFX-sources-3.0.jar

101 Bytes
Binary file not shown.

resources/ui/css/custom_ids.bss

222 Bytes
Binary file not shown.

resources/ui/css/custom_ids.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,4 +794,14 @@
794794
-fx-alignment: top-left;
795795
-fx-vgap: 2;
796796
-fx-hgap: 2;
797+
}
798+
799+
#StatsAppStateStatsContainer {
800+
-fx-padding: 5px;
801+
-fx-vgap: 3px;
802+
-fx-hgap: 3px;
803+
}
804+
805+
#SceneEditorStatsContainer {
806+
-fx-alignment: bottom-left;
797807
}

src/com/ss/editor/Editor.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import com.jme3.environment.EnvironmentCamera;
1313
import com.jme3.environment.LightProbeFactory;
1414
import com.jme3.environment.generation.JobProgressAdapter;
15+
import com.jme3.font.BitmapFont;
1516
import com.jme3.light.LightProbe;
1617
import com.jme3.material.TechniqueDef;
1718
import com.jme3.math.ColorRGBA;
@@ -568,4 +569,12 @@ public TonegodTranslucentBucketFilter getTranslucentBucketFilter() {
568569
void setPaused(final boolean paused) {
569570
this.paused = paused;
570571
}
572+
573+
/**
574+
* @return the gui font.
575+
*/
576+
@Nullable
577+
public BitmapFont getGuiFont() {
578+
return requireNonNull(guiFont);
579+
}
571580
}

0 commit comments

Comments
 (0)