mirror of https://github.com/encounter/objdiff.git
14 lines
410 B
Rust
14 lines
410 B
Rust
use egui::{text::LayoutJob, Color32, FontId, TextFormat};
|
|
|
|
pub(crate) mod config;
|
|
pub(crate) mod data_diff;
|
|
pub(crate) mod function_diff;
|
|
pub(crate) mod jobs;
|
|
pub(crate) mod symbol_diff;
|
|
|
|
const COLOR_RED: Color32 = Color32::from_rgb(200, 40, 41);
|
|
|
|
fn write_text(str: &str, color: Color32, job: &mut LayoutJob, font_id: FontId) {
|
|
job.append(str, 0.0, TextFormat { font_id, color, ..Default::default() });
|
|
}
|