Closed grantcarthew closed 1 year ago
Hello, I am afraid none of your questions are technically related to Dear ImGui. They are questions about your operating system and windowing library (eg GLFW).
Oh, ok. I did search for solutions using GLFW. I thought there might be something in Dear ImGui that would help. Thanks and sorry to waste your time.
Version/Branch of Dear ImGui:
Version: 1.90 Branch: master
Back-end/Renderer/Compiler/OS
My Issue/Question:
Hi and thanks for this project Omar, it looks great.
I'm evaluating Dear ImGui to see if it can replace a project I have written in Qt. Qt is too big and I don't need most of it. Dear ImGui looks right but I have a couple of issues I don't really know how to fix. Qt can do it so I would say there is a way of doing it in Dear ImGui.
My Desktop:
My Issues:
I'm trying to launch the Dear ImGui application on the same monitor that the mouse is on, and full screen without any Gnome window effects.
There are two issues right now:
The idea behind the app is to enable drawing on the screenshot.
I haven't looked at taking the desktop screenshot yet, any comments here are welcome.
What I've got so far is the Dear ImGui frame launching full screen although only on the primary monitor, and it shows effects or animations as it moves to the primary monitor.
Screenshots/Video
I tried to capture the Gnome effect from the left monitor, but it didn't work. You can still see the "expanding" effect on the right monitor. Screencast from 2023-10-13 12-51-59.webm
Standalone, minimal, complete and verifiable example:
I have copied the the glfw vulkan example file and hacked it at this point. Here is the complete code:
Click to expand
```cpp // Dear ImGui: standalone example application for Glfw + Vulkan // Learn about Dear ImGui: // - FAQ https://dearimgui.com/faq // - Getting Started https://dearimgui.com/getting-started // - Documentation https://dearimgui.com/docs (same as your local docs/ folder). // - Introduction, links and more at the top of imgui.cpp // Important note to the reader who wish to integrate imgui_impl_vulkan.cpp/.h in their own engine/app. // - Common ImGui_ImplVulkan_XXX functions and structures are used to interface with imgui_impl_vulkan.cpp/.h. // You will use those if you want to use this rendering backend in your engine/app. // - Helper ImGui_ImplVulkanH_XXX functions and structures are only used by this example (main.cpp) and by // the backend itself (imgui_impl_vulkan.cpp), but should PROBABLY NOT be used by your own engine/app code. // Read comments in imgui_impl_vulkan.h. #include "imgui.h" #include "imgui_impl_glfw.h" #include "imgui_impl_vulkan.h" #include "src/window.hpp" #include