mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
103 lines
4.7 KiB
C++
103 lines
4.7 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT_GEN_QICON_H
|
|
#define MIQT_QT_GEN_QICON_H
|
|
|
|
#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 QIcon;
|
|
class QIconEngine;
|
|
class QPainter;
|
|
class QPixmap;
|
|
class QRect;
|
|
class QSize;
|
|
class QWindow;
|
|
#else
|
|
typedef struct QIcon QIcon;
|
|
typedef struct QIconEngine QIconEngine;
|
|
typedef struct QPainter QPainter;
|
|
typedef struct QPixmap QPixmap;
|
|
typedef struct QRect QRect;
|
|
typedef struct QSize QSize;
|
|
typedef struct QWindow QWindow;
|
|
#endif
|
|
|
|
QIcon* QIcon_new();
|
|
QIcon* QIcon_new2(QPixmap* pixmap);
|
|
QIcon* QIcon_new3(QIcon* other);
|
|
QIcon* QIcon_new4(struct miqt_string fileName);
|
|
QIcon* QIcon_new5(QIconEngine* engine);
|
|
void QIcon_OperatorAssign(QIcon* self, QIcon* other);
|
|
void QIcon_Swap(QIcon* self, QIcon* other);
|
|
QPixmap* QIcon_Pixmap(const QIcon* self, QSize* size);
|
|
QPixmap* QIcon_Pixmap2(const QIcon* self, int w, int h);
|
|
QPixmap* QIcon_PixmapWithExtent(const QIcon* self, int extent);
|
|
QPixmap* QIcon_Pixmap3(const QIcon* self, QWindow* window, QSize* size);
|
|
QSize* QIcon_ActualSize(const QIcon* self, QSize* size);
|
|
QSize* QIcon_ActualSize2(const QIcon* self, QWindow* window, QSize* size);
|
|
struct miqt_string QIcon_Name(const QIcon* self);
|
|
void QIcon_Paint(const QIcon* self, QPainter* painter, QRect* rect);
|
|
void QIcon_Paint2(const QIcon* self, QPainter* painter, int x, int y, int w, int h);
|
|
bool QIcon_IsNull(const QIcon* self);
|
|
bool QIcon_IsDetached(const QIcon* self);
|
|
void QIcon_Detach(QIcon* self);
|
|
long long QIcon_CacheKey(const QIcon* self);
|
|
void QIcon_AddPixmap(QIcon* self, QPixmap* pixmap);
|
|
void QIcon_AddFile(QIcon* self, struct miqt_string fileName);
|
|
struct miqt_array /* of QSize* */ QIcon_AvailableSizes(const QIcon* self);
|
|
void QIcon_SetIsMask(QIcon* self, bool isMask);
|
|
bool QIcon_IsMask(const QIcon* self);
|
|
QIcon* QIcon_FromTheme(struct miqt_string name);
|
|
QIcon* QIcon_FromTheme2(struct miqt_string name, QIcon* fallback);
|
|
bool QIcon_HasThemeIcon(struct miqt_string name);
|
|
struct miqt_array /* of struct miqt_string */ QIcon_ThemeSearchPaths();
|
|
void QIcon_SetThemeSearchPaths(struct miqt_array /* of struct miqt_string */ searchpath);
|
|
struct miqt_array /* of struct miqt_string */ QIcon_FallbackSearchPaths();
|
|
void QIcon_SetFallbackSearchPaths(struct miqt_array /* of struct miqt_string */ paths);
|
|
struct miqt_string QIcon_ThemeName();
|
|
void QIcon_SetThemeName(struct miqt_string path);
|
|
struct miqt_string QIcon_FallbackThemeName();
|
|
void QIcon_SetFallbackThemeName(struct miqt_string name);
|
|
QPixmap* QIcon_Pixmap22(const QIcon* self, QSize* size, int mode);
|
|
QPixmap* QIcon_Pixmap32(const QIcon* self, QSize* size, int mode, int state);
|
|
QPixmap* QIcon_Pixmap33(const QIcon* self, int w, int h, int mode);
|
|
QPixmap* QIcon_Pixmap4(const QIcon* self, int w, int h, int mode, int state);
|
|
QPixmap* QIcon_Pixmap23(const QIcon* self, int extent, int mode);
|
|
QPixmap* QIcon_Pixmap34(const QIcon* self, int extent, int mode, int state);
|
|
QPixmap* QIcon_Pixmap35(const QIcon* self, QWindow* window, QSize* size, int mode);
|
|
QPixmap* QIcon_Pixmap42(const QIcon* self, QWindow* window, QSize* size, int mode, int state);
|
|
QSize* QIcon_ActualSize22(const QIcon* self, QSize* size, int mode);
|
|
QSize* QIcon_ActualSize3(const QIcon* self, QSize* size, int mode, int state);
|
|
QSize* QIcon_ActualSize32(const QIcon* self, QWindow* window, QSize* size, int mode);
|
|
QSize* QIcon_ActualSize4(const QIcon* self, QWindow* window, QSize* size, int mode, int state);
|
|
void QIcon_Paint3(const QIcon* self, QPainter* painter, QRect* rect, int alignment);
|
|
void QIcon_Paint4(const QIcon* self, QPainter* painter, QRect* rect, int alignment, int mode);
|
|
void QIcon_Paint5(const QIcon* self, QPainter* painter, QRect* rect, int alignment, int mode, int state);
|
|
void QIcon_Paint6(const QIcon* self, QPainter* painter, int x, int y, int w, int h, int alignment);
|
|
void QIcon_Paint7(const QIcon* self, QPainter* painter, int x, int y, int w, int h, int alignment, int mode);
|
|
void QIcon_Paint8(const QIcon* self, QPainter* painter, int x, int y, int w, int h, int alignment, int mode, int state);
|
|
void QIcon_AddPixmap2(QIcon* self, QPixmap* pixmap, int mode);
|
|
void QIcon_AddPixmap3(QIcon* self, QPixmap* pixmap, int mode, int state);
|
|
void QIcon_AddFile2(QIcon* self, struct miqt_string fileName, QSize* size);
|
|
void QIcon_AddFile3(QIcon* self, struct miqt_string fileName, QSize* size, int mode);
|
|
void QIcon_AddFile4(QIcon* self, struct miqt_string fileName, QSize* size, int mode, int state);
|
|
struct miqt_array /* of QSize* */ QIcon_AvailableSizes1(const QIcon* self, int mode);
|
|
struct miqt_array /* of QSize* */ QIcon_AvailableSizes2(const QIcon* self, int mode, int state);
|
|
void QIcon_Delete(QIcon* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|