-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Closed
Description
Hi. How can I keep the my window title green when docking others windows?
Using docking branch (#a4af3cc)
I'm just pushing text style to begin method but it does not work when the docking api dock another window.
What I want is to have a green "Hello World" text and a white "ImGui Demo" text when its docked. Is this possible ?
Code:
ImGui.PushStyleColor(ImGuiCol.Text, Color.GREEN.toIntBits());
ImGui.Begin("Hello World");
ImGui.PopStyleColor();
//... Other codes
ImGui.End();
- Please provide the platform/renderer back-ends (imgui_impl_XXX files) you are using along with your operating system and its version.
https://github.com/xpenatan/jDear-imgui/blob/master/extensions/gdx-imgui/src/main/java/com/github/xpenatan/imgui/gdx/ImGuiGdxImpl.java
windows 10
- If you are not calling dear imgui directly from C++, please provide information about your Language and the wrapper/binding you are using.
Made my own lib which calls C++ directly from Java. the rendering is using libgdx opengl classes.
https://github.com/xpenatan/jDear-imgui
Thanks.