1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00

Add todos

This commit is contained in:
lucasmerlin
2025-03-20 13:05:45 +01:00
parent 4dbf20d107
commit f017e226e4

View File

@@ -3,6 +3,7 @@ use emath::{Align2, Vec2};
use epaint::Galley;
use std::sync::Arc;
/// Naming: AtimicItem
enum WidgetLayoutItemType<'a> {
Text(WidgetText),
Image(Image<'a>),
@@ -40,7 +41,9 @@ impl SizedWidgetLayoutItemType<'_> {
}
}
/// AtomicLayout
struct WidgetLayout<'a> {
/// TODO: SmallVec?
items: Vec<(Item, WidgetLayoutItemType<'a>)>,
gap: f32,
frame: Frame,