summaryrefslogtreecommitdiffstats
path: root/src/Patchage.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 17:57:42 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:42:51 +0100
commitf9ff5a5586166ee2f44b43f347726f98c9a966af (patch)
treea6f13e24579d2f56e41744d15a27fe1250d532f4 /src/Patchage.hpp
parent47e93d947c4b5a468802c168be087b8145a67c62 (diff)
downloadpatchage-f9ff5a5586166ee2f44b43f347726f98c9a966af.tar.gz
patchage-f9ff5a5586166ee2f44b43f347726f98c9a966af.tar.bz2
patchage-f9ff5a5586166ee2f44b43f347726f98c9a966af.zip
Use enum classes
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r--src/Patchage.hpp9
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);