summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/directfb/qdirectfbcursor.h
blob: 6aecb16fcc3322f8863395fd53e0bc9e1dce8ec6 (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 <QPlatformCursor>
#include <directfb.h>
class QDirectFbScreen;
class QDirectFbBlitter;

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

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

#endif // QDIRECTFBCURSOR_H