summaryrefslogtreecommitdiff
path: root/src/emulators/mod.rs
blob: 8f04e4d1673d174f66415dafb7fc5a2fe2072a33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 symbols_path: Option<PathBuf>,
    pub title: String,
    pub icon: Option<Icon>,
}