mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
repl: use platform-neutral ux-api instead of graphics-server
This commit is contained in:
parent
4b5e9a3b7d
commit
6a407f52ac
2 changed files with 6 additions and 4 deletions
|
|
@ -16,7 +16,8 @@ log-server = { package = "xous-api-log", version = "0.1.63" }
|
|||
ticktimer-server = { package = "xous-api-ticktimer", version = "0.9.63" }
|
||||
xous-names = { package = "xous-api-names", version = "0.9.65" }
|
||||
gam = { path = "../../services/gam" }
|
||||
graphics-server = { path = "../../services/graphics-server" }
|
||||
ux-api = { path = "../../libs/ux-api" }
|
||||
blitstr2 = { path = "../../libs/blitstr2" }
|
||||
trng = { path = "../../services/trng" }
|
||||
locales = { path = "../../locales" }
|
||||
ime-plugin-api = { path = "../../services/ime-plugin-api" }
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
use core::fmt::Write;
|
||||
|
||||
use blitstr2::GlyphStyle;
|
||||
use gam::UxRegistration;
|
||||
use graphics_server::api::GlyphStyle;
|
||||
use graphics_server::{DrawStyle, Gid, PixelColor, Point, Rectangle, TextBounds, TextView};
|
||||
use locales::t;
|
||||
use ux_api::minigfx::*;
|
||||
use ux_api::service::api::*;
|
||||
use xous::MessageEnvelope;
|
||||
|
||||
use super::*;
|
||||
|
|
@ -36,7 +37,7 @@ pub(crate) struct Repl {
|
|||
margin: Point, // margin to edge of canvas
|
||||
bubble_margin: Point, // margin of text in bubbles
|
||||
bubble_radius: u16,
|
||||
bubble_space: i16, // spacing between text bubbles
|
||||
bubble_space: isize, // spacing between text bubbles
|
||||
|
||||
// command environment
|
||||
env: CmdEnv,
|
||||
|
|
|
|||
Loading…
Reference in a new issue