summaryrefslogtreecommitdiff
path: root/src/emulators/mod.rs
blob: d4a58f9bfe67be87656eb88cd64fd41bcdc65dcd (plain) (blame)
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 headless_emulator;
mod graphical_emulator;

pub use headless_emulator::*;
pub use graphical_emulator::*;

use crate::*;


pub struct EmulatorConfig {
    pub dimensions: ScreenDimensions,
    pub fullscreen: bool,
    pub zoom: NonZeroU32,
    pub palette: Option<[Colour; 16]>,
    pub show_cursor: bool,
    pub decode_stdin: bool,
    pub encode_stdout: bool,
    pub trust_files: bool,
    pub symbols_path: Option<PathBuf>,
    pub name: Option<String>,
    pub identifier: Option<String>,
    pub title: String,
    pub icon: Option<Icon>,
}