use std::ops::Range;
use gemma::chip8::computer_manager::Chip8ComputerManager;

pub struct GemmaEGuiState {
    pub display_video: bool,
    pub display_memory: bool,
    pub display_registers: bool,
    pub memory_view: Range<i32>,
    pub computer: Chip8ComputerManager,
    pub selected_rom_filename: String
}

impl Default for GemmaEGuiState {
    fn default() -> Self {
        Self {
            display_video: true,
            display_memory: true,
            display_registers: true,
            memory_view: 0x00..0x200,
            computer: Chip8ComputerManager::new(),
            selected_rom_filename: String::new()
        }
    }
}
