310 questions
Advice
0
votes
1
replies
29
views
How to have a hover Sound in Dear ImGui
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 ...
0
votes
1
answer
136
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 ...
0
votes
1
answer
218
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. ...
0
votes
1
answer
279
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(...
1
vote
1
answer
117
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 ...
1
vote
0
answers
375
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
...
0
votes
0
answers
184
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 ...
1
vote
0
answers
309
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 ...
2
votes
0
answers
574
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 ...
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....
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 ...
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 ...
2
votes
0
answers
181
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 ...
2
votes
0
answers
413
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 ...
5
votes
1
answer
377
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()))...
1
vote
0
answers
545
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 ...
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, ...
2
votes
1
answer
133
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>
#...
1
vote
0
answers
936
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::...
1
vote
0
answers
307
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 ...
1
vote
0
answers
727
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 ...
1
vote
2
answers
625
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", &...
1
vote
0
answers
804
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:...
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 ...
-1
votes
1
answer
119
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 ...