remove licensing info
This commit is contained in:
parent
828e59ae71
commit
3972be9f97
@ -23,7 +23,6 @@
|
|||||||
"help_other": [
|
"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."
|
"- 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": [
|
||||||
"Welcome to the (Yet-to-be-named) Graphing Software!",
|
"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)"
|
"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_panel: egui::RichText,
|
||||||
pub help_function: egui::RichText,
|
pub help_function: egui::RichText,
|
||||||
pub help_other: egui::RichText,
|
pub help_other: egui::RichText,
|
||||||
pub license_info: egui::RichText,
|
|
||||||
pub welcome: egui::RichText,
|
pub welcome: egui::RichText,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -16,7 +15,6 @@ pub struct TextDataRaw {
|
|||||||
pub help_panel: String,
|
pub help_panel: String,
|
||||||
pub help_function: String,
|
pub help_function: String,
|
||||||
pub help_other: String,
|
pub help_other: String,
|
||||||
pub license_info: String,
|
|
||||||
pub welcome: String,
|
pub welcome: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,7 +29,6 @@ impl TextDataRaw {
|
|||||||
help_panel: RichText::from(self.help_panel),
|
help_panel: RichText::from(self.help_panel),
|
||||||
help_function: RichText::from(self.help_function),
|
help_function: RichText::from(self.help_function),
|
||||||
help_other: RichText::from(self.help_other),
|
help_other: RichText::from(self.help_other),
|
||||||
license_info: RichText::from(self.license_info),
|
|
||||||
welcome: RichText::from(self.welcome).size(SIZE + 1.0),
|
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 crate::misc::{dyn_mut_iter, option_vec_printer};
|
||||||
use eframe::App;
|
use eframe::App;
|
||||||
use egui::{
|
use egui::{
|
||||||
plot::Plot, style::Margin, Button, CentralPanel, Color32, ComboBox, Context, Frame, Key, Label,
|
plot::Plot, style::Margin, Button, CentralPanel, ComboBox, Context, Frame, Key, Layout,
|
||||||
Layout, RichText, SidePanel, Slider, TopBottomPanel, Vec2, Visuals, Window,
|
SidePanel, Slider, TopBottomPanel, Vec2, Visuals, Window,
|
||||||
};
|
};
|
||||||
use emath::{Align, Align2};
|
use emath::{Align, Align2};
|
||||||
use epaint::Rounding;
|
use epaint::Rounding;
|
||||||
@ -363,12 +363,6 @@ impl MathApp {
|
|||||||
ui.with_layout(Layout::bottom_up(Align::Min), |ui| {
|
ui.with_layout(Layout::bottom_up(Align::Min), |ui| {
|
||||||
// Contents put in reverse order from bottom to top due to the 'buttom_up' layout
|
// 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
|
// Hyperlink to project's github
|
||||||
ui.hyperlink_to(
|
ui.hyperlink_to(
|
||||||
"I'm Open Source!",
|
"I'm Open Source!",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user