synfig-studio
1.0.3
|
Create an instance of this class whenever doing a longer task. More...
#include <canvasview.h>
Public Member Functions | |
IsWorking (CanvasView &canvas_view_) | |
~IsWorking () | |
operator bool () const |
Create an instance of this class whenever doing a longer task.
Make sure that you check the bool value of this class occasionally to make sure the action has not been canceled.
CanvasView::IsWorking::IsWorking | ( | CanvasView & | canvas_view_ | ) |
References studio::CanvasView::cancel, and studio::CanvasView::working_depth.
CanvasView::IsWorking::~IsWorking | ( | ) |
CanvasView::IsWorking::operator bool | ( | ) | const |