Expand description
§brisk-egui
brisk-egui provides integration with egui.
§Example
The following creates a function hello_world_panel(ctx: &egui::Context, title: &str) that can be used with egui to build a user interface.
brisk_it! {
PanelComponent
{
name: hello_world_panel,
parameters: params!(title: &str),
CentralPanel
{
Heading
{
text: title,
},
}
}
}More examples are available in the examples folder.
Macros§
- brisk_
it - This macro is used to transform a brisk declarative representation
into an
eguicomponent. Look at examples for usage.