26 m_image->
set(newShape);
42 res =
layer->SetCooperativeLevel(
layer, DLSCL_ADMINISTRATIVE);
44 DirectFBError(
"Failed to set DLSCL_ADMINISTRATIVE",
res);
48 layer->SetCursorShape(
layer, surface, xSpot, ySpot);
49 layer->SetCooperativeLevel(
layer, DLSCL_SHARED);
The QCursor class provides a mouse cursor with an arbitrary shape.
QPixmap pixmap() const
Returns the cursor pixmap.
Qt::CursorShape shape() const
Returns the cursor shape identifier.
QPoint hotSpot() const
Returns the cursor hot spot, or (0, 0) if it is one of the standard cursors.
QDirectFBCursor(QPlatformScreen *screen)
void changeCursor(QCursor *cursor, QWindow *window) override
This method is called by Qt whenever the cursor graphic should be changed.
static IDirectFBSurface * dfbSurfaceForPlatformPixmap(QPlatformPixmap *)
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
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.
\inmodule QtCore\reentrant
constexpr int x() const noexcept
Returns the x coordinate of this point.
constexpr int y() const noexcept
Returns the y coordinate of this point.
void reset(T *other=nullptr) noexcept(noexcept(Cleanup::cleanup(std::declval< T * >())))
Deletes the existing object it is pointing to (if any), and sets its pointer to other.
QMap< QString, QString > map
[6]
Combined button and popup list for selecting options.
IDirectFBDisplayLayer * toDfbLayer(QPlatformScreen *screen)