2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QSURFACE_H
|
|
|
|
#define GEN_QSURFACE_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 QSize;
|
|
|
|
class QSurface;
|
|
|
|
class QSurfaceFormat;
|
|
|
|
#else
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QSurface QSurface;
|
|
|
|
typedef struct QSurfaceFormat QSurfaceFormat;
|
|
|
|
#endif
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
int QSurface_SurfaceClass(const QSurface* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSurfaceFormat* QSurface_Format(const QSurface* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QSurface_SurfaceType(const QSurface* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QSurface_SupportsOpenGL(const QSurface* self);
|
|
|
|
QSize* QSurface_Size(const QSurface* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSurface_Delete(QSurface* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|