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:
@@ -216,14 +216,13 @@ BCountView::Draw(BRect updateRect)
|
|||||||
else if (IsFiltering()) {
|
else if (IsFiltering()) {
|
||||||
itemString << fLastCount << " " << Filter();
|
itemString << fLastCount << " " << Filter();
|
||||||
} else {
|
} else {
|
||||||
if (fLastCount == 0)
|
if (fLastCount == 0)
|
||||||
itemString << "no items";
|
itemString << "no items";
|
||||||
else if (fLastCount == 1)
|
else if (fLastCount == 1)
|
||||||
itemString << "1 item";
|
itemString << "1 item";
|
||||||
else
|
else
|
||||||
itemString << fLastCount << " items";
|
itemString << fLastCount << " items";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
BString string(itemString);
|
BString string(itemString);
|
||||||
BRect textRect(TextInvalRect());
|
BRect textRect(TextInvalRect());
|
||||||
@@ -253,7 +252,7 @@ BCountView::Draw(BRect updateRect)
|
|||||||
AddLine(bounds.LeftTop(), bounds.RightTop(), light);
|
AddLine(bounds.LeftTop(), bounds.RightTop(), light);
|
||||||
AddLine(bounds.LeftTop(), bounds.LeftBottom(), light);
|
AddLine(bounds.LeftTop(), bounds.LeftBottom(), light);
|
||||||
bounds.top--;
|
bounds.top--;
|
||||||
|
|
||||||
AddLine(bounds.LeftTop(), bounds.RightTop(), shadow);
|
AddLine(bounds.LeftTop(), bounds.RightTop(), shadow);
|
||||||
AddLine(BPoint(bounds.right, bounds.top + 2), bounds.RightBottom(), lightShadow);
|
AddLine(BPoint(bounds.right, bounds.top + 2), bounds.RightBottom(), lightShadow);
|
||||||
AddLine(bounds.LeftBottom(), bounds.RightBottom(), lightShadow);
|
AddLine(bounds.LeftBottom(), bounds.RightBottom(), lightShadow);
|
||||||
@@ -282,7 +281,7 @@ BCountView::Draw(BRect updateRect)
|
|||||||
|
|
||||||
BRegion region;
|
BRegion region;
|
||||||
region.Set(BarberPoleInnerRect());
|
region.Set(BarberPoleInnerRect());
|
||||||
ConstrainClippingRegion(®ion);
|
ConstrainClippingRegion(®ion);
|
||||||
|
|
||||||
if (fBarberPoleMap)
|
if (fBarberPoleMap)
|
||||||
DrawBitmap(fBarberPoleMap, destRect);
|
DrawBitmap(fBarberPoleMap, destRect);
|
||||||
@@ -340,7 +339,7 @@ BCountView::SetTypeAhead(const char *string)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
BCountView::TypeAhead() const
|
BCountView::TypeAhead() const
|
||||||
{
|
{
|
||||||
return fTypeAheadString.String();
|
return fTypeAheadString.String();
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ public:
|
|||||||
void CheckCount();
|
void CheckCount();
|
||||||
void StartBarberPole();
|
void StartBarberPole();
|
||||||
void EndBarberPole();
|
void EndBarberPole();
|
||||||
|
|
||||||
void SetTypeAhead(const char *);
|
void SetTypeAhead(const char *);
|
||||||
const char *TypeAhead() const;
|
const char *TypeAhead() const;
|
||||||
bool IsTypingAhead() const;
|
bool IsTypingAhead() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user