Tidied and added some documentation to timeline-header-container.hpp
This commit is contained in:
parent
0c55dfb85f
commit
396b2b889f
1 changed files with 14 additions and 2 deletions
|
|
@ -243,11 +243,23 @@ private:
|
||||||
*/
|
*/
|
||||||
Glib::RefPtr<Gdk::Window> gdkWindow;
|
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>
|
std::map<boost::shared_ptr<timeline::Track>, Gdk::Rectangle>
|
||||||
headerBoxes;
|
headerBoxes;
|
||||||
|
|
||||||
Gtk::Menu contextMenu;
|
|
||||||
|
|
||||||
//----- User Interaction State -----//
|
//----- User Interaction State -----//
|
||||||
boost::shared_ptr<timeline::Track> hoveringExpander;
|
boost::shared_ptr<timeline::Track> hoveringExpander;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue