summaryrefslogtreecommitdiffstats
path: root/src/plugins/graphicssystems/minimaldfb/qdirectfbcursor.h
blob: 064a33678c7990cf82577ef4a2b848fb2ecf01d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef QDIRECTFBCURSOR_H
#define QDIRECTFBCURSOR_H

#include <QGraphicsSystemCursor>
#include <directfb.h>
class QDirectFbGraphicsSystemScreen;
class QDirectFbBlitter;

class QDirectFBCursor : public QGraphicsSystemCursor
{
public:
    QDirectFBCursor(QGraphicsSystemScreen *screem);
    void changeCursor(QCursor * cursor, QWidget * widget);

private:
    IDirectFBDisplayLayer * m_layer;
    IDirectFBSurface * surface;
    QGraphicsSystemCursorImage * image;
    QDirectFbBlitter *blitter;
};

#endif // QDIRECTFBCURSOR_H