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

Method ui

ui/src/disassembler.rs:132–145  ·  view source on GitHub ↗
(&mut self, ui: &mut egui::Ui)

Source from the content-addressed store, hash-verified

130 .default_width(400.0)
131 .default_height(500.0)
132 .show(ctx, |ui| {
133 self.ui(ui);
134 });
135 }
136
137 fn ui(&mut self, ui: &mut egui::Ui) {
138 self.drain_entries();
139
140 let mut text = self.display_text.as_str();
141
142 ScrollArea::both().stick_to_bottom(true).show(ui, |ui| {
143 ui.add(
144 TextEdit::multiline(&mut text)
145 .interactive(false)
146 .font(TextStyle::Monospace)
147 .desired_width(f32::INFINITY),
148 );

Callers 1

showMethod · 0.45

Calls 4

drain_entriesMethod · 0.80
as_strMethod · 0.80
showMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected