Screen: Use B_PANEL_TEXT_COLOR for text in the RefreshWindow

Change-Id: If52c7462f6900643a8e5875b79399542e6524017
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8388
Reviewed-by: nephele nephele <nep-git@packageloss.eu>
This commit is contained in:
Niklas Poslovski 2024-10-11 09:39:12 +02:00 committed by nephele nephele
parent d2b9dcde31
commit 0a5286c120

View File

@ -36,6 +36,7 @@ RefreshWindow::RefreshWindow(BPoint position, float current, float min, float ma
BView* topView = new BView(Bounds(), NULL, B_FOLLOW_ALL, B_WILL_DRAW);
topView->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
topView->SetHighUIColor(B_PANEL_TEXT_COLOR);
AddChild(topView);
BRect rect = Bounds().InsetByCopy(8, 8);