This commit is contained in:
BIN
app/comic.ttf
Normal file
BIN
app/comic.ttf
Normal file
Binary file not shown.
@@ -9,12 +9,19 @@ public class Main extends Application {
|
||||
protected void configure(Configuration config) {
|
||||
config.setTitle("Let's play sudoku!");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void initImGui(Configuration config) {
|
||||
super.initImGui(config);
|
||||
ImGui.getIO().getFonts().addFontFromFileTTF("comic.ttf", 50.0f);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void process() {
|
||||
ImGui.begin("Window");
|
||||
ImGui.text("Hello, World!");
|
||||
ImGui.end();
|
||||
// ImGui.showDemoWindow();
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Reference in New Issue
Block a user