mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
improve compatibility of api signatures
This commit is contained in:
parent
f93ab192af
commit
18de29f7a7
2 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ pub struct Modal<'a> {
|
||||||
|
|
||||||
impl<'a> Modal<'a> {
|
impl<'a> Modal<'a> {
|
||||||
pub fn new(
|
pub fn new(
|
||||||
|
_compat_name: &str,
|
||||||
action: ActionType,
|
action: ActionType,
|
||||||
top_text: Option<&str>,
|
top_text: Option<&str>,
|
||||||
bot_text: Option<&str>,
|
bot_text: Option<&str>,
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,7 @@ impl Default for TextEntry {
|
||||||
|
|
||||||
impl TextEntry {
|
impl TextEntry {
|
||||||
pub fn new(
|
pub fn new(
|
||||||
|
_is_password: bool,
|
||||||
_visibility: TextEntryVisibility,
|
_visibility: TextEntryVisibility,
|
||||||
action_conn: xous::CID,
|
action_conn: xous::CID,
|
||||||
action_opcode: u32,
|
action_opcode: u32,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue