X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Ftime_axis_view_item.h;h=63cc56411c7300bf912a1d782354f5e03986f2c7;hb=6f858b51d2578eb6f505fb5f2a05c1fefb47816f;hp=74a655a6c0e14e33c1dab7d165123998b316625f;hpb=e0cb9efb003500fea319552a772364f00753a26f;p=ardour.git diff --git a/gtk2_ardour/time_axis_view_item.h b/gtk2_ardour/time_axis_view_item.h index 74a655a6c0..63cc56411c 100644 --- a/gtk2_ardour/time_axis_view_item.h +++ b/gtk2_ardour/time_axis_view_item.h @@ -76,7 +76,7 @@ class TimeAxisViewItem : public Selectable, public PBD::ScopedConnectionList void set_color (uint32_t); void set_name_text_color (); - uint32_t get_fill_color () const; + virtual uint32_t get_fill_color () const; ArdourCanvas::Item* get_canvas_frame(); ArdourCanvas::Item* get_canvas_group(); @@ -95,9 +95,6 @@ class TimeAxisViewItem : public Selectable, public PBD::ScopedConnectionList virtual void lower () { return; } virtual void lower_to_bottom () { return; } - virtual void hide_rect (); - virtual void show_rect (); - /** @return true if the name area should respond to events */ bool name_active() const { return name_connected; } @@ -213,21 +210,14 @@ class TimeAxisViewItem : public Selectable, public PBD::ScopedConnectionList /** true if the name should respond to events */ bool name_connected; - /** true if a small vestigial rect should be shown when the item gets very narrow */ - bool show_vestigial; - uint32_t fill_color; - virtual uint32_t fill_opacity() const; - uint32_t last_item_width; int name_text_width; bool wide_enough_for_name; bool high_enough_for_name; - bool rect_visible; ArdourCanvas::Container* group; - ArdourCanvas::Rectangle* vestigial_frame; ArdourCanvas::Rectangle* frame; ArdourCanvas::Rectangle* selection_frame; ArdourCanvas::Text* name_text; @@ -241,7 +231,7 @@ class TimeAxisViewItem : public Selectable, public PBD::ScopedConnectionList double _height; Visibility visibility; - std::string _fill_color_name; + std::string fill_color_name; bool _recregion; bool _automation; ///< true if this is an automation region view bool _dragging;