Lines Matching defs:view
88 // when the editing text view is displayed, the position of the text
239 // Remove view
416 BView* view = new BView(dragBitmap->Bounds(), "",
418 dragBitmap->AddChild(view);
419 view->SetOrigin(0, 0);
420 BRect clipRect(view->Bounds());
423 view->ConstrainClippingRegion(&newClip);
426 view->SetHighColor(0, 0, 0, 0);
427 view->FillRect(view->Bounds());
428 view->SetDrawingMode(B_OP_ALPHA);
432 view->SetHighColor(textColor);
433 view->SetBlendingMode(B_CONSTANT_ALPHA, B_ALPHA_COMPOSITE);
437 IconCache::sIconCache->Draw(fIconModel, view,
442 if (view->StringWidth(fModel->Name()) > rect.Width()) {
443 view->TruncateString(&nameString, B_TRUNCATE_END,
450 float leftText = (view->StringWidth(nameString.String())
452 view->MovePenTo(BPoint(hIconOffset - leftText + 2,
454 view->DrawString(nameString.String());
456 view->Sync();
658 // Make sure the cursor is in view