Lines Matching defs:box
34 // PatchCheckBox is the check box that describes a connection
113 PatchCheckBox* box = new PatchCheckBox(rect, fProducerID, consumerID);
114 AddChild(box);
115 box->SetTarget(this);
124 PatchCheckBox* box = dynamic_cast<PatchCheckBox*>(ChildAt(i));
125 if (box != NULL && box->ConsumerID() == consumerID) {
126 RemoveChild(box);
127 delete box;
129 box = dynamic_cast<PatchCheckBox*>(ChildAt(i++));
130 if (box != NULL)
131 box->MoveBy(-COLUMN_WIDTH, 0);
144 PatchCheckBox* box = dynamic_cast<PatchCheckBox*>(ChildAt(i));
145 if (box != NULL && box->ConsumerID() == consumerID)
146 box->SetValue(1);
156 PatchCheckBox* box = dynamic_cast<PatchCheckBox*>(ChildAt(i));
157 if (box != NULL && box->ConsumerID() == consumerID)
158 box->SetValue(0);
170 PatchCheckBox* box = dynamic_cast<PatchCheckBox*>(ChildAt(i));
171 if (box != NULL)
172 box->SetTarget(this);
185 PatchCheckBox* box = dynamic_cast<PatchCheckBox*>(ctrl);
186 if (box != NULL)
187 box->DoConnect();