diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-03-19 14:45:34 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-03-19 14:45:34 +0000 |
commit | 36d88c8e494c1997c05d122fa03c00d0e8b6e401 (patch) | |
tree | 65d3b141f6479ab5130a12cbbbbf44979802fd75 /gtk2_ardour/region_view.h | |
parent | 84bbdb9a1dda53406c27336fbd7d68988d0b971b (diff) |
make rec-regions insensitive to events; fix up diskrate dialog text
git-svn-id: svn://localhost/ardour2/trunk@1626 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_view.h')
-rw-r--r-- | gtk2_ardour/region_view.h | 62 |
1 files changed, 32 insertions, 30 deletions
diff --git a/gtk2_ardour/region_view.h b/gtk2_ardour/region_view.h index 64ab256f89..5f114bfcbf 100644 --- a/gtk2_ardour/region_view.h +++ b/gtk2_ardour/region_view.h @@ -56,41 +56,43 @@ class RegionView : public TimeAxisViewItem boost::shared_ptr<ARDOUR::Region> region() const { return _region; } bool is_valid() const { return valid; } - void set_valid (bool yn) { valid = yn; } - virtual void set_height (double) = 0; - virtual void set_samples_per_unit (double); - virtual bool set_duration (nframes_t, void*); - void move (double xdelta, double ydelta); - - void raise (); - void raise_to_top (); - void lower (); - void lower_to_bottom (); - - bool set_position(nframes_t pos, void* src, double* delta = 0); - void fake_set_opaque (bool yn); - - virtual void show_region_editor () = 0; - virtual void hide_region_editor(); - - virtual void region_changed (ARDOUR::Change); - - virtual GhostRegion* add_ghost (AutomationTimeAxisView&) = 0; - void remove_ghost (GhostRegion*); - - uint32_t get_fill_color (); + void set_valid (bool yn) { valid = yn; } + + virtual void set_height (double) = 0; + virtual void set_samples_per_unit (double); + virtual bool set_duration (nframes_t, void*); + + void move (double xdelta, double ydelta); + + void raise (); + void raise_to_top (); + void lower (); + void lower_to_bottom (); - virtual void entered () {} - virtual void exited () {} - - static sigc::signal<void,RegionView*> RegionViewGoingAway; - sigc::signal<void> GoingAway; + bool set_position(nframes_t pos, void* src, double* delta = 0); + void fake_set_opaque (bool yn); + + virtual void show_region_editor () = 0; + virtual void hide_region_editor(); + + virtual void region_changed (ARDOUR::Change); + + virtual GhostRegion* add_ghost (AutomationTimeAxisView&) = 0; + void remove_ghost (GhostRegion*); + + uint32_t get_fill_color (); + virtual void entered () {} + virtual void exited () {} + + static sigc::signal<void,RegionView*> RegionViewGoingAway; + sigc::signal<void> GoingAway; + protected: - - /** Allows derived types to specify their visibility requirements + + /** Allows derived types to specify their visibility requirements * to the TimeAxisViewItem parent class */ RegionView (ArdourCanvas::Group *, |