flip-ui-rs
Rust integration for handling and compiling the UI built via the Website.
Features
- JSON Integration: Easily import and manage your UI designs exported from the Flip UI Builder.
- UI Rendering: Efficiently render user interface components on Flipper Zero devices.
- Interaction Handling: Simplified event handling to manage user interactions within your applications.
Important Note
Please note that the crate currently works with a different JSON format than the current website. I am working on a rework of the website!
Installation
Add this to your Cargo.toml
:
[]
= "0.1.0"
Example
// Required for panic handler
extern crate flipperzero_rt;
use CStr;
use flip_ui;
use ;
// Define the FAP Manifest for this application
manifest!;
// Define the entry function
entry!;
// Getting UI data && events
flip_ui!
// Entry point