# HG changeset patch # User Olaf Wintermann # Date 1697111504 -7200 # Node ID 83556205edad1bad2dbfcd2433c75e42f5fd06a5 # Parent 770b3548906c23d40cf2e50328972655ecb29435 change table colors (WinUI3) diff -r 770b3548906c -r 83556205edad ui/winui/table.cpp --- a/ui/winui/table.cpp Wed Oct 11 23:36:03 2023 +0200 +++ b/ui/winui/table.cpp Thu Oct 12 13:51:44 2023 +0200 @@ -70,7 +70,7 @@ uitable->getvalue = args.model->getvalue ? args.model->getvalue : args.getvalue; // grid styling - winrt::Windows::UI::Color bg = { 233, 233, 255, 255 }; // test color + winrt::Windows::UI::Color bg = { 255, 255, 255, 255 }; // test color SolidColorBrush brush = SolidColorBrush(bg); grid.Background(brush); @@ -109,16 +109,16 @@ this->scrollw = scrollw; this->grid = grid; - winrt::Windows::UI::Color highlightBg = { 120, 120, 255, 255 }; // test color + winrt::Windows::UI::Color highlightBg = { 255, 234, 234, 234 }; highlightBrush = SolidColorBrush(highlightBg); winrt::Windows::UI::Color defaultBg = { 0, 0, 0, 0 }; // default defaultBrush = SolidColorBrush(defaultBg); - winrt::Windows::UI::Color selectedBg = { 255, 120, 120, 255 }; // test color + winrt::Windows::UI::Color selectedBg = { 255, 204, 232, 255 }; // test color selectedBrush = SolidColorBrush(selectedBg); - winrt::Windows::UI::Color selectedFg = { 255, 20, 20, 255 }; // test color + winrt::Windows::UI::Color selectedFg = { 255, 0, 90, 158 }; // test color selectedBorderBrush = SolidColorBrush(selectedFg); }