2024-05-28 19:38:43 +02:00
|
|
|
//! C API wrapper for the `servicepoint` crate.
|
|
|
|
|
2024-05-26 13:15:11 +02:00
|
|
|
pub use servicepoint::{
|
|
|
|
CompressionCode, PIXEL_COUNT, PIXEL_HEIGHT, PIXEL_WIDTH, TILE_HEIGHT,
|
|
|
|
TILE_SIZE, TILE_WIDTH,
|
|
|
|
};
|
|
|
|
|
2024-05-28 21:25:59 +02:00
|
|
|
pub use crate::c_slice::CByteSlice;
|
|
|
|
|
2024-05-26 13:15:11 +02:00
|
|
|
pub mod bit_vec;
|
2024-05-28 19:38:43 +02:00
|
|
|
|
2024-06-23 15:42:15 +02:00
|
|
|
pub mod brightness_grid;
|
2024-05-28 19:38:43 +02:00
|
|
|
|
2024-05-26 13:15:11 +02:00
|
|
|
pub mod command;
|
2024-05-28 19:38:43 +02:00
|
|
|
|
2024-05-26 13:15:11 +02:00
|
|
|
pub mod connection;
|
2024-05-28 19:38:43 +02:00
|
|
|
|
2024-05-26 13:15:11 +02:00
|
|
|
pub mod packet;
|
2024-05-28 19:38:43 +02:00
|
|
|
|
2024-05-26 13:15:11 +02:00
|
|
|
pub mod pixel_grid;
|
|
|
|
|
2024-06-23 15:42:15 +02:00
|
|
|
pub mod c_slice;
|
|
|
|
|
|
|
|
pub mod cp437_grid;
|
|
|
|
|
2024-05-28 19:38:43 +02:00
|
|
|
/// The minimum time needed for the display to refresh the screen in ms.
|
2024-05-26 13:15:11 +02:00
|
|
|
pub const FRAME_PACING_MS: u32 = servicepoint::FRAME_PACING.as_millis() as u32;
|