blob: 22cfd82c767427e3140cb54c4e14f3baee13f59b (
plain)
123456789101112131415161718192021222324252627282930313233343536 | // 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 QHAIKUSCREEN_H#define QHAIKUSCREEN_H#include <qpa/qplatformscreen.h>class BScreen;class QHaikuCursor; QT_BEGIN_NAMESPACE class QHaikuScreen :public QPlatformScreen {public:QHaikuScreen();~QHaikuScreen(); QPixmap grabWindow(WId window,int x,int y,int width,int height)const override; QRect geometry()const override;intdepth()const override;QImage::Format format()const override; QPlatformCursor *cursor()const override;private: BScreen *m_screen; QHaikuCursor *m_cursor;}; QT_END_NAMESPACE #endif
|