diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-11 14:49:20 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-11 14:49:20 +0000 |
commit | c6c10f1e7fad18f370b60010afe7f5871b2839d1 (patch) | |
tree | 1649c43798632b1b076b6672c7b56eec8761bac0 /gtk2_ardour/editor_summary.h | |
parent | 86ce59e76c60079ff6609a3da4b61937aa8318dd (diff) |
Add some comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@5169 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r-- | gtk2_ardour/editor_summary.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/gtk2_ardour/editor_summary.h b/gtk2_ardour/editor_summary.h index b9632dc96f..2cfd2c420b 100644 --- a/gtk2_ardour/editor_summary.h +++ b/gtk2_ardour/editor_summary.h @@ -9,6 +9,9 @@ namespace ARDOUR { class Editor; +/** Class to provide a visual summary of the contents of an editor window; represents + * the whole session as a set of lines, one per region view. + */ class EditorSummary : public Gtk::EventBox { public: @@ -29,13 +32,13 @@ private: GdkPixmap* get_pixmap (GdkDrawable *); void render_region (RegionView*, cairo_t*, nframes_t, double) const; - Editor* _editor; - ARDOUR::Session* _session; - GdkPixmap* _pixmap; - bool _regions_dirty; - int _width; - int _height; - double _pixels_per_frame; + Editor* _editor; ///< our editor + ARDOUR::Session* _session; ///< our session + GdkPixmap* _pixmap; ///< pixmap containing a rendering of the region views, or 0 + bool _regions_dirty; ///< true if _pixmap requires re-rendering, otherwise false + int _width; ///< pixmap width + int _height; ///< pixmap height + double _pixels_per_frame; ///< pixels per frame for the x axis of the pixmap }; #endif |