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

ImGuiNET - Show OpenCV Video Stream

I want to display a series of processed OpenCV/EmguCV UMat in an ImGui Window. I'm re-using most of this Code as "Backend" for my Application: https://github.com/ImGuiNET/ImGui.NET/tree/master/src/ImGui.NET.SampleProgram I already found out that I…
Oliver Karger
  • 105
  • 1
  • 11
0
votes
0 answers

IMGUI drag and drop API not swapping values when using a non static reference

I'm working with IMGUI's drag and drop functionality, using its demo as a baseline. I've initialized my own set of names as a vector, then iterate over it to generate selectable objects which can be dragged and dropped to swap their order using…
Z41N
  • 97
  • 10
0
votes
0 answers

Creating a directory in a dockerfile

I would like to use ImGui within a toy app that I have created (a raytracer). Since ImGui does not provide a simple library that can be easily consumed I have to jump through hoops to get it to work. To avoid polluting my own CMakeFile.txt I…
graham.reeds
  • 16,230
  • 17
  • 74
  • 137
0
votes
1 answer

Can't render a triangle using GLFW, GLAD and ImGui

I am trying to write a program with a graphical user interface using ImGui and draw 3-D figures with modern OpenGL methods in this program. I want to use GLFW and openGL3 to make this interface so I use the backends: imgui_impl_opengl3_loader.h,…
Christ Liu
  • 17
  • 6
0
votes
0 answers

How to fix things getting clicked through the imgui menu (D3DX9)

So I am injecting a dll (imgui menu with a hook for d3dx9 apps) into a game and I was wondering how I could prevent the different objects inside the app being clicked through the imgui menu. Eg stop mouse input from being delivered to the underlying…
aberst
  • 47
  • 5
0
votes
0 answers

ImageButton() is not responding to clicks like Button() in the imgui project

Edit:- I was able to partially solve this, if I load the texture before the function is called in which it resides, like in a header or in program before the function, I can get clickable images but they are just black squares instead of actual…
0
votes
0 answers

I Need Help Figuring out how to color text without a border in ImGui Code

I need help with text color. I have this currently: ImGui::SetCursorPos(ImVec2(10, 45)); ImGui::Text("Cheat Status"); ImGui::SetCursorPos(ImVec2(10, 65)); char txt_green [] = "Undetected"; When I build it, it comes out with this…
0
votes
2 answers

C++ Imgui win32_directx9 background color

Its just dont changing background (still black) Aslo i cant find a good documentation about imgui, is it exist? I am using example dx9 from official imgui github My code = https://i.stack.imgur.com/bS1MB.jpg (also i tried put PushStyleColor inside…
0
votes
0 answers

Linker issues when installing Dear ImGui using vcpkg

I have installed Dear ImGui using vcpkg by running the below command: vcpkg install imgui[core,dx12-binding,win32-binding]:x64-windows However I am getting the below many link errors that I don’t understand when building this: #include int…
Vero
  • 313
  • 2
  • 9
0
votes
1 answer

Dearpygui Select File

i'm wondering if it's possible to use the operating system's default file explorer to browse for files in dearpygui instead of that ugly one` I couldn't find any solutions online, most of them say to just use dearpygui's file selector
0
votes
0 answers

Text not being drawn to screen due to Imgui-sfml

#include #include #include #define SCREEN_WIDTH 1000 int main(int argc, char *argv[]) { sf::RenderWindow window(sf::VideoMode(1000, 550), "Trajectory Simulator"); ImGui::SFML::Init(window); …
0
votes
0 answers

How to draw jet type colorbar with Dear imgui library and libigl library?

class ColorbarPlugin { public: void draw_colorbar(igl::ColorMapType cm, float xmin, float xmax) const; }; // Draws the actual colorbar with min/max values void ColorbarPlugin::draw_colorbar(igl::ColorMapType cm, float xmin, float xmax) const { …
silong
  • 1
0
votes
1 answer

How do I replace imports when migrating from a Conan 1.x conanfile.txt to a Conan 2.0 conanfile.py?

I'm trying to get imgui working with OpenGL, using Conan to manage my dependencies. Imgui has backends which are used to hook into whatever rendering solution you're using. The link below describes how to make those available to your project using…
Chris
  • 76
  • 6
0
votes
0 answers

Unicode glyphs are not combining for indian languages in ImGui

In the ImGui project, words in indian languages are read from a json file where they are displayed properly. And when they are displayed in the window the glyphs are not combining. Even when checked through UTF-8 encoding viewer of imgui metrics,…
0
votes
1 answer

Invalid ImGuiContext when it should be valid

I have 2 layers with the same base type. These two layers override a virtual void on_imgui_render() {}. Both layers are added to the same vector, and are iterated on one after the other. In imgui_layer, the following code returns a valid context,…