lv_wayland_private.h

API reference for lv_wayland_private.h

Report on GitHub
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_wayland.h

Functions

lv_wayland_xdg_set_maximized

 
void lv_wayland_xdg_set_maximized(lv_wl_window_xdg_t *xdg, bool maximized)
Parameters
NameType
xdglv_wl_window_xdg_t *
maximizedbool

lv_wayland_xdg_set_minimized

 
void lv_wayland_xdg_set_minimized(lv_wl_window_xdg_t *xdg)
Parameters

lv_wayland_xdg_set_fullscreen

 
void lv_wayland_xdg_set_fullscreen(lv_wl_window_xdg_t *xdg, bool fullscreen, struct wl_output *output)
Parameters
NameType
xdglv_wl_window_xdg_t *
fullscreenbool
outputstruct wl_output *

Structs

struct

lv_wl_seat_pointer_t

MemberTypeDescription
wl_pointerstruct wl_pointer *
cursor_surfacestruct wl_surface *
pointlv_point_t
left_btn_statelv_indev_state_t
right_btn_statelv_indev_state_t
wheel_btn_statelv_indev_state_t
wheel_diffint16_t
Used by 1 function
  • lv_wayland_seat_pointer_delete — param seat_pointer
struct

lv_wl_seat_touch_t

MemberTypeDescription
wl_touchstruct wl_touch *
toucheslv_indev_touch_data_t[10]
event_cntuint8_t
primary_iduint8_t
Used by 1 function
  • lv_wayland_seat_touch_delete — param seat_touch
struct

lv_wl_seat_keyboard_t

MemberTypeDescription
wl_keyboardstruct wl_keyboard *
xkb_keymapstruct xkb_keymap *
xkb_statestruct xkb_state *
keylv_key_t
statelv_indev_state_t
is_pressedbool
Used by 1 function
  • lv_wayland_seat_keyboard_delete — param seat_keyboard
struct

lv_wl_seat_t

MemberTypeDescription
wl_seatstruct wl_seat *
pointerlv_wl_seat_pointer_t *
touchlv_wl_seat_touch_t *
keyboardlv_wl_seat_keyboard_t *
Used by 2 functions
  • lv_wayland_seat_init — param seat
  • lv_wayland_seat_deinit — param seat
struct

lv_wl_output_info_t

MemberTypeDescription
wl_outputstruct wl_output *
namechar[64]
widthint
heightint
refreshint
scaleint
flagsint
struct

lv_wl_ctx_t

MemberTypeDescription
wl_displaystruct wl_display *
wl_registrystruct wl_registry *
wl_compositorstruct wl_compositor *
wl_shmstruct wl_shm *
seatlv_wl_seat_t
backend_datavoid *
physical_outputslv_wl_output_info_t[8]
wl_output_countuint8_t
xdg_wmstruct xdg_wm_base *
window_lllv_ll_t
read_compositor_events_timerlv_timer_t *
struct

lv_wl_resize_event_t

MemberTypeDescription
xdg_surfacestruct xdg_surface *
serialuint32_t
widthint32_t
heightint32_t
requestedbool
pendingbool
struct

lv_wl_window_xdg_t

MemberTypeDescription
xdg_surfacestruct xdg_surface *
xdg_toplevelstruct xdg_toplevel *
configuredbool
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
struct

_lv_wl_window_t

MemberTypeDescription
backend_display_datavoid *
lv_displv_display_t *
lv_indev_pointerlv_indev_t *
lv_indev_pointeraxislv_indev_t *
lv_indev_touchlv_indev_t *
lv_indev_keyboardlv_indev_t *
close_cblv_wayland_display_close_cb_t
xdglv_wl_window_xdg_t
physical_outputstruct wl_output *
bodystruct wl_surface *
resize_eventlv_wl_resize_event_t
maximizedbool
fullscreenbool

Typedefs

lv_wl_window_t

 
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

Macros

LV_WAYLAND_DEFAULT_CURSOR_NAME

 
#define LV_WAYLAND_DEFAULT_CURSOR_NAME "left_ptr"

LV_WAYLAND_MAX_OUTPUTS

 
#define LV_WAYLAND_MAX_OUTPUTS 8

Variables

lv_wl_ctx

 
lv_wl_ctx_t lv_wl_ctx

Dependencies

How is this guide?

Last updated on

On this page