notan 0.14.0

A simple portable multimedia layer to create apps or games easily
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use notan::prelude::*;

#[notan_main]
fn main() -> Result<(), String> {
    // Check the documentation for more options
    let window_config = WindowConfig::new()
        .set_title("Window Icon Data Demo")
        .set_window_icon_data(Some(include_bytes!("./assets/rust.ico")))
        .set_taskbar_icon_data(Some(include_bytes!("./assets/rust.ico")));

    notan::init().add_config(window_config).build()
}