lv_wayland_private.h
API reference for lv_wayland_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_wayland.h
void lv_wayland_xdg_set_maximized(lv_wl_window_xdg_t *xdg, bool maximized)
Parametersvoid lv_wayland_xdg_set_minimized(lv_wl_window_xdg_t *xdg)
Parametersvoid lv_wayland_xdg_set_fullscreen(lv_wl_window_xdg_t *xdg, bool fullscreen, struct wl_output *output)
Parametersint32_t lv_wayland_window_get_width(lv_wl_window_t *window)
Parametersint32_t lv_wayland_window_get_height(lv_wl_window_t *window)
Parametersconst struct xdg_wm_base_listener * lv_wayland_xdg_get_wm_base_listener(void)
lv_result_t lv_wayland_init(void)
void lv_wayland_deinit(void)
void lv_wayland_flush(void)
void lv_wayland_window_delete(lv_wl_window_t *window)
Parameterslv_result_t lv_wl_xdg_create_window(struct xdg_wm_base *xdg_wm, lv_wl_window_t *window, const char *title)
Parametersbool lv_wayland_xdg_is_resize_pending(lv_wl_window_t *window)
Parametersvoid lv_wayland_xdg_resize(lv_wl_window_t *window)
Parametersvoid lv_wayland_xdg_delete_window(lv_wl_window_xdg_t *xdg)
Parametersvoid 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)
Parameters| Name | Type |
|---|
seat | lv_wl_seat_t * |
registry | struct wl_registry * |
name | uint32_t |
version | uint32_t |
void lv_wayland_seat_deinit(lv_wl_seat_t *seat)
Parameterslv_wl_seat_pointer_t * lv_wayland_seat_pointer_create(struct wl_seat *seat, struct wl_surface *surface)
Parameters| Name | Type |
|---|
seat | struct wl_seat * |
surface | struct wl_surface * |
void lv_wayland_seat_pointer_delete(lv_wl_seat_pointer_t *seat_pointer)
Parameterslv_wl_seat_touch_t * lv_wayland_seat_touch_create(struct wl_seat *seat)
Parameters| Name | Type |
|---|
seat | struct wl_seat * |
void lv_wayland_seat_touch_delete(lv_wl_seat_touch_t *seat_touch)
Parameterslv_wl_seat_keyboard_t * lv_wayland_seat_keyboard_create(struct wl_seat *seat)
Parameters| Name | Type |
|---|
seat | struct wl_seat * |
void lv_wayland_seat_keyboard_delete(lv_wl_seat_keyboard_t *seat_keyboard)
Parametersvoid lv_wayland_update_indevs(lv_indev_read_cb_t read_cb, void *new_driver_data)
Parametersvoid lv_wayland_indevs_ready(lv_indev_read_cb_t read_cb)
Parameters
Used by 1 function
lv_wayland_seat_pointer_delete — param seat_pointer
| Member | Type | Description |
|---|
wl_touch | struct wl_touch * | |
touches | lv_indev_touch_data_t[10] | |
event_cnt | uint8_t | |
primary_id | uint8_t | |
Used by 1 function
lv_wayland_seat_touch_delete — param seat_touch
| Member | Type | Description |
|---|
wl_keyboard | struct wl_keyboard * | |
xkb_context | struct xkb_context * | |
xkb_keymap | struct xkb_keymap * | |
xkb_state | struct xkb_state * | |
focused_surface | struct wl_surface * | |
key | lv_key_t | |
state | lv_indev_state_t | |
events | struct lv_wl_seat_keyboard_t[(64)] | |
event_read_index | uint8_t | |
event_write_index | uint8_t | |
event_count | uint8_t | |
Used by 1 function
lv_wayland_seat_keyboard_delete — param seat_keyboard
Used by 2 functions
lv_wayland_seat_init — param seat
lv_wayland_seat_deinit — param seat
| Member | Type | Description |
|---|
wl_output | struct wl_output * | |
xdg_output | struct zxdg_output_v1 * | |
name | char[64] | |
width | int | |
height | int | |
logical_width | int | |
logical_height | int | |
refresh | int | |
scale | int | |
flags | int | |
| Member | Type | Description |
|---|
wl_display | struct wl_display * | |
wl_registry | struct wl_registry * | |
wl_compositor | struct wl_compositor * | |
wl_shm | struct wl_shm * | |
seat | lv_wl_seat_t | |
backend_data | void * | |
physical_outputs | lv_wl_output_info_t ** | |
wl_output_count | uint8_t | |
xdg_wm | struct xdg_wm_base * | |
xdg_output_mgr | struct zxdg_output_manager_v1 * | |
window_ll | lv_ll_t | |
read_compositor_events_timer | lv_timer_t * | |
| Member | Type | Description |
|---|
xdg_surface | struct xdg_surface * | |
serial | uint32_t | |
width | int32_t | |
height | int32_t | |
requested | bool | |
pending | bool | |
| Member | Type | Description |
|---|
xdg_surface | struct xdg_surface * | |
xdg_toplevel | struct xdg_toplevel * | |
configured | bool | |
Used by 4 functions
lv_wayland_xdg_set_maximized — param xdg
lv_wayland_xdg_set_minimized — param xdg
lv_wayland_xdg_set_fullscreen — param xdg
lv_wayland_xdg_delete_window — param xdg
typedef struct _lv_wl_window_t lv_wl_window_t
Used by 7 functions
lv_wayland_window_get_width — param window
lv_wayland_window_get_height — param window
lv_wayland_window_delete — param window
lv_wl_xdg_create_window — param window
lv_wayland_xdg_is_resize_pending — param window
lv_wayland_xdg_configure_surface — param window
lv_wayland_xdg_resize — param window
#define LV_WAYLAND_DEFAULT_CURSOR_NAME "left_ptr"
#define LV_WAYLAND_KEY_EVENT_MAX_COUNT (64)
Last updated on