Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Drawing::Contents Class Reference

A specialized version of a group to hold all the elements in this drawing. More...

Inheritance diagram for Drawing::Contents:

Group DrawElement Object List of all members.

Public Methods

 Contents (Drawing *)
virtual void set_changed (DrawElement *)
 Informs the group of a change in a constituent.


Private Attributes

Drawing *const drawing

Detailed Description

A specialized version of a group to hold all the elements in this drawing.


Constructor & Destructor Documentation

Drawing::Contents::Contents Drawing  
 

00192 : drawing(d) {}


Member Function Documentation

void Drawing::Contents::set_changed DrawElement   [virtual]
 

Informs the group of a change in a constituent.

Recomputes center of gravity. If there is a containing group, this group is also informed.

Reimplemented from Group.

00195 {
00196   drawing->needs_refresh();
00197 }


Member Data Documentation

Drawing* const Drawing::Contents::drawing [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 10:52:29 2002 for Draw by doxygen1.2.17