diff --git a/src/apps/webwatch/WatchView.cpp b/src/apps/webwatch/WatchView.cpp index e2bda77cc7..b0ab5bf9ff 100644 --- a/src/apps/webwatch/WatchView.cpp +++ b/src/apps/webwatch/WatchView.cpp @@ -22,6 +22,7 @@ #include #include +#include #include #include #include @@ -34,9 +35,6 @@ #define B_TRANSLATION_CONTEXT "WatchView" -const rgb_color COLOR_FOREGROUND = { 0, 0, 0 }; - - WatchView::WatchView() : BView(BRect(0, 0, 1, 1), 0, 0, 0) @@ -106,7 +104,7 @@ void WatchView::Draw(BRect updateRect) FillRect(updateRect); SetLowColor(Parent()->ViewColor()); - SetHighColor(COLOR_FOREGROUND); + SetHighColor(ui_color(B_MENU_ITEM_TEXT_COLOR)); SetDrawingMode(B_OP_OVER); DrawString(string, BPoint(x, y)); }