miqt/qt/gen_qpalette.h

84 lines
3.5 KiB
C++

#ifndef GEN_QPALETTE_H
#define GEN_QPALETTE_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "binding.h"
#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
QPalette* QPalette_new();
QPalette* QPalette_new2(QColor* button);
QPalette* QPalette_new3(int button);
QPalette* QPalette_new4(QColor* button, QColor* window);
QPalette* QPalette_new5(QBrush* windowText, QBrush* button, QBrush* light, QBrush* dark, QBrush* mid, QBrush* text, QBrush* bright_text, QBrush* base, QBrush* window);
QPalette* QPalette_new6(QColor* windowText, QColor* window, QColor* light, QColor* dark, QColor* mid, QColor* text, QColor* base);
QPalette* QPalette_new7(QPalette* palette);
void QPalette_OperatorAssign(QPalette* self, QPalette* palette);
void QPalette_Swap(QPalette* self, QPalette* other);
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);
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);
void QPalette_ResolveWithMask(QPalette* self, unsigned int mask);
void QPalette_Delete(QPalette* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif