MCPcopy Create free account
hub / github.com/RIP-Comm/clementine / show

Method show

ui/src/disassembler.rs:118–130  ·  view source on GitHub ↗
(&mut self, ctx: &egui::Context, open: &mut bool)

Source from the content-addressed store, hash-verified

116}
117
118impl 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);

Callers 1

uiMethod · 0.45

Calls 3

set_enabledMethod · 0.80
nameMethod · 0.45
uiMethod · 0.45

Tested by

no test coverage detected