fix imports for egui stuff

This commit is contained in:
Simon Gardling 2022-04-22 00:43:38 -04:00
parent fb0b076f62
commit 29c21bb601
6 changed files with 10 additions and 5 deletions

4
Cargo.lock generated
View File

@ -2308,6 +2308,10 @@ dependencies = [
"console_error_panic_hook",
"const_format",
"eframe",
"egui",
"emath",
"epaint",
"epi",
"exmex",
"instant",
"itertools",

View File

@ -29,6 +29,11 @@ strip = false
[dependencies]
eframe = { git = "https://github.com/Titaniumtown/egui.git", default-features = false }
egui = { git = "https://github.com/Titaniumtown/egui.git", default-features = false }
epaint = { git = "https://github.com/Titaniumtown/egui.git", default-features = false }
epi = { git = "https://github.com/Titaniumtown/egui.git", default-features = false }
emath = { git = "https://github.com/Titaniumtown/egui.git", default-features = false }
shadow-rs = { version = "0.11.0", default-features = false }
const_format = { version = "0.2.22", default-features = false, features = [
"fmt",

View File

@ -2,7 +2,7 @@ use crate::function_entry::Riemann;
use std::ops::RangeInclusive;
use const_format::formatc;
use eframe::epaint::Color32;
use epaint::Color32;
use shadow_rs::shadow;
shadow!(build);

View File

@ -5,7 +5,6 @@ use crate::function_handling::suggestions::Hint;
use crate::math_app::AppSettings;
use crate::misc::*;
use crate::widgets::{widgets_ontop, AutoComplete, Movement};
use eframe::{egui, emath, epaint};
use egui::{
plot::{BarChart, PlotUi, Value},
widgets::plot::Bar,

View File

@ -1,7 +1,6 @@
use crate::consts::*;
use crate::function_entry::{FunctionEntry, Riemann, DEFAULT_FUNCTION_ENTRY};
use crate::misc::{dyn_mut_iter, option_vec_printer, JsonFileOutput, SerdeValueHelper};
use eframe::{egui, emath, epi};
use egui::{
plot::Plot, vec2, Button, CentralPanel, Color32, ComboBox, Context, FontData, FontDefinitions,
FontFamily, Key, RichText, SidePanel, Slider, TopBottomPanel, Vec2, Visuals, Window,

View File

@ -1,6 +1,4 @@
use crate::function_handling::suggestions::{self, generate_hint, Hint};
use eframe::{egui, epaint};
use egui::{text::CCursor, text_edit::CursorRange, TextEdit};
use epaint::text::cursor::{Cursor, PCursor, RCursor};