76 res = layer->SetCooperativeLevel(layer, DLSCL_ADMINISTRATIVE);
78 DirectFBError(
"Failed to set DLSCL_ADMINISTRATIVE", res);
82 layer->SetCursorShape(layer, surface, xSpot, ySpot);
83 layer->SetCooperativeLevel(layer, DLSCL_SHARED);
static QPixmap fromImage(const QImage &image, Qt::ImageConversionFlags flags=Qt::AutoColor)
Converts the given image to a pixmap using the specified flags to control the conversion.
The QCursor class provides a mouse cursor with an arbitrary shape.
#define QT_END_NAMESPACE
This macro expands to.
IDirectFBDisplayLayer * toDfbLayer(QPlatformScreen *screen)
static IDirectFBSurface * dfbSurfaceForPlatformPixmap(QPixmapData *)
QFuture< void > map(Sequence &sequence, MapFunction function)
#define QT_BEGIN_NAMESPACE
This macro expands to.
QPixmap pixmap() const
Returns the cursor pixmap.
The QImage class provides a hardware-independent image representation that allows direct access to th...
QScopedPointer< QPlatformCursorImage > m_image
void reset(T *other=0)
Deletes the existing object it is pointing to if any, and sets its pointer to other.
QPoint hotSpot() const
Returns the cursor hot spot, or (0, 0) if it is one of the standard cursors.
The QPoint class defines a point in the plane using integer precision.
int y() const
Returns the y coordinate of this point.
The QPixmap class is an off-screen image representation that can be used as a paint device...
int x() const
Returns the x coordinate of this point.
QDirectFBCursor(QPlatformScreen *screen)
void changeCursor(QCursor *cursor, QWidget *window)
This method is called by Qt whenever the cursor graphic should be changed.
Qt::CursorShape shape() const
Returns the cursor shape identifier.
QPixmapData * pixmapData() const