imgui-sfml
imgui-sfml copied to clipboard
Dear ImGui backend for use with SFML
As spotted in #110 - the cursor behave as usual when resizing the window, for example. SDL ImGui example somehow manages to do it without explicitly checking for cursor's position...
I have an application which has a toggle for when I'm debugging & when I'm testing and I noticed a problem with the function: ```cpp void updateMouseCursor(sf::Window& window) ``` I...
Need to use `ImDrawCmd::GetTexID()` now.
The mouse isn't moved on startup, the position remains 0, 0. (Has consequences if you have an interactive object on that spot, before the mouse is moved) Can be fixed...
Right now the code is in sync with it, but it would be good to make it work with OpenGL backend directly. This will be a first step to start...
Related: #40 #55 #70 #109 Currently, OpenGL 2 is used for rendering Dear ImGui;s widgets and it's done similarly to [this backend implementation](https://github.com/ocornut/imgui/blob/master/backends/imgui_impl_opengl2.cpp). However, to properly restore state when drawing...
Hello! I found that, when alt-tabbing to another window, the `io.KeysDown[sf::Keyboard::LAlt]` stays `true`. It's because, in `ProcessEvent()`, the events are not processed when the window loses focus. As a consequence,...
ImGui::ImageButton(const sf::Sprite& sprite) takes the texture and position but ignores the rotation of the sprite.
I think it'll be good to pin specific ImGui commit (I'll use release ones in "master" and releases) and allow to not specify IMGUI_DIR, but get ImGui from subrepository and...
Hello, Elias! Thank you for an amazing library! I just updated IMGUI-SFML to the latest version (latest commit, not release), and noticed that the cursor inside the application was "mirrored"....