mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
48 lines
1.4 KiB
C
48 lines
1.4 KiB
C
|
#ifndef GEN_QRUBBERBAND_H
|
||
|
#define GEN_QRUBBERBAND_H
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
class QMetaObject;
|
||
|
class QPoint;
|
||
|
class QRect;
|
||
|
class QRubberBand;
|
||
|
class QSize;
|
||
|
#else
|
||
|
typedef struct QMetaObject QMetaObject;
|
||
|
typedef struct QPoint QPoint;
|
||
|
typedef struct QRect QRect;
|
||
|
typedef struct QRubberBand QRubberBand;
|
||
|
typedef struct QSize QSize;
|
||
|
#endif
|
||
|
|
||
|
QMetaObject* QRubberBand_MetaObject(QRubberBand* self);
|
||
|
void QRubberBand_Tr(char* s, char** _out, int* _out_Strlen);
|
||
|
void QRubberBand_TrUtf8(char* s, char** _out, int* _out_Strlen);
|
||
|
void QRubberBand_SetGeometry(QRubberBand* self, QRect* r);
|
||
|
void QRubberBand_SetGeometry2(QRubberBand* self, int x, int y, int w, int h);
|
||
|
void QRubberBand_Move(QRubberBand* self, int x, int y);
|
||
|
void QRubberBand_MoveWithQPoint(QRubberBand* self, QPoint* p);
|
||
|
void QRubberBand_Resize(QRubberBand* self, int w, int h);
|
||
|
void QRubberBand_ResizeWithQSize(QRubberBand* self, QSize* s);
|
||
|
void QRubberBand_Tr2(char* s, char* c, char** _out, int* _out_Strlen);
|
||
|
void QRubberBand_Tr3(char* s, char* c, int n, char** _out, int* _out_Strlen);
|
||
|
void QRubberBand_TrUtf82(char* s, char* c, char** _out, int* _out_Strlen);
|
||
|
void QRubberBand_TrUtf83(char* s, char* c, int n, char** _out, int* _out_Strlen);
|
||
|
void QRubberBand_Delete(QRubberBand* self);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern C */
|
||
|
#endif
|
||
|
|
||
|
#endif
|