Helper class to block invalidate_layout. More...
#include <window.hpp>
Public Member Functions | |
invalidate_layout_blocker (window &window) | |
~invalidate_layout_blocker () | |
Private Attributes | |
window & | window_ |
Helper class to block invalidate_layout.
Some widgets can handling certain layout aspects without help. For example a listbox can handle hiding and showing rows without help but setting the visibility calls invalidate_layout(). When this blocker is Instantiated the call to invalidate_layout() becomes a nop.
Definition at line 234 of file window.hpp.
gui2::window::invalidate_layout_blocker::invalidate_layout_blocker | ( | window & | window | ) |
Definition at line 748 of file window.cpp.
References gui2::window::invalidate_layout_blocked_, and window_.
gui2::window::invalidate_layout_blocker::~invalidate_layout_blocker | ( | ) |
Definition at line 755 of file window.cpp.
|
private |
Definition at line 241 of file window.hpp.
Referenced by invalidate_layout_blocker().