summaryrefslogtreecommitdiffstats
path: root/src/Configuration.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-04-06 17:35:19 +0000
committerDavid Robillard <d@drobilla.net>2014-04-06 17:35:19 +0000
commit3ef2b738b728b9758b527028b88d9d44b929c1d7 (patch)
treea4ce90739b4cca27aed56202a50f0f423034fdf4 /src/Configuration.hpp
parent9e31195fec9fb11b03891f1c5bbc243e82da4d30 (diff)
downloadpatchage-3ef2b738b728b9758b527028b88d9d44b929c1d7.tar.gz
patchage-3ef2b738b728b9758b527028b88d9d44b929c1d7.tar.bz2
patchage-3ef2b738b728b9758b527028b88d9d44b929c1d7.zip
Resurrect toolbar with Jack info and dropout indicator.
Move legend to right hand side of toolbar. Store toolbar visible state in configuration. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5359 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Configuration.hpp')
-rw-r--r--src/Configuration.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Configuration.hpp b/src/Configuration.hpp
index 1fc786b..06c5978 100644
--- a/src/Configuration.hpp
+++ b/src/Configuration.hpp
@@ -56,6 +56,9 @@ public:
float get_font_size() const { return _font_size; }
void set_font_size(float font_size) { _font_size = font_size; }
+ float get_show_toolbar() const { return _show_toolbar; }
+ void set_show_toolbar(float show_toolbar) { _show_toolbar = show_toolbar; }
+
uint32_t get_port_color(PortType type) const { return _port_colors[type]; }
void set_port_color(PortType type, uint32_t rgba) {
_port_colors[type] = rgba;
@@ -84,6 +87,7 @@ private:
Coord _window_size;
float _zoom;
float _font_size;
+ bool _show_toolbar;
};
#endif // PATCHAGE_CONFIGURATION_HPP