Lines Matching defs:owner
39 ColorItem::DrawItem(BView* owner, BRect frame, bool complete)
41 rgb_color highColor = owner->HighColor();
42 rgb_color lowColor = owner->LowColor();
46 owner->SetHighUIColor(B_LIST_SELECTED_BACKGROUND_COLOR);
47 owner->SetLowColor(owner->HighColor());
49 owner->SetHighColor(lowColor);
51 owner->FillRect(frame);
62 owner->SetHighColor(fColor);
63 owner->FillRect(colorRect);
66 owner->SetHighUIColor(B_CONTROL_BORDER_COLOR);
67 owner->StrokeRect(colorRect);
70 owner->MovePenTo(colorRect.right + spacer, frame.top + BaselineOffset());
75 owner->SetHighColor(tint_color(textColor, B_DARKEN_2_TINT));
77 owner->SetHighColor(tint_color(textColor, B_LIGHTEN_2_TINT));
80 owner->SetHighUIColor(B_LIST_SELECTED_ITEM_TEXT_COLOR);
82 owner->SetHighUIColor(B_LIST_ITEM_TEXT_COLOR);
85 owner->DrawString(Text());
87 owner->SetHighColor(highColor);
88 owner->SetLowColor(lowColor);