A custom OS for the xteink x4 ebook reader
1// widget primitives for 1-bit e-paper displays
2//
3// font-independent: Region, Alignment, stack measurement, StackFmt
4// font-dependent widgets (BitmapLabel, QuickMenu, ButtonFeedback)
5// live in the distro's apps::widgets module
6
7pub mod layout;
8pub mod stack_fmt;
9pub mod statusbar;
10mod widget;
11
12pub use layout::{
13 CONTENT_TOP, FULL_CONTENT_W, HEADER_W, LARGE_MARGIN, SECTION_GAP, TITLE_Y, TITLE_Y_OFFSET,
14};
15pub use stack_fmt::{StackFmt, stack_fmt};
16pub use statusbar::{BAR_HEIGHT, free_stack_bytes, paint_stack, stack_high_water_mark};
17pub use widget::{
18 Alignment, LoadingIndicator, ProgressBar, Region, wrap_next, wrap_prev,
19};
20
21pub use crate::board::{SCREEN_H, SCREEN_W};