From c9171140204ffc3b3f98fdbfa0cc7b222c5828ee Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 14 Apr 2022 23:53:14 +0200 Subject: [PATCH] Rename the gain GUI examples to match package name --- Cargo.toml | 6 +++--- README.md | 6 +++--- .../examples/{gain-gui-egui => gain_gui_egui}/Cargo.toml | 0 .../examples/{gain-gui-egui => gain_gui_egui}/src/lib.rs | 0 .../examples/{gain-gui-iced => gain_gui_iced}/Cargo.toml | 0 .../examples/{gain-gui-iced => gain_gui_iced}/src/editor.rs | 0 .../examples/{gain-gui-iced => gain_gui_iced}/src/lib.rs | 0 .../examples/{gain-gui-vizia => gain_gui_vizia}/Cargo.toml | 0 .../{gain-gui-vizia => gain_gui_vizia}/src/editor.rs | 0 .../examples/{gain-gui-vizia => gain_gui_vizia}/src/lib.rs | 0 10 files changed, 6 insertions(+), 6 deletions(-) rename plugins/examples/{gain-gui-egui => gain_gui_egui}/Cargo.toml (100%) rename plugins/examples/{gain-gui-egui => gain_gui_egui}/src/lib.rs (100%) rename plugins/examples/{gain-gui-iced => gain_gui_iced}/Cargo.toml (100%) rename plugins/examples/{gain-gui-iced => gain_gui_iced}/src/editor.rs (100%) rename plugins/examples/{gain-gui-iced => gain_gui_iced}/src/lib.rs (100%) rename plugins/examples/{gain-gui-vizia => gain_gui_vizia}/Cargo.toml (100%) rename plugins/examples/{gain-gui-vizia => gain_gui_vizia}/src/editor.rs (100%) rename plugins/examples/{gain-gui-vizia => gain_gui_vizia}/src/lib.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 912b0d97..6c6c2661 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,9 +21,9 @@ members = [ "xtask", "plugins/examples/gain", - "plugins/examples/gain-gui-egui", - "plugins/examples/gain-gui-iced", - "plugins/examples/gain-gui-vizia", + "plugins/examples/gain_gui_egui", + "plugins/examples/gain_gui_iced", + "plugins/examples/gain_gui_vizia", "plugins/examples/midi-inverter", "plugins/examples/sine", "plugins/examples/stft", diff --git a/README.md b/README.md index 1a227b21..b550973f 100644 --- a/README.md +++ b/README.md @@ -142,9 +142,9 @@ examples. serializable state. - **gain-gui** is the same plugin as gain, but with a GUI to control the parameter and a digital peak meter. Comes in three exciting flavors: - [egui](plugins/examples/gain-gui-egui), - [iced](plugins/examples/gain-gui-iced), and - [VIZIA](plugins/examples/gain-gui-vizia). + [egui](plugins/examples/gain_gui_egui), + [iced](plugins/examples/gain_gui_iced), and + [VIZIA](plugins/examples/gain_gui_vizia). - [**midi-inverter**](plugins/examples/midi-inverter) takes note/MIDI events and flips around the note, channel, expression, pressure, and CC values. This example demonstrates how to receive and output those events. diff --git a/plugins/examples/gain-gui-egui/Cargo.toml b/plugins/examples/gain_gui_egui/Cargo.toml similarity index 100% rename from plugins/examples/gain-gui-egui/Cargo.toml rename to plugins/examples/gain_gui_egui/Cargo.toml diff --git a/plugins/examples/gain-gui-egui/src/lib.rs b/plugins/examples/gain_gui_egui/src/lib.rs similarity index 100% rename from plugins/examples/gain-gui-egui/src/lib.rs rename to plugins/examples/gain_gui_egui/src/lib.rs diff --git a/plugins/examples/gain-gui-iced/Cargo.toml b/plugins/examples/gain_gui_iced/Cargo.toml similarity index 100% rename from plugins/examples/gain-gui-iced/Cargo.toml rename to plugins/examples/gain_gui_iced/Cargo.toml diff --git a/plugins/examples/gain-gui-iced/src/editor.rs b/plugins/examples/gain_gui_iced/src/editor.rs similarity index 100% rename from plugins/examples/gain-gui-iced/src/editor.rs rename to plugins/examples/gain_gui_iced/src/editor.rs diff --git a/plugins/examples/gain-gui-iced/src/lib.rs b/plugins/examples/gain_gui_iced/src/lib.rs similarity index 100% rename from plugins/examples/gain-gui-iced/src/lib.rs rename to plugins/examples/gain_gui_iced/src/lib.rs diff --git a/plugins/examples/gain-gui-vizia/Cargo.toml b/plugins/examples/gain_gui_vizia/Cargo.toml similarity index 100% rename from plugins/examples/gain-gui-vizia/Cargo.toml rename to plugins/examples/gain_gui_vizia/Cargo.toml diff --git a/plugins/examples/gain-gui-vizia/src/editor.rs b/plugins/examples/gain_gui_vizia/src/editor.rs similarity index 100% rename from plugins/examples/gain-gui-vizia/src/editor.rs rename to plugins/examples/gain_gui_vizia/src/editor.rs diff --git a/plugins/examples/gain-gui-vizia/src/lib.rs b/plugins/examples/gain_gui_vizia/src/lib.rs similarity index 100% rename from plugins/examples/gain-gui-vizia/src/lib.rs rename to plugins/examples/gain_gui_vizia/src/lib.rs