Compilation fix

This commit is contained in:
Emil Ernerfeldt 2020-04-11 18:18:52 +02:00
parent f4f03d49eb
commit dba42b1ada
2 changed files with 2 additions and 3 deletions

View File

@ -18,7 +18,7 @@ mod texture_atlas;
mod types;
pub mod widgets;
pub use crate::{
pub use {
color::Color,
emigui::Emigui,
fonts::{FontDefinitions, Fonts, TextStyle},
@ -27,6 +27,5 @@ pub use crate::{
mesher::{Mesh, Vertex},
style::Style,
texture_atlas::Texture,
types::RawInput,
types::*,
};

View File

@ -1,4 +1,4 @@
use emigui::{color::*, label, math::*, types::*, widgets::*, Align, Region, TextStyle};
use emigui::{color::*, label, math::*, widgets::*, Align, Outline, PaintCmd, Region, TextStyle};
pub fn show_value_gui(value: &mut usize, gui: &mut Region) {
gui.add(Slider::usize(value, 1, 1000));