diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:57:42 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:51 +0100 |
commit | f9ff5a5586166ee2f44b43f347726f98c9a966af (patch) | |
tree | a6f13e24579d2f56e41744d15a27fe1250d532f4 /src/Patchage.hpp | |
parent | 47e93d947c4b5a468802c168be087b8145a67c62 (diff) | |
download | patchage-f9ff5a5586166ee2f44b43f347726f98c9a966af.tar.gz patchage-f9ff5a5586166ee2f44b43f347726f98c9a966af.tar.bz2 patchage-f9ff5a5586166ee2f44b43f347726f98c9a966af.zip |
Use enum classes
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r-- | src/Patchage.hpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp index 84c1140..ba02710 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -1,5 +1,5 @@ /* This file is part of Patchage. - * Copyright 2007-2014 David Robillard <http://drobilla.net> + * Copyright 2007-2020 David Robillard <d@drobilla.net> * * Patchage is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free @@ -127,8 +127,11 @@ protected: void on_increase_font_size(); void on_decrease_font_size(); void on_normal_font_size(); - void - on_legend_color_change(int id, const std::string& label, uint32_t rgba); + + void on_legend_color_change(PortType id, + const std::string& label, + uint32_t rgba); + void on_messages_resized(Gtk::Allocation& alloc); bool on_scroll(GdkEventScroll* ev); |