mirror of
https://github.com/griffi-gh/hUI.git
synced 2025-03-14 11:56:30 -05:00
14 lines
247 B
Rust
14 lines
247 B
Rust
use glam::Vec2;
|
|
use crate::draw::UiDrawCommandList;
|
|
|
|
pub mod point;
|
|
mod rect;
|
|
pub mod stack;
|
|
mod impls;
|
|
|
|
pub use rect::FrameRect;
|
|
|
|
pub trait Frame {
|
|
fn draw(&self, draw: &mut UiDrawCommandList, position: Vec2, parent_size: Vec2);
|
|
}
|