2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QPALETTE_H
|
|
|
|
#define MIQT_QT_GEN_QPALETTE_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#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 QBrush;
|
|
|
|
class QColor;
|
|
|
|
class QPalette;
|
|
|
|
#else
|
|
|
|
typedef struct QBrush QBrush;
|
|
|
|
typedef struct QColor QColor;
|
|
|
|
typedef struct QPalette QPalette;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPalette_new(QPalette** outptr_QPalette);
|
|
|
|
void QPalette_new2(QColor* button, QPalette** outptr_QPalette);
|
|
|
|
void QPalette_new3(int button, QPalette** outptr_QPalette);
|
|
|
|
void QPalette_new4(QColor* button, QColor* window, QPalette** outptr_QPalette);
|
|
|
|
void QPalette_new5(QBrush* windowText, QBrush* button, QBrush* light, QBrush* dark, QBrush* mid, QBrush* text, QBrush* bright_text, QBrush* base, QBrush* window, QPalette** outptr_QPalette);
|
|
|
|
void QPalette_new6(QColor* windowText, QColor* window, QColor* light, QColor* dark, QColor* mid, QColor* text, QColor* base, QPalette** outptr_QPalette);
|
|
|
|
void QPalette_new7(QPalette* palette, QPalette** outptr_QPalette);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPalette_OperatorAssign(QPalette* self, QPalette* palette);
|
|
|
|
void QPalette_Swap(QPalette* self, QPalette* other);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QPalette_CurrentColorGroup(const QPalette* self);
|
|
|
|
void QPalette_SetCurrentColorGroup(QPalette* self, int cg);
|
|
|
|
QColor* QPalette_Color(const QPalette* self, int cg, int cr);
|
|
|
|
QBrush* QPalette_Brush(const QPalette* self, int cg, int cr);
|
|
|
|
void QPalette_SetColor(QPalette* self, int cg, int cr, QColor* color);
|
|
|
|
void QPalette_SetColor2(QPalette* self, int cr, QColor* color);
|
|
|
|
void QPalette_SetBrush(QPalette* self, int cr, QBrush* brush);
|
|
|
|
bool QPalette_IsBrushSet(const QPalette* self, int cg, int cr);
|
|
|
|
void QPalette_SetBrush2(QPalette* self, int cg, int cr, QBrush* brush);
|
|
|
|
void QPalette_SetColorGroup(QPalette* self, int cr, QBrush* windowText, QBrush* button, QBrush* light, QBrush* dark, QBrush* mid, QBrush* text, QBrush* bright_text, QBrush* base, QBrush* window);
|
|
|
|
bool QPalette_IsEqual(const QPalette* self, int cr1, int cr2);
|
|
|
|
QColor* QPalette_ColorWithCr(const QPalette* self, int cr);
|
|
|
|
QBrush* QPalette_BrushWithCr(const QPalette* self, int cr);
|
2024-09-11 05:41:09 +00:00
|
|
|
QBrush* QPalette_WindowText(const QPalette* self);
|
|
|
|
QBrush* QPalette_Button(const QPalette* self);
|
|
|
|
QBrush* QPalette_Light(const QPalette* self);
|
|
|
|
QBrush* QPalette_Dark(const QPalette* self);
|
|
|
|
QBrush* QPalette_Mid(const QPalette* self);
|
|
|
|
QBrush* QPalette_Text(const QPalette* self);
|
|
|
|
QBrush* QPalette_Base(const QPalette* self);
|
|
|
|
QBrush* QPalette_AlternateBase(const QPalette* self);
|
|
|
|
QBrush* QPalette_ToolTipBase(const QPalette* self);
|
|
|
|
QBrush* QPalette_ToolTipText(const QPalette* self);
|
|
|
|
QBrush* QPalette_Window(const QPalette* self);
|
|
|
|
QBrush* QPalette_Midlight(const QPalette* self);
|
|
|
|
QBrush* QPalette_BrightText(const QPalette* self);
|
|
|
|
QBrush* QPalette_ButtonText(const QPalette* self);
|
|
|
|
QBrush* QPalette_Shadow(const QPalette* self);
|
|
|
|
QBrush* QPalette_Highlight(const QPalette* self);
|
|
|
|
QBrush* QPalette_HighlightedText(const QPalette* self);
|
|
|
|
QBrush* QPalette_Link(const QPalette* self);
|
|
|
|
QBrush* QPalette_LinkVisited(const QPalette* self);
|
|
|
|
QBrush* QPalette_PlaceholderText(const QPalette* self);
|
|
|
|
QBrush* QPalette_Foreground(const QPalette* self);
|
|
|
|
QBrush* QPalette_Background(const QPalette* self);
|
|
|
|
bool QPalette_OperatorEqual(const QPalette* self, QPalette* p);
|
|
|
|
bool QPalette_OperatorNotEqual(const QPalette* self, QPalette* p);
|
|
|
|
bool QPalette_IsCopyOf(const QPalette* self, QPalette* p);
|
|
|
|
long long QPalette_CacheKey(const QPalette* self);
|
|
|
|
QPalette* QPalette_Resolve(const QPalette* self, QPalette* param1);
|
|
|
|
unsigned int QPalette_Resolve2(const QPalette* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPalette_ResolveWithMask(QPalette* self, unsigned int mask);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPalette_Delete(QPalette* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|