Questions tagged [imgui]
Tag questions about using imgui with this tag. Do not use this tag for questions about generic immediate gui programming, as this stuff is specific to the imgui-library.
15 questions
1 vote
0 answers
61 views
How to get UI Panel color to match GUI Window
Attempting to get a UI Panel to match the color and background of a GUI Window. Currently, using the default style for a GUI Window. Attached is a screenshot of the GUI Window. I've tried access the ...
0 votes
0 answers
271 views
How to not call the same Dear ImGui function several times per frame
I'm using this Dear ImGui code in a function called several times per frame, resulting in duplications of the called UI element. ...
0 votes
1 answer
1k views
How to implement drawing only to the specific area of the window?
I'm trying to implement "canvas" where I will display loaded texture and select specific parts of it so I can put them on tilemap, I'm also trying to add zooming and panning only in "...
2 votes
0 answers
500 views
How to effectively/properly use IntPtr in ImGui.NET
How should I go about using methods that take an IntPtr in the .NET Dear ImGui wrapper, ImGui.NET? For example, ...
1 vote
0 answers
549 views
ImGui, how to get value that the mouse is pointing at in a VSliderFloat widget
I am using ImGui::VSliderFloat to create a vertical slider in the GUI of my application. To do this I just copied the imgui demo code (imgui_demo.cpp), which reads something like ...
0 votes
0 answers
2k views
Why ImGui not rendering image correctly in my game ui
[Scene:] I am working on a game project.In a part of my project,I have to do following things. 1.Read a image 2.Detect face(I am using opencv) 3.view in my imgui window using ImGUi::image() I ...
1 vote
1 answer
1k views
Modifying GLFW callbacks
I'm currently using Imgui for the GUI part of my OpenGL/C++ engine with the GLFW binding. The problem is though that this binding has encapsulated the input callbacks in a global .cpp file which makes ...
9 votes
2 answers
31k views
How can I render an OpenGL scene into an ImGui window?
The picture rapresents what i want to achieve. I read, somewhere on the Internet, that you can render the fbo and pass that fbo as a texture to render into the ImGui window. The problem is that I don'...