Ardour  9.0-pre0-582-g084a23a80d
ArdourCanvas::Item Class Referenceabstract

#include <item.h>

Inheritance diagram for ArdourCanvas::Item:
[legend]

Classes

struct  EventAccumulator
 

Public Member Functions

 Item (Canvas *)
 
 Item (Item *)
 
 Item (Item *, Duple const &p)
 
virtual ~Item ()
 
void redraw () const
 
virtual void render (Rect const &area, Cairo::RefPtr< Cairo::Context >) const =0
 
virtual void prepare_for_render (Rect const &area) const
 
virtual void add_items_at_point (Duple point, std::vector< Item const * > &items) const
 
virtual bool covers (Duple const &point) const
 
virtual void compute_bounding_box () const =0
 
void grab ()
 
void ungrab ()
 
void unparent ()
 
void reparent (Item *, bool already_added=false)
 
Itemparent () const
 
uint32_t depth () const
 
const Itemclosest_ancestor_with (const Item &other) const
 
bool common_ancestor_within (uint32_t, const Item &other) const
 
bool is_ancestor_of (const Item &candidate) const
 
bool is_descendant_of (const Item &candidate) const
 
void set_position (Duple)
 
void set_x_position (Coord)
 
void set_y_position (Coord)
 
void move (Duple)
 
Duple position () const
 
Duple window_origin () const
 
Duple canvas_origin () const
 
ScrollGroupscroll_parent () const
 
virtual void size_request (double &w, double &h) const
 
void set_size_request (double w, double h)
 
void set_size_request_to_display_given_text (const std::vector< std::string > &strings, gint hpadding, gint vpadding)
 
void size_allocate (Rect const &)
 
virtual void _size_allocate (Rect const &)
 
virtual void size_allocate_children (Rect const &r)
 
Rect allocation () const
 
void set_layout_sensitive (bool)
 
bool layout_sensitive () const
 
Rect bounding_box () const
 
Coord height () const
 
Coord width () const
 
Duple item_to_parent (Duple const &) const
 
Rect item_to_parent (Rect const &) const
 
Duple parent_to_item (Duple const &) const
 
Rect parent_to_item (Rect const &) const
 
void canvas_to_item (Coord &, Coord &) const
 
void item_to_canvas (Coord &, Coord &) const
 
Duple canvas_to_item (Duple const &) const
 
Rect item_to_canvas (Rect const &) const
 
Duple item_to_canvas (Duple const &) const
 
Rect canvas_to_item (Rect const &) const
 
Duple item_to_window (Duple const &, bool rounded=true) const
 
Duple window_to_item (Duple const &) const
 
Rect item_to_window (Rect const &, bool rounded=true) const
 
Rect window_to_item (Rect const &) const
 
void raise_to_top ()
 
void raise (int)
 
void lower_to_bottom ()
 
virtual void hide ()
 
virtual void show ()
 
void block_change_notifications ()
 
void unblock_change_notifications ()
 
bool self_visible () const
 
bool visible () const
 
Canvascanvas () const
 
void set_ignore_events (bool)
 
bool ignore_events () const
 
void set_data (std::string const &, void *)
 
void * get_data (std::string const &) const
 
virtual void add (Item *)
 
virtual void add_front (Item *)
 
virtual void remove (Item *)
 
void clear (bool with_delete=false)
 
std::list< Item * > const & items () const
 
void raise_child_to_top (Item *)
 
void raise_child (Item *, int)
 
void lower_child_to_bottom (Item *)
 
virtual void child_changed (bool bbox_changed)
 
PackOptions pack_options () const
 
void set_pack_options (PackOptions)
 
std::string whoami () const
 
const std::string & tooltip () const
 
void set_tooltip (const std::string &)
 
void start_tooltip_timeout ()
 
void stop_tooltip_timeout ()
 
virtual void dump (std::ostream &) const
 
std::string whatami () const
 
bool resize_queued () const
 
void queue_resize ()
 
bool scroll_translation () const
 
void disable_scroll_translation ()
 
virtual void layout ()
 
