Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/canvas/kis_abstract_canvas_widget.h
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Line(s) | 41 | public: | |||
---|---|---|---|---|---|
77 | // Called from KisCanvas2::startUpdateProjection | 77 | // Called from KisCanvas2::startUpdateProjection | ||
78 | virtual KisUpdateInfoSP startUpdateCanvasProjection(const QRect & rc, const QBitArray &channelFlags) = 0; | 78 | virtual KisUpdateInfoSP startUpdateCanvasProjection(const QRect & rc, const QBitArray &channelFlags) = 0; | ||
79 | 79 | | |||
80 | // Called from KisCanvas2::updateCanvasProjection | 80 | // Called from KisCanvas2::updateCanvasProjection | ||
81 | virtual QRect updateCanvasProjection(KisUpdateInfoSP info) = 0; | 81 | virtual QRect updateCanvasProjection(KisUpdateInfoSP info) = 0; | ||
82 | virtual QVector<QRect> updateCanvasProjection(const QVector<KisUpdateInfoSP> &infoObjects) = 0; | 82 | virtual QVector<QRect> updateCanvasProjection(const QVector<KisUpdateInfoSP> &infoObjects) = 0; | ||
83 | 83 | | |||
84 | /** | 84 | /** | ||
85 | * Returns true if the asynchromous engine of the canvas | 85 | * Returns true if the asynchronous engine of the canvas | ||
86 | * (e.g. openGL pipeline) is busy with processing of the previous | 86 | * (e.g. openGL pipeline) is busy with processing of the previous | ||
87 | * update events. This will make KisCanvas2 to postpone and | 87 | * update events. This will make KisCanvas2 to postpone and | ||
88 | * compress update events. | 88 | * compress update events. | ||
89 | */ | 89 | */ | ||
90 | virtual bool isBusy() const = 0; | 90 | virtual bool isBusy() const = 0; | ||
91 | 91 | | |||
92 | virtual void setLodResetInProgress(bool value) = 0; | 92 | virtual void setLodResetInProgress(bool value) = 0; | ||
93 | }; | 93 | }; | ||
94 | 94 | | |||
95 | #endif // _KIS_ABSTRACT_CANVAS_WIDGET_ | 95 | #endif // _KIS_ABSTRACT_CANVAS_WIDGET_ |