pub mod cache;
pub mod rendering;
pub mod views;
pub mod widgets;
pub use cache::DirtyFlags;
pub use cache::RenderCache;
pub use cache::WidthCache;
pub use rendering::{
AlbumDisplayCache, DisplayItem, Protocol, compute_album_display_list,
compute_albums_display_list_genres, compute_albums_display_list_years,
};
pub use views::{MenuMode, PanelFocus};
use std::cell::RefCell;
thread_local! {
pub static WIDTH_CACHE: RefCell<WidthCache> = RefCell::new(WidthCache::new());
pub static RENDER_CACHE: RefCell<RenderCache> = RefCell::new(RenderCache::new());
pub static ALBUM_DISPLAY_CACHE: RefCell<AlbumDisplayCache> = RefCell::new(AlbumDisplayCache::new());
}