Tidied and added some documentation to timeline-header-container.hpp

This commit is contained in:
Joel Holdsworth 2008-12-17 18:32:28 +00:00
parent 0c55dfb85f
commit 396b2b889f

View file

@ -243,11 +243,23 @@ private:
*/
Glib::RefPtr<Gdk::Window> gdkWindow;
/**
* The Menu object which will be displayed as the context menu when
* the user right clicks on the header container.
* @remarks The context menu will be displayed when the user's right
* click is not processed by track headers.
**/
Gtk::Menu contextMenu;
/**
* A map of tracks to the rectangles of their headers.
* @remarks This map is used as a cache, so that the rectangles don't
* need to be perpetually recalculated. This cache is regenerated by
* the layout_headers method.
**/
std::map<boost::shared_ptr<timeline::Track>, Gdk::Rectangle>
headerBoxes;
Gtk::Menu contextMenu;
//----- User Interaction State -----//
boost::shared_ptr<timeline::Track> hoveringExpander;