embedded-menu
embedded-menu copied to clipboard
Menu library written in Rust for embedded applications
Hello, first of all, thank you very much for your crate. I'm trying to use it on hardware with rgb565 display. I'm using your examples for inspiration. I'm using theme...
Currently, dynamic lists of menu items are only possible in a very restricted way: it is not possible to arbitrarily mix and match navigation and selection items. Unfortunately, we can't...
If the menu doesn't take up the whole screen, users might want to draw other things. In this case, it would be nice to: - know how big certain menu...
currently doing ```rs #[derive(embedded_menu::SelectValue, PartialEq, Eq, Clone, Copy)] #[display_as(">")] pub enum Page { Main, #[display_as("toto")] InputDebug, SelectInput, SelectOutput, Settings, } ``` compiles but `#[display_as(">")]` doesn't do anything, we need to...
Hi, just found out your crate and it looks amazing ! I'm trying to make a menu but I can't really understand how everything works just from the examples, at...
in all examples we find ```rs // setup code 'running: loop { let mut display = SimulatorDisplay::new(Size::new(128, 64)); menu.update(&display); menu.draw(&mut display).unwrap(); window.update(&display); // event handling logic } Ok(()) ``` I...
```rust let mut items = Vec::new(); let mut menu = Menu::with_style(title, style.clone()) .add_menu_items(items.as_mut_slice()) .build(); ``` Results in: ``` 3.156 ERROR panicked at /home/robert/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-menu-0.6.1/src/interaction/mod.rs:56:38: attempt to subtract with overflow ``