Duple position_offset () const
 
- Public Member Functions inherited from ArdourCanvas::Fill
 Fill (Item &self)
 
 Fill (const Fill &)=delete
 
Filloperator= (const Fill &)=delete
 
virtual ~Fill ()
 
virtual void set_fill_color (Gtkmm2ext::Color)
 
virtual void set_fill (bool)
 
Gtkmm2ext::Color fill_color () const
 
bool fill () const
 
void set_gradient (StopList const &stops, bool is_vertical)
 
void set_pattern (Cairo::RefPtr< Cairo::Pattern >)
 
- Public Member Functions inherited from ArdourCanvas::Outline
 Outline (Item &self)
 
 Outline (const Outline &)=delete
 
Outlineoperator= (const Outline &)=delete
 
virtual ~Outline ()
 
Gtkmm2ext::Color outline_color () const
 
virtual void set_outline_color (Gtkmm2ext::Color)
 
Distance outline_width () const
 
virtual void set_outline_width (Distance)
 
bool outline () const
 
virtual void set_outline (bool)
 

Public Attributes

sigc::signal1< bool, GdkEvent *, EventAccumulator< bool > > Event
 
bool _resize_queued
 
double _requested_width
 
double _requested_height
 

Static Public Attributes

static int default_items_per_cell
 

Protected Member Functions

void begin_change ()
 
void end_change ()
 
void begin_visual_change ()
 
void end_visual_change ()
 
void set_bbox_clean () const
 
void set_bbox_dirty () const
 
bool bbox_dirty () const
 
void invalidate_lut () const
 
void clear_items (bool with_delete)
 
void ensure_lut () const
 
void add_child_bounding_boxes (bool include_hidden=false) const
 
void render_children (Rect const &area, Cairo::RefPtr< Cairo::Context > context) const
 
void prepare_for_render_children (Rect const &area) const
 
Duple scroll_offset () const
 
- Protected Member Functions inherited from ArdourCanvas::Fill
void setup_fill_context (Cairo::RefPtr< Cairo::Context >) const
 
void setup_gradient_context (Cairo::RefPtr< Cairo::Context >, Rect const &, Duple const &) const
 
- Protected Member Functions inherited from ArdourCanvas::Outline
void setup_outline_context (Cairo::RefPtr< Cairo::Context >) const
 

Protected Attributes

Canvas_canvas
 
Item_parent
 
ScrollGroup_scroll_parent
 
Duple _position
 
bool _visible
 
Rect _pre_change_bounding_box
 
Rect _bounding_box
 
PackOptions _pack_options
 
Rect _allocation
 
bool _layout_sensitive
 
std::map< std::string, void * > _data
 
LookupTable_lut
 
std::list< Item * > _items
 
- Protected Attributes inherited from ArdourCanvas::Fill
Item_self
 
Gtkmm2ext::Color _fill_color
 
bool _fill
 
bool _transparent
 
StopList _stops
 
bool _vertical_gradient
 
Cairo::RefPtr< Cairo::Pattern > _pattern
 
- Protected Attributes inherited from ArdourCanvas::Outline
Item_self
 
Gtkmm2ext::Color _outline_color
 
Distance _outline_width
 
bool _outline
 

Private Member Functions

void init ()
 
void find_scroll_parent ()
 
void propagate_show_hide ()
 

Private Attributes

std::string _tooltip
 
bool _ignore_events
 
bool _scroll_translation
 
bool _bounding_box_dirty
 
int change_blocked
 

Friends

class Fill
 
class Outline
 

Additional Inherited Members

- Public Types inherited from ArdourCanvas::Fill
typedef std::vector< std::pair< double, Gtkmm2ext::Color > > StopList
 

Detailed Description

The parent class for anything that goes on the canvas.

Items have a position, which is expressed in the coordinates of the parent. They also have a bounding box, which describes the area in which they have drawable content, which is expressed in their own coordinates (whose origin is at the item position).

Any item that is being displayed on a canvas has a pointer to that canvas, and all except the ‘root group’ have a pointer to their parent group.

