Questions tagged [imgui]

imgui stands for "Immediate mode GUI", which is a GUI where the event processing is directly controlled by the user.

Related links:

Implementations:

264 questions
0
votes
0 answers

How does ImGui know what the current level of indentation is?

It just dawned on me that with ImGui if(CollapsingHeader("MyHeader")) { if(Button("B")) { // Do stuff } } Results in a different rendering than: if(CollapsingHeader("MyHeader")) { } if(Button("B")) { // Do stuff } With the…
Makogan
  • 8,208
  • 7
  • 44
  • 112
0
votes
1 answer

opengl with glfw not linking with imgui c++

I am learning opengl and decided to use imgui to an working existing opengl cmake project by adding following files in the project: target_sources(Application…
ankit
  • 171
  • 1
  • 1
  • 11
0
votes
1 answer

How to make a button in OpenGL c++ with imgui

I want to know how to make buttons in OpenGL c++ with glfw. I know how to make a button and text box in OpenGL but I have one problem. When I make a button on the top of the imgui, there is a window like rectangle that has a name(imgui demo, or any…
user14138665
0
votes
1 answer

How to use conan to handle ImGui-SFML dependency in a cmake gcc project in Linux?

I want to handle the dependencies of a C++/cmake/gcc project in Linux using conan, and build an ImGui C++ demo as shown here: using imgui by Elias Daler I have used conan to handle Boost dependencies successfully, but with ImGui-SFML I am having a…
Lejuanjowski
  • 139
  • 1
  • 2
  • 6
0
votes
1 answer

How does texture display to color not grey scale in OpenGL3?

I am developing a GUI Program using Golang. And I am using imgui-go framework for my GUI. Now, I encountered color texture display issue. I have loaded a image from file and I made image as a texture and then attached on GUI. Image is definitely…
0
votes
1 answer

unable to add imgui to existing scene OpenGL

I am trying to add imgui for debugging the scene but imgui always render at back irrespective of order in which i call render. scene and imgui render fine if done individually(commenting other one). i tried disabling depth testing, using stencil…
ringmaker
  • 3
  • 2
0
votes
1 answer

Drag move flickers position of window

I'm implementing a Rust alternative to .NET's DragMove method however the result causes the application to flicker between two relative positions. See screencast and sample project. Code I'm using to perform the drag move: let mut mouse_down =…
Paul
  • 42
  • 5
  • 19
0
votes
0 answers

LNK2001 in my Imgui menu code, but I have all the correct includes

I am having a problem with getting my Imgui menu that I am creating to work, I have no errors but one, this unresolved external LNK2001. I have everything properly included for this line, and the definition is in d3d9.h which is in my includes. Any…
0
votes
2 answers

ImGui freezes after button was clicked

I am using ImGui in my application for UI. My question is when I press the button the code inside 'if condition' will execute. But once I pressed the button, I can't press the other button including the pressed button. Could any one let me know…
chethana
  • 19
  • 5
0
votes
0 answers

ordering of imgui and sdl draws

some time ago I followed some SDL tutorial to blit some images and have a test function that loops through a vector of SDL textures and destination reacts and then call the following function to copy the image into the window. void…
BlueLightning42
  • 344
  • 4
  • 15
0
votes
1 answer

Having a problem getting ImGui to work with Vulkan

I've been trying to get this work for a few days, and I'm not figuring out what I'm doing wrong. I'm getting these error messages: validation layer: Submitted command buffer expects VkImage 0x3ba5830000000006[] (subresource: aspectMask 0x1 array…
klj
  • 101
  • 5
0
votes
0 answers

How to Render and get input in multiple windows SFML and GLFW?

I want to create two or more windows with a mix of SFML and GLFW since that GLFW supports multi-monitors. I achieved rendering in two windows but the input is locked until I close one of both. I'm using ImGui to show buttons and options, and SFML to…
0
votes
1 answer

Arc fuction c++

Hi i am trying to make a quarter circle in dear imgui for this i need a arc fuction void ImDrawList::PathArcTo(const ImVec2& centre, float radius, float a_min, float a_max, int num_segments) { if (radius == 0.0f) { …
raketmus
  • 48
  • 6
0
votes
1 answer

How to "blend" ImGui frame with scene rendering in Vulkan

I'm not an expert in Vulkan. I want to know how do I present the Vulkan Frame (Submit an especif commandBuffer that is being recorded every frame to draw UI changes) at the top of my regular scene rendering. So in this case I have two renderPasses…
Icaro Amorim
  • 385
  • 1
  • 3
  • 13
0
votes
1 answer

DirectX 11 D3D11_BLEND_DESC

I got some strange results while rendering text in directX11 over other objects. Each character becomes a black background (my clearing color). If the text gets rendered directly to the background everything is fine. Im using the imgui lib to…
slize
  • 21
  • 6