mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
Add todos
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user