Lines Matching refs:view
198 SlideShowSaver::StartConfig(BView *view)
200 view->AddChild(new SlideShowConfigView(
206 SlideShowSaver::StartSaver(BView *view, bool preview)
221 SlideShowSaver::Draw(BView *view, int32 frame)
225 view->SetLowColor(0, 0, 0);
226 view->SetHighColor(192, 192, 192);
227 view->SetViewColor(192, 192, 192);
243 vwBounds = view->Bounds();
252 BRect border = destRect, bounds = view->Bounds();
254 view->FillRect(BRect(0, 0, bounds.right, border.top-1), B_SOLID_LOW);
256 view->FillRect(BRect(0, border.top, border.left-1, border.bottom), B_SOLID_LOW);
258 view->FillRect(BRect(border.right+1, border.top, bounds.right, border.bottom), B_SOLID_LOW);
260 view->FillRect(BRect(0, border.bottom+1, bounds.right, bounds.bottom), B_SOLID_LOW);
265 view->StrokeRect(strokeRect);
268 view->DrawBitmap(fBitmap, fBitmap->Bounds(), destRect);
271 DrawCaption(view);
470 SlideShowSaver::LayoutCaption(BView *view, BFont &font, BPoint &pos, BRect &rect)
474 BRect bounds(view->Bounds());
491 SlideShowSaver::DrawCaption(BView *view)
496 LayoutCaption(view, font, pos, rect);
498 view->PushState();
500 view->SetDrawingMode(B_OP_ALPHA);
501 view->SetHighColor(0, 0, 255, 128);
502 view->FillRect(rect);
504 view->SetDrawingMode(B_OP_OVER);
505 view->SetFont(&font);
506 view->SetLowColor(B_TRANSPARENT_COLOR);
509 view->SetHighColor(0, 0, 0);
510 view->SetPenSize(1);
511 view->DrawString(fCaption.String(), pos);
514 view->SetHighColor(255, 255, 0);
515 view->DrawString(fCaption.String(), pos);
516 view->PopState();