Lines Matching refs:owner

34 TestResultItem::DrawItem(BView *owner, BRect itemRect, bool drawEverthing)
36 owner->SetDrawingMode(B_OP_COPY);
38 owner->PushState();
40 rgb_color lowColor = owner->LowColor();
41 owner->SetHighColor(tint_color(lowColor, B_DARKEN_2_TINT));
44 owner->SetHighColor(200, 255, 200);
47 owner->SetHighColor(255, 200, 200);
49 owner->FillRect(itemRect);
50 owner->PopState();
54 owner->MovePenTo(itemRect.left+1, itemRect.top+1);
56 owner->DrawBitmap(fDirectBitmap);
58 owner->MovePenBy(fBitmapSize.Width() + kDistance, 0);
61 owner->DrawBitmap(fOriginalBitmap);
63 owner->MovePenBy(fBitmapSize.Width() + kDistance, 0);
66 owner->DrawBitmap(fArchivedBitmap);
68 owner->MovePenBy(fBitmapSize.Width() + kDistance, 0);
70 owner->DrawBitmap(fDirectBitmap);
71 owner->SetDrawingMode(B_OP_SUBTRACT);
72 owner->DrawBitmap(fOriginalBitmap);
74 owner->MovePenBy(fBitmapSize.Width() + kDistance, 0);
76 owner->SetDrawingMode(B_OP_OVER);
78 owner->GetFont(&font);
81 owner->MovePenTo(owner->PenLocation().x, baseLine);
82 owner->DrawString(fName.String());
87 owner->PushState();
89 owner->SetFont(&font);
90 owner->SetHighColor(255, 0, 0);
91 owner->MovePenBy(kDistance, 0);
92 owner->DrawString(fErrorMessage.String());
93 owner->PopState();
98 TestResultItem::Update(BView *owner, const BFont *font)
100 BListItem::Update(owner, font);
143 HeaderListItem::DrawItem(BView *owner, BRect itemRect, bool drawEverthing)
145 owner->SetDrawingMode(B_OP_COPY);
147 owner->PushState();
149 rgb_color lowColor = owner->LowColor();
150 owner->SetHighColor(tint_color(lowColor, B_DARKEN_2_TINT));
151 owner->FillRect(itemRect);
154 owner->PopState();
157 owner->StrokeRect(itemRect);
161 owner->SetDrawingMode(B_OP_OVER);
164 owner->GetFont(&font);
168 owner->MovePenTo(itemRect.left + 1 + (fRect.Width() + kDistance) * c, baseLine);
169 owner->DrawString(fLabels[c]);
176 HeaderListItem::Update(BView *owner, const BFont *font)
178 BListItem::Update(owner, font);