lv_opengles_glfw.h
API reference for lv_opengles_glfw.h
Summary
Functions
lv_opengles_glfw_window_set_title
Set the window's title text
void lv_opengles_glfw_window_set_title(lv_opengles_window_t *window, const char *new_title)| Name | Type | Description |
|---|---|---|
window | lv_opengles_window_t * | GLFW window to configure |
new_title | const char * | The new title text |
lv_opengles_glfw_window_set_flip
Set the horizontal / vertical flipping of a GLFW window
void lv_opengles_glfw_window_set_flip(lv_opengles_window_t *window, bool h_flip, bool v_flip)| Name | Type | Description |
|---|---|---|
window | lv_opengles_window_t * | GLFW window to configure |
h_flip | bool | Should the window contents be horizontally mirrored? |
v_flip | bool | Should the window contents be vertically mirrored? |
lv_opengles_glfw_window_get_glfw_window
Get the GLFW window handle for a GLFW lv_opengles_window_t
void * lv_opengles_glfw_window_get_glfw_window(lv_opengles_window_t *window)| Name | Type | Description |
|---|---|---|
window | lv_opengles_window_t * | GLFW window to return the handle of |
Returns: void * — the GLFW window handle
lv_opengles_glfw_window_create
Create a GLFW OpenGL window with no textures and initialize OpenGL
lv_opengles_window_t * lv_opengles_glfw_window_create(int32_t hor_res, int32_t ver_res, bool use_mouse_indev)| Name | Type | Description |
|---|---|---|
hor_res | int32_t | width in pixels of the window |
ver_res | int32_t | height in pixels of the window |
use_mouse_indev | bool | send pointer indev input to LVGL display textures |
Returns: lv_opengles_window_t * — the new GLFW OpenGL window handle
lv_opengles_glfw_window_create_ex
Create a GLFW window with no textures and initialize OpenGL
lv_opengles_window_t * lv_opengles_glfw_window_create_ex(int32_t hor_res, int32_t ver_res, bool use_mouse_indev, bool h_flip, bool v_flip, const char *title)| Name | Type | Description |
|---|---|---|
hor_res | int32_t | width in pixels of the window |
ver_res | int32_t | height in pixels of the window |
use_mouse_indev | bool | send pointer indev input to LVGL display textures |
h_flip | bool | Should the window contents be horizontally mirrored? |
v_flip | bool | Should the window contents be vertically mirrored? |
title | const char * | The window title |
Returns: lv_opengles_window_t * — the new GLFW window handle
Dependencies
Last updated on