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

RotateColorCmd Class Reference

Inheritance diagram for RotateColorCmd:

Inheritance graph
[legend]
Collaboration diagram for RotateColorCmd:

Collaboration graph
[legend]
List of all members.

Public Methods

 RotateColorCmd (TreeView &atv)
void operator() ()

Constructor & Destructor Documentation

RotateColorCmd::RotateColorCmd TreeView   atv [inline]
 

01338       :
01339    tv(atv)
01340    {}
   void operator()()


Member Function Documentation

void RotateColorCmd::operator()   [inline, virtual]
 

Implements Command.

01342    {
01343       static int i=0;
01344       switch(i%3)
01345       {
01346     case 0:
01347        tv.set_cpick(new ColorPicker);
01348     break;
01349 
01350     case 1:
01351        tv.set_cpick(new GidColor);
01352     break;
01353 
01354     case 2:
01355        tv.set_cpick(new AgeColor);
01356     break;
01357       };
01358       ++i;
01359       tv.draw_rect();
01360    }


The documentation for this class was generated from the following file:
Generated on Mon Apr 7 19:43:34 2003 for DuTree by doxygen1.2.18