File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
src/main/kotlin/com/lambda/gui Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import imgui.ImFontConfig
3030import imgui.ImFontGlyphRangesBuilder
3131import imgui.ImGui
3232import imgui.ImGuiIO
33+ import imgui.extension.implot.ImPlot
3334import imgui.flag.ImGuiConfigFlags
3435import imgui.gl3.ImGuiImplGl3
3536import imgui.glfw.ImGuiImplGlfw
@@ -122,10 +123,12 @@ object DearImGui : Loadable {
122123 implGlfw.shutdown()
123124 implGl3.shutdown()
124125 ImGui .destroyContext()
126+ ImPlot .destroyContext()
125127 }
126128
127129 init {
128130 ImGui .createContext()
131+ ImPlot .createContext()
129132
130133 io.configFlags = DEFAULT_FLAGS
131134 io.iniFilename = " lambda.ini"
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import com.lambda.module.ModuleRegistry
2727import com.lambda.module.modules.client.ClickGui
2828import com.lambda.module.tag.ModuleTag.Companion.shownTags
2929import imgui.ImGui
30+ import imgui.extension.implot.ImPlot
3031import imgui.flag.ImGuiWindowFlags.AlwaysAutoResize
3132
3233object ClickGuiLayout : Loadable {
@@ -47,6 +48,7 @@ object ClickGuiLayout : Loadable {
4748 renderQuickSearch()
4849
4950 ImGui .showDemoWindow()
51+ ImPlot .showDemoWindow()
5052 }
5153 }
5254 }
You can’t perform that action at this time.
0 commit comments