1// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QT3DEXTRAS_QSPRITESHEET_P_H
5#define QT3DEXTRAS_QSPRITESHEET_P_H
6#include <QList>
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of other Qt classes. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <Qt3DExtras/private/qabstractspritesheet_p.h>
20
21QT_BEGIN_NAMESPACE
22
23namespace Qt3DExtras {
24
25class QSpriteSheetItem;
26class QSpriteSheet;
27
28class QSpriteSheetPrivate : public QAbstractSpriteSheetPrivate
29{
30 QSpriteSheetPrivate();
31
32 int maxIndex() const override;
33 void updateSizes() override;
34 void updateTransform() override;
35
36 QList<QSpriteSheetItem *> m_sprites;
37
38 Q_DECLARE_PUBLIC(QSpriteSheet)
39};
40
41} // Qt3DExtras
42
43QT_END_NAMESPACE
44
45#endif // QT3DEXTRAS_QSPRITESHEET_P_H
46
47

source code of qt3d/src/extras/defaults/qspritesheet_p.h