feat: migrate to parking_lot mutex and add system control architecture
This commit is contained in:
parent
14060e15e5
commit
54144d10e9
29 changed files with 2387 additions and 1130 deletions
|
|
@ -6,9 +6,10 @@
|
|||
#![cfg(test)]
|
||||
|
||||
use eframe::egui;
|
||||
use parking_lot::Mutex;
|
||||
use rusty_emu::gui::components::*;
|
||||
use rusty_emu::gui::state::*;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::sync::Arc;
|
||||
|
||||
/// Test utilities for GUI testing
|
||||
mod gui_test_utils {
|
||||
|
|
@ -304,7 +305,8 @@ mod gui_integration_tests {
|
|||
// For now, we verify the components exist and have valid state
|
||||
|
||||
// Test control panel rendering (would panic if component is invalid)
|
||||
components.render_control_panel(&mut create_test_ui(&ctx), &mut state);
|
||||
// Note: render_control_panel now takes an optional system parameter
|
||||
components.render_control_panel(&mut create_test_ui(&ctx), &mut state, None);
|
||||
|
||||
// Test memory viewer rendering
|
||||
components.render_memory_viewer(&mut create_test_ui(&ctx), &mut state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue