PaintBrush: Let's use Color::MidGray for the outside-the-bitmap area.

This commit is contained in:
Andreas Kling 2019-06-11 20:39:32 +02:00
parent 70564a78b2
commit cadc65a82d
Notes: sideshowbarker 2024-07-19 13:39:19 +09:00

View file

@ -6,7 +6,7 @@ PaintableWidget::PaintableWidget(GWidget* parent)
: GWidget(parent) : GWidget(parent)
{ {
set_fill_with_background_color(true); set_fill_with_background_color(true);
set_background_color(Color::DarkGray); set_background_color(Color::MidGray);
m_bitmap = GraphicsBitmap::create(GraphicsBitmap::Format::RGB32, { 600, 400 }); m_bitmap = GraphicsBitmap::create(GraphicsBitmap::Format::RGB32, { 600, 400 });
m_bitmap->fill(Color::White); m_bitmap->fill(Color::White);
} }