Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
0 votes
1 answer
128 views

Linking Imgui correctly with pure c project using cImgui

I'm trying to use the latest version of cImgui, which supports Imgui 1.92.3 along CMake to link all the libraries required. I got it compiling and now the compiler expects there to be external ...
Z-100's user avatar
  • 695
0 votes
1 answer
134 views

C++ / GLFW / ImGui crash in DLL: Assertion bd->PrevWndProc != nullptr

I’m working on a custom C++ engine using GLFW and GLAD with OpenGL. My engine is compiled as a DLL and used in an editor/game executable. So far, everything works fine: I can create a window and ...
Mathys Hymon's user avatar
2 votes
2 answers
122 views

How to close the app from anywhere in a GLFW + Dear ImGui application (not just window close callback)?

I'm building a C++ application using GLFW and Dear ImGui. Currently, I handle the user clicking the window close button using glfwSetWindowCloseCallback: bool App::Init() { ...
Shaswat's user avatar
  • 21
0 votes
1 answer
214 views

Imgui can not find SDL3/SDL.h file

I am trying to learn imgui by first create a project using its library. But, first I wanted to run one of the examples found in the github repository. I am not using an IDE, only my mac terminal. ...
Charles Florestal's user avatar
0 votes
1 answer
77 views

Window jumps back to original position after drag

I'm creating a C# application using ImGui and Veldrid, where the ImGui window acts as the main application window itself. To do this, I've disabled the window border and implemented a custom drag ...
Blooberz's user avatar
0 votes
1 answer
269 views

How to make config.cmake file of SDL3 and ImGui

