mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
PaintBrush: Let's use Color::MidGray for the outside-the-bitmap area.
This commit is contained in:
parent
70564a78b2
commit
cadc65a82d
Notes:
sideshowbarker
2024-07-19 13:39:19 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/cadc65a82dc
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…
Reference in a new issue