summaryrefslogtreecommitdiff
path: root/vcl/source/app/salvtables.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-19 11:44:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-19 16:28:31 +0200
commit62ae240e9e9405b04488ade5ef113b42a3d583fa (patch)
tree5b5ba1edbdbd6ae368b224b5fd16bce805479976 /vcl/source/app/salvtables.cxx
parentdb56c1ccdb03a8b22e6021e2bd394745a1f997cf (diff)
support the background color used by base's title windows
Change-Id: Id5e9b34f35bdcd38c7d22797573ce2549f842a66 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100991 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/app/salvtables.cxx')
-rw-r--r--vcl/source/app/salvtables.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index aa44a1ac0275..906cd00cffe3 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -519,6 +519,11 @@ void SalInstanceWidget::set_stack_background()
set_background(m_xWidget->GetSettings().GetStyleSettings().GetWindowColor());
}
+void SalInstanceWidget::set_title_background()
+{
+ set_background(m_xWidget->GetSettings().GetStyleSettings().GetShadowColor());
+}
+
void SalInstanceWidget::set_toolbar_background()
{
m_xWidget->SetBackground();