Lines Matching refs:owner
49 TimeZoneListItem::DrawItem(BView* owner, BRect frame, bool complete)
53 _DrawItemWithTextOffset(owner, frame, complete,
60 owner->SetDrawingMode(B_OP_OVER);
61 owner->DrawBitmap(fIcon, iconFrame);
62 owner->SetDrawingMode(B_OP_COPY);
64 _DrawItemWithTextOffset(owner, frame, complete, 0);
69 TimeZoneListItem::Update(BView* owner, const BFont* font)
72 BStringItem::Update(owner, font);
139 TimeZoneListItem::_DrawItemWithTextOffset(BView* owner, BRect frame,
142 rgb_color highColor = owner->HighColor();
143 rgb_color lowColor = owner->LowColor();
150 color = owner->ViewColor();
152 owner->SetHighColor(color);
153 owner->SetLowColor(color);
154 owner->FillRect(frame);
156 owner->SetLowColor(owner->ViewColor());
161 owner->SetHighColor(tint_color(textColor, B_DARKEN_2_TINT));
163 owner->SetHighColor(tint_color(textColor, B_LIGHTEN_2_TINT));
166 owner->SetHighColor(ui_color(B_LIST_SELECTED_ITEM_TEXT_COLOR));
168 owner->SetHighColor(ui_color(B_LIST_ITEM_TEXT_COLOR));
171 owner->MovePenTo(
174 owner->DrawString(Text());
176 owner->SetHighColor(highColor);
177 owner->SetLowColor(lowColor);