diff --git a/src/egui_app.rs b/src/egui_app.rs index e85bffc..92c27d0 100644 --- a/src/egui_app.rs +++ b/src/egui_app.rs @@ -63,6 +63,9 @@ const HELP_EXPR: &str = "- sqrt(x): square root of x - atan2, sinh, cosh, tanh, asinh, acosh, atanh - floor, ceil, round, signum"; +const HELP_VARS: &str = "- Euler's number is supported via 'E' (noted it being uppercase) +- PI is available through 'pi' or 'π'"; + // Used in the "Panel" section of the Help window const HELP_PANEL: &str = "- The 'Panel' button on the top bar toggles if the side bar should be shown or not. @@ -414,6 +417,10 @@ impl epi::App for MathApp { ui.label(HELP_EXPR); }); + ui.collapsing("Supported Constants", |ui| { + ui.label(HELP_VARS); + }); + ui.collapsing("Panel", |ui| { ui.label(HELP_PANEL); });