diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:57:43 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:51 +0100 |
commit | 5f5e293345a063ab7b274edcc76d329891503379 (patch) | |
tree | 36a346cc4d2bb65d9d2a0e64a0b3270ace37a562 /src/Legend.hpp | |
parent | f9ff5a5586166ee2f44b43f347726f98c9a966af (diff) | |
download | patchage-5f5e293345a063ab7b274edcc76d329891503379.tar.gz patchage-5f5e293345a063ab7b274edcc76d329891503379.tar.bz2 patchage-5f5e293345a063ab7b274edcc76d329891503379.zip |
Use consistent naming convention for enum classes
Diffstat (limited to 'src/Legend.hpp')
-rw-r--r-- | src/Legend.hpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Legend.hpp b/src/Legend.hpp index 6887238..2b3b7f6 100644 --- a/src/Legend.hpp +++ b/src/Legend.hpp @@ -28,26 +28,26 @@ class Legend : public Gtk::HBox public: Legend(const Configuration& configuration) { - add_button(PortType::JACK_AUDIO, + add_button(PortType::jack_audio, "Audio", - configuration.get_port_color(PortType::JACK_AUDIO)); + configuration.get_port_color(PortType::jack_audio)); #ifdef HAVE_JACK_METADATA - add_button(PortType::JACK_CV, + add_button(PortType::jack_cv, "CV", - configuration.get_port_color(PortType::JACK_CV)); - add_button(PortType::JACK_OSC, + configuration.get_port_color(PortType::jack_cv)); + add_button(PortType::jack_osc, "OSC", - configuration.get_port_color(PortType::JACK_OSC)); + configuration.get_port_color(PortType::jack_osc)); #endif - add_button(PortType::JACK_MIDI, + add_button(PortType::jack_midi, "MIDI", - configuration.get_port_color(PortType::JACK_MIDI)); + configuration.get_port_color(PortType::jack_midi)); - add_button(PortType::ALSA_MIDI, + add_button(PortType::alsa_midi, "ALSA MIDI", - configuration.get_port_color(PortType::ALSA_MIDI)); + configuration.get_port_color(PortType::alsa_midi)); show_all_children(); } |