egui_mobius_components
A collection of reusable UI components for the egui_mobius framework.
Features
The egui_mobius_components crate provides high-level, reusable UI components built on top of the egui_mobius architecture:
- EventLogger: A sophisticated terminal-like widget for logging events with:
- Different severity levels (Info, Warn, Debug, Error)
- Rich text formatting with customizable colors
- Thread-safe implementation compatible with egui_mobius signal/slot
- Support for categorizing logs by sender type
- Built-in timestamping and filtering
- Complete with examples demonstrating usage in multi-threaded environments
Usage
Add the following to your Cargo.toml:
[]
= "0.3.0-alpha.31"
And then import components via the prelude:
use *;
Example: EventLogger
use egui;
use *;
For more detailed examples, check out the logger_component example in the egui_mobius repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.