fix imports for egui stuff
This commit is contained in:
parent
fb0b076f62
commit
29c21bb601
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -2308,6 +2308,10 @@ dependencies = [
|
||||
"console_error_panic_hook",
|
||||
"const_format",
|
||||
"eframe",
|
||||
"egui",
|
||||
"emath",
|
||||
"epaint",
|
||||
"epi",
|
||||
"exmex",
|
||||
"instant",
|
||||
"itertools",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user