Closed
Description
Version/Branch of Dear ImGui:
Version: DX9
Branch: It's just the latest version with all the essential files.
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_dx9.cpp + imgui_impl_win32.cpp
Compiler: Visual Studio 2022 Community
Operating System: Revision OS Windows 11 Pro
My Issue/Question:
So I am adding a custom checkbox and here is the line of code causing me all the trouble:
const ImRect bb(pos, pos + pos);
The error is:
No operator "+" matches these operands: operand types are: ImVec2 + ImVec2
Screenshots/Video
Standalone, minimal, complete and verifiable example: (see #2261)
// Here's some code anyone can copy and paste to reproduce your issue
const ImRect bb(pos, pos + pos);
Metadata
Metadata
Assignees
Labels
No labels