Module macroquad::ui [−][src]
Immediate mode UI.
Spiritual successor of megaui library, but fully skinnable and configurable.
The UI entrypoint is root_ui()
call.
ⓘ
root_ui().label(None, "hello megaui"); if root_ui().button(None, "Push me") { println!("pushed"); }
This will draw a label and a button one after each other right on top of the screen.
Re-exports
pub use crate::hash; |
Modules
widgets |
Structs
DrawList | |
Skin | |
Style | |
Texture2D | |
Ui | |
Vertex |
Enums
Drag | |
DragState | |
KeyCode | |
Layout |
Traits
ClipboardObject | |
InputHandler |
Functions
root_ui |
Type Definitions
Id |