2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QBACKINGSTORE_H
|
|
|
|
#define GEN_QBACKINGSTORE_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QBackingStore;
|
|
|
|
class QPaintDevice;
|
|
|
|
class QPoint;
|
|
|
|
class QRegion;
|
|
|
|
class QSize;
|
|
|
|
class QWindow;
|
|
|
|
#else
|
|
|
|
typedef struct QBackingStore QBackingStore;
|
|
|
|
typedef struct QPaintDevice QPaintDevice;
|
|
|
|
typedef struct QPoint QPoint;
|
|
|
|
typedef struct QRegion QRegion;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QWindow QWindow;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QBackingStore* QBackingStore_new(QWindow* window);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWindow* QBackingStore_Window(const QBackingStore* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
QPaintDevice* QBackingStore_PaintDevice(QBackingStore* self);
|
|
|
|
void QBackingStore_Flush(QBackingStore* self, QRegion* region);
|
|
|
|
void QBackingStore_Resize(QBackingStore* self, QSize* size);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QBackingStore_Size(const QBackingStore* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QBackingStore_Scroll(QBackingStore* self, QRegion* area, int dx, int dy);
|
|
|
|
void QBackingStore_BeginPaint(QBackingStore* self, QRegion* param1);
|
|
|
|
void QBackingStore_EndPaint(QBackingStore* self);
|
|
|
|
void QBackingStore_SetStaticContents(QBackingStore* self, QRegion* region);
|
2024-09-11 05:41:09 +00:00
|
|
|
QRegion* QBackingStore_StaticContents(const QBackingStore* self);
|
|
|
|
bool QBackingStore_HasStaticContents(const QBackingStore* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QBackingStore_Flush2(QBackingStore* self, QRegion* region, QWindow* window);
|
|
|
|
void QBackingStore_Flush3(QBackingStore* self, QRegion* region, QWindow* window, QPoint* offset);
|
|
|
|
void QBackingStore_Delete(QBackingStore* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|