-
- struct LabelModelColumns : public Gtk::TreeModel::ColumnRecord
- {
- public:
- Gtk::TreeModelColumn<std::string> field;
- Gtk::TreeModelColumn<std::string> data;
-
- LabelModelColumns() { add(field); add(data); }
- };
-
- LabelModelColumns label_columns;
-
- SF_INFO sf_info;
-
- pid_t current_pid;
-
- Gtk::Label length;
- Gtk::Label format;
- Gtk::Label channels;
- Gtk::Label samplerate;
-
- Gtk::TreeView field_view;
- Glib::RefPtr<Gtk::ListStore> fields;
- std::string selected_field;
-
- Gtk::Frame border_frame;
-
- Gtk::VBox main_box;
- Gtk::VBox path_box;
- Gtk::HBox top_box;
- Gtk::HBox bottom_box;
-
- Gtk::Button play_btn;
- Gtk::Button stop_btn;
- Gtk::Button add_field_btn;
- Gtk::Button remove_field_btn;
-
- // void fields_refiller (Gtk::CList &clist);
- void setup_fields ();
-
- void play_btn_clicked ();
- void stop_btn_clicked ();
- void add_field_clicked ();
- void remove_field_clicked ();
-
- void field_selected ();
- void audition_status_changed (bool state);
+ std::string path;
+
+ ARDOUR::SoundFileInfo sf_info;
+
+ pid_t current_pid;
+
+ Gtk::Label length;
+ Gtk::Label format;
+ Gtk::Label channels;
+ Gtk::Label samplerate;
+ Gtk::Label timecode;
+
+ Gtk::Frame border_frame;
+
+ Gtk::Entry tags_entry;
+
+ Gtk::VBox main_box;
+ Gtk::VBox path_box;
+ Gtk::HBox bottom_box;
+
+ Gtk::Button play_btn;
+ Gtk::Button stop_btn;
+ Gtk::Button apply_btn;
+
+ bool tags_entry_left (GdkEventFocus* event);
+ void play_btn_clicked ();
+ void stop_btn_clicked ();
+ void apply_btn_clicked ();
+
+ void audition_status_changed (bool state);