Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
1 replies
32 views

How do I add: menuSound.loadSound("hover_sound", "Audio/Sound/button_hover_sound1.wav", 0.5f); sound effect to all button in ImGui, so that when the mouse hover over them it will ...
2 votes
1 answer
133 views

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> #...
0 votes
1 answer
136 views

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 ...
0 votes
1 answer
218 views

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. ...
7 votes
2 answers
36k views

The call to ImGui::InputText() takes a char array which I need to initialise from a std::string and then transfer the contents back to the std::string. In it's simplest form: char buf[255]{}; std::...
0 votes
0 answers
89 views

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 ...
10 votes
1 answer
39k views

I am looking to figure out how I can change the color of the text displayed on the "Name" print, but I am pretty much clueless on how to do so. I would like to make it green, help or tips are ...
1 vote
0 answers
375 views

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 ...
0 votes
0 answers
184 views

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 ...
0 votes
0 answers
93 views

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 ...
1 vote
0 answers
309 views

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 ...
2 votes
0 answers
574 views

enum ImGuiSliderFlags_ { ImGuiSliderFlags_None = 0, ImGuiSliderFlags_Logarithmic = 1 << 5, // Make the widget logarithmic (linear otherwise). Consider using ...
1 vote
2 answers
625 views

// ID conflict. Expected behaviour. static float value1; static float value2; ImGui::DragFloat("##drag-float", &value1); // .../##drag-float ImGui::DragFloat("##drag-float", &...
1 vote
3 answers
29k views

I am very new to c++ but i know a couple other languages (ie. python, java, a little C). The problem is when i compile my code and try to open a new ImGui window it gives a "undefined reference&...
2 votes
0 answers
319 views

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 ...
3 votes
0 answers
655 views

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 ...
2 votes
0 answers
413 views

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 ...
5 votes
1 answer
377 views

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()))...
1 vote
1 answer
2k views

How I can destroy imgui window by clicking X void test::OnUIRender() { bool state; ImGui::Begin("test_test", &state); if (ImGui::Button("test")) { ...
1 vote
1 answer
235 views

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, ...
5 votes
2 answers
2k views

I'm struggling to understand how the colors work in ImPlot. Here, I'm plotting bars in groups of 3. static const char* labels[] = {"X", "Y", "Z"}; if (ImPlot::BeginPlot(&...
3 votes
1 answer
1k views

I'm trying to use GLFW with Vulkan and cimgui. GLFW and Vulkan and being included and linked fine (there were no issues before I included cimgui). I include all of the C into my project like so: const ...
0 votes
2 answers
254 views

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]; ...
1 vote
1 answer
46 views

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 ...
-1 votes
2 answers
7k views

On https://github.com/ocornut/imgui it says: No specific build process is required. You can add the .cpp files to your existing project. I tried this using Code Blocks with the relevant .cpp files, ...

1
2 3 4 5
7