aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/MachinaGUI.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/MachinaGUI.hpp')
-rw-r--r--src/gui/MachinaGUI.hpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/gui/MachinaGUI.hpp b/src/gui/MachinaGUI.hpp
index d71c556..3ebbd04 100644
--- a/src/gui/MachinaGUI.hpp
+++ b/src/gui/MachinaGUI.hpp
@@ -62,6 +62,8 @@ public:
void attach();
void quit() { _main_window->hide(); }
+ bool chain_mode() const { return _chain_mode; }
+
SPtr<machina::Controller> controller() { return _controller; }
inline void queue_refresh() { _refresh = true; }
@@ -108,12 +110,12 @@ protected:
void play_toggled();
void record_toggled();
+ void chain_toggled();
+ void fan_toggled();
+
void quantize_changed();
void tempo_changed();
- bool _refresh;
- bool _evolve;
-
string _save_uri;
string _target_filename;
@@ -160,6 +162,8 @@ protected:
Gtk::ToolButton* _zoom_normal_button;
Gtk::ToolButton* _zoom_full_button;
Gtk::ToolButton* _arrange_button;
+ Gtk::RadioButton* _chain_button;
+ Gtk::RadioButton* _fan_button;
Gtk::ToolButton* _load_target_button;
Gtk::Toolbar* _evolve_toolbar;
Gtk::ToggleToolButton* _evolve_button;
@@ -171,6 +175,10 @@ protected:
Gtk::ToolButton* _add_edge_button;
Gtk::ToolButton* _remove_edge_button;
Gtk::ToolButton* _adjust_edge_button;
+
+ bool _refresh;
+ bool _evolve;
+ bool _chain_mode;
};
} // namespace machina