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 "context.h"

Go to the source code of this file.

Functions

int zereader_initialize_peripherals ()
 Initialize UI related peripherals defined in the device tree.
void zereader_setup_control_buttons (context_t *context)
 Setup and configure the control buttons.
void zereader_setup_page ()
 Setup the page UI elements.
void zereader_setup_statusbar ()
 Setup and configure the status bar.
void zereader_clean_page ()
 Clean out the page contents.
void zereader_print_current_page ()
 Show the current page.
void zereader_show_logo ()
 Show the configured logo.
void zereader_clean_logo ()
 Clean out the logo.
void zereader_display_blanking_off ()
 Turn off display blanking.

Detailed Description

The ZEReader UI library.