diff --git a/src/lib.rs b/src/lib.rs index fcf40e7..3fc8c35 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -33,6 +33,9 @@ pub trait AglApi { fn paint_cursor(&mut self, coords: Point); fn hide_cursor(); fn show_cursor(); + + fn draw_text(&mut self, coords: Point, scale: u8, color: RGBA, text: String); + /// Actually move the double buffer to the single buffer and "update" the screen fn draw(&mut self); /// Setup the clear color to be used