mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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" }
|
ticktimer-server = { package = "xous-api-ticktimer", version = "0.9.63" }
|
||||||
xous-names = { package = "xous-api-names", version = "0.9.65" }
|
xous-names = { package = "xous-api-names", version = "0.9.65" }
|
||||||
gam = { path = "../../services/gam" }
|
gam = { path = "../../services/gam" }
|
||||||
graphics-server = { path = "../../services/graphics-server" }
|
ux-api = { path = "../../libs/ux-api" }
|
||||||
|
blitstr2 = { path = "../../libs/blitstr2" }
|
||||||
trng = { path = "../../services/trng" }
|
trng = { path = "../../services/trng" }
|
||||||
locales = { path = "../../locales" }
|
locales = { path = "../../locales" }
|
||||||
ime-plugin-api = { path = "../../services/ime-plugin-api" }
|
ime-plugin-api = { path = "../../services/ime-plugin-api" }
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
use core::fmt::Write;
|
use core::fmt::Write;
|
||||||
|
|
||||||
|
use blitstr2::GlyphStyle;
|
||||||
use gam::UxRegistration;
|
use gam::UxRegistration;
|
||||||
use graphics_server::api::GlyphStyle;
|
|
||||||
use graphics_server::{DrawStyle, Gid, PixelColor, Point, Rectangle, TextBounds, TextView};
|
|
||||||
use locales::t;
|
use locales::t;
|
||||||
|
use ux_api::minigfx::*;
|
||||||
|
use ux_api::service::api::*;
|
||||||
use xous::MessageEnvelope;
|
use xous::MessageEnvelope;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
@ -36,7 +37,7 @@ pub(crate) struct Repl {
|
||||||
margin: Point, // margin to edge of canvas
|
margin: Point, // margin to edge of canvas
|
||||||
bubble_margin: Point, // margin of text in bubbles
|
bubble_margin: Point, // margin of text in bubbles
|
||||||
bubble_radius: u16,
|
bubble_radius: u16,
|
||||||
bubble_space: i16, // spacing between text bubbles
|
bubble_space: isize, // spacing between text bubbles
|
||||||
|
|
||||||
// command environment
|
// command environment
|
||||||
env: CmdEnv,
|
env: CmdEnv,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue