mirror of
https://github.com/RGBCube/serenity
synced 2025-06-03 01:38:11 +00:00
GUI: Use Win2K-like "warm gray" color instead of the older colder gray.
Someone suggested this a long time ago and I never got around to it. So here we go, here's the warm gray! I have to admit I like it better. :^)
This commit is contained in:
parent
73d0e7cd8f
commit
315716d193
29 changed files with 41 additions and 37 deletions
|
@ -282,7 +282,7 @@ void GTableView::paint_event(GPaintEvent& event)
|
|||
void GTableView::paint_headers(Painter& painter)
|
||||
{
|
||||
int exposed_width = max(content_size().width(), width());
|
||||
painter.fill_rect({ 0, 0, exposed_width, header_height() }, Color::LightGray);
|
||||
painter.fill_rect({ 0, 0, exposed_width, header_height() }, Color::WarmGray);
|
||||
painter.draw_line({ 0, 0 }, { exposed_width - 1, 0 }, Color::White);
|
||||
painter.draw_line({ 0, header_height() - 1 }, { exposed_width - 1, header_height() - 1 }, Color::MidGray);
|
||||
int x_offset = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue