Skip to content

Commit 06451aa

Browse files
authored
Merge pull request #17 from Neotron-Compute/add-bitmap-mode
Add bitmap mode
2 parents bd0349b + 1e942ee commit 06451aa

File tree

7 files changed

+774
-674
lines changed

7 files changed

+774
-674
lines changed

Cargo.lock

Lines changed: 102 additions & 96 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ env_logger = "0.9"
1414
libloading = "0.7"
1515
log = "0.4"
1616
neotron-common-bios = "0.12"
17-
pix-engine = "0.7"
17+
pix-engine = "0.8"

src/font/font16.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
3232
/// An 8x16 font
3333
pub static FONT: super::Font = super::Font {
34+
name: "8x16",
3435
height: 16,
3536
data: &DATA,
3637
};

src/font/font8.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
3434
/// An 8x16 font
3535
pub static FONT: super::Font = super::Font {
36+
name: "8x8",
3637
height: 8,
3738
data: &DATA,
3839
};

src/font/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ pub mod font8;
3939

4040
/// A font
4141
pub struct Font<'a> {
42+
pub name: &'static str,
4243
pub height: usize,
4344
pub data: &'a [u8],
4445
}

0 commit comments

Comments
 (0)