Cont'd work on trigger-clip picker

* Allow custom paths
* Add ".." open parent folder
* Allow to descend into folders
This commit is contained in:
Robin Gareus 2021-12-20 02:39:15 +01:00
parent 2072cc5fd8
commit 3cf9c1f047
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 138 additions and 36 deletions

View file

@ -45,6 +45,9 @@ public:
private:
void list_dir (std::string const&, Gtk::TreeNodeChildren const* pc = NULL);
void open_dir ();
void edit_path ();
void refill_dropdown ();
void parameter_changed (std::string const&);
void row_selected ();
void row_activated (Gtk::TreeModel::Path const&, Gtk::TreeViewColumn*);
bool test_expand (Gtk::TreeModel::iterator const&, Gtk::TreeModel::Path const&);
@ -85,8 +88,11 @@ private:
Gtk::Button _stop_btn;
Gtk::HScale _seek_slider;
std::string _current_path;
bool _seeking;
PBD::ScopedConnectionList _auditioner_connections;
PBD::ScopedConnection _config_connection;
};
#endif