Searched refs:DiagramItem (Results 1 – 16 of 16) sorted by relevance
/haiku/src/apps/cortex/DiagramView/ |
H A D | DiagramItemGroup.cpp | 73 if (fWires && (fTypes & DiagramItem::M_WIRE)) { in ~DiagramItemGroup() 76 delete static_cast<DiagramItem*>(fWires->ItemAt(i)); in ~DiagramItemGroup() 80 if (fBoxes && (fTypes & DiagramItem::M_BOX)) { in ~DiagramItemGroup() 83 delete static_cast<DiagramItem*>(fBoxes->ItemAt(i)); in ~DiagramItemGroup() 87 if (fEndPoints && (fTypes & DiagramItem::M_ENDPOINT)) { in ~DiagramItemGroup() 90 delete static_cast<DiagramItem*>(fEndPoints->ItemAt(i)); in ~DiagramItemGroup() 111 if (whichType & DiagramItem::M_BOX) { in CountItems() 116 if (whichType & DiagramItem::M_WIRE) { in CountItems() 121 if (whichType & DiagramItem::M_ENDPOINT) { in CountItems() 135 DiagramItem* [all …]
|
H A D | DiagramItem.cpp | 46 bigtime_t DiagramItem::m_lastSelectionTime = 0; 47 int32 DiagramItem::m_countSelected = 0; 53 DiagramItem::DiagramItem( in DiagramItem() function in DiagramItem 66 DiagramItem::~DiagramItem() in ~DiagramItem() 75 void DiagramItem::select() in select() 88 void DiagramItem::selectAdding() in selectAdding() 100 void DiagramItem::deselect() in deselect() 115 float DiagramItem::howCloseTo( in howCloseTo() 136 …const DiagramItem *lItem = *(reinterpret_cast<const DiagramItem* const*>(reinterpret_cast<const vo… in compareSelectionTime() 137 …const DiagramItem *rItem = *(reinterpret_cast<const DiagramItem* const*>(reinterpret_cast<const vo… in compareSelectionTime()
|
H A D | DiagramItemGroup.h | 66 uint32 CountItems(uint32 whichType = DiagramItem::M_ANY) const; 67 DiagramItem* ItemAt(uint32 index, 68 uint32 whichType = DiagramItem::M_ANY) const; 69 DiagramItem* ItemUnder(BPoint point); 73 virtual bool AddItem(DiagramItem* item); 74 bool RemoveItem(DiagramItem* item); 77 void DrawItems(BRect updateRect, uint32 whichType = DiagramItem::M_ANY, 79 bool GetClippingAbove(DiagramItem* which, BRegion* outRegion); 85 DiagramItem* SelectedItemAt(uint32 index) const; 96 bool SelectItem(DiagramItem* which, bool deselectOthers = true); [all …]
|
H A D | DiagramBox.cpp | 61 : DiagramItem(DiagramItem::M_BOX), in DiagramBox() 62 DiagramItemGroup(DiagramItem::M_ENDPOINT), in DiagramBox() 85 DiagramBox::AddItem(DiagramItem *item) in AddItem() 105 DiagramBox::RemoveItem(DiagramItem *item) in RemoveItem() 140 DiagramItem *item = ItemAt(i); in Draw() 150 DiagramItem *item = ItemAt(i); in Draw() 173 DiagramItem *item = ItemUnder(point); in MouseDown() 205 DiagramItem *last = _LastItemUnder(); in MouseOver() 210 DiagramItem *item = ItemUnder(point); in MouseOver() 232 DiagramItem *last = _LastItemUnder(); in MessageDragged() [all …]
|
H A D | DiagramView.cpp | 64 DiagramItemGroup(DiagramItem::M_BOX | DiagramItem::M_WIRE), in DiagramView() 148 DrawItems(updateRect, DiagramItem::M_WIRE); in Draw() 149 DrawItems(updateRect, DiagramItem::M_BOX); in Draw() 178 DiagramItem *item; in MessageReceived() 229 DiagramItem *item = ItemUnder(point); in MessageReceived() 339 DiagramItem *item = ItemUnder(point); in MouseDown() 346 if (!(modifiers() & B_SHIFT_KEY) && DeselectAll(DiagramItem::M_ANY)) in MouseDown() 443 DiagramItem *last = _LastItemUnder(); in MouseMoved() 454 DiagramItem *item = ItemUnder(point); in MouseMoved() 484 DiagramItem *last = _LastItemUnder(); in MouseMoved() [all …]
|
H A D | DiagramWire.cpp | 55 : DiagramItem(DiagramItem::M_WIRE), in DiagramWire() 71 : DiagramItem(DiagramItem::M_WIRE), in DiagramWire() 212 DiagramItem::MessageDragged(point, transit, message); in MessageDragged()
|
H A D | DiagramBox.h | 51 class DiagramBox : public DiagramItem, public DiagramItemGroup { 62 virtual bool AddItem(DiagramItem *item); 63 virtual bool RemoveItem(DiagramItem *item);
|
H A D | DiagramEndPoint.cpp | 54 : DiagramItem(DiagramItem::M_ENDPOINT), in DiagramEndPoint() 220 DiagramItem::MessageDragged(point, transit, message); in MessageDragged() 256 DiagramItem::MessageDropped(point, message); in MessageDropped()
|
H A D | DiagramItem.h | 65 class DiagramItem 82 DiagramItem( 85 virtual ~DiagramItem();
|
H A D | DiagramView.h | 182 DiagramItem *item); 187 DiagramItem *item);
|
H A D | Jamfile | 10 DiagramItem.cpp
|
H A D | DiagramEndPoint.h | 55 class DiagramEndPoint : public DiagramItem
|
H A D | DiagramWire.h | 56 class DiagramWire : public DiagramItem
|
/haiku/src/apps/cortex/MediaRoutingView/ |
H A D | MediaRoutingView.cpp | 548 SelectAll(DiagramItem::M_BOX); in MessageReceived() 759 for (uint32 i = 0; i < CountItems(DiagramItem::M_BOX); i++) in findFreePositionFor() 761 BRect r = ItemAt(i, DiagramItem::M_BOX)->Frame(); in findFreePositionFor() 788 for (uint32 i = 0; i < CountItems(DiagramItem::M_BOX); i++) in findFreePositionFor() 790 BRect r = ItemAt(i, DiagramItem::M_BOX)->Frame(); in findFreePositionFor() 907 for (uint32 i = 0; i < CountItems(DiagramItem::M_BOX); i++) in layoutChanged() 909 MediaNodePanel *panel = dynamic_cast<MediaNodePanel *>(ItemAt(i, DiagramItem::M_BOX)); in layoutChanged() 923 SortItems(DiagramItem::M_BOX, compareID); in cleanUp() 926 for (uint32 i = 0; i < CountItems(DiagramItem::M_BOX); i++) in cleanUp() 928 ItemAt(i, DiagramItem::M_BOX)->moveTo(BPoint(-200.0, -200.0)); in cleanUp() [all …]
|
H A D | MediaNodePanel.cpp | 376 SortItems(DiagramItem::M_ENDPOINT, &compareTypeAndID); in arrangeIOJacks()
|
/haiku/src/apps/cortex/RouteApp/ |
H A D | RouteApp.cpp | 629 v->SelectedType() != DiagramItem::M_BOX) { in _writeSelectedNodeSet()
|