Definition at line 56 of file canvas/canvas/item.h.

Constructor & Destructor Documentation

◆ Item() [1/3]

ArdourCanvas::Item::Item ( Canvas )

◆ Item() [2/3]

ArdourCanvas::Item::Item ( Item )

◆ Item() [3/3]

ArdourCanvas::Item::Item ( Item ,
Duple const &  p 
)

◆ ~Item()

virtual ArdourCanvas::Item::~Item ( )
virtual

Member Function Documentation

◆ _size_allocate()

virtual void ArdourCanvas::Item::_size_allocate ( Rect const &  )
virtual

◆ add()

virtual void ArdourCanvas::Item::add ( Item )
virtual

Reimplemented in ArdourCanvas::Table, and ArdourCanvas::Box.

◆ add_child_bounding_boxes()

void ArdourCanvas::Item::add_child_bounding_boxes ( bool  include_hidden = false) const
protected

◆ add_front()

virtual void ArdourCanvas::Item::add_front ( Item )
virtual

Reimplemented in ArdourCanvas::Table, and ArdourCanvas::Box.

◆ add_items_at_point()

virtual void ArdourCanvas::Item::add_items_at_point ( Duple  point,
std::vector< Item const * > &  items 
) const
virtual

Adds one or more items to the vector items based on their covering point which is in window coordinates

Note that Item::add_items_at_window_point() is only intended to be called on items already looked up in a LookupTable (i.e. by a parent) and thus known to cover point already.

Derived classes may add more items than themselves (e.g. containers).

◆ allocation()

Rect ArdourCanvas::Item::allocation ( ) const
inline

Definition at line 158 of file canvas/canvas/item.h.

◆ bbox_dirty()

bool ArdourCanvas::Item::bbox_dirty ( ) const
inlineprotected

Definition at line 339 of file canvas/canvas/item.h.

◆ begin_change()

void ArdourCanvas::Item::begin_change ( )
protected

To be called at the beginning of any property change that may alter the bounding box of this item

◆ begin_visual_change()

void ArdourCanvas::Item::begin_visual_change ( )
protected

To be called at the beginning of any property change that does NOT alter the bounding box of this item

◆ block_change_notifications()

void ArdourCanvas::Item::block_change_notifications ( )

◆ bounding_box()

Rect ArdourCanvas::Item::bounding_box ( ) const

bounding box is the public API to get the area covered by the item (which may differ from its allocation). The returned Rect is in item coordinates (i.e. x0,y0 = 0,0 mean that the upper left corner of the bounding box is at the item's _position).

◆ canvas()

Canvas* ArdourCanvas::Item::canvas ( ) const
inline
Returns
Our canvas, or 0 if we are not attached to one

Definition at line 213 of file canvas/canvas/item.h.

◆ canvas_origin()

Duple ArdourCanvas::Item::canvas_origin ( ) const

◆ canvas_to_item() [1/3]

void ArdourCanvas::Item::canvas_to_item ( Coord ,
Coord  
) const

◆ canvas_to_item() [2/3]

Duple ArdourCanvas::Item::canvas_to_item ( Duple const &  ) const

◆ canvas_to_item() [3/3]

Rect ArdourCanvas::Item::canvas_to_item ( Rect const &  ) const

◆ child_changed()

virtual void ArdourCanvas::Item::child_changed ( bool  bbox_changed)
virtual

◆ clear()

void ArdourCanvas::Item::clear ( bool  with_delete = false)

◆ clear_items()

void ArdourCanvas::Item::clear_items ( bool  with_delete)
protected

◆ closest_ancestor_with()

const Item* ArdourCanvas::Item::closest_ancestor_with ( const Item other) const

◆ common_ancestor_within()

bool ArdourCanvas::Item::common_ancestor_within ( uint32_t  ,
const Item other 
) const

◆ compute_bounding_box()

◆ covers()

virtual bool ArdourCanvas::Item::covers ( Duple const &  point) const
virtual

Test if point is inside the item

Parameters
pointThe point is in window coordinates
Returns
true if the item covers point , false otherwise.

Reimplemented in ArdourCanvas::Polygon, ArdourCanvas::PolyLine, ArdourCanvas::Lollipop, ArdourCanvas::LineSet, ArdourCanvas::Line, ArdourCanvas::Flag, ArdourCanvas::Curve, ArdourCanvas::Arrow, and ArdourCanvas::Arc.

◆ depth()

uint32_t ArdourCanvas::Item::depth ( ) const

◆ disable_scroll_translation()

void ArdourCanvas::Item::disable_scroll_translation ( )

◆ dump()

virtual void ArdourCanvas::Item::dump ( std::ostream &  ) const
virtual

◆ end_change()

void ArdourCanvas::Item::end_change ( )
protected

To be called at the endof any property change that may alter the bounding box of this item

◆ end_visual_change()

void ArdourCanvas::Item::end_visual_change ( )
protected

To be called at the endof any property change that does NOT alter the bounding box of this item

◆ ensure_lut()

void ArdourCanvas::Item::ensure_lut ( ) const
protected

◆ find_scroll_parent()

void ArdourCanvas::Item::find_scroll_parent ( )
private

◆ get_data()

void* ArdourCanvas::Item::get_data ( std::string const &  ) const

◆ grab()

void ArdourCanvas::Item::grab ( )

◆ height()

Coord ArdourCanvas::Item::height ( ) const

◆ hide()

virtual void ArdourCanvas::Item::hide ( )
virtual

◆ ignore_events()

bool ArdourCanvas::Item::ignore_events ( ) const
inline

Definition at line 218 of file canvas/canvas/item.h.

◆ init()

void ArdourCanvas::Item::init ( )
private

◆ invalidate_lut()

void ArdourCanvas::Item::invalidate_lut ( ) const
protected

◆ is_ancestor_of()

bool ArdourCanvas::Item::is_ancestor_of ( const Item candidate) const
inline

returns true if this item is an ancestor of candidate , and false otherwise.

Definition at line 125 of file canvas/canvas/item.h.

◆ is_descendant_of()

bool ArdourCanvas::Item::is_descendant_of ( const Item candidate) const

returns true if this Item is a descendant of candidate , and false otherwise.

◆ item_to_canvas() [1/3]

void ArdourCanvas::Item::item_to_canvas ( Coord ,
Coord  
) const

◆ item_to_canvas() [2/3]

Duple ArdourCanvas::Item::item_to_canvas ( Duple const &  ) const

◆ item_to_canvas() [3/3]

Rect ArdourCanvas::Item::item_to_canvas ( Rect const &  ) const

◆ item_to_parent() [1/2]

Duple ArdourCanvas::Item::item_to_parent ( Duple const &  ) const

◆ item_to_parent() [2/2]

Rect ArdourCanvas::Item::item_to_parent ( Rect const &  ) const

◆ item_to_window() [1/2]

Duple ArdourCanvas::Item::item_to_window ( Duple const &  ,
bool  rounded = true 
) const

◆ item_to_window() [2/2]

Rect ArdourCanvas::Item::item_to_window ( Rect const &  ,
bool  rounded = true 
) const

◆ items()

std::list<Item*> const& ArdourCanvas::Item::items ( ) const
inline

Definition at line 232 of file canvas/canvas/item.h.

◆ layout()

virtual void ArdourCanvas::Item::layout ( )
virtual

Reimplemented in ArdourCanvas::Table, and ArdourCanvas::Box.

◆ layout_sensitive()

bool ArdourCanvas::Item::layout_sensitive ( ) const
inline

Definition at line 160 of file canvas/canvas/item.h.

◆ lower_child_to_bottom()

void ArdourCanvas::Item::lower_child_to_bottom ( Item )

◆ lower_to_bottom()

void ArdourCanvas::Item::lower_to_bottom ( )

◆ move()

void ArdourCanvas::Item::move ( Duple  )

◆ pack_options()

PackOptions ArdourCanvas::Item::pack_options ( ) const
inline

Definition at line 241 of file canvas/canvas/item.h.

◆ parent()

Item* ArdourCanvas::Item::parent ( ) const
inline
Returns
Parent group, or 0 if this is the root group

Definition at line 114 of file canvas/canvas/item.h.

◆ parent_to_item() [1/2]

Duple ArdourCanvas::Item::parent_to_item ( Duple const &  ) const

◆ parent_to_item() [2/2]

Rect ArdourCanvas::Item::parent_to_item ( Rect const &  ) const

◆ position()

Duple ArdourCanvas::Item::position ( ) const
inline
Returns
Position of this item in the parent's coordinates

Definition at line 140 of file canvas/canvas/item.h.

◆ position_offset()

Duple ArdourCanvas::Item::position_offset ( ) const

◆ prepare_for_render()

virtual void ArdourCanvas::Item::prepare_for_render ( Rect const &  area) const
inlinevirtual

Item has changed will be rendered in next render pass so give item a chance to perhaps schedule work in another thread etc.

Parameters
areaArea to draw, in window coordinates

Reimplemented in ArdourCanvas::Container, and ArdourWaveView::WaveView.

Definition at line 84 of file canvas/canvas/item.h.

◆ prepare_for_render_children()

void ArdourCanvas::Item::prepare_for_render_children ( Rect const &  area) const
protected

◆ propagate_show_hide()

void ArdourCanvas::Item::propagate_show_hide ( )
private

◆ queue_resize()

void ArdourCanvas::Item::queue_resize ( )

◆ raise()

void ArdourCanvas::Item::raise ( int  )

◆ raise_child()

void ArdourCanvas::Item::raise_child ( Item ,
int   
)

◆ raise_child_to_top()

void ArdourCanvas::Item::raise_child_to_top ( Item )

◆ raise_to_top()

void ArdourCanvas::Item::raise_to_top ( )

◆ redraw()

void ArdourCanvas::Item::redraw ( ) const

◆ remove()

virtual void ArdourCanvas::Item::remove ( Item )
virtual

Reimplemented in ArdourCanvas::Table.

◆ render()

virtual void ArdourCanvas::Item::render ( Rect const &  area,
Cairo::RefPtr< Cairo::Context >   
) const
pure virtual

Render this item to a Cairo context.

Parameters
areaArea to draw, in window coordinates

Items must convert their own coordinates into window coordinates because Cairo is limited to a fixed point coordinate space that does not extend as far as the Ardour timeline. All rendering must be done using coordinates that do not exceed the (rough) limits of the canvas' window, to avoid odd errors within Cairo as it converts doubles into its fixed point format and then tesselates the results.

Implemented in ArdourCanvas::XFadeCurve, ArdourCanvas::StatefulImage, ArdourCanvas::Ruler, ArdourCanvas::Polygon, ArdourCanvas::PolyLine, ArdourCanvas::Lollipop, ArdourCanvas::LineSet, ArdourCanvas::Line, ArdourCanvas::FramedCurve, ArdourCanvas::Curve, ArdourCanvas::Arc, ArdourCanvas::ScrollGroup, ArdourCanvas::Grid, ArdourCanvas::Container, ArdourCanvas::FollowActionIcon, ArdourCanvas::Widget, ArdourCanvas::Text, ArdourCanvas::StepButton, ArdourCanvas::Rectangle, ArdourCanvas::Pixbuf, ArdourCanvas::Note, ArdourCanvas::Image, ArdourCanvas::Button, ArdourWaveView::WaveView, ArdourCanvas::PianoRollHeader, ArdourSurface::Push2Menu, TriggerEntry, CueMaster, Loopster, CueEntry, ArdourSurface::TrackMixLayout, ArdourSurface::SplashLayout, ArdourSurface::ScaleLayout, ArdourSurface::MixLayout, ArdourSurface::Push2Knob, ArdourSurface::CueLayout, ArdourSurface::Maschine2Menu, ArdourSurface::Maschine2Knob, ArdourCanvas::Meter, TriggerMaster, SequencerStepIndicator, and StepView.

◆ render_children()

void ArdourCanvas::Item::render_children ( Rect const &  area,
Cairo::RefPtr< Cairo::Context >  context 
) const
protected

◆ reparent()

void ArdourCanvas::Item::reparent ( Item ,
bool  already_added = false 
)

◆ resize_queued()

bool ArdourCanvas::Item::resize_queued ( ) const
inline

Definition at line 284 of file canvas/canvas/item.h.

◆ scroll_offset()

Duple ArdourCanvas::Item::scroll_offset ( ) const
protected

◆ scroll_parent()

ScrollGroup* ArdourCanvas::Item::scroll_parent ( ) const
inline

Definition at line 147 of file canvas/canvas/item.h.

◆ scroll_translation()

bool ArdourCanvas::Item::scroll_translation ( ) const
inline

Definition at line 287 of file canvas/canvas/item.h.

◆ self_visible()

bool ArdourCanvas::Item::self_visible ( ) const
inline
Returns
true if this item is visible (ie it will be rendered), otherwise false

Definition at line 206 of file canvas/canvas/item.h.

◆ set_bbox_clean()

void ArdourCanvas::Item::set_bbox_clean ( ) const
protected

◆ set_bbox_dirty()

void ArdourCanvas::Item::set_bbox_dirty ( ) const
protected

◆ set_data()

void ArdourCanvas::Item::set_data ( std::string const &  ,
void *   
)

◆ set_ignore_events()

void ArdourCanvas::Item::set_ignore_events ( bool  )

◆ set_layout_sensitive()

void ArdourCanvas::Item::set_layout_sensitive ( bool  )

◆ set_pack_options()

void ArdourCanvas::Item::set_pack_options ( PackOptions  )

◆ set_position()

void ArdourCanvas::Item::set_position ( Duple  )

◆ set_size_request()

void ArdourCanvas::Item::set_size_request ( double  w,
double  h 
)

◆ set_size_request_to_display_given_text()

void ArdourCanvas::Item::set_size_request_to_display_given_text ( const std::vector< std::string > &  strings,
gint  hpadding,
gint  vpadding 
)

◆ set_tooltip()

void ArdourCanvas::Item::set_tooltip ( const std::string &  )

◆ set_x_position()

void ArdourCanvas::Item::set_x_position ( Coord  )

◆ set_y_position()

void ArdourCanvas::Item::set_y_position ( Coord  )

◆ show()

virtual void ArdourCanvas::Item::show ( )
virtual

◆ size_allocate()

void ArdourCanvas::Item::size_allocate ( Rect const &  )

◆ size_allocate_children()

virtual void ArdourCanvas::Item::size_allocate_children ( Rect const &  r)
virtual

Reimplemented in ArdourCanvas::Table, and ArdourCanvas::Box.

◆ size_request()

virtual void ArdourCanvas::Item::size_request ( double &  w,
double &  h 
) const
virtual

◆ start_tooltip_timeout()

void ArdourCanvas::Item::start_tooltip_timeout ( )

◆ stop_tooltip_timeout()

void ArdourCanvas::Item::stop_tooltip_timeout ( )

◆ tooltip()

const std::string& ArdourCanvas::Item::tooltip ( ) const
inline

Definition at line 275 of file canvas/canvas/item.h.

◆ unblock_change_notifications()

void ArdourCanvas::Item::unblock_change_notifications ( )

◆ ungrab()

void ArdourCanvas::Item::ungrab ( )

◆ unparent()

void ArdourCanvas::Item::unparent ( )

◆ visible()

bool ArdourCanvas::Item::visible ( ) const

◆ whatami()

std::string ArdourCanvas::Item::whatami ( ) const

◆ whoami()

std::string ArdourCanvas::Item::whoami ( ) const
inline

Definition at line 272 of file canvas/canvas/item.h.

◆ width()

Coord ArdourCanvas::Item::width ( ) const

◆ window_origin()

Duple ArdourCanvas::Item::window_origin ( ) const

◆ window_to_item() [1/2]

Duple ArdourCanvas::Item::window_to_item ( Duple const &  ) const

◆ window_to_item() [2/2]

Rect ArdourCanvas::Item::window_to_item ( Rect const &  ) const

Friends And Related Function Documentation

◆ Fill

friend class Fill
friend

Definition at line 301 of file canvas/canvas/item.h.

◆ Outline

friend class Outline
friend

Definition at line 302 of file canvas/canvas/item.h.

Member Data Documentation

◆ _allocation

Rect ArdourCanvas::Item::_allocation
protected

Definition at line 341 of file canvas/canvas/item.h.

◆ _bounding_box

Rect ArdourCanvas::Item::_bounding_box
mutableprotected

our bounding box; may be out of date if _bounding_box_dirty is true

Definition at line 334 of file canvas/canvas/item.h.

◆ _bounding_box_dirty

bool ArdourCanvas::Item::_bounding_box_dirty
mutableprivate

true if _bounding_box might be out of date, false if its definitely not

Definition at line 376 of file canvas/canvas/item.h.

◆ _canvas

Canvas* ArdourCanvas::Item::_canvas
protected

Definition at line 321 of file canvas/canvas/item.h.

◆ _data

std::map<std::string, void *> ArdourCanvas::Item::_data
protected

Definition at line 345 of file canvas/canvas/item.h.

◆ _ignore_events

bool ArdourCanvas::Item::_ignore_events
private

Definition at line 373 of file canvas/canvas/item.h.

◆ _items

std::list<Item*> ArdourCanvas::Item::_items
protected

Definition at line 355 of file canvas/canvas/item.h.

◆ _layout_sensitive

bool ArdourCanvas::Item::_layout_sensitive
protected

Definition at line 342 of file canvas/canvas/item.h.

◆ _lut

LookupTable* ArdourCanvas::Item::_lut
mutableprotected

Definition at line 353 of file canvas/canvas/item.h.

◆ _pack_options

PackOptions ArdourCanvas::Item::_pack_options
protected

Definition at line 335 of file canvas/canvas/item.h.

◆ _parent

Item* ArdourCanvas::Item::_parent
protected

parent group; may be 0 if we are the root group or if we have been unparent()ed

Definition at line 323 of file canvas/canvas/item.h.

◆ _position

Duple ArdourCanvas::Item::_position
protected

position of this item in parent coordinates

Definition at line 327 of file canvas/canvas/item.h.

◆ _pre_change_bounding_box

Rect ArdourCanvas::Item::_pre_change_bounding_box
protected

our bounding box before any change that is currently in progress

Definition at line 331 of file canvas/canvas/item.h.

◆ _requested_height

double ArdourCanvas::Item::_requested_height

Definition at line 367 of file canvas/canvas/item.h.

◆ _requested_width

double ArdourCanvas::Item::_requested_width

Definition at line 366 of file canvas/canvas/item.h.

◆ _resize_queued

bool ArdourCanvas::Item::_resize_queued

Definition at line 365 of file canvas/canvas/item.h.

◆ _scroll_parent

ScrollGroup* ArdourCanvas::Item::_scroll_parent
protected

scroll parent group; may be 0 if we are the root group or if we have been unparent()ed

Definition at line 325 of file canvas/canvas/item.h.

◆ _scroll_translation

bool ArdourCanvas::Item::_scroll_translation
private

Definition at line 374 of file canvas/canvas/item.h.

◆ _tooltip

std::string ArdourCanvas::Item::_tooltip
private

Definition at line 372 of file canvas/canvas/item.h.

◆ _visible

bool ArdourCanvas::Item::_visible
protected

true if this item is visible (ie to be drawn), otherwise false

Definition at line 329 of file canvas/canvas/item.h.

◆ change_blocked

int ArdourCanvas::Item::change_blocked
private

Definition at line 381 of file canvas/canvas/item.h.

◆ default_items_per_cell

int ArdourCanvas::Item::default_items_per_cell
static

Definition at line 244 of file canvas/canvas/item.h.

◆ Event

sigc::signal1<bool, GdkEvent*, EventAccumulator<bool> > ArdourCanvas::Item::Event

Definition at line 266 of file canvas/canvas/item.h.


The documentation for this class was generated from the following file: