mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
shellchat to use blitstr2
This commit is contained in:
parent
812becb9a5
commit
0e6c344f7a
2 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ version = "0.1.0"
|
||||||
com = { path = "../com" }
|
com = { path = "../com" }
|
||||||
content-plugin-api = { path = "../content-plugin-api" } # all content canvas providers must provide this API
|
content-plugin-api = { path = "../content-plugin-api" } # all content canvas providers must provide this API
|
||||||
gam = { path = "../gam" }
|
gam = { path = "../gam" }
|
||||||
|
blitstr2 = { path = "../../libs/blitstr2" }
|
||||||
graphics-server = { path = "../graphics-server" }
|
graphics-server = { path = "../graphics-server" }
|
||||||
ime-plugin-api = { path = "../ime-plugin-api" }
|
ime-plugin-api = { path = "../ime-plugin-api" }
|
||||||
ime-plugin-shell = { path = "../ime-plugin-shell" }
|
ime-plugin-shell = { path = "../ime-plugin-shell" }
|
||||||
|
|
|
||||||
|
|
@ -303,7 +303,7 @@ impl Repl {
|
||||||
Point::new(self.screensize.x, self.screensize.y / 3),
|
Point::new(self.screensize.x, self.screensize.y / 3),
|
||||||
)),
|
)),
|
||||||
);
|
);
|
||||||
init_tv.style = graphics_server::GlyphStyle::Bold;
|
init_tv.style = blitstr2::GlyphStyle::Bold;
|
||||||
init_tv.draw_border = false;
|
init_tv.draw_border = false;
|
||||||
write!(init_tv.text, "{}", t!("shellchat.bootwait", locales::LANG)).ok();
|
write!(init_tv.text, "{}", t!("shellchat.bootwait", locales::LANG)).ok();
|
||||||
self.gam.post_textview(&mut init_tv).expect("couldn't render wait text");
|
self.gam.post_textview(&mut init_tv).expect("couldn't render wait text");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue