Program Listing for File slint_generated_public.h#
↰ Return to documentation for file (cppdocs/generated_include/slint_generated_public.h
)
#pragma once
/* Generated with cbindgen:0.24.3 */
#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <new>
#include "slint_string.h"
#define SLINT_VERSION_MAJOR 1
#define SLINT_VERSION_MINOR 0
#define SLINT_VERSION_PATCH 0
namespace slint {
enum class CloseRequestResponse {
HideWindow,
KeepWindowShown,
};
enum class GraphicsAPI {
NativeOpenGL,
};
enum class RenderingState {
RenderingSetup,
BeforeRendering,
AfterRendering,
RenderingTeardown,
};
enum class SetRenderingNotifierError {
Unsupported,
AlreadySet,
};
enum class TimerMode {
SingleShot,
Repeated,
};
struct StandardListViewItem {
SharedString text;
friend bool operator==(const StandardListViewItem&, const StandardListViewItem&) = default;
};
struct Rgb8Pixel {
uint8_t r;
uint8_t g;
uint8_t b;
friend bool operator==(const Rgb8Pixel&, const Rgb8Pixel&) = default;
};
struct Rgba8Pixel {
uint8_t r;
uint8_t g;
uint8_t b;
uint8_t a;
friend bool operator==(const Rgba8Pixel&, const Rgba8Pixel&) = default;
};
} // namespace slint