remove licensing info

This commit is contained in:
Simon Gardling
2022-05-18 08:56:59 -04:00
parent 828e59ae71
commit 3972be9f97
3 changed files with 2 additions and 12 deletions

View File

@@ -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),
}
}

View File

@@ -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!",