egui/emigui/src/lib.rs

49 lines
857 B
Rust
Raw Normal View History

2018-12-30 20:08:29 +00:00
#![deny(warnings)]
2019-01-04 13:14:32 +00:00
extern crate rusttype;
2018-12-30 20:08:29 +00:00
extern crate serde;
#[macro_use] // TODO: get rid of this
extern crate serde_derive;
mod collapsing_header;
2019-04-25 16:07:36 +00:00
pub mod color;
mod context;
2019-01-12 22:07:30 +00:00
mod emigui;
2020-04-12 10:07:51 +00:00
pub mod example_app;
2019-01-04 13:14:32 +00:00
mod font;
2019-01-12 23:55:56 +00:00
mod fonts;
2020-04-17 21:44:14 +00:00
mod id;
mod layers;
2018-12-30 20:08:29 +00:00
mod layout;
pub mod math;
2020-04-17 13:29:48 +00:00
mod memory;
2019-03-12 08:59:43 +00:00
pub mod mesher;
2020-04-17 13:29:48 +00:00
mod region;
mod scroll_area;
2018-12-30 20:08:29 +00:00
mod style;
mod texture_atlas;
2019-11-24 19:45:45 +00:00
mod types;
pub mod widgets;
mod window;
2018-12-30 20:08:29 +00:00
2020-04-11 16:18:52 +00:00
pub use {
2020-04-15 09:45:45 +00:00
crate::emigui::Emigui,
collapsing_header::CollapsingHeader,
2019-04-25 16:07:36 +00:00
color::Color,
context::{Context, CursorIcon},
2019-12-02 19:08:49 +00:00
fonts::{FontDefinitions, Fonts, TextStyle},
2020-04-17 21:44:14 +00:00
id::Id,
layers::*,
layout::{Align, GuiResponse},
2019-11-24 19:45:45 +00:00
math::*,
2020-04-17 13:29:48 +00:00
memory::Memory,
2020-04-20 21:33:16 +00:00
mesher::{Mesh, PaintBatches, Vertex},
2020-04-17 13:29:48 +00:00
region::Region,
scroll_area::ScrollArea,
2019-01-04 13:14:32 +00:00
style::Style,
2019-01-16 23:09:12 +00:00
texture_atlas::Texture,
2019-11-24 19:45:45 +00:00
types::*,
window::Window,
2018-12-30 20:08:29 +00:00
};