playdate-menu

Crates.ioplaydate-menu
lib.rsplaydate-menu
version0.2.5
sourcesrc
created_at2023-09-08 13:00:25.935679
updated_at2024-07-13 08:13:45.484188
descriptionHigh-level system menu API built on-top of Playdate API
homepagehttps://github.com/boozook/playdate
repositoryhttps://github.com/boozook/playdate.git
max_upload_size
id967084
size47,091
Alexander Koz. (boozook)

documentation

README

System Menu API for PlayDate

High-level system menu API built on-top of playdate-sys.

Usage

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.

Commit count: 445

cargo fmt