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
2
votes
2 answers

Why is my OpenGL texture black (in Dear ImGUI)?

In OpenGL 4.6, I (attempt to) create and initialize a solid color texture as follows: glCreateTextures(GL_TEXTURE_2D, 1, &_textureHandle); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D,…
user4028648
2
votes
0 answers

ImGUI vs RmGUI technical comparison

I am trying to figure out what really Immediate Mode GUI is in opposite to Retained one. As it is described in Dear ImGui docs (https://github.com/ocornut/imgui): "An IMGUI tries to minimize superfluous state duplication, state synchronization and…
2
votes
1 answer

Change ImGui Button name when click it

Is it possible to change the button name when you click it? I'm currently doing a imgui project. I want to change the Global view and the Local view in one button using ImGui::Button. Is that possible in the current ImGui version right now?
2
votes
1 answer

Why do I recieve error 'java.lang.UnsatisfiedLinkError: Can't load library' when the file can be found?

Why am I receiving this error even though the file is clearly there and it could be read? My project is using lwjgl and imgui-java. I have added -Dimgui.library.path="libs" (where the .dylib in question is stored) to my VM options and the…
Spencer Dring
  • 23
  • 1
  • 3
2
votes
3 answers

How do I handle mouse events in general in Imgui with glfw?

I used the glfw callback function to move the camera with the mouse. mouse callback function is: void mouse_callback(GLFWwindow *window, double xposIn, double yposIn) { if (is_pressed) { …
Nor-s
  • 89
  • 1
  • 7
2
votes
2 answers

Is there a way to make the docks in imgui transparent?

When an imgui window is floating, I can make it transparent with ImGuiWindowFlags_NoBackground and render a translucent texture before the interface. However when the window is docked, It shows a dark background which I do not want or need. By…
rxantos
  • 1,724
  • 1
  • 13
  • 14
2
votes
0 answers

Can not build imgui application due to undefined reference to symbol 'dlclose@@GLIBC_2.2.5'

I am trying to build very simple application with Dear ImGui. I copied some Dear ImGui files to my source directory and I compiled with CMake as follows. cmake_minimum_required(VERSION 3.12) project(imgui) find_package(GLEW…
2
votes
2 answers

Display a video using imgui

I'm trying to create an interface that would allow me to drive a remote controlled car. I was wondering if it were possible to display a video using ImGui ? I know I can split my video into several frames and display each frames one after the other…
ririyad
  • 21
  • 1
  • 4
2
votes
1 answer

failure to compile imgui, glfw, opengl on linux with gcc 11.2

I've recently started coding with c++ and the project that im currently on requires imgui. so i set up the .h and .cpp libraries in a folder called "include" in the same folder as the source code. I'm currently trying to run the cpp in…
Theo Dale
  • 23
  • 3
2
votes
1 answer

Dear imgui, How to create buttons with icons and text?

I want to create a button with icons and text in the window of dear imgui, but I did not find the relevant interface.enter image description here
shengchen
  • 21
  • 1
  • 2
2
votes
1 answer

How can I add word wrap to EditorGUILayout.TextArea?

How can I add word wrap to the editor textarea? I'm trying to mimic the [TextArea] attribute (word wrap, automatically increase height when needed) I know that GUILayout.TextArea() works but I was hoping to use EditorGUILayout because according to…
Pop Car
  • 363
  • 5
  • 15
2
votes
1 answer

Is it possible to use a github branch in conan package manager?

I would like to use imguis docking branch. The problem I am trying to figure out is using conan package manager is it possible to ask for a specific branch or would I need to write a custom script to target a specific branch from a package? I am…
matt2405
  • 171
  • 2
  • 13
2
votes
1 answer

PyImgui with Pyglet doubles keyboard input

I'm currently learning to use PyImgui within a Pyglet application. Everything seems to be working so far but I'm stumped at why PyImgui doubles my numeric keyboard inputs. Here's a sample of my code: import pyglet import imgui import imgui.core from…
Naavadi64
  • 23
  • 5
2
votes
1 answer

How to make config.cmake file of Dear ImGui with dependencies glfw, GLEW and GL

Currently I try to make ImGuiConfig.cmake file in order to use Dear ImGui GUI library. I would like to use that library as below from external project. find_package(ImGui REQUIRED) add_executable(hello hello.cpp) target_link_libraries(hello…
2
votes
1 answer

How to use opengl glfw3 render in a imgui window?

I am learning OpenGL by glfw3 lib and I am using imgui to make a interesting application. I want to make a little Engine or CAD tool. Problem is I can not render what I want in a imgui window. I searched google and found below…
syses
  • 31
  • 1
  • 3
1 2
3
17 18