This commit is contained in:
Simon Gardling 2022-02-24 22:35:15 -05:00
parent 3e778a39f4
commit 22cd46f493

View File

@ -119,14 +119,16 @@ impl epi::App for MathApp {
// Cute little window that lists supported functions! // Cute little window that lists supported functions!
// TODO: add more detail // TODO: add more detail
egui::Window::new("Supported Functions").default_pos([200.0, 200.0]).show(ctx, |ui| { egui::Window::new("Supported Functions")
ui.label("- sqrt, abs"); .default_pos([200.0, 200.0])
ui.label("- exp, ln, log10 (log10 can also be called as log)"); .show(ctx, |ui| {
ui.label("- sin, cos, tan, asin, acos, atan, atan2"); ui.label("- sqrt, abs");
ui.label("- sinh, cosh, tanh, asinh, acosh, atanh"); ui.label("- exp, ln, log10 (log10 can also be called as log)");
ui.label("- floor, ceil, round"); ui.label("- sin, cos, tan, asin, acos, atan, atan2");
ui.label("- signum, min, max"); ui.label("- sinh, cosh, tanh, asinh, acosh, atanh");
}); ui.label("- floor, ceil, round");
ui.label("- signum, min, max");
});
let mut parse_error: String = "".to_string(); let mut parse_error: String = "".to_string();
egui::SidePanel::left("side_panel") egui::SidePanel::left("side_panel")