(&mut self, ctx: &egui::Context, open: &mut bool)
| 116 | } |
| 117 | |
| 118 | impl UiTool for Disassembler { |
| 119 | fn name(&self) -> &'static str { |
| 120 | "Disassembler" |
| 121 | } |
| 122 | |
| 123 | fn show(&mut self, ctx: &egui::Context, open: &mut bool) { |
| 124 | self.set_enabled(*open); |
| 125 | |
| 126 | egui::Window::new(self.name()) |
| 127 | .resizable(true) |
| 128 | .open(open) |
| 129 | .default_pos(egui::pos2(750.0, 50.0)) |
| 130 | .default_width(400.0) |
| 131 | .default_height(500.0) |
| 132 | .show(ctx, |ui| { |
| 133 | self.ui(ui); |
no test coverage detected