mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 08:07:44 +00:00
WindowServer: More work on menus.
This commit is contained in:
parent
443b043b49
commit
5f288014d4
11 changed files with 51 additions and 33 deletions
|
@ -90,5 +90,5 @@ void paint(GraphicsBitmap& bitmap, int width, int height)
|
|||
Color color(r, g, b);
|
||||
Painter painter(bitmap);
|
||||
painter.fill_rect({0, 0, width, height}, color);
|
||||
painter.draw_text({0, 0, width, height}, "Hello World!", Painter::TextAlignment::Center, Color::Black);
|
||||
painter.draw_text({0, 0, width, height}, "Hello World!", TextAlignment::Center, Color::Black);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue