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
1 answer

Draw in c++ using dear imgui a simple countdown

How can i draw a simple countdown from 80 to 0 in dear imgui? i tried like this but for some reason its lag a lot like 3 fps AddText(ImVec2(1700, 400), ImColor(255, 255, 255), "80"); Sleep(1000); AddText(ImVec2(1700, 400), ImColor(255, 255, 255),…
0
votes
0 answers

imgui-sfml on cmake clion projest

I linked SFML and imgui, and I get no errors, but when I run I get errors like undefined reference to `__imp__ZN2sf6StringC1EPKcRKSt6locale' This is my cmake: cmake_minimum_required(VERSION 3.22) project(ImGuiT) set(CMAKE_CXX_STANDARD…
O F A L
  • 1
  • 1
0
votes
1 answer

Binding imgui library in conan package manager

Hey i follow tutorial about imGUI but i have a problem with libraries binding. Here`s a reference to tutorial: https://youtu.be/U1BnzWX194Q?t=1419 . This is how my premake5.lua file looks like -- Include conan gennerate…
IvonaK
  • 119
  • 10
0
votes
1 answer

Why is there a blank white screen rendering?

I am trying implement GLAD-GLFW-IMGUI version of renderer. I am just trying to display two Imgui windows with docking system. I am using docking branch of Imgui, GLAD(core) and glfw. Below is my code for it. I am getting a blank white…
Avi Garg
  • 11
  • 3
0
votes
0 answers

Proper way to set up an ImGui project with Eclipse CDT

The problem with Visual Studio Community is that it supports the MSVC compiler and that compiler has no support for variable length arrays (VLA). CLang and GCC have support for VLA. But the problem is that I'm using vcpkg with Visual Studio…
euraad
  • 2,467
  • 5
  • 30
  • 51
0
votes
0 answers

Using imgui from a python plugin

We have a C++ application that uses imgui extensively with very good results. We want to offer our users the possibility to write plugins in python, and to provide own controls for the plugins we would prefer that rendering of the plugin controls is…
Heiner
  • 165
  • 1
  • 11
0
votes
1 answer

How can I render a webpage with dear ImGui c++?

I'm currently trying to render a couple of webpages with dear ImGui I looked everywhere but couldn't find it so here I am. And I would like to be able to load https://google.com in Window1 per example. Thank you for your time :) #include…
0
votes
0 answers

ImGui not linking with glfw3.lib

I had trouble trying to get ImGui working with glfw, I tried everything of what's going on with the linker to get ImGui working, is there any problems? I did however tried to look up any related problems with this error, but doesn't seem to help.
0
votes
1 answer

Using ImGui.NET to draw a slider at a specified position and size

How do I use ImGui.NET to make a slider with a specified position and size? Everything seems to be rendered in the order they are called going down the window or to the right of the last component with the same line method. I tried making a window…
Jacbo
  • 13
  • 6
0
votes
0 answers

how to fix potentially uninitialized glfw window memory in dll

I have a dll that injects into a process but when i try to create a window using glfw and imgui my window pointer is apparently uninitialised the errors showing up are C6001 and C4703 the create window void is called a function in dllmain my gui…
0
votes
1 answer

How to get mouse events to work properly with multiple ImGui frames?

I have an ImGui widget with code similar to this: ImGui_ImplOpenGL3_NewFrame(); ImGui_ImplGlfw_NewFrame(); ImGui::NewFrame(); ImGui::Begin("Window 1"); ImGui::Button("Hello…
traveh
  • 2,700
  • 3
  • 27
  • 44
0
votes
1 answer

How to configure a Cmake file with Dear ImGUI + SDL + SDLRenderer + OpenCv?

I'm trying to create a CmakeLists.txt that uses ImGUI + SDL + SDLRenderer + OpenCv for my current class. . ├── CMakeLists.txt ├── imgui │   ├── imconfig.h │   ├── imgui.cpp │   ├── imgui_demo.cpp │   ├── imgui_draw.cpp │   ├── imgui.h │   ├──…
0
votes
0 answers

ImGui::BeginPopupContextItem() opens up popup and runs the code for each previous item

I'm trying to make something like the hierarchy in Unity where I see all of the Objects, can click on them, right click and delete them or do stuff like this. I'm using ImGui as UI Library and my code looks like this: for (Object obj :…
JacobDev
  • 65
  • 6
0
votes
1 answer

How to remove button in IMGui and prevent settings window from closing?

I was using docking tree code of IMGui and I created a Application.cpp and Application.h in example_win32_directx9. I am using release and x64 to compile. I have set subsystem in system in Linker to Windows. Code of Application.cpp is: #include…
Himanshu
  • 21
  • 6
0
votes
0 answers

SDL_UpdateWindowSurface cover the result of SDL_GL_SwapWindow

I'm trying to combine my cpu soft renderer with imgui. Before that I manage to render using SDL_UpdateWindowSurface by updating the pixels of the windowSurface. The code goes lie this: void WindowApp::updateCanvas(uint8_t* pixels, int width, int…
assskiller
  • 21
  • 4