Skip to content

Commit 65d6bc0

Browse files
committed
add font sizes
1 parent d3cb740 commit 65d6bc0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: examples/java/DonutIO/Game.java

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package DonutIO;
22

33
import org.openpatch.scratch.Window;
4+
import org.openpatch.scratch.extensions.text.Text;
45

56
public class Game extends Window {
67

@@ -13,6 +14,7 @@ public Game() {
1314
}
1415

1516
public static void main(String[] args) {
17+
Text.FONT_SIZES = new int[] { 32, 48 };
1618
new Game();
1719
}
1820
}

Diff for: examples/java/Shakespeare/Shakespeare.java

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public void run() {
6767
}
6868

6969
public static void main(String[] args) {
70+
Text.FONT_SIZES = new int[] { 14, 20 };
7071
new Shakespeare();
7172
}
7273
}

0 commit comments

Comments
 (0)