Use egui reimport from egui-sfml

main
Elnu 2 years ago
parent e8e5f4eef5
commit 7e09389c1e

2683
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -6,7 +6,6 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
eframe = "0.21.3"
egui-sfml = "0.4.0" egui-sfml = "0.4.0"
env_logger = "0.10.0" env_logger = "0.10.0"
renrs = { path = "../renrs" } renrs = { path = "../renrs" }

@ -5,10 +5,9 @@ use std::{
sync::{Arc, Mutex}, sync::{Arc, Mutex},
}; };
use eframe::egui;
use renrs::State; use renrs::State;
use egui_sfml::SfEgui; use egui_sfml::{SfEgui, egui};
use sfml::{ use sfml::{
graphics::{Color, RectangleShape, RenderTarget, RenderWindow, Transformable}, graphics::{Color, RectangleShape, RenderTarget, RenderWindow, Transformable},
system::Vector2f, system::Vector2f,

Loading…
Cancel
Save