status to use blitstr2

This commit is contained in:
bunnie 2025-02-17 18:26:02 +08:00
parent 0e6c344f7a
commit b474560fc3
3 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@ codec = { path = "../codec" }
userprefs = { path = "../../libs/userprefs" }
dns = { path = "../dns" }
early_settings = { path = "../early_settings" }
blitstr2 = { path = "../../libs/blitstr2" }
num-derive = { version = "0.4.2", default-features = false }
num-traits = { version = "0.2.14", default-features = false }

View file

@ -19,11 +19,11 @@ use std::sync::{Arc, Mutex};
#[cfg_attr(not(target_os = "xous"), allow(unused_imports))]
use std::thread;
use blitstr2::GlyphStyle;
use chrono::prelude::*;
use com::api::*;
use crossbeam::channel::{Receiver, Sender, at, select, unbounded};
use gam::{GamObjectList, GamObjectType};
use graphics_server::api::GlyphStyle;
use graphics_server::*;
use locales::t;
use num_traits::*;

View file

@ -244,8 +244,8 @@ impl WLANMan {
networks.retain(|&n| n.len() != 0);
// limit the total number displayed so that the "okay" button does not disappear off the bottom
let max_entries = match gam::SYSTEM_STYLE {
graphics_server::GlyphStyle::Tall => 13,
graphics_server::GlyphStyle::Regular => 16,
blitstr2::GlyphStyle::Tall => 13,
blitstr2::GlyphStyle::Regular => 16,
_ => 12,
};
networks.truncate(max_entries);