diff options
author | David Robillard <d@drobilla.net> | 2014-12-16 20:37:16 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-18 20:23:34 -0500 |
commit | 60313085209a6213a7388e0b1070c10e83fe2a10 (patch) | |
tree | 8838eac295e2079cc1c2b28defb0819a6271e3ca /gtk2_ardour/automation_region_view.h | |
parent | a12a065457a10d9be2582f3ad2fcee7178405981 (diff) |
Use color modifiers for dynamic region styles.
Diffstat (limited to 'gtk2_ardour/automation_region_view.h')
-rw-r--r-- | gtk2_ardour/automation_region_view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_region_view.h b/gtk2_ardour/automation_region_view.h index c9b7d47f18..76632901f7 100644 --- a/gtk2_ardour/automation_region_view.h +++ b/gtk2_ardour/automation_region_view.h @@ -70,6 +70,8 @@ public: // We are a ghost. Meta ghosts? Crazy talk. virtual GhostRegion* add_ghost(TimeAxisView&) { return 0; } + uint32_t get_fill_color() const; + void set_height (double); void reset_width_dependent_items(double pixel_width); @@ -79,6 +81,7 @@ protected: void region_resized (const PBD::PropertyChange&); bool canvas_group_event(GdkEvent* ev); void add_automation_event (GdkEvent* event, framepos_t when, double y, bool with_guard_points); + void mouse_mode_changed (); void entered(); void exited(); @@ -87,6 +90,7 @@ private: ARDOUR::DoubleBeatsFramesConverter _source_relative_time_converter; Evoral::Parameter _parameter; boost::shared_ptr<AutomationLine> _line; + PBD::ScopedConnection _mouse_mode_connection; }; #endif /* __gtk_ardour_automation_region_view_h__ */ |