remove licensing info
This commit is contained in:
parent
828e59ae71
commit
3972be9f97
@ -23,7 +23,6 @@
|
||||
"help_other": [
|
||||
"- Extrema (local minimums and maximums) and Roots (intersections with the x-axis) are displayed though yellow and light blue points located on the graph. You can toggle these in the Side Panel."
|
||||
],
|
||||
"license_info": "The AGPL license ensures that the user of this web app has the ability to view the project's source code, as well as contribute to it.",
|
||||
"welcome": [
|
||||
"Welcome to the (Yet-to-be-named) Graphing Software!",
|
||||
"This project aims to provide an intuitive experience graphing mathematical functions with features such as Integration, Differentiation, Extrema, Roots, and much more! (see the Help Window for more details)"
|
||||
|
||||
@ -5,7 +5,6 @@ pub struct TextData {
|
||||
pub help_panel: egui::RichText,
|
||||
pub help_function: egui::RichText,
|
||||
pub help_other: egui::RichText,
|
||||
pub license_info: egui::RichText,
|
||||
pub welcome: egui::RichText,
|
||||
}
|
||||
|
||||
@ -16,7 +15,6 @@ pub struct TextDataRaw {
|
||||
pub help_panel: String,
|
||||
pub help_function: String,
|
||||
pub help_other: String,
|
||||
pub license_info: String,
|
||||
pub welcome: String,
|
||||
}
|
||||
|
||||
@ -31,7 +29,6 @@ impl TextDataRaw {
|
||||
help_panel: RichText::from(self.help_panel),
|
||||
help_function: RichText::from(self.help_function),
|
||||
help_other: RichText::from(self.help_other),
|
||||
license_info: RichText::from(self.license_info),
|
||||
welcome: RichText::from(self.welcome).size(SIZE + 1.0),
|
||||
}
|
||||
}
|
||||
|
||||
@ -5,8 +5,8 @@ use crate::function_manager::FunctionManager;
|
||||
use crate::misc::{dyn_mut_iter, option_vec_printer};
|
||||
use eframe::App;
|
||||
use egui::{
|
||||
plot::Plot, style::Margin, Button, CentralPanel, Color32, ComboBox, Context, Frame, Key, Label,
|
||||
Layout, RichText, SidePanel, Slider, TopBottomPanel, Vec2, Visuals, Window,
|
||||
plot::Plot, style::Margin, Button, CentralPanel, ComboBox, Context, Frame, Key, Layout,
|
||||
SidePanel, Slider, TopBottomPanel, Vec2, Visuals, Window,
|
||||
};
|
||||
use emath::{Align, Align2};
|
||||
use epaint::Rounding;
|
||||
@ -363,12 +363,6 @@ impl MathApp {
|
||||
ui.with_layout(Layout::bottom_up(Align::Min), |ui| {
|
||||
// Contents put in reverse order from bottom to top due to the 'buttom_up' layout
|
||||
|
||||
// Licensing information
|
||||
ui.add(Label::new(
|
||||
RichText::new("(and licensed under AGPLv3)").color(Color32::LIGHT_GRAY),
|
||||
))
|
||||
.on_hover_text(self.text.license_info.clone());
|
||||
|
||||
// Hyperlink to project's github
|
||||
ui.hyperlink_to(
|
||||
"I'm Open Source!",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user