blob: 89531c3049aa6f59c138124006d0fbf2e76b4ee6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias Koenig <tobias.koenig@kdab.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QHAIKUCURSOR_H
#define QHAIKUCURSOR_H
#include <qpa/qplatformcursor.h>
#include <Cursor.h>
QT_BEGIN_NAMESPACE
class QHaikuCursor : public QPlatformCursor
{
public:
QHaikuCursor();
#ifndef QT_NO_CURSOR
void changeCursor(QCursor *windowCursor, QWindow *window) override;
#endif
private:
QHash<Qt::CursorShape, BCursorID> m_cursorIds;
QHash<Qt::CursorShape, BCursor*> m_cursors;
};
QT_END_NAMESPACE
#endif
|