Tracker: Initialize view and low colors

CID610137 and CID610138
This commit is contained in:
John Scipione
2014-07-18 17:58:11 -04:00
parent 190fda60a6
commit 1e228168ec
+4
View File
@@ -663,6 +663,8 @@ FlickerFreeStringView::FlickerFreeStringView(BRect bounds, const char* name,
: :
BStringView(bounds, name, text, resizingMode, flags), BStringView(bounds, name, text, resizingMode, flags),
fBitmap(NULL), fBitmap(NULL),
fViewColor(ViewColor()),
fLowColor(LowColor()),
fOriginalBitmap(NULL) fOriginalBitmap(NULL)
{ {
} }
@@ -673,6 +675,8 @@ FlickerFreeStringView::FlickerFreeStringView(BRect bounds, const char* name,
: :
BStringView(bounds, name, text, resizingMode, flags), BStringView(bounds, name, text, resizingMode, flags),
fBitmap(NULL), fBitmap(NULL),
fViewColor(ViewColor()),
fLowColor(LowColor()),
fOriginalBitmap(inBitmap) fOriginalBitmap(inBitmap)
{ {
} }