MediaNodePanel
MediaNodePanel::MediaNodePanel(
void MediaNodePanel::_updateIcon(
const MediaNodePanel *lPanel = *(reinterpret_cast<MediaNodePanel * const*>(reinterpret_cast<void * const*>(lValue)));
const MediaNodePanel *rPanel = *(reinterpret_cast<MediaNodePanel * const*>(reinterpret_cast<void * const*>(rValue)));
MediaNodePanel::~MediaNodePanel()
void MediaNodePanel::attachedToDiagram()
void MediaNodePanel::detachedFromDiagram()
void MediaNodePanel::DrawBox()
void MediaNodePanel::MouseDown(
void MediaNodePanel::MouseOver(
void MediaNodePanel::MessageDropped(
void MediaNodePanel::selected()
void MediaNodePanel::deselected()
void MediaNodePanel::layoutChanged(
void MediaNodePanel::populateInit()
void MediaNodePanel::updateIOJacks()
void MediaNodePanel::arrangeIOJacks()
&& (minHeight >= MediaNodePanel::M_DEFAULT_HEIGHT)))
&& (minWidth >= MediaNodePanel::M_DEFAULT_WIDTH)))
void MediaNodePanel::showContextMenu(
void MediaNodePanel::MessageReceived(
status_t MediaNodePanel::importState(
status_t MediaNodePanel::exportState(
void MediaNodePanel::_prepareLabel()
float MediaNodePanel::M_DEFAULT_WIDTH = 90.0;
void MediaNodePanel::_updateBitmap()
float MediaNodePanel::M_DEFAULT_HEIGHT = 60.0;
float MediaNodePanel::M_LABEL_H_MARGIN = 3.0;
float MediaNodePanel::M_LABEL_V_MARGIN = 3.0;
void MediaNodePanel::_drawInto(
float MediaNodePanel::M_BODY_H_MARGIN = 5.0;
float MediaNodePanel::M_BODY_V_MARGIN = 5.0;
const BPoint MediaNodePanel::s_invalidPosition(-200.0, -200.0);
class MediaNodePanel : public DiagramBox,
MediaNodePanel(
virtual ~MediaNodePanel();
MediaNodePanel* panel = dynamic_cast<MediaNodePanel*>(
MediaNodePanel* panel = dynamic_cast<MediaNodePanel*>(
MediaNodePanel* panel;
MediaNodePanel* panel;
MediaNodePanel *panel = 0;
AddItem(panel = new MediaNodePanel(m_lastDropPoint, ref));
panel = new MediaNodePanel(BPoint(0.0, 0.0), ref);
MediaNodePanel **outPanel) const
MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(ItemAt(i, DiagramItem::M_BOX));
MediaNodePanel *panel;
MediaNodePanel *source, *destination;
MediaNodePanel *source, *destination;
labelWidth = 4 * MediaNodePanel::M_LABEL_H_MARGIN
bodyWidth = 2 * MediaNodePanel::M_BODY_H_MARGIN + B_LARGE_ICON
labelHeight = 2 * MediaNodePanel::M_LABEL_V_MARGIN
bodyHeight = 2 * MediaNodePanel::M_BODY_V_MARGIN + B_LARGE_ICON;
MediaNodePanel::M_DEFAULT_WIDTH = labelWidth > bodyWidth ? labelWidth : bodyWidth;
MediaNodePanel::M_DEFAULT_HEIGHT = labelHeight + bodyHeight;
Align(&MediaNodePanel::M_DEFAULT_WIDTH, &MediaNodePanel::M_DEFAULT_HEIGHT);
M_CLEANUP_H_GAP += MediaNodePanel::M_DEFAULT_WIDTH;
labelWidth = 4 * MediaNodePanel::M_LABEL_H_MARGIN
bodyWidth = 2 * MediaNodePanel::M_BODY_H_MARGIN + B_MINI_ICON;
labelHeight = 3 * MediaNodePanel::M_LABEL_V_MARGIN
bodyHeight = 2 * MediaNodePanel::M_BODY_V_MARGIN + B_MINI_ICON;
MediaNodePanel::M_DEFAULT_WIDTH = labelWidth + bodyWidth;
MediaNodePanel::M_DEFAULT_HEIGHT = labelHeight > bodyHeight ? labelHeight : bodyHeight;
Align(&MediaNodePanel::M_DEFAULT_WIDTH, &MediaNodePanel::M_DEFAULT_HEIGHT);
M_CLEANUP_V_GAP += MediaNodePanel::M_DEFAULT_HEIGHT;
MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
float bigStep = floor(MediaNodePanel::M_DEFAULT_WIDTH + M_CLEANUP_H_GAP);
float bigStep = floor(MediaNodePanel::M_DEFAULT_HEIGHT + M_CLEANUP_V_GAP);
MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(SelectedItemAt(i));
MediaRoutingView::_fetchInactiveNodeState(MediaNodePanel *forPanel, BMessage *outMessage)
MediaNodePanel* panel;
const MediaNodePanel* panel) const
p.x += M_CLEANUP_H_GAP + MediaNodePanel::M_DEFAULT_WIDTH;
p.x -= M_CLEANUP_H_GAP + MediaNodePanel::M_DEFAULT_WIDTH;
p.x += M_CLEANUP_H_GAP + MediaNodePanel::M_DEFAULT_WIDTH;
&& (r.left <= p.x + MediaNodePanel::M_DEFAULT_WIDTH))
p.y += M_CLEANUP_V_GAP + MediaNodePanel::M_DEFAULT_HEIGHT;
p.y -= M_CLEANUP_V_GAP + MediaNodePanel::M_DEFAULT_HEIGHT;
p.y += M_CLEANUP_V_GAP + MediaNodePanel::M_DEFAULT_HEIGHT;
&& (r.top <= p.y + MediaNodePanel::M_DEFAULT_HEIGHT))
labelWidth = 4 * MediaNodePanel::M_LABEL_H_MARGIN
bodyWidth = 2 * MediaNodePanel::M_BODY_H_MARGIN + B_LARGE_ICON
labelHeight = 2 * MediaNodePanel::M_LABEL_V_MARGIN
bodyHeight = 2 * MediaNodePanel::M_BODY_V_MARGIN + B_LARGE_ICON;
MediaNodePanel::M_DEFAULT_WIDTH = labelWidth > bodyWidth ? labelWidth : bodyWidth;
MediaNodePanel::M_DEFAULT_HEIGHT = labelHeight + bodyHeight;
Align(&MediaNodePanel::M_DEFAULT_WIDTH, &MediaNodePanel::M_DEFAULT_HEIGHT);
labelWidth = 4 * MediaNodePanel::M_LABEL_H_MARGIN
bodyWidth = 2 * MediaNodePanel::M_BODY_H_MARGIN + B_MINI_ICON;
labelHeight = 3 * MediaNodePanel::M_LABEL_V_MARGIN
bodyHeight = 2 * MediaNodePanel::M_BODY_V_MARGIN + B_MINI_ICON;
MediaNodePanel::M_DEFAULT_WIDTH = labelWidth + bodyWidth;
MediaNodePanel::M_DEFAULT_HEIGHT = labelHeight > bodyHeight ? labelHeight : bodyHeight;
Align(&MediaNodePanel::M_DEFAULT_WIDTH, &MediaNodePanel::M_DEFAULT_HEIGHT);
MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(ItemAt(i, DiagramItem::M_BOX));
MediaNodePanel *panel;
panel = dynamic_cast<MediaNodePanel *>(ItemAt(i, DiagramItem::M_BOX));
const MediaNodePanel *panel) const;
MediaNodePanel **outPanel) const;
MediaNodePanel* forPanel,
class MediaNodePanel;
MediaNodePanel* panel = dynamic_cast<MediaNodePanel*>(v->SelectedItemAt(i));