ZEReader 0.1.0
A Zephyr-based E-Book-Reader
Loading...
Searching...
No Matches
ui.h File Reference

The ZEReader UI library. More...

#include <lvgl.h>
#include <lvgl_input_device.h>
#include <zephyr/drivers/adc.h>
#include <zephyr/drivers/display.h>
#include <zephyr/devicetree.h>
#include <ui/context/context.h>

Go to the source code of this file.

Functions

void ui_init (context_t *context)
 Initialize the UI.
void zereader_clean_page ()
 Clean out the page contents.
void zereader_print_page (const char *page)
 Render a page with the given input.
void zereader_recreate_page (const char *content, size_t page)
 Recreate the page with new content and scroll position.
void zereader_scroll_up (void)
 Scroll up in the text view.
void zereader_scroll_down (void)
 Scroll down in the text view.
void zereader_show_bookmenu (context_t *context, const char *booklist)
 Show the book selection menu.
void zereader_show_logo ()
 Show the configured logo.
void zereader_show_shutdown_screen ()
 Show a clean shutdown screen.
void zereader_ui_lock (void)
 Lock the LVGL mutex.
void zereader_ui_unlock (void)
 Unlock the LVGL mutex.

Detailed Description

The ZEReader UI library.