5#ifndef QEGLFSKMSGBMCURSOR_H
6#define QEGLFSKMSGBMCURSOR_H
19#include <qpa/qplatformcursor.h>
20#include <QtCore/QList>
21#include <QtGui/QImage>
22#include <QtGui/private/qinputdevicemanager_p.h>
28class QEglFSKmsGbmScreen;
57 void changeCursor(QCursor * windowCursor, QWindow * window)
override;
60 void setPos(
const QPoint &pos)
override;
66 QEglFSKmsGbmScreen *
screen()
const {
return m_screen; }
69 void initCursorAtlas();
79 QEglFSKmsGbmScreen *m_screen;
83 QPlatformCursorImage m_cursorImage;
89 CursorAtlas() : cursorsPerRow(0), cursorWidth(0), cursorHeight(0) { }
92 int cursorWidth, cursorHeight;
93 QList<QPoint> hotSpots;
void pointerEvent(const QMouseEvent &event) override
This method is called by Qt whenever a QMouseEvent is generated by the underlying pointer input.
void changeCursor(QCursor *windowCursor, QWindow *window) override
This method is called by Qt whenever the cursor graphic should be changed.
void setPos(const QPoint &pos) override
void reevaluateVisibilityForScreens()
QPoint pos() const override
QEglFSKmsGbmScreen * screen() const
#define DRM_CAP_CURSOR_HEIGHT
#define DRM_CAP_CURSOR_WIDTH