Replies: 1 comment
-
|
As far as I know, there is no method to prevent users from calling It would be something like // Backup your axis settings (if you don't already have it)
ImPlotPlot* plot = ImPlot::GetCurrentPlot();
ImAxis CurrentX = plot->CurrentX;
ImAxis CurrentY = plot->CurrentY;
// User can make some ImPlot calls here...
// Then you could restore the axes
ImPlot::SetAxes(CurrentX, CurrentY);I don't understand what you mean by "if one of these axes is not setup". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm writinga imgui-based framework. I'd like to prevent users from calling SetAxes if one of these axes is not setup. How can I check this?
(sorry if I'm missing something obvious. I'm using cimgui-go wrapper so I might miss something important)
Beta Was this translation helpful? Give feedback.
All reactions