summaryrefslogtreecommitdiffstats
path: root/src/gui/LoadSubpatchWindow.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-14 20:19:11 +0000
committerDavid Robillard <d@drobilla.net>2010-02-14 20:19:11 +0000
commit449af7b35ac64ed90ef635e7657870f524e12c26 (patch)
tree23ca3f19ebf51b2290ee1c4fa4de9a41c416e202 /src/gui/LoadSubpatchWindow.hpp
parent2bbf30f19ee91c930f564fcb3b44308910bc20a7 (diff)
downloadingen-449af7b35ac64ed90ef635e7657870f524e12c26.tar.gz
ingen-449af7b35ac64ed90ef635e7657870f524e12c26.tar.bz2
ingen-449af7b35ac64ed90ef635e7657870f524e12c26.zip
Fix loading of subpatches.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2450 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/LoadSubpatchWindow.hpp')
-rw-r--r--src/gui/LoadSubpatchWindow.hpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/gui/LoadSubpatchWindow.hpp b/src/gui/LoadSubpatchWindow.hpp
index 6f71642b..c216f26a 100644
--- a/src/gui/LoadSubpatchWindow.hpp
+++ b/src/gui/LoadSubpatchWindow.hpp
@@ -51,24 +51,23 @@ protected:
void on_show();
private:
- void disable_name_entry();
- void enable_name_entry();
void disable_poly_spinner();
void enable_poly_spinner();
void ok_clicked();
void cancel_clicked();
+ void selection_changed();
+
+ Raul::Symbol symbol_from_filename(const Glib::ustring& filename);
+ Raul::Symbol avoid_symbol_clash(const Raul::Symbol& symbol);
GraphObject::Properties _initial_data;
SharedPtr<PatchModel> _patch;
- Gtk::RadioButton* _name_from_file_radio;
- Gtk::RadioButton* _name_from_user_radio;
- Gtk::Entry* _name_entry;
+ Gtk::Entry* _symbol_entry;
+ Gtk::RadioButton* _poly_voices_radio;
Gtk::RadioButton* _poly_from_file_radio;
- Gtk::RadioButton* _poly_from_parent_radio;
- Gtk::RadioButton* _poly_from_user_radio;
Gtk::SpinButton* _poly_spinbutton;
Gtk::Button* _ok_button;
Gtk::Button* _cancel_button;