2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QCURSOR_H
|
|
|
|
#define MIQT_QT6_GEN_QCURSOR_H
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QCursor_new(QCursor** outptr_QCursor);
|
|
|
|
void QCursor_new2(int shape, QCursor** outptr_QCursor);
|
|
|
|
void QCursor_new3(QBitmap* bitmap, QBitmap* mask, QCursor** outptr_QCursor);
|
|
|
|
void QCursor_new4(QPixmap* pixmap, QCursor** outptr_QCursor);
|
|
|
|
void QCursor_new5(QCursor* cursor, QCursor** outptr_QCursor);
|
|
|
|
void QCursor_new6(QBitmap* bitmap, QBitmap* mask, int hotX, QCursor** outptr_QCursor);
|
|
|
|
void QCursor_new7(QBitmap* bitmap, QBitmap* mask, int hotX, int hotY, QCursor** outptr_QCursor);
|
|
|
|
void QCursor_new8(QPixmap* pixmap, int hotX, QCursor** outptr_QCursor);
|
|
|
|
void QCursor_new9(QPixmap* pixmap, int hotX, int hotY, QCursor** outptr_QCursor);
|
2024-10-20 05:21:03 +00:00
|
|
|
void QCursor_OperatorAssign(QCursor* self, QCursor* cursor);
|
|
|
|
void QCursor_Swap(QCursor* self, QCursor* other);
|
|
|
|
int QCursor_Shape(const QCursor* self);
|
|
|
|
void QCursor_SetShape(QCursor* self, int newShape);
|
|
|
|
QBitmap* QCursor_Bitmap(const QCursor* self, int param1);
|
|
|
|
QBitmap* QCursor_Mask(const QCursor* self, int param1);
|
|
|
|
QBitmap* QCursor_Bitmap2(const QCursor* self);
|
|
|
|
QBitmap* QCursor_Mask2(const QCursor* self);
|
|
|
|
QPixmap* QCursor_Pixmap(const QCursor* self);
|
|
|
|
QPoint* QCursor_HotSpot(const 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);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QCursor_Delete(QCursor* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|