Reworked glium demo to use the shared example code
This commit is contained in:
parent
8c623a7a79
commit
40f0cc8564
12 changed files with 118 additions and 569 deletions
|
@ -2,3 +2,13 @@ pub mod bar_plots;
|
|||
pub mod line_plots;
|
||||
pub mod scatter_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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue