summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_timespan_selector.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-11-04 20:37:46 +0000
committerCarl Hetherington <carl@carlh.net>2010-11-04 20:37:46 +0000
commit1cb36f5a81d806132b366aeabd5c6da2bbbcf7e0 (patch)
tree5625c5423ff451e07678606228d29956678444ba /gtk2_ardour/export_timespan_selector.h
parent844b7d0f684eaf01a8d553f935027f496a09c3ad (diff)
Add column headings and length field to export timespan selector. Fixes #3518.
git-svn-id: svn://localhost/ardour2/branches/3.0@7968 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_timespan_selector.h')
-rw-r--r--gtk2_ardour/export_timespan_selector.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gtk2_ardour/export_timespan_selector.h b/gtk2_ardour/export_timespan_selector.h
index d855df4d89..688971554d 100644
--- a/gtk2_ardour/export_timespan_selector.h
+++ b/gtk2_ardour/export_timespan_selector.h
@@ -77,9 +77,10 @@ class ExportTimespanSelector : public Gtk::VBox, public ARDOUR::SessionHandlePtr
void change_time_format ();
std::string construct_label (ARDOUR::Location const * location) const;
- std::string bbt_str (nframes_t frames) const;
- std::string timecode_str (nframes_t frames) const;
- std::string ms_str (nframes_t frames) const;
+ std::string construct_length (ARDOUR::Location const * location) const;
+ std::string bbt_str (framepos_t frames) const;
+ std::string timecode_str (framecnt_t frames) const;
+ std::string ms_str (framecnt_t frames) const;
void update_range_name (std::string const & path, std::string const & new_text);
@@ -111,10 +112,11 @@ class ExportTimespanSelector : public Gtk::VBox, public ARDOUR::SessionHandlePtr
public:
Gtk::TreeModelColumn<ARDOUR::Location *> location;
Gtk::TreeModelColumn<std::string> label;
- Gtk::TreeModelColumn<bool> selected;
+ Gtk::TreeModelColumn<bool> selected;
Gtk::TreeModelColumn<std::string> name;
+ Gtk::TreeModelColumn<std::string> length;
- RangeCols () { add (location); add(label); add(selected); add(name); }
+ RangeCols () { add (location); add(label); add(selected); add(name); add(length); }
};
RangeCols range_cols;