mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
hello: use platform-neutral ux-api instead of graphics-server
This commit is contained in:
parent
c6ee784da8
commit
62e489f583
2 changed files with 5 additions and 3 deletions
|
|
@ -12,7 +12,8 @@ xous-ipc = "0.10.4"
|
|||
log-server = { package = "xous-api-log", version = "0.1.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" }
|
||||
locales = { path = "../../locales" }
|
||||
tts-frontend = { path = "../../services/tts" }
|
||||
|
||||
|
|
|
|||
|
|
@ -3,12 +3,13 @@
|
|||
|
||||
use core::fmt::Write;
|
||||
|
||||
use graphics_server::api::GlyphStyle;
|
||||
use graphics_server::{DrawStyle, Gid, PixelColor, Point, Rectangle, TextBounds, TextView};
|
||||
use blitstr2::GlyphStyle;
|
||||
use locales::t;
|
||||
use num_traits::*;
|
||||
#[cfg(feature = "tts")]
|
||||
use tts_frontend::*;
|
||||
use ux_api::minigfx::*;
|
||||
use ux_api::service::api::Gid;
|
||||
|
||||
/// Basic 'Hello World!' application that draws a simple
|
||||
/// TextView to the screen.
|
||||
|
|
|
|||
Loading…
Reference in a new issue