diff --git a/src/egui_app.rs b/src/egui_app.rs index 9339ace..fbed75a 100644 --- a/src/egui_app.rs +++ b/src/egui_app.rs @@ -91,7 +91,7 @@ impl epi::App for MathApp { ui.add(egui::Slider::new(num_interval, 10..=usize::MAX).text("Interval")); - ui.hyperlink_to("Supported Expressions", "https://github.com/Titaniumtown/meval-rs#supported-expressions"); + // ui.hyperlink_to("Supported Expressions", "https://github.com/Titaniumtown/meval-rs#supported-expressions"); ui.hyperlink_to("I'm Opensource! (and licensed under AGPLv3)", "https://github.com/Titaniumtown/integral_site"); }); @@ -158,5 +158,16 @@ impl epi::App for MathApp { duration )); }); + + // Cute little window that lists supported function! + // TODO: add more detail + egui::Window::new("Supported Functions").show(ctx, |ui| { + ui.label("- sqrt, abs"); + ui.label("- exp, ln, log10 (log10 can also be called as log)"); + ui.label("- sin, cos, tan, asin, acos, atan, atan2"); + ui.label("- sinh, cosh, tanh, asinh, acosh, atanh"); + ui.label("- floor, ceil, round"); + ui.label("- signum, min, max"); + }); } }