Creating an instance of this class suspends redrawing on the layout. More...
#include <mi32/grlayout.h>
Public Member Functions | |
| SUSPEND_REDRAW (GRAPHICLAYOUT &layout) | |
| ~SUSPEND_REDRAW () | |
Private Attributes | |
| GRAPHICLAYOUT & | m_layout |
Creating an instance of this class suspends redrawing on the layout.
When it goes out of scope, redrawing will be reenabled. This is done using a count, so multiple suspend/resumes are automatically handled. When the final resume happens, the draw callback will be called if necessary. (It could do the draw itself, but has no gc)
| GRAPHICLAYOUT::SUSPEND_REDRAW::SUSPEND_REDRAW | ( | GRAPHICLAYOUT & | layout | ) | [inline] |
| GRAPHICLAYOUT::SUSPEND_REDRAW::~SUSPEND_REDRAW | ( | ) | [inline] |
1.6.1