Currently I'm trying to add SDL3 and ImGui to my 2D game engine's config.cmake file. I would like to use that library as below from external project. find_package(MyEngine REQUIRED) add_executable(...
kreedxe's user avatar
0 votes
0 answers
82 views

Using Python imgui_bundle test engine to test my app

Python 3.12 imgui_bundle 1.91.7 WIP [UPDATE for more information] - the app I have made is run as: python -m app.gui - app uses hello_imgui if that matters - but to start, I'm just trying to ...
Ingo McLean's user avatar
1 vote
1 answer
115 views

Vulkan complains about invalid VkFramebuffer handle

I'm currently working on my Vulkan renderer and I'm trying to implement ImGUI. I use 2 separate render passes. One for the "main" rendering of my scene and one for DearImGUI. But here comes ...
Flection GD's user avatar
1 vote
0 answers
133 views

issue with including cimgui backends

I'm making a program that uses OpenGL and SDL2 in C and wanted to use Cimgui as my gui library however, when trying to include the correct backends I'm getting these linker errors: main.c:104:5: ...
Jamie Hyland's user avatar
1 vote
0 answers
369 views

How do I properly draw an ImPlots plot into a imgui-node-editor node?

I'm working on a project that uses nodes and plots. I chose to use ImGui alongside ImPlots and imgui-node-editor. https://github.com/ocornut/imgui (Docking branch) https://github.com/epezent/implot ...
Vinny's user avatar
  • 83
3 votes
0 answers
111 views

Including cimgui into C SDL2 OpenGL project

I'm currently working on a 3D renderer in C using SDL2 and OpenGL. I wanted to include a GUI into my project and at first tried to use Nuklear but it didn't suit my use case. The only one I can see ...
Jambo's user avatar
  • 111
0 votes
0 answers
180 views

Menu appears behind window in some cases, not in others

I'm working on a C++ application that uses Dear Imgui for the UI. This app has Multi-Viewports enabled and uses Imgui docking features. The main application window has a menu bar initialized with ...
langri's user avatar
  • 11
0 votes
0 answers
93 views

Why is my image not shown while I'm dragging background window to resize it in imgui?

I'm developing a desktop program based on imgui docking branch on ubuntu 22.04 to add an image into background window and center it always while the window is being resized: (Also note, get arbitrary ...
Mr. Frog's user avatar
1 vote
0 answers
308 views

How to use vulkan with imgui?

I want to ues vulkan with imgui, but encounter some problems. The details are as follows. Use glfw. I create renderpass with two subpass to render 3d object and imGui. The result is that I only get 3d ...
xiegong's user avatar
  • 21
7 votes
1 answer
496 views

Zoom in and out centered about the mouse cursor in 2D using ImGUI

I have a 2D canvas used in a ImGUI context, that requires Zoom and Pan functionality. Currently the Pan functionality works fine. However the zoom functionality does scale but the result is not ...
Penny Dreudter's user avatar
2 votes
0 answers
565 views

How to hide the label on the right side of the ImGui::SliderInt(...)

enum ImGuiSliderFlags_ { ImGuiSliderFlags_None = 0, ImGuiSliderFlags_Logarithmic = 1 << 5, // Make the widget logarithmic (linear otherwise). Consider using ...
kaho J's user avatar
  • 53
1 vote
1 answer
105 views

Java lwjgl with ImGui shows wrong image

I am working on a game and have basic lwgjl setup with ImGui also, Everthing is working but im having issues with Imgui when I try and add a picture to the menu. I have the following code,and when i ...
freethemice's user avatar
1 vote
1 answer
1k views

identifier "ImGui_ImplWin32_WndProcHandler" is undefined and not found

#include <pch.h> #include <dwmapi.h> #include "imgui/imgui.h" #include "imgui/imgui_impl_dx9.h" #include <chrono> #include <thread> #include "settings....
Realoliver123's user avatar
2 votes
0 answers
117 views

win32 SDL2(SDLRenderer2) + Imgui IME text input composition

Im using SDL2 + ImGUI. When using Win32 as platform and Dx11 as renderer, InputText shows current composing charaacter like below image. But when using SDL2 + SDLRenderer2, It doesn't shows korean ...
이재원's user avatar
  • 107
1 vote
2 answers
264 views

ttf font loads, but comes out garbled (somewhat like barcodes)

I originally created my app with ImGuiNET and ClickableTransparentOverlay. However, since I need to send keystrokes to the foreground window I need to port it to plain ImGuiNet. That's because CTO ...
IvanS's user avatar
  • 71
2 votes
0 answers
215 views

vcpkg Cmake Can not find a package configuration for "hello-imgui"

I'm trying to install im-gui package using vcpkg. But I get an cmake error saying cmake can't find the im-gui package. Using these settings from the manuals I have already successfully compiled a code ...
Mahdi Habibi's user avatar
2 votes
0 answers
319 views

Strange rendering issues with manual DrawList modification in ImGUI

I'm attempting to create a simple node canvas system using ImGUI.NET loosely based on https://github.com/thedmd/imgui-node-editor/blob/master/imgui_canvas.cpp. I believe that this question is still ...
Alex Davies's user avatar
3 votes
0 answers
648 views

Change default Dear ImGui widget width

The Dear ImGui default widget width (combo, inputtext, etc.) is too wide for my liking. I'd like to change the default width of these widgets once at application start-up, or maybe every time in the ...
ScratchingTheSurface's user avatar
2 votes
0 answers
180 views

IMGUI program wont appear under another window handle

I am creating a application to make a menu appear for a game (32 bit) and im compiling this piece of code yet whenever i debug it nothing appears over the game or around it at all, wondering if ...
drmarble's user avatar
0 votes
1 answer
261 views

How to set up IMGUI tabs for OpenGL drawing with Python?

import glfw from OpenGL.GL import * import imgui from imgui.integrations.glfw import GlfwRenderer def init_window(width, height, title): if not glfw.init(): raise Exception("GLFW ...
Christoforo Montanari's user avatar
2 votes
0 answers
410 views

ImGui custom shader using vulkan

Im making gui in imgui, using example from official repository(example_glfw_vulkan), and i encountered a problem, that i cant apply shader to my popup`s background. expected result in this image you ...
Seleran's user avatar
  • 21
1 vote
0 answers
132 views

Why does the window get greyed out inside a tab when using this imgui code?

Window on first render or after switching tabs Windows get greyed out after clicking in the background black region of the tab I am new to using imgui. I am trying to display multiple windows in a ...
ogc21's user avatar
  • 11
5 votes
1 answer
376 views

How do I get mouse coordinates relative to my sf::View?

I'm using displaying a sf::RenderTexture in an ImGui::Image and I'm trying to get the mouse coordinates relative to it. Here is my code: if (ImGui::Begin("Viewport", nullptr, GetFlags()))...
Been Moo's user avatar
2 votes
1 answer
596 views

How to Create a Two-Column Button Layout in ImGui Without Overlapping?

I'm trying to create a UI layout using ImGui where buttons are arranged in a two-column format. Each row should contain two buttons, and the third button should start a new row underneath the previous ...
Avi's user avatar
  • 41
1 vote
0 answers
542 views

Why is there a difference of vertical offset between two ImGUI Text components

I am trying to display two slidebar for my X and Y positions in ImGUI. And while the "Y :" label seems to be correctly centered, the "Position" and the "X :" label seems ...
Drake Nawell's user avatar
1 vote
1 answer
263 views

Unknown type name 'ImVec2'

I am trying to build the hello_imgui_template with Cmake, but I am unable to proceed without it giving me hello_imgui/hello_imgui.h file not found. Just to try it out I manually inserted the absolute ...
user22615570's user avatar
1 vote
1 answer
235 views

ImGui + SDL2 - SIGILL error on ImGui initialization

I'm writing a simple emulator for the NES. I'm trying to use SDL2 for the graphics, with ImGui (SDL renderer, not necessarily limited to it). It all worked with the corresponding example on github, ...
leolamarra's user avatar
1 vote
1 answer
200 views

Imgui text box rendered inside QtVulkanWindowRenderer cannot use Windows IME

I made a Qt desktop app that has a QVulkanWindowRenderer and made a text box appear inside the Vulkan renderer window using Imgui. I can type into it as expected in English but when I try to switch ...
TheSlyOne's user avatar
2 votes
1 answer
132 views

DearImGUI's SDLRenderer2 backend draws text as blocks?

This DearImGUI program that uses the SDLRenderer2 backend: #include <SDL_main.h> #include <SDL.h> #include <iostream> #include <imgui.h> #include <imgui_impl_sdl2.h> #...
user179283's user avatar
0 votes
2 answers
254 views

ImGui::Text is not showing the string of my ImVector<Pin>

I'm trying to print in the screen the name of a Pin, but it's showing strange characters: The pin with the strange characters My class is like this: struct Pin { int ID; char Name[32]; ...
Gabriel Sereno's user avatar
1 vote
0 answers
930 views

C++ DearImGUI Drag and Drop with personalized data type

I'm currently struggling with dragging and dropping textures from one ImGui window to another and rendering them there. I'm storing all necessary data to render my texture in a struct called Texture::...
notfynnaf's user avatar
1 vote
1 answer
46 views

Swift Package Manager on Linux: dependency not recognised?

I am trying to use Swift for the 1st time on Linux and intend to create a small executable with SwiftImGui. Here is my Package.swift: // swift-tools-version: 5.10 // The swift-tools-version declares ...
Endre's user avatar
  • 414
1 vote
0 answers
304 views

Font/glyph merging and remapping in Dear ImGui

For my ImGui application I want to do the following: Load a primary font Load a secondary font Add a list of selected glyphs from the secondary font to the primary font: For each glyph I want to ...
ScratchingTheSurface's user avatar
1 vote
0 answers
76 views

Cannot find SFML/Graphics.hpp despite modifying tasks.json and c_cpp_properties.json [duplicate]

I am getting this error when running my code: fatal error: 'SFML/Graphics.hpp' file not found #include \<SFML/Graphics.hpp\> I am using a Mac along with VS Code (would like to use VS but none ...
truongmleon's user avatar
1 vote
0 answers
724 views

How can I disable keyboard/mouse input?

I'm using ImGui v1.84, I wanted to disable any sort of keyboard or mouse input while my ImGui window is open. How can I do this? (I'm fairly new to ImGui, & using Kiero Hook Dx11) I modified the ...
Jake's user avatar
  • 11
2 votes
1 answer
3k views

How to Display Special Characters (₹,₤,₿..) in ImGui Window?

I'm working on an application using ImGui for the UI, and I'm having trouble displaying special characters like the Indian Rupee symbol (₹) in my ImGui windows. Currently, these characters are showing ...
vinith's user avatar
  • 25
1 vote
2 answers
622 views

Why does Dear ImGui Tables inserts extra ID into the id path of child widgets?

// ID conflict. Expected behaviour. static float value1; static float value2; ImGui::DragFloat("##drag-float", &value1); // .../##drag-float ImGui::DragFloat("##drag-float", &...
roniabusayeed's user avatar
2 votes
1 answer
249 views

Trouble integrating Dear ImGui as Separeted project; using Premake - "imgui.h" file cannot be found

Edit: I change the main topic to "integrating imgui as StaticLib|SharedLib" Currently, I'm encountering difficulties integrating Dear ImGui as StaticLib into my C++ project using Premake as ...
Francisco Ossian's user avatar
1 vote
0 answers
801 views

ImGui Image Fill / Imgui::Image() vs ImGui::GetWindowDrawList()->AddImage

Why can't the ImGui::Image() function fill the entire screen when it displays an image in the viewport, can the ImGui::GetWindowDrawList()->AddImage() function fill the entire screen?? using ImGui:...
서동윤's user avatar
0 votes
1 answer
195 views

How to combine rendering a vertex array object with ImGUI?

Using PyOpenGL with GLU and PyGame. I have a VAO with a VBO and IBO behind it that provide the vertex and index data for the faces. In addition I have a simple vertex and fragment shader. Things ...
rbaleksandar's user avatar
  • 9,862
0 votes
0 answers
681 views

CMakeLists Causing "The code execution cannot proceed because SDL3.dll was not found" Linking Error

I would like to include Dear Imgui in my CMake project with an SDL3 backend. I would like to build a static library of SDL3 that gets linked to my application. Here is the current directory structure ...
MattyK's user avatar
  • 31
0 votes
0 answers
112 views

OpenGL Error: Pixel Format is Invalid with ImGui-SFML in VS Code

So, I'm trying to get better at manually compiling and building a program in VS Code. Also I'm running Windows 11 22H2 if that helps. I'm using SFML and ImGui with the ImGui-SFML backend. After days ...
Irish_Dev's user avatar
-1 votes
1 answer
117 views

ImGui rendering wrong characters (characters received from tcp sockets) [closed]

hope everyone is good. I have an imgui frame connected as a client with a tcp socket; The server is done in golang, I use this communication to perform login and everything works successfully. But I ...
OpperDev's user avatar
0 votes
1 answer
570 views

Basic ImGui program doesn't render, leaks memory and crashes

I'm trying to create the most basic example program using ImGui, GLFW and the Metal API. This is my code: // main.mm #include <iostream> #include <GLFW/glfw3.h> #define ...
chrysante's user avatar
  • 2,846
0 votes
0 answers
1k views

Can Dear ImGui tables be sorted from somewhere else?

By default ImGui tables can be sorted by clicking on the column header. This sets internal table sorting state. Then, when supplying the contents of the table, user calls ImGui::TableGetSortSpecs() ...
CygnusX1's user avatar
  • 22.1k

1
2 3 4 5
7