Rerwite everything to share an egui context
This commit is contained in:
+1
-5
@@ -1,4 +1,4 @@
|
||||
use egui::{Button, CentralPanel, TextEdit, ViewportBuilder, ViewportId};
|
||||
use egui::{Button, CentralPanel, TextEdit, ViewportBuilder};
|
||||
use winit::event_loop::EventLoopProxy;
|
||||
|
||||
use crate::{
|
||||
@@ -42,10 +42,6 @@ impl GdbServerWindow {
|
||||
}
|
||||
|
||||
impl AppWindow for GdbServerWindow {
|
||||
fn viewport_id(&self) -> ViewportId {
|
||||
ViewportId::from_hash_of(format!("Debugger-{}", self.sim_id))
|
||||
}
|
||||
|
||||
fn sim_id(&self) -> SimId {
|
||||
self.sim_id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user