1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:07:34 +00:00

LibGUI: Use LightGray as the base UI color.

This feels nicely reminiscent of the gap in time between Win3.11 and Win95,
one of my favorite eras in UI look-and-feel.
This commit is contained in:
Andreas Kling 2019-02-04 11:51:42 +01:00
parent 6f787f6877
commit 7fe600f250
4 changed files with 5 additions and 2 deletions

View file

@ -65,6 +65,7 @@ void GCheckBox::paint_event(GPaintEvent&)
2, height() / 2 - s_box_height / 2 - 1,
s_box_width, s_box_height
};
painter.fill_rect(box_rect, Color::White);
painter.draw_rect(box_rect, Color::Black);
if (m_being_modified) {

View file

@ -8,6 +8,7 @@
GTextBox::GTextBox(GWidget* parent)
: GWidget(parent)
{
set_background_color(Color::White);
}
GTextBox::~GTextBox()

View file

@ -10,7 +10,7 @@ GWidget::GWidget(GWidget* parent)
: GObject(parent)
{
set_font(nullptr);
m_background_color = Color::White;
m_background_color = Color::LightGray;
m_foreground_color = Color::Black;
}