* small simplification
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19189 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -299,13 +299,10 @@ TTimeView::Draw(BRect /*updateRect*/)
|
|||||||
FillRect(Bounds());
|
FillRect(Bounds());
|
||||||
SetHighColor(0, 0, 0, 255);
|
SetHighColor(0, 0, 0, 255);
|
||||||
|
|
||||||
if (fShowingDate) {
|
if (fShowingDate)
|
||||||
MovePenTo(fDateLocation);
|
DrawString(fDateStr, fDateLocation);
|
||||||
DrawString(fDateStr);
|
else
|
||||||
} else {
|
DrawString(fTimeStr, fTimeLocation);
|
||||||
MovePenTo(fTimeLocation);
|
|
||||||
DrawString(fTimeStr);
|
|
||||||
}
|
|
||||||
|
|
||||||
PopState();
|
PopState();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user