mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
PaintBrush: Let's use Color::MidGray for the outside-the-bitmap area.
This commit is contained in:
parent
70564a78b2
commit
cadc65a82d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue