Lines Matching defs:view

68 _DrawLine(BPoseView* view, BPoint from, BPoint to)
71 color_which highColor = view->HighUIColor(&tint);
72 view->SetHighUIColor(view->LowUIColor(), B_DARKEN_1_TINT);
73 view->StrokeLine(from, to);
74 view->SetHighUIColor(highColor, tint);
79 _UndrawLine(BPoseView* view, BPoint from, BPoint to)
81 view->StrokeLine(from, to, B_SOLID_LOW);
86 _DrawOutline(BView* view, BRect where)
91 color_which highColor = view->HighUIColor(&tint);
92 view->SetHighUIColor(B_CONTROL_HIGHLIGHT_COLOR);
93 view->StrokeRect(where);
94 view->SetHighUIColor(highColor, tint);
101 BTitleView::BTitleView(BPoseView* view)
104 fPoseView(view),
219 BView* view;
227 view = sOffscreen->BeginUsing(frame);
228 view->SetOrigin(-bounds.left, 0);
229 view->SetLowColor(LowColor());
230 view->SetHighColor(HighColor());
233 view->SetFont(&font);
235 view = this;
237 view->SetHighUIColor(B_PANEL_BACKGROUND_COLOR, B_DARKEN_2_TINT);
238 view->StrokeLine(bounds.LeftBottom(), bounds.RightBottom());
242 be_control_look->DrawButtonBackground(view, bounds, bounds, baseColor, 0,
250 title->Draw(view, title == pressedColumn);
260 view->SetHighUIColor(B_PANEL_BACKGROUND_COLOR, B_DARKEN_1_TINT);
261 view->StrokeLine(BPoint(minx, bounds.top),
273 (trackRectBlitter)(view, passThru);
275 view->Sync();
279 (trackRectBlitter)(view, passThru);
445 BColumnTitle::BColumnTitle(BTitleView* view, BColumn* column)
448 fParent(view)
476 BColumnTitle::Draw(BView* view, bool pressed)
481 view->GetFontHeight(&fontHeight);
495 be_control_look->DrawButtonBackground(view, rect, rect, baseColor, 0,
500 view->TruncateString(&titleString, B_TRUNCATE_END,
502 float resultingWidth = view->StringWidth(titleString.String());
521 view->SetHighUIColor(B_PANEL_TEXT_COLOR, pressed ? B_DARKEN_1_TINT : 1.0f);
522 view->SetLowColor(baseColor);
523 view->DrawString(titleString.String(), titleLocation);
544 uint32 flags = view->Flags();
545 view->SetFlags(flags | B_SUBPIXEL_PRECISE);
548 view->SetHighUIColor(B_PANEL_BACKGROUND_COLOR, 1.3);
549 view->FillTriangle(triangle[0], triangle[1], triangle[2]);
551 view->SetHighUIColor(B_PANEL_BACKGROUND_COLOR, 1.6);
552 view->FillTriangle(triangle[0], triangle[1], triangle[2]);
555 view->SetFlags(flags);
558 view->SetHighUIColor(B_PANEL_BACKGROUND_COLOR, B_DARKEN_1_TINT);
559 view->StrokeLine(bounds.RightTop(), bounds.RightBottom());
566 ColumnTrackState::ColumnTrackState(BTitleView* view, BColumnTitle* title,
569 fTitleView(view),
609 ColumnResizeState::ColumnResizeState(BTitleView* view, BColumnTitle* title,
612 ColumnTrackState(view, title, where, pastClickTime),
705 ColumnDragState::ColumnDragState(BTitleView* view, BColumnTitle* columnTitle,
708 ColumnTrackState(view, columnTitle, where, pastClickTime),