Lines Matching defs:panel

445 						// [e.moon 8dec99] allow for existing panel
446 MediaNodePanel* panel;
447 if(_findPanelFor(id, &panel) < B_OK)
736 const MediaNodePanel* panel) const
741 if (panel)
749 if (panel->ref->kind() & B_BUFFER_PRODUCER)
753 if (panel->ref->kind() & B_BUFFER_CONSUMER)
778 if (panel->ref->kind() & B_BUFFER_PRODUCER)
782 if (panel->ref->kind() & B_BUFFER_CONSUMER)
909 MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(ItemAt(i, DiagramItem::M_BOX));
910 if (panel)
912 panel->layoutChanged(layout);
934 MediaNodePanel *panel;
935 panel = dynamic_cast<MediaNodePanel *>(ItemAt(i, DiagramItem::M_BOX));
936 BPoint p = findFreePositionFor(panel);
937 panel->moveTo(p);
1048 // find panel state info; stop when exhausted
1050 err = archive->FindMessage("panel", n, &m);
1064 // look up matching panel +++++ SLOW +++++
1072 MediaNodePanel* panel = dynamic_cast<MediaNodePanel*>(
1075 if(panel &&
1076 !strcmp(panel->ref->name(), nodeName) &&
1077 panel->ref->kind() == nodeKind) {
1079 // found match; hand message to panel
1080 panel->importState(&m);
1085 // no panel found
1120 // store panel positions w/ node names & signatures
1122 MediaNodePanel* panel = dynamic_cast<MediaNodePanel*>(
1124 if(!panel)
1127 if(panel->ref->isInternal())
1132 panel->exportState(&m);
1133 archive->AddString("nodeName", panel->ref->name());
1134 archive->AddInt32("nodeKind", panel->ref->kind());
1135 archive->AddMessage("panel", &m);
1145 archive->AddMessage("panel", &e->state);
1161 // fetch archived key & panel data
1168 err = archive->FindMessage("panel", archiveIndex, &m);
1171 "!!! MediaRoutingView::importStateFor(): missing panel %"
1186 // look for panel, create it if necessary
1187 MediaNodePanel* panel;
1188 err = _findPanelFor(id, &panel);
1201 err = _findPanelFor(id, &panel);
1211 panel->importState(&m);
1213 // select the panel
1214 SelectItem(panel, false);
1227 MediaNodePanel* panel;
1230 &panel);
1234 " no panel for node %" B_PRId32 "\n",
1243 panel->exportState(&m);
1244 archive->AddMessage("panel", &m);
1267 MediaNodePanel *panel = 0;
1270 AddItem(panel = new MediaNodePanel(m_lastDropPoint, ref));
1271 SelectItem(panel, true);
1276 panel = new MediaNodePanel(BPoint(0.0, 0.0), ref);
1277 AddItem(panel);
1279 if(_fetchInactiveNodeState(panel, &state) == B_OK)
1280 panel->importState(&state);
1282 BPoint p = findFreePositionFor(panel);
1283 panel->moveTo(p);
1285 Invalidate(panel->Frame());
1300 MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(ItemAt(i, DiagramItem::M_BOX));
1301 if (panel)
1303 if (panel->ref->id() == id)
1305 *outPanel = panel;
1318 MediaNodePanel *panel;
1319 if (_findPanelFor(id, &panel) == B_OK)
1321 if (RemoveItem(panel))
1323 remove_observer(this, panel->ref);
1324 Invalidate(panel->Frame());
1325 delete panel;
1581 MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
1582 if (panel && (panel->ref->isCycling() != cycle))
1584 panel->ref->setCycling(cycle);
1601 MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
1602 if (panel && (panel->ref->runMode() != mode))
1604 panel->ref->setRunMode(mode);
1621 MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
1622 if (panel && manager->Lock()) {
1623 manager->openWindowFor(panel->ref);
1648 MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
1649 if (panel && (panel->ref->kind() & B_CONTROLLABLE)) {
1652 paramMgr->openWindowFor(panel->ref);
1663 // can only start control panel for nodes
1668 MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
1669 if (panel && (panel->ref->kind() & B_CONTROLLABLE)) {
1672 paramMgr->startControlPanelFor(panel->ref);
1686 MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
1687 if (panel && panel->ref->isInternal())
1689 status_t error = panel->ref->releaseNode();
1693 s.ReplaceFirst("%rename%", panel->ref->name());
1854 MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
1855 if (panel && panel->ref->group()) {
1856 selectedGroup = panel->ref->group()->id();