7#include <qpa/qplatformscreen.h>
14class QHaikuScreen :
public QPlatformScreen
20 QPixmap grabWindow(WId window,
int x,
int y,
int width,
int height)
const override;
22 QRect geometry()
const override;
23 int depth()
const override;
24 QImage::Format format()
const override;
26 QPlatformCursor *cursor()
const override;
31 QHaikuCursor *m_cursor;
bool hasCapability(QPlatformIntegration::Capability cap) const override
QHaikuIntegration(const QStringList ¶mList)
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
QPlatformClipboard * clipboard() const override
Accessor for the platform integration's clipboard.
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
QPlatformServices * services() const override
QHaikuRasterBackingStore(QWindow *window)
void flush(QWindow *window, const QRegion ®ion, const QPoint &offset) override
Flushes the given region from the specified window.
~QHaikuRasterBackingStore()
void resize(const QSize &size, const QRegion &staticContents) override
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
static long int startApplicationThread(void *data)