Comments (1)
After commenting the line βdraw_data->ScaleClipRects(io.DisplayFramebufferScale);β in renderDrawList. It displays normally on Macos.
void ImGuiRenderer::renderDrawList(ImDrawData *draw_data)
{
// Select current context
ImGui::SetCurrentContext(g_ctx);
// Avoid rendering when minimized, scale coordinates for retina displays (screen coordinates != framebuffer coordinates)
const ImGuiIO& io = ImGui::GetIO();
int fb_width = (int)(io.DisplaySize.x * io.DisplayFramebufferScale.x);
int fb_height = (int)(io.DisplaySize.y * io.DisplayFramebufferScale.y);
if (fb_width == 0 || fb_height == 0)
return;
//draw_data->ScaleClipRects(io.DisplayFramebufferScale);
from qtimgui.
Related Issues (20)
- Cannot scroll in Windows HOT 1
- when resizing the window, the windows background will be blinking continuously.
- Support QQuickFramebufferObject
- does this project can create multi window or widgets? HOT 1
- qtimgui does not seem to support multiple OpenGLWidgets HOT 1
- not showing imgui HOT 2
- QT not forwarding "double mouse click" events HOT 1
- it seems not support the latest IMGUI version anymore. HOT 4
- Support Qt6 HOT 1
- Demo crash when using ImGui branch docking HOT 1
- Using QtImGui with multiple QOpenGLWidgets? HOT 1
- IME seems not support in inputtext
- backend using io.KeyMap[], io.KeysDown[] should call io.AddKeyEvent() instaed
- BUG: incorrect background for pop up modals
- Add package to qpm
- BUG: Mouse pos being updated when other widget has focus HOT 1
- Support cmake HOT 1
- No rule to make target HOT 1
- add wasm support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtimgui.