2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QCOLORMAP_H
|
|
|
|
#define GEN_QCOLORMAP_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QColor;
|
|
|
|
class QColormap;
|
|
|
|
#else
|
|
|
|
typedef struct QColor QColor;
|
|
|
|
typedef struct QColormap QColormap;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QColormap* QColormap_new(QColormap* colormap);
|
|
|
|
void QColormap_Initialize();
|
|
|
|
void QColormap_Cleanup();
|
|
|
|
QColormap* QColormap_Instance();
|
|
|
|
void QColormap_OperatorAssign(QColormap* self, QColormap* colormap);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QColormap_Mode(const QColormap* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QColormap_Depth(const QColormap* self);
|
|
|
|
int QColormap_Size(const QColormap* self);
|
|
|
|
unsigned int QColormap_Pixel(const QColormap* self, QColor* color);
|
|
|
|
QColor* QColormap_ColorAt(const QColormap* self, unsigned int pixel);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QColormap_Colormap(const QColormap* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
QColormap* QColormap_Instance1(int screen);
|
|
|
|
void QColormap_Delete(QColormap* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|