lv_windows_context.h
API reference for lv_windows_context.h
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)| Name | Type | Description |
|---|---|---|
window_handle | HWND | The 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
| Member | Type | Description |
|---|---|---|
state | lv_indev_state_t | |
point | lv_point_t | |
indev | lv_indev_t * |
struct
_lv_windows_keypad_queue_item_t
| Member | Type | Description |
|---|---|---|
key | uint32_t | |
state | lv_indev_state_t |
struct
_lv_windows_keypad_context_t
| Member | Type | Description |
|---|---|---|
queue | lv_ll_t | |
utf16_high_surrogate | uint16_t | |
utf16_low_surrogate | uint16_t | |
indev | lv_indev_t * |
struct
_lv_windows_encoder_context_t
| Member | Type | Description |
|---|---|---|
state | lv_indev_state_t | |
enc_diff | int16_t | |
indev | lv_indev_t * |
struct
_lv_windows_window_context_t
| Member | Type | Description |
|---|---|---|
display_device_object | lv_display_t * | |
display_timer_object | lv_timer_t * | |
window_dpi | int32_t | |
zoom_level | int32_t | |
allow_dpi_override | bool | |
simulator_mode | bool | |
display_resolution_changed | bool | |
requested_display_resolution | lv_point_t | |
display_framebuffer_context_handle | HDC | |
display_framebuffer_base | uint32_t * | |
display_framebuffer_size | size_t | |
pointer | lv_windows_pointer_context_t | |
keypad | lv_windows_keypad_context_t | |
encoder | lv_windows_encoder_context_t |
struct
_lv_windows_create_display_data_t
Typedefs
lv_windows_pointer_context_t
typedef struct _lv_windows_pointer_context_t lv_windows_pointer_context_tlv_windows_keypad_queue_item_t
typedef struct _lv_windows_keypad_queue_item_t lv_windows_keypad_queue_item_tlv_windows_keypad_context_t
typedef struct _lv_windows_keypad_context_t lv_windows_keypad_context_tlv_windows_encoder_context_t
typedef struct _lv_windows_encoder_context_t lv_windows_encoder_context_tlv_windows_window_context_t
typedef struct _lv_windows_window_context_t lv_windows_window_context_tlv_windows_create_display_data_t
typedef struct _lv_windows_create_display_data_t lv_windows_create_display_data_tMacros
CREATE_WAITABLE_TIMER_MANUAL_RESET
#define CREATE_WAITABLE_TIMER_MANUAL_RESET 0x00000001CREATE_WAITABLE_TIMER_HIGH_RESOLUTION
#define CREATE_WAITABLE_TIMER_HIGH_RESOLUTION 0x00000002Dependencies
How is this guide?
Last updated on