DescriptionThis patch allows callbacks (both C/C++ side and Python side) to be registered for resize events. When the size of the canvas changes, the callbacks will be called. As a demonstration of where this can be used on the C++ side, I've updated the 2D Filters to use a callback. From the Python side it's handy for updating gui libraries such as bgui:
https://code.google.com/p/bgui/
I wasn't sure who to add as "Reviewers". Dalai and Benoit originally discussed resize callbacks some time ago.
Patch Set 1 #
Total comments: 5
MessagesTotal messages: 4
|