blob: e9ab100eb2214e56cd75c46d30ec84b7f71221ac (
plain) (
tree)
|
|
use iced_native::{Color, Rectangle};
#[derive(Debug, Clone)]
pub enum Primitive {
None,
Group {
primitives: Vec<Primitive>,
},
Text {
content: String,
bounds: Rectangle,
size: f32,
},
Box {
bounds: Rectangle,
background: Background,
},
}
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum Background {
Color(Color),
}
|