Lines Matching refs:owner
38 RainbowItem::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);
71 owner->FillRect(colorRect, gradient);
74 owner->SetHighUIColor(B_CONTROL_BORDER_COLOR);
75 owner->StrokeRect(colorRect);
78 owner->MovePenTo(colorRect.right + spacer, frame.top + BaselineOffset());
83 owner->SetHighColor(tint_color(textColor, B_DARKEN_2_TINT));
85 owner->SetHighColor(tint_color(textColor, B_LIGHTEN_2_TINT));
88 owner->SetHighUIColor(B_LIST_SELECTED_ITEM_TEXT_COLOR);
90 owner->SetHighUIColor(B_LIST_ITEM_TEXT_COLOR);
93 owner->DrawString(Text());
95 owner->SetHighColor(highColor);
96 owner->SetLowColor(lowColor);