mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:17:44 +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
|
@ -133,7 +133,7 @@ void IRCAppWindow::setup_widgets()
|
|||
auto* widget = new GWidget(nullptr);
|
||||
set_main_widget(widget);
|
||||
widget->set_fill_with_background_color(true);
|
||||
widget->set_background_color(Color::LightGray);
|
||||
widget->set_background_color(Color::WarmGray);
|
||||
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
widget->layout()->set_margins({ 4, 4, 4, 4 });
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ GVariant IRCWindowListModel::data(const GModelIndex& index, Role role) const
|
|||
if (window.unread_count())
|
||||
return Color(Color::Red);
|
||||
if (!window.channel().is_open())
|
||||
return Color(Color::LightGray);
|
||||
return Color(Color::WarmGray);
|
||||
return Color(Color::Black);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ PaletteWidget::PaletteWidget(PaintableWidget& paintable_widget, GWidget* parent)
|
|||
set_frame_shadow(FrameShadow::Raised);
|
||||
set_frame_thickness(0);
|
||||
set_fill_with_background_color(true);
|
||||
set_background_color(Color::LightGray);
|
||||
set_background_color(Color::WarmGray);
|
||||
|
||||
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
set_preferred_size({ 0, 34 });
|
||||
|
|
|
@ -33,7 +33,7 @@ private:
|
|||
ToolboxWidget::ToolboxWidget(GWidget* parent)
|
||||
: GFrame(parent)
|
||||
{
|
||||
set_background_color(Color::LightGray);
|
||||
set_background_color(Color::WarmGray);
|
||||
set_fill_with_background_color(true);
|
||||
|
||||
set_frame_thickness(1);
|
||||
|
|
|
@ -23,7 +23,7 @@ int main(int argc, char** argv)
|
|||
auto* keeper = new GWidget;
|
||||
keeper->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
keeper->set_fill_with_background_color(true);
|
||||
keeper->set_background_color(Color::LightGray);
|
||||
keeper->set_background_color(Color::WarmGray);
|
||||
keeper->layout()->set_margins({ 4, 4, 4, 4 });
|
||||
|
||||
auto* tabwidget = new GTabWidget(keeper);
|
||||
|
@ -33,7 +33,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto* graphs_container = new GWidget;
|
||||
graphs_container->set_fill_with_background_color(true);
|
||||
graphs_container->set_background_color(Color::LightGray);
|
||||
graphs_container->set_background_color(Color::WarmGray);
|
||||
graphs_container->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
graphs_container->layout()->set_margins({ 4, 4, 4, 4 });
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ GWindow* create_settings_window(Terminal& terminal, RefPtr<CConfigFile> config)
|
|||
slider_container->set_preferred_size({ 100, 50 });
|
||||
auto* slider = new GSlider(slider_container);
|
||||
slider->set_fill_with_background_color(true);
|
||||
slider->set_background_color(Color::LightGray);
|
||||
slider->set_background_color(Color::WarmGray);
|
||||
|
||||
slider->on_value_changed = [&terminal, &config](int value) {
|
||||
terminal.set_opacity(value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue