lol i forgor to rename the module itself

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

View file

@ -9,7 +9,7 @@ use winit::{
}; };
use hui::{ use hui::{
element::{ 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 }, frame::FrameRect, layout::{Alignment, Direction, Size}, rect::{Corners, Sides}, UiInstance
}; };
use hui_glium::GliumUiRenderer; use hui_glium::GliumUiRenderer;

View file

@ -9,7 +9,7 @@ use winit::{
}; };
use hui::{ use hui::{
element::{ 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 }, frame::FrameRect, layout::Size, UiInstance
}; };
use hui_glium::GliumUiRenderer; use hui_glium::GliumUiRenderer;

View file

@ -2,7 +2,7 @@ use std::time::Instant;
use hui::{ use hui::{
color, element::{ color, element::{
container::Container, container::Container,
fill_rect::FrameView, frame_view::FrameView,
UiElementExt UiElementExt
}, frame_rect, layout::{Alignment, Direction}, size }, frame_rect, layout::{Alignment, Direction}, size
}; };

View file

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

View file

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

View file

@ -58,7 +58,7 @@ pixel_perfect_text = []
## Enable all built-in elements ## Enable all built-in elements
el_all = [ el_all = [
"el_container", "el_container",
"el_fill_rect", "el_frame_view",
"el_spacer", "el_spacer",
"el_br", "el_br",
"el_text", "el_text",
@ -72,8 +72,8 @@ el_all = [
## Enable the built-in `Container` element ## Enable the built-in `Container` element
el_container = [] el_container = []
## Enable the built-in `FillRect` element ## Enable the built-in `FrameView` element
el_fill_rect = [] el_frame_view = []
## Enable the built-in `Spacer` element ## Enable the built-in `Spacer` element
el_spacer = [] el_spacer = []

View file

@ -3,8 +3,8 @@
#[cfg(feature = "el_container")] #[cfg(feature = "el_container")]
pub mod container; pub mod container;
#[cfg(feature = "el_fill_rect")] #[cfg(feature = "el_frame_view")]
pub mod fill_rect; pub mod frame_view;
#[cfg(feature = "el_spacer")] #[cfg(feature = "el_spacer")]
pub mod spacer; pub mod spacer;