objdiff/src/views/mod.rs

18 lines
468 B
Rust
Raw Normal View History

use egui::{text::LayoutJob, Color32, FontId, TextFormat};
pub(crate) mod appearance;
2022-09-08 14:19:20 -07:00
pub(crate) mod config;
2022-11-05 21:49:46 -07:00
pub(crate) mod data_diff;
pub(crate) mod debug;
pub(crate) mod demangle;
pub(crate) mod file;
pub(crate) mod frame_history;
2022-09-08 14:19:20 -07:00
pub(crate) mod function_diff;
pub(crate) mod jobs;
pub(crate) mod symbol_diff;
#[inline]
fn write_text(str: &str, color: Color32, job: &mut LayoutJob, font_id: FontId) {
2023-01-20 22:11:40 -08:00
job.append(str, 0.0, TextFormat::simple(font_id, color));
}