2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QCURSOR_H
|
|
|
|
#define GEN_QCURSOR_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QBitmap;
|
|
|
|
class QCursor;
|
|
|
|
class QPixmap;
|
|
|
|
class QPoint;
|
|
|
|
class QScreen;
|
|
|
|
#else
|
|
|
|
typedef struct QBitmap QBitmap;
|
|
|
|
typedef struct QCursor QCursor;
|
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QPoint QPoint;
|
|
|
|
typedef struct QScreen QScreen;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QCursor* QCursor_new();
|
2024-08-29 07:01:51 +00:00
|
|
|
QCursor* QCursor_new2(uintptr_t shape);
|
|
|
|
QCursor* QCursor_new3(QBitmap* bitmap, QBitmap* mask);
|
|
|
|
QCursor* QCursor_new4(QPixmap* pixmap);
|
|
|
|
QCursor* QCursor_new5(QCursor* cursor);
|
|
|
|
QCursor* QCursor_new6(QBitmap* bitmap, QBitmap* mask, int hotX);
|
|
|
|
QCursor* QCursor_new7(QBitmap* bitmap, QBitmap* mask, int hotX, int hotY);
|
|
|
|
QCursor* QCursor_new8(QPixmap* pixmap, int hotX);
|
|
|
|
QCursor* QCursor_new9(QPixmap* pixmap, int hotX, int hotY);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCursor_OperatorAssign(QCursor* self, QCursor* cursor);
|
|
|
|
void QCursor_Swap(QCursor* self, QCursor* other);
|
2024-08-29 07:01:51 +00:00
|
|
|
uintptr_t QCursor_Shape(QCursor* self);
|
|
|
|
void QCursor_SetShape(QCursor* self, uintptr_t newShape);
|
2024-08-25 04:08:24 +00:00
|
|
|
QBitmap* QCursor_Bitmap(QCursor* self);
|
|
|
|
QBitmap* QCursor_Mask(QCursor* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
QBitmap* QCursor_BitmapWithQtReturnByValueConstant(QCursor* self, uintptr_t param1);
|
|
|
|
QBitmap* QCursor_MaskWithQtReturnByValueConstant(QCursor* self, uintptr_t param1);
|
2024-08-25 04:08:24 +00:00
|
|
|
QPixmap* QCursor_Pixmap(QCursor* self);
|
|
|
|
QPoint* QCursor_HotSpot(QCursor* self);
|
|
|
|
QPoint* QCursor_Pos();
|
|
|
|
QPoint* QCursor_PosWithScreen(QScreen* screen);
|
|
|
|
void QCursor_SetPos(int x, int y);
|
|
|
|
void QCursor_SetPos2(QScreen* screen, int x, int y);
|
|
|
|
void QCursor_SetPosWithQPoint(QPoint* p);
|
|
|
|
void QCursor_SetPos3(QScreen* screen, QPoint* p);
|
|
|
|
void QCursor_Delete(QCursor* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|