Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_animation_cache_populator.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Jouni Pentikäinen <joupent@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KIS_ANIMATION_CACHE_POPULATOR_H
8#define KIS_ANIMATION_CACHE_POPULATOR_H
9
10#include <QObject>
11#include "kis_types.h"
12
13class KisPart;
14
15class KisAnimationCachePopulator : public QObject
16{
17 Q_OBJECT
18
19public:
22
28 bool regenerate(KisAnimationFrameCacheSP cache, int frame);
29 void requestRegenerationWithPriorityFrame(KisImageSP image, int frameIndex);
30
31public Q_SLOTS:
33
34private Q_SLOTS:
35 void slotTimer();
36
39
40 void slotConfigChanged();
41
42private:
43 struct Private;
44 QScopedPointer<Private> m_d;
45};
46
47#endif
quint64 part(quint64 n1, quint64 n2, int p)
void requestRegenerationWithPriorityFrame(KisImageSP image, int frameIndex)
bool regenerate(KisAnimationFrameCacheSP cache, int frame)