Files
iris/src/core/stack.rs
2025-08-23 21:15:39 -04:00

14 lines
251 B
Rust

use crate::prelude::*;
pub struct Stack {
pub children: Vec<WidgetId>,
}
impl<Ctx> Widget<Ctx> for Stack {
fn draw(&self, painter: &mut Painter<Ctx>) {
for child in &self.children {
painter.draw(child);
}
}
}