mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-12-22 04:18:21 -06:00
lol i forgor to rename the module itself
This commit is contained in:
parent
45829d5fef
commit
44b8beaa94
|
@ -9,7 +9,7 @@ use winit::{
|
|||
};
|
||||
use hui::{
|
||||
element::{
|
||||
container::Container, fill_rect::FrameView, progress_bar::ProgressBar, ElementList, UiElement
|
||||
container::Container, frame_view::FrameView, progress_bar::ProgressBar, ElementList, UiElement
|
||||
}, frame::FrameRect, layout::{Alignment, Direction, Size}, rect::{Corners, Sides}, UiInstance
|
||||
};
|
||||
use hui_glium::GliumUiRenderer;
|
||||
|
|
|
@ -9,7 +9,7 @@ use winit::{
|
|||
};
|
||||
use hui::{
|
||||
element::{
|
||||
container::Container, fill_rect::FrameView, spacer::Spacer, text::Text, ElementList
|
||||
container::Container, frame_view::FrameView, spacer::Spacer, text::Text, ElementList
|
||||
}, frame::FrameRect, layout::Size, UiInstance
|
||||
};
|
||||
use hui_glium::GliumUiRenderer;
|
||||
|
|
|
@ -2,7 +2,7 @@ use std::time::Instant;
|
|||
use hui::{
|
||||
color, element::{
|
||||
container::Container,
|
||||
fill_rect::FrameView,
|
||||
frame_view::FrameView,
|
||||
UiElementExt
|
||||
}, frame_rect, layout::{Alignment, Direction}, size
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@ use hui::{
|
|||
color,
|
||||
element::{
|
||||
container::Container,
|
||||
fill_rect::FrameView,
|
||||
frame_view::FrameView,
|
||||
slider::Slider,
|
||||
text::Text,
|
||||
UiElementExt
|
||||
|
|
|
@ -6,7 +6,7 @@ use hui::{
|
|||
layout::{Alignment, Direction},
|
||||
element::{
|
||||
container::Container,
|
||||
fill_rect::FrameView,
|
||||
frame_view::FrameView,
|
||||
image::Image,
|
||||
text::Text,
|
||||
UiElementExt
|
||||
|
|
|
@ -58,7 +58,7 @@ pixel_perfect_text = []
|
|||
## Enable all built-in elements
|
||||
el_all = [
|
||||
"el_container",
|
||||
"el_fill_rect",
|
||||
"el_frame_view",
|
||||
"el_spacer",
|
||||
"el_br",
|
||||
"el_text",
|
||||
|
@ -72,8 +72,8 @@ el_all = [
|
|||
## Enable the built-in `Container` element
|
||||
el_container = []
|
||||
|
||||
## Enable the built-in `FillRect` element
|
||||
el_fill_rect = []
|
||||
## Enable the built-in `FrameView` element
|
||||
el_frame_view = []
|
||||
|
||||
## Enable the built-in `Spacer` element
|
||||
el_spacer = []
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#[cfg(feature = "el_container")]
|
||||
pub mod container;
|
||||
|
||||
#[cfg(feature = "el_fill_rect")]
|
||||
pub mod fill_rect;
|
||||
#[cfg(feature = "el_frame_view")]
|
||||
pub mod frame_view;
|
||||
|
||||
#[cfg(feature = "el_spacer")]
|
||||
pub mod spacer;
|
||||
|
|
Loading…
Reference in a new issue