imgui refactor - #1066
Conversation
|
Comments on the API? You've been asking for this for ages. Here's the imgui docs guide as an html as it currently is in the docs: |
|
This is amazing. My previous widgets would be much better suited as a floating window because we want as much data visible as possible. In the future this could be extended to allowing users to switch between floating and sticky maybe via a default right click menu for each newly created For the colorbar, I think switching |
|
I'll leave the docking functionality to you once you get to UTSWMC 😆 |
|
changed colorbar/hlut window to bring up colormap popup if it's right clicked anywhere and not just the colorbar. |
|
No deployments on this branch??? |
You mean docs? yea because only branches targetting |

EdgeWindowwithImguiWindowwhich can be located on an edge, floating, or fixed-rect windows. Can create with a single function containing UI elements decorate a function of imgui UI element calls.ImguiWindowinstances.HistogramLUTToolwith an imguiImguiColorbar.ImguiPopup. Supports appending too.Not related to imgui but made it anyways:
ImageGammagraphic feature.Replace
HistogramLUTToolwith an imgui created one:ImguiColorbarthat can also just be a colorbar. This is gives us higher performance so we don't have to create lots of docks when there are lots of images.allow floating or fixed-location windows
decorators for add and append for
ImguiWindowandImguiPopupand easier, cleaner API to add popups/right-click menus.For popup, can be figure, subplot, or graphic level. Can also append to the standard right click menu on a figure:
can append to an imgui window or subplot toolbar:
location can be the edge of Subplot and not just edges of a Figure
See the colorbar examples which add it to the right edge of a subplot.
LLM Disclosure: claude on ultracode setting was babysat through this, every line was reviewed, everything tested manually.