mirror of
https://github.com/griffi-gh/hUI.git
synced 2025-04-01 21:46:29 -05:00
replace flag :3
This commit is contained in:
parent
0856bb620f
commit
119b9ad077
|
@ -87,12 +87,24 @@ fn main() {
|
|||
}));
|
||||
if instant.elapsed().as_secs() & 1 != 0 {
|
||||
elem.push(Box::new(FrameView {
|
||||
size: (Size::Relative(1.), Size::Absolute(10.)).into(),
|
||||
frame: Box::new(vec4(1., 0., 0., 1.)),
|
||||
size: (Size::Relative(1.), Size::Absolute(5.)).into(),
|
||||
frame: Box::new(vec4(0.3569, 0.8078, 0.9804, 1.)), // Light Blue (#5BCEFA)
|
||||
}));
|
||||
elem.push(Box::new(FrameView {
|
||||
size: (Size::Relative(1.), Size::Absolute(10.)).into(),
|
||||
frame: Box::new(vec4(0., 0., 0., 1.)),
|
||||
size: (Size::Relative(1.), Size::Absolute(5.)).into(),
|
||||
frame: Box::new(vec4(0.9608, 0.6627, 0.7216, 1.)), // Pink (#F5A9B8)
|
||||
}));
|
||||
elem.push(Box::new(FrameView {
|
||||
size: (Size::Relative(1.), Size::Absolute(5.)).into(),
|
||||
frame: Box::new(vec4(1.0, 1.0, 1.0, 1.)), // White
|
||||
}));
|
||||
elem.push(Box::new(FrameView {
|
||||
size: (Size::Relative(1.), Size::Absolute(5.)).into(),
|
||||
frame: Box::new(vec4(0.9608, 0.6627, 0.7216, 1.)), // Pink (#F5A9B8)
|
||||
}));
|
||||
elem.push(Box::new(FrameView {
|
||||
size: (Size::Relative(1.), Size::Absolute(5.)).into(),
|
||||
frame: Box::new(vec4(0.3569, 0.8078, 0.9804, 1.)), // Light Blue (#5BCEFA)
|
||||
}));
|
||||
elem.push(Box::new(Spacer(100.)));
|
||||
elem.push(Box::new(Text {
|
||||
|
|
Loading…
Reference in a new issue