DEVELOPMENT ENVIRONMENT

~liljamo/application-launcher

application-launcher/src/main.rs -rw-r--r-- 531 bytes
05be38a7Jonni Liljamo docs: update README.md, add LICENSE and NOTICE 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
mod application;

use iced::Application;

fn main() -> iced::Result {
    let window_settings = iced::window::Settings {
        position: iced::window::Position::Centered,
        size: (512, 300),
        min_size: None,
        max_size: None,
        resizable: false,
        decorations: false,
        transparent: true,
        always_on_top: true,
        icon: None,
    };

    let settings = iced::Settings {
        window: window_settings,
        ..Default::default()
    };

    application::State::run(settings)
}