Automatic whitespace cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35376 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b3e4ce5422
commit
0086654c68
@ -216,14 +216,13 @@ BCountView::Draw(BRect updateRect)
|
||||
else if (IsFiltering()) {
|
||||
itemString << fLastCount << " " << Filter();
|
||||
} else {
|
||||
if (fLastCount == 0)
|
||||
if (fLastCount == 0)
|
||||
itemString << "no items";
|
||||
else if (fLastCount == 1)
|
||||
else if (fLastCount == 1)
|
||||
itemString << "1 item";
|
||||
else
|
||||
else
|
||||
itemString << fLastCount << " items";
|
||||
}
|
||||
|
||||
|
||||
BString string(itemString);
|
||||
BRect textRect(TextInvalRect());
|
||||
@ -253,7 +252,7 @@ BCountView::Draw(BRect updateRect)
|
||||
AddLine(bounds.LeftTop(), bounds.RightTop(), light);
|
||||
AddLine(bounds.LeftTop(), bounds.LeftBottom(), light);
|
||||
bounds.top--;
|
||||
|
||||
|
||||
AddLine(bounds.LeftTop(), bounds.RightTop(), shadow);
|
||||
AddLine(BPoint(bounds.right, bounds.top + 2), bounds.RightBottom(), lightShadow);
|
||||
AddLine(bounds.LeftBottom(), bounds.RightBottom(), lightShadow);
|
||||
@ -282,7 +281,7 @@ BCountView::Draw(BRect updateRect)
|
||||
|
||||
BRegion region;
|
||||
region.Set(BarberPoleInnerRect());
|
||||
ConstrainClippingRegion(®ion);
|
||||
ConstrainClippingRegion(®ion);
|
||||
|
||||
if (fBarberPoleMap)
|
||||
DrawBitmap(fBarberPoleMap, destRect);
|
||||
@ -340,7 +339,7 @@ BCountView::SetTypeAhead(const char *string)
|
||||
}
|
||||
|
||||
|
||||
const char *
|
||||
const char *
|
||||
BCountView::TypeAhead() const
|
||||
{
|
||||
return fTypeAheadString.String();
|
||||
|
@ -58,7 +58,7 @@ public:
|
||||
void CheckCount();
|
||||
void StartBarberPole();
|
||||
void EndBarberPole();
|
||||
|
||||
|
||||
void SetTypeAhead(const char *);
|
||||
const char *TypeAhead() const;
|
||||
bool IsTypingAhead() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user