4cd199071c
The basic functionality seems to work, though setting the drawing area seems buggy. I'll have to investigate more.
18 lines
492 B
Rust
18 lines
492 B
Rust
pub mod bar_plots;
|
|
pub mod heatmaps;
|
|
pub mod line_plots;
|
|
pub mod scatter_plots;
|
|
pub mod stairs_plots;
|
|
pub mod text_plots;
|
|
|
|
use imgui::Ui;
|
|
use implot::PlotUi;
|
|
|
|
pub fn show_demos(ui: &Ui, plot_ui: &PlotUi) {
|
|
bar_plots::show_demo_window(ui, plot_ui);
|
|
line_plots::show_demo_window(ui, plot_ui);
|
|
scatter_plots::show_demo_window(ui, plot_ui);
|
|
text_plots::show_demo_window(ui, plot_ui);
|
|
stairs_plots::show_demo_window(ui, plot_ui);
|
|
heatmaps::show_demo_window(ui, plot_ui);
|
|
}
|