2021-10-27 22:00:08 +02:00
|
|
|
package io.gitlab.jfronny.glaunch.windows;
|
|
|
|
|
|
|
|
import imgui.ImGui;
|
|
|
|
import io.gitlab.jfronny.glaunch.GLaunch;
|
|
|
|
|
|
|
|
public class MainWindow extends Window {
|
|
|
|
public MainWindow() {
|
|
|
|
super("GLaunch");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void draw() {
|
2021-10-28 20:19:09 +02:00
|
|
|
if (ImGui.button("Close")) close();
|
|
|
|
ImGui.sameLine();
|
|
|
|
if (ImGui.button("New")) GLaunch.open(new NewInstanceWindow());
|
|
|
|
ImGui.sameLine();
|
|
|
|
if (ImGui.button("Style")) GLaunch.open(new StyleWindow());
|
|
|
|
if (ImGui.button("Log")) GLaunch.open(new LogWindow()); //TODO remember windows
|
|
|
|
//ImGui.showAboutWindow();
|
|
|
|
//ImGui.showUserGuide();
|
|
|
|
//ImGui.showMetricsWindow();
|
|
|
|
//ImGui.showStyleEditor();
|
2021-10-27 22:00:08 +02:00
|
|
|
}
|
|
|
|
}
|