1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:47:37 +00:00

PaintBrush: Tidy up the UI a bit. Add some more colors.

This commit is contained in:
Andreas Kling 2019-06-11 20:37:58 +02:00
parent 1372f10dda
commit 70564a78b2
4 changed files with 63 additions and 25 deletions

View file

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