mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
transientdisk: use platform-neutral ux-api instead of graphics-server
This commit is contained in:
parent
6a407f52ac
commit
09bf7f00e4
2 changed files with 5 additions and 3 deletions
|
|
@ -14,8 +14,9 @@ xous-ipc = "0.10.4"
|
||||||
log-server = { package = "xous-api-log", version = "0.1.63" }
|
log-server = { package = "xous-api-log", version = "0.1.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" }
|
|
||||||
usb-device-xous = { path = "../../services/usb-device-xous" }
|
usb-device-xous = { path = "../../services/usb-device-xous" }
|
||||||
|
ux-api = { path = "../../libs/ux-api" }
|
||||||
|
blitstr2 = { path = "../../libs/blitstr2" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
mass-storage = ["usb-device-xous/mass-storage"]
|
mass-storage = ["usb-device-xous/mass-storage"]
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,10 @@
|
||||||
#![cfg_attr(target_os = "none", no_main)]
|
#![cfg_attr(target_os = "none", no_main)]
|
||||||
use core::fmt::Write;
|
use core::fmt::Write;
|
||||||
|
|
||||||
use graphics_server::api::GlyphStyle;
|
use blitstr2::GlyphStyle;
|
||||||
use graphics_server::{DrawStyle, Gid, PixelColor, Point, Rectangle, TextBounds, TextView};
|
|
||||||
use num_traits::*;
|
use num_traits::*;
|
||||||
|
use ux_api::minigfx::*;
|
||||||
|
use ux_api::service::api::*;
|
||||||
mod flash_drive;
|
mod flash_drive;
|
||||||
|
|
||||||
pub(crate) const SERVER_NAME_TRANSIENTDISK: &str = "_Transient Disk_";
|
pub(crate) const SERVER_NAME_TRANSIENTDISK: &str = "_Transient Disk_";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue