lol i forgor to rename the module itself

This commit is contained in:
griffi-gh 2024-04-17 15:47:22 +02:00
parent 45829d5fef
commit 44b8beaa94
8 changed files with 10 additions and 10 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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
};

View file

@ -3,7 +3,7 @@ use hui::{
color,
element::{
container::Container,
fill_rect::FrameView,
frame_view::FrameView,
slider::Slider,
text::Text,
UiElementExt

View file

@ -6,7 +6,7 @@ use hui::{
layout::{Alignment, Direction},
element::{
container::Container,
fill_rect::FrameView,
frame_view::FrameView,
image::Image,
text::Text,
UiElementExt

View file

@ -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 = []

View file

@ -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;