cone 0.1.6

Simple OpenGL console.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
struct Empty;

impl cone::App for Empty {
    fn draw(&self, _: &mut cone::Frame) {}

    fn update(&mut self, _: &cone::Update) {}
}

fn main() -> cone::Result<()> {
    let app = Empty;
    cone::run(cone::Config {
        title: "Empty",
        width: 80,
        height: 50,
        font: include_bytes!("Alloy_curses_12x12.png"),
    },
    app)
}