30 lines
662 B
C
30 lines
662 B
C
#pragma once
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
struct rgn;
|
|
struct msgq;
|
|
struct log;
|
|
struct ax_backend;
|
|
struct ax_theme;
|
|
|
|
struct ax_font_h;
|
|
|
|
extern const char* ax__backend_impl_name;
|
|
extern size_t ax__backend_desired_region_size;
|
|
|
|
int ax__backend_new(
|
|
struct rgn* init_rgn,
|
|
struct log* lg,
|
|
struct ax_backend** out_bac,
|
|
const char** out_err);
|
|
|
|
struct msgq* ax__backend_msgq(struct ax_backend*);
|
|
struct sub* ax__backend_sub_events(struct ax_backend*, struct rgn* dst_rgn);
|
|
bool ax__backend_is_shutdown(struct ax_backend*);
|
|
|
|
void ax__backend_wait_for_event(struct ax_backend*);
|
|
void ax__backend_step(struct ax_backend*);
|