rute 0.0.6

UI library implemented on top of Qt
Documentation
// This file is auto-generated by rute_gen. DO NOT EDIT!
#pragma once

#include <stdbool.h>
#include <stdint.h>

#include "../rute_base.h"

#ifdef __cplusplus
extern "C" {
#endif
#include "widget_ffi.h"

struct RUDesktopWidgetFuncs;
struct RUDesktopWidget;

typedef struct RUDesktopWidgetFuncs {
    int (*screen_number)(struct RUBase* self_c, struct RUBase* widget);
    bool (*is_virtual_desktop)(struct RUBase* self_c);
    int (*num_screens)(struct RUBase* self_c);
    int (*screen_count)(struct RUBase* self_c);
    int (*primary_screen)(struct RUBase* self_c);
    int (*screen_number_2)(struct RUBase* self_c, struct RUBase* arg0);
    struct RUWidget (*screen)(struct RUBase* self_c, int screen);
} RUDesktopWidgetFuncs;

typedef struct RUDesktopWidgetAllFuncs {
    struct RUObjectFuncs* object_funcs;
    struct RUPaintDeviceFuncs* paint_device_funcs;
    struct RUWidgetFuncs* widget_funcs;
    struct RUDesktopWidgetFuncs* desktop_widget_funcs;
} RUDesktopWidgetAllFuncs;

typedef struct RUDesktopWidget {
    RUBase* qt_data;
    RUBase* host_data;
    struct RUDesktopWidgetAllFuncs* all_funcs;
} RUDesktopWidget;

extern RUDesktopWidgetFuncs s_desktop_widget_funcs;
extern RUDesktopWidgetAllFuncs s_desktop_widget_all_funcs;

#ifdef __cplusplus
}
#endif