pub mod extui;
pub struct Orz{
pub event:OEvent,
pub msg:Option<String>,
}
pub enum OEvent{
Buttom(String),
Checkbox(String),
Combobox(String),
Toasts(Infotype),
Char(Chartype),
DragValue(String),
}
pub enum Chartype{
Byte(&'static str),
Str(String),
}
pub enum Infotype{
Success,
Error,
Info,
}
impl Orz {
pub fn from(evt:OEvent,msg:Option<String>)->Self{
Self { event: evt, msg: msg }
}
}