Lines Matching refs:owner
132 BNetworkInterfaceListItem::DrawItem(BView* owner, BRect bounds, bool complete)
134 owner->PushState();
138 owner->SetHighColor(ui_color(B_LIST_SELECTED_BACKGROUND_COLOR));
139 owner->SetLowColor(owner->HighColor());
141 owner->SetHighColor(owner->LowColor());
143 owner->FillRect(bounds);
157 owner->SetHighColor(tint_color(textColor, B_DARKEN_1_TINT));
159 owner->SetHighColor(tint_color(textColor, B_LIGHTEN_1_TINT));
162 owner->SetHighColor(ui_color(B_LIST_SELECTED_ITEM_TEXT_COLOR));
164 owner->SetHighColor(ui_color(B_LIST_ITEM_TEXT_COLOR));
167 owner->SetFont(be_plain_font);
168 owner->DrawString(fLabel, labelLocation);
172 owner->MovePenBy(fSpacing, 0);
173 owner->SetFont(&font);
174 owner->DrawString(fAddress);
177 owner->PopState();
182 BNetworkInterfaceListItem::Update(BView* owner, const BFont* font)
188 BListItem::Update(owner, font);
196 SetWidth(owner->StringWidth(fLabel) + 2 * fSpacing