Lines Matching refs:owner
38 ColorWhichItem::DrawItem(BView* owner, BRect frame, bool complete)
40 rgb_color highColor = owner->HighColor();
41 rgb_color lowColor = owner->LowColor();
45 owner->SetHighUIColor(B_LIST_SELECTED_BACKGROUND_COLOR);
46 owner->SetLowColor(owner->HighColor());
48 owner->SetHighColor(lowColor);
50 owner->FillRect(frame);
59 owner->SetHighColor(fColor);
60 owner->FillRect(colorRect);
61 owner->SetHighUIColor(B_CONTROL_BORDER_COLOR);
62 owner->StrokeRect(colorRect);
64 owner->MovePenTo(colorRect.right + spacer, frame.top + BaselineOffset());
69 owner->SetHighColor(tint_color(textColor, B_DARKEN_2_TINT));
71 owner->SetHighColor(tint_color(textColor, B_LIGHTEN_2_TINT));
74 owner->SetHighUIColor(B_LIST_SELECTED_ITEM_TEXT_COLOR);
76 owner->SetHighUIColor(B_LIST_ITEM_TEXT_COLOR);
79 owner->DrawString(Text());
81 owner->SetHighColor(highColor);
82 owner->SetLowColor(lowColor);