rotating entire ImGui window
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 76.3k
- Forks
- 12k
- Avg merge
- 40m
- Merged PRs (30d)
- 1
Description
Version/Branch of Dear ImGui:
Version 1.92
Back-ends:
imgui_impl_opengl3.cpp + imgui_impl_sdl3.cpp
Compiler, OS:
Clang
Full config/build information:
No response
Details:
I am developing an Android app using ImGui with SDL and OpenGL.
I have everything working together nicely so far.
The app is started in "portrait" mode, and the issue is that sometimes I need to fake being in "landscape" mode.
This is all fine for SDL and OpenGL because I can change the view transform matrix and projection transform matrix as needed.
How would I be able to rotate the ImGui window so that is faked being run in "landscape"?
I'm not asking about widget layout or anything like that.
I assume there is a low-level way to achieve this, but I could not find anything.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
// Here's some code anyone can copy and paste to reproduce your issue
ImGui::Begin("Example Bug");
MoreCodeToExplainMyIssue();
ImGui::End();
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review imgui_impl_opengl3.cpp and imgui_impl_sdl3.cpp, then inspect the ImGui::Begin example in the issue. The report asks for a low-level way to rotate an entire ImGui window but does not identify an implementation location, test, or agreed API; first establish the supported scope and a concrete completion criterion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cpp
- Domain
- computer-graphics, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100