feat: Website (#15)
Add a basic website that shows the current flutgrid state Co-authored-by: Noa Aarts <noa@voorwaarts.nl>
This commit is contained in:
parent
6c9de45c6a
commit
7f04b39a15
12 changed files with 1095 additions and 75 deletions
|
|
@ -11,7 +11,9 @@ pub mod config;
|
|||
pub mod flutclient;
|
||||
pub mod grid;
|
||||
pub mod protocols;
|
||||
pub(crate) mod stream;
|
||||
pub mod utils;
|
||||
pub mod webapi;
|
||||
|
||||
mod color;
|
||||
|
||||
|
|
@ -20,6 +22,8 @@ pub type Coordinate = u16;
|
|||
|
||||
pub static COUNTER: AtomicU64 = AtomicU64::new(0);
|
||||
|
||||
pub type AsyncResult<T> = Result<T, Box<dyn std::error::Error + Send + Sync>>;
|
||||
|
||||
fn set_pixel_rgba(
|
||||
grids: &[grid::Flut<u32>],
|
||||
canvas: Canvas,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue