started working on dialogs

This commit is contained in:
FantasyPvP
2024-03-20 18:03:15 +00:00
parent b0da71942a
commit e80df5100f
11 changed files with 158 additions and 464 deletions
+8 -2
View File
@@ -1,7 +1,7 @@
use alloc::string::String;
use alloc::vec;
use alloc::vec::Vec;
use crate::system::kernel::render::{BUFFER_HEIGHT, BUFFER_WIDTH, RENDERER, ScreenChar};
use crate::system::kernel::render::{RENDERER, ScreenChar};
use crate::std::io::{Color, Screen};
/// TODO: get a working implementation for CLI apps
@@ -12,7 +12,13 @@ use crate::std::io::{Color, Screen};
/// nothing will appear on the screen until the frame is actually rendered by
/// the write_to_screen() method on the renderer
pub use crate::system::kernel::render::{special_char, RenderError, ColorCode};
pub use crate::system::kernel::render::{
special_char,
RenderError,
ColorCode,
BUFFER_WIDTH,
BUFFER_HEIGHT
};
#[derive(Clone, Copy, Debug, PartialEq)]