lv_wayland_private.h

Defines

LV_WAYLAND_DEFAULT_CURSOR_NAME
LV_WAYLAND_MAX_OUTPUTS

Typedefs

typedef struct _lv_wl_window_t lv_wl_window_t

Functions

lv_result_t lv_wayland_init(void)
void lv_wayland_deinit(void)
int32_t lv_wayland_window_get_width(lv_wl_window_t *window)
int32_t lv_wayland_window_get_height(lv_wl_window_t *window)
void lv_wayland_window_delete(lv_wl_window_t *window)
const struct xdg_wm_base_listener *lv_wayland_xdg_get_wm_base_listener(void)
void lv_wayland_xdg_set_maximized(lv_wl_window_xdg_t *xdg, bool maximized)
void lv_wayland_xdg_set_minimized(lv_wl_window_xdg_t *xdg)
void lv_wayland_xdg_set_fullscreen(lv_wl_window_xdg_t *xdg, bool fullscreen, struct wl_output *output)
lv_result_t lv_wl_xdg_create_window(struct xdg_wm_base *xdg_wm, lv_wl_window_t *window, const char *title)
bool lv_wayland_xdg_is_resize_pending(lv_wl_window_t *window)
void lv_wayland_xdg_configure_surface(lv_wl_window_t *window)
void lv_wayland_xdg_resize(lv_wl_window_t *window)
void lv_wayland_xdg_delete_window(lv_wl_window_xdg_t *xdg)
void lv_wayland_xdg_deinit(void)
void lv_wayland_seat_init(lv_wl_seat_t *seat, struct wl_registry *registry, uint32_t name, uint32_t version)
void lv_wayland_seat_deinit(lv_wl_seat_t *seat)
lv_wl_seat_pointer_t *lv_wayland_seat_pointer_create(struct wl_seat *seat, struct wl_surface *surface)
void lv_wayland_seat_pointer_delete(lv_wl_seat_pointer_t *seat_pointer)
lv_wl_seat_touch_t *lv_wayland_seat_touch_create(struct wl_seat *seat)
void lv_wayland_seat_touch_delete(lv_wl_seat_touch_t *seat_touch)
lv_wl_seat_keyboard_t *lv_wayland_seat_keyboard_create(struct wl_seat *seat)
void lv_wayland_seat_keyboard_delete(lv_wl_seat_keyboard_t *seat_keyboard)
void lv_wayland_update_indevs(lv_indev_read_cb_t read_cb, void *new_driver_data)

Variables

lv_wl_ctx_t lv_wl_ctx
struct lv_wl_seat_pointer_t

Public Members

struct wl_pointer *wl_pointer
struct wl_surface *cursor_surface
lv_point_t point
lv_indev_state_t left_btn_state
lv_indev_state_t right_btn_state
lv_indev_state_t wheel_btn_state
int16_t wheel_diff
struct lv_wl_seat_touch_t

Public Members

struct wl_touch *wl_touch
lv_indev_touch_data_t touches[10]
uint8_t event_cnt
uint8_t primary_id
struct lv_wl_seat_keyboard_t

Public Members

struct wl_keyboard *wl_keyboard
struct xkb_keymap *xkb_keymap
struct xkb_state *xkb_state
lv_key_t key
lv_indev_state_t state
bool is_pressed
struct lv_wl_seat_t

Public Members

struct wl_seat *wl_seat
lv_wl_seat_pointer_t *pointer
lv_wl_seat_touch_t *touch
lv_wl_seat_keyboard_t *keyboard
struct lv_wl_output_info_t

Public Members

struct wl_output *wl_output
char name[64]
int width
int height
int refresh
int scale
int flags
struct lv_wl_ctx_t

Public Members

struct wl_display *wl_display
struct wl_registry *wl_registry
struct wl_compositor *wl_compositor
struct wl_shm *wl_shm
lv_wl_seat_t seat
void *backend_data
lv_wl_output_info_t physical_outputs[8]
uint8_t wl_output_count
struct xdg_wm_base *xdg_wm
lv_ll_t window_ll
lv_timer_t *cycle_timer
struct lv_wl_resize_event_t

Public Members

struct xdg_surface *xdg_surface
uint32_t serial
int32_t width
int32_t height
bool requested
bool pending
struct lv_wl_window_xdg_t

Public Members

struct xdg_surface *xdg_surface
struct xdg_toplevel *xdg_toplevel
bool configured
struct _lv_wl_window_t

Public Members

lv_display_t *lv_disp
void *backend_display_data
lv_indev_t *lv_indev_pointer
lv_indev_t *lv_indev_pointeraxis
lv_indev_t *lv_indev_touch
lv_indev_t *lv_indev_keyboard
lv_wayland_display_close_cb_t close_cb
lv_wl_window_xdg_t xdg
struct wl_output *physical_output
struct wl_surface *body
lv_wl_resize_event_t resize_event
bool maximized
bool fullscreen