mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
this just grafts in the new crate, while leaving the old crate unscathed. once this is somewhat functional we'll excise the old crate and reformat the loader for the "hard binary" image of the fonts.
20 lines
No EOL
517 B
Rust
20 lines
No EOL
517 B
Rust
mod blit;
|
|
pub use blit::*;
|
|
mod cliprect;
|
|
pub use cliprect::*;
|
|
mod fonts;
|
|
pub use fonts::*;
|
|
mod cursor;
|
|
pub use cursor::*;
|
|
mod pt;
|
|
pub use pt::*;
|
|
mod glyphstyle;
|
|
pub use glyphstyle::*;
|
|
|
|
const LINES: usize = crate::backend::FB_LINES;
|
|
const WIDTH: usize = crate::backend::FB_WIDTH_PIXELS;
|
|
const WORDS_PER_LINE: usize = crate::backend::FB_WIDTH_WORDS;
|
|
pub type FrBuf = [u32; WORDS_PER_LINE * LINES];
|
|
|
|
// add more fonts (an example):
|
|
// https://github.com/samblenny/blitstr2/commit/bb7d4ab6a2d8913dcb520895a3c242c933413aae
|