summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_selection.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2007-10-06 17:27:07 +0000
committerCarl Hetherington <carl@carlh.net>2007-10-06 17:27:07 +0000
commitc8a4f8002b28647faf31eeaa11d500fa15f06f22 (patch)
treec635cbf68cb5221084d0ffaa5f79ef2f9dd3c822 /gtk2_ardour/region_selection.h
parent61872c56631b313fec4ed3a1cb998335bb346731 (diff)
Add some comments to the RegionSelection class.
git-svn-id: svn://localhost/ardour2/trunk@2524 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_selection.h')
-rw-r--r--gtk2_ardour/region_selection.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/gtk2_ardour/region_selection.h b/gtk2_ardour/region_selection.h
index 6b5ae9c0fb..084345a76d 100644
--- a/gtk2_ardour/region_selection.h
+++ b/gtk2_ardour/region_selection.h
@@ -29,6 +29,10 @@ using std::set;
class RegionView;
+/**
+ * Class to represent list of selected regions.
+ */
+
class RegionSelection : public std::list<RegionView*>, public sigc::trackable
{
public:
@@ -65,10 +69,10 @@ class RegionSelection : public std::list<RegionView*>, public sigc::trackable
void add_to_layer (RegionView *);
- nframes_t _current_start;
- nframes_t _current_end;
+ nframes_t _current_start; ///< start position for the selection
+ nframes_t _current_end; ///< end position for the selection
- list<RegionView *> _bylayer;
+ list<RegionView *> _bylayer; ///< list of regions sorted by layer
};
#endif /* __ardour_gtk_region_selection_h__ */