mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
WebPositive: Use B_LIST_*_COLOR for Downloads window
Change-Id: Iabb6566e4d3cba5c53d84c26c413a996a56c80d1 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8476 Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
parent
09b0f82c10
commit
b78edf5814
@ -219,7 +219,7 @@ DownloadProgressView::Init(BMessage* archive)
|
||||
fProcessStartTime = fLastSpeedReferenceTime
|
||||
= fEstimatedFinishReferenceTime = system_time();
|
||||
|
||||
SetViewColor(245, 245, 245);
|
||||
SetViewUIColor(B_LIST_BACKGROUND_COLOR);
|
||||
SetFlags(Flags() | B_FULL_UPDATE_ON_RESIZE | B_WILL_DRAW);
|
||||
|
||||
if (archive) {
|
||||
@ -346,11 +346,14 @@ DownloadProgressView::AllAttached()
|
||||
{
|
||||
fStatusBar->SetLowColor(ViewColor());
|
||||
fInfoView->SetLowColor(ViewColor());
|
||||
fInfoView->SetHighColor(0, 0, 0, 255);
|
||||
fInfoView->SetHighUIColor(B_LIST_ITEM_TEXT_COLOR);
|
||||
|
||||
SetViewColor(B_TRANSPARENT_COLOR);
|
||||
SetLowColor(245, 245, 245);
|
||||
SetHighColor(tint_color(LowColor(), B_DARKEN_1_TINT));
|
||||
SetLowUIColor(B_LIST_BACKGROUND_COLOR);
|
||||
if (LowColor().IsLight())
|
||||
SetHighColor(tint_color(LowColor(), B_DARKEN_1_TINT));
|
||||
else
|
||||
SetHighColor(tint_color(LowColor(), B_LIGHTEN_1_TINT));
|
||||
}
|
||||
|
||||
|
||||
|
@ -54,7 +54,7 @@ public:
|
||||
BGroupView(B_VERTICAL, 0.0)
|
||||
{
|
||||
SetFlags(Flags() | B_PULSE_NEEDED);
|
||||
SetViewColor(245, 245, 245);
|
||||
SetViewUIColor(B_LIST_BACKGROUND_COLOR);
|
||||
AddChild(BSpaceLayoutItem::CreateGlue());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user