lv_windows_context.h

Defines

CREATE_WAITABLE_TIMER_MANUAL_RESET
CREATE_WAITABLE_TIMER_HIGH_RESOLUTION

Typedefs

typedef struct _lv_windows_pointer_context_t lv_windows_pointer_context_t
typedef struct _lv_windows_keypad_queue_item_t lv_windows_keypad_queue_item_t
typedef struct _lv_windows_keypad_context_t lv_windows_keypad_context_t
typedef struct _lv_windows_encoder_context_t lv_windows_encoder_context_t
typedef struct _lv_windows_window_context_t lv_windows_window_context_t
typedef struct _lv_windows_create_display_data_t lv_windows_create_display_data_t

Functions

void lv_windows_platform_init(void)

Initialize the LVGL Windows backend.

Remark

This is a private API which is used for LVGL Windows backend implementation. LVGL users shouldn't use that because the LVGL has already used it in lv_init.

lv_windows_window_context_t *lv_windows_get_window_context(HWND window_handle)

Get 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.

Parameters:

window_handle -- The window handle of specific LVGL display window.

Returns:

The window context from specific LVGL display window.

struct _lv_windows_pointer_context_t

Public Members

lv_indev_state_t state
lv_point_t point
lv_indev_t *indev
struct _lv_windows_keypad_queue_item_t

Public Members

uint32_t key
lv_indev_state_t state
struct _lv_windows_keypad_context_t

Public Members

lv_ll_t queue
uint16_t utf16_high_surrogate
uint16_t utf16_low_surrogate
lv_indev_t *indev
struct _lv_windows_encoder_context_t

Public Members

lv_indev_state_t state
int16_t enc_diff
lv_indev_t *indev
struct _lv_windows_window_context_t

Public Members

lv_display_t *display_device_object
lv_timer_t *display_timer_object
int32_t window_dpi
int32_t zoom_level
bool allow_dpi_override
bool simulator_mode
bool display_resolution_changed
lv_point_t requested_display_resolution
HDC display_framebuffer_context_handle
uint32_t *display_framebuffer_base
size_t display_framebuffer_size
lv_windows_pointer_context_t pointer
lv_windows_keypad_context_t keypad
lv_windows_encoder_context_t encoder
struct _lv_windows_create_display_data_t

Public Members

const wchar_t *title
int32_t hor_res
int32_t ver_res
int32_t zoom_level
bool allow_dpi_override
bool simulator_mode
HANDLE mutex
lv_display_t *display