lv_qnx.h
API reference for lv_qnx.h
LVGL driver for the QNX Screen compositing window manager.
Summary
Functions
public/drivers/qnx/lv_qnx.h:50function
lv_qnx_window_set_title
Set the title of the window identified by the given display.
void lv_qnx_window_set_title(lv_display_t *disp, const char *title)| Name | Type | Description |
|---|---|---|
disp | lv_display_t * | The display object for the window |
title | const char * | The new title to set |
public/drivers/qnx/lv_qnx.h:43function
lv_qnx_window_create
Create a window to use as a display for LVGL.
lv_display_t * lv_qnx_window_create(int32_t hor_res, int32_t ver_res)| Name | Type | Description |
|---|---|---|
hor_res | int32_t | The horizontal resolution (size) of the window |
ver_res | int32_t | The vertical resolution (size) of the window |
Returns: lv_display_t * — A pointer to a new display object if successful, NULL otherwise
public/drivers/qnx/lv_qnx.h:58function
lv_qnx_add_pointer_device
Create a pointer input device for the display. Only one pointer object is currently supported.
bool lv_qnx_add_pointer_device(lv_display_t *disp)| Name | Type | Description |
|---|---|---|
disp | lv_display_t * | The display object associated with the device |
Returns: bool — true if successful, false otherwise
public/drivers/qnx/lv_qnx.h:66function
lv_qnx_add_keyboard_device
Create a keyboard input device for the display. Only one keyboard object is currently supported.
bool lv_qnx_add_keyboard_device(lv_display_t *disp)| Name | Type | Description |
|---|---|---|
disp | lv_display_t * | The display object associated with the device |
Returns: bool — true if successful, false otherwise
public/drivers/qnx/lv_qnx.h:74function
lv_qnx_event_loop
Runs the event loop for the display. The function only returns in response to a close event.
int lv_qnx_event_loop(lv_display_t *disp)| Name | Type | Description |
|---|---|---|
disp | lv_display_t * | The display for the event loop |
Returns: int — Exit code
Dependencies
Last updated on