implot-rs/implot-examples/examples-shared/src/lib.rs

19 lines
492 B
Rust
Raw Normal View History

pub mod bar_plots;
pub mod heatmaps;
pub mod line_plots;
pub mod scatter_plots;
2020-11-08 18:41:51 +00:00
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);
2020-11-08 18:41:51 +00:00
stairs_plots::show_demo_window(ui, plot_ui);
heatmaps::show_demo_window(ui, plot_ui);
}