Crates.io | playdate-menu |
lib.rs | playdate-menu |
version | 0.2.5 |
source | src |
created_at | 2023-09-08 13:00:25.935679 |
updated_at | 2024-07-13 08:13:45.484188 |
description | High-level system menu API built on-top of Playdate API |
homepage | https://github.com/boozook/playdate |
repository | https://github.com/boozook/playdate.git |
max_upload_size | |
id | 967084 |
size | 47,091 |
High-level system menu API built on-top of playdate-sys.
extern crate playdate_menu;
use playdate_menu::*;
fn callback(userdata: &mut u32) { *userdata += 1 }
let simple = SimpleMenuItem::new("Simple", Some(callback), 0);
let check = CheckMenuItem::new("Check", false, None, ());
let opts = OptionsMenuItem::new("Opts", ["No", "Yes"], None, ());
This software is not sponsored or supported by Panic.