srb_gui 0.1.0

GUI for the Space Robotics Bench
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use egui::Context;

pub fn set(ctx: &Context) {
    let font_definitions = crate::macros::generate_font_definitions! {
        "MonaspaceNeon" as Monospace [
            "MonaspaceNeon-Medium.otf",
        ],

        "Inter" as Proportional [
            "Inter-Regular.otf",
        ],
        "MaterialIcons" as Proportional [
            "MaterialIconsRound-Regular.otf",
        ],
    };

    ctx.set_fonts(font_definitions);
}