wpilibsuite / allwpilib

Official Repository of WPILibJ and WPILibC
https://wpilib.org/
Other
1.05k stars 613 forks source link

Bounds checking for ImGUI tools #3352

Open Daltz333 opened 3 years ago

Daltz333 commented 3 years ago

User should not be able to move popups or boxes outside the bounds of the window. When the window is resized, popups or dialog boxes should get migrated inside of the available space, or resizing should get locked beyond a minimum point.

AlexDvorak commented 2 years ago

Would WindowManager::DisplayWindows() be an appropriate place to implement this logic? . Presumably this would also require logic in the Window class?