lv_windows_context.h

API reference for lv_windows_context.h

Report on GitHub

Functions

lv_windows_get_window_context

Get the window context from specific LVGL display window.

 
lv_windows_window_context_t * lv_windows_get_window_context(HWND window_handle)
Parameters
NameTypeDescription
window_handleHWNDThe window handle of specific LVGL display window.

Returns: lv_windows_window_context_t * — The window context from specific LVGL display window.

Remark: This is a private API which is used for LVGL Windows backend implementation. LVGL users shouldn't use that because the maintainer doesn't promise the application binary interface compatibility for this API.

Structs

struct

_lv_windows_pointer_context_t

MemberTypeDescription
statelv_indev_state_t
pointlv_point_t
indevlv_indev_t *
struct

_lv_windows_keypad_queue_item_t

MemberTypeDescription
keyuint32_t
statelv_indev_state_t
struct

_lv_windows_keypad_context_t

MemberTypeDescription
queuelv_ll_t
utf16_high_surrogateuint16_t
utf16_low_surrogateuint16_t
indevlv_indev_t *
struct

_lv_windows_encoder_context_t

MemberTypeDescription
statelv_indev_state_t
enc_diffint16_t
indevlv_indev_t *
struct

_lv_windows_window_context_t

MemberTypeDescription
display_device_objectlv_display_t *
display_timer_objectlv_timer_t *
window_dpiint32_t
zoom_levelint32_t
allow_dpi_overridebool
simulator_modebool
display_resolution_changedbool
requested_display_resolutionlv_point_t
display_framebuffer_context_handleHDC
display_framebuffer_baseuint32_t *
display_framebuffer_sizesize_t
pointerlv_windows_pointer_context_t
keypadlv_windows_keypad_context_t
encoderlv_windows_encoder_context_t
struct

_lv_windows_create_display_data_t

MemberTypeDescription
titleconst wchar_t *
hor_resint32_t
ver_resint32_t
zoom_levelint32_t
allow_dpi_overridebool
simulator_modebool
mutexHANDLE
displaylv_display_t *

Typedefs

lv_windows_pointer_context_t

 
typedef struct _lv_windows_pointer_context_t lv_windows_pointer_context_t

lv_windows_keypad_queue_item_t

 
typedef struct _lv_windows_keypad_queue_item_t lv_windows_keypad_queue_item_t

lv_windows_keypad_context_t

 
typedef struct _lv_windows_keypad_context_t lv_windows_keypad_context_t

lv_windows_encoder_context_t

 
typedef struct _lv_windows_encoder_context_t lv_windows_encoder_context_t

lv_windows_window_context_t

 
typedef struct _lv_windows_window_context_t lv_windows_window_context_t

lv_windows_create_display_data_t

 
typedef struct _lv_windows_create_display_data_t lv_windows_create_display_data_t

Macros

CREATE_WAITABLE_TIMER_MANUAL_RESET

 
#define CREATE_WAITABLE_TIMER_MANUAL_RESET 0x00000001

CREATE_WAITABLE_TIMER_HIGH_RESOLUTION

 
#define CREATE_WAITABLE_TIMER_HIGH_RESOLUTION 0x00000002

Dependencies

How is this guide?

Last updated on

On this page