DEVELOPMENT ENVIRONMENT

~liljamo/application-launcher

ref: d7c3e469210495821d1daaef2384bd44c9bc3f56 application-launcher/src/main.rs -rw-r--r-- 531 bytes
d7c3e469Jonni Liljamo Update 'README.md' 2 years 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)
}