Krita Source Code Documentation
Loading...
Searching...
No Matches
KisAsyncStoryboardThumbnailRenderer.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Saurabh Kumar <saurabhk660@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISASYNCSTORYBOARDTHUMBNAILRENDERER_H
8#define KISASYNCSTORYBOARDTHUMBNAILRENDERER_H
9
11
12class KisPaintDevice;
13
20{
21 Q_OBJECT
22public:
25
26protected:
27 void frameCompletedCallback(int frame, const KisRegion &requestedRegion) override;
28 void frameCancelledCallback(int frame, CancelReason cancelReason) override;
29 void clearFrameRegenerationState(bool isCancelled) override;
30
31Q_SIGNALS:
32 void sigNotifyFrameCompleted(int frameTime, KisPaintDeviceSP frameContents);
33 void sigNotifyFrameCompleted(int frameTime);
35
36};
37
38#endif
requests regeneration of a frame. The regeneration should be requested after switching the KisImage t...
void sigNotifyFrameCompleted(int frameTime)
void sigNotifyFrameCancelled(int frame, KisAsyncAnimationRendererBase::CancelReason cancelReason)
void sigNotifyFrameCompleted(int frameTime, KisPaintDeviceSP frameContents)
void frameCompletedCallback(int frame, const KisRegion &requestedRegion) override
frameCompletedCallback is called by the renderer when a new frame becomes ready
void frameCancelledCallback(int frame, CancelReason cancelReason) override
frameCancelledCallback is called when the rendering of the frame was cancelled.