Lines Matching defs:view

164 	replicant_data(BMessage *message, BView *view, BDragger *dragger,
170 static replicant_data* Find(BList const *list, BView const *view, bool allowZombie);
174 static int32 IndexOf(BList const *list, BView const *view, bool allowZombie);
180 BView* view;
190 ShelfContainerViewFilter(BShelf *shelf, BView *view);
203 ReplicantViewFilter(BShelf *shelf, BView *view);
265 view(_view),
278 view(NULL),
297 if (view)
298 result = view->Archive(&archive);
308 if (view)
309 pos = view->Frame().LeftTop();
334 replicant_data::Find(BList const *list, BView const *view, bool allowZombie)
339 if (item->view == view)
342 if (allowZombie && item->zombie_view == view)
383 replicant_data::IndexOf(BList const *list, BView const *view, bool allowZombie)
388 if (item->view == view)
391 if (allowZombie && item->zombie_view == view)
419 ShelfContainerViewFilter::ShelfContainerViewFilter(BShelf *shelf, BView *view)
422 fView(view)
498 ReplicantViewFilter::ReplicantViewFilter(BShelf *shelf, BView *view)
501 fView(view)
521 BShelf::BShelf(BView *view, bool allowDrags, const char *shelfType)
524 _InitData(NULL, NULL, view, allowDrags);
528 BShelf::BShelf(const entry_ref *ref, BView *view, bool allowDrags,
532 _InitData(new BEntry(ref), NULL, view, allowDrags);
536 BShelf::BShelf(BDataIO *stream, BView *view, bool allowDrags,
540 _InitData(NULL, stream, view, allowDrags);
591 BView *view = dynamic_cast<BView *>(replicant);
592 if (view != NULL)
593 DeleteReplicant(view);
1020 *_view = item->view;
1140 BShelf::_InitData(BEntry *entry, BDataIO *stream, BView *view,
1143 fContainerView = view;
1206 BView *view = item->view;
1207 if (view == NULL)
1208 view = item->zombie_view;
1210 if (view != NULL)
1211 view->RemoveSelf();
1218 ReplicantDeleted(index, item->message, view);
1224 delete view;
1304 BView *view = NULL;
1307 view = dynamic_cast<BView*>(archivable);
1309 if (view == NULL)
1317 if (view != NULL) {
1318 const BPoint point = location ? *location : view->Frame().LeftTop();
1319 replicant = _GetReplicant(data, view, point, dragger, relation);
1325 // There was no view, and we're not allowed to have any zombies
1365 BShelf::_GetReplicant(BMessage *data, BView *view, const BPoint &point,
1370 _GetReplicantData(data, view, replicant, dragger, relation);
1375 BRect frame = view->Frame().OffsetToCopy(point);
1377 // the view has not been accepted
1395 view->MoveTo(point + adjust);
1413 BShelf::_GetReplicantData(BMessage *data, BView *view, BView *&replicant,
1420 replicant = view;
1426 } else if ((dragger = dynamic_cast<BDragger*>(view)) != NULL) {
1434 replicant = view;
1501 BView *view = NULL;
1502 ReplicantAt(i, &view, &ID, &err);
1503 if (err != B_OK || view == NULL)
1505 if (view->Name() != NULL && strcmp(view->Name(), name) == 0) {
1506 replicant = view;
1518 BView *view = NULL;
1519 ReplicantAt(i, &view, &ID, &err);
1520 if (err != B_OK || view == NULL)
1523 replicant = view;