diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-20 18:55:23 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-20 20:55:29 +0200 |
commit | 8a6c37deef4913d44aae61385d702f92a01c314b (patch) | |
tree | 41ec009b25c8a83f051c994acccaa6e98ea4dd1f /Userland/Games | |
parent | 6a012ad79f95673a36531c27c81e0efa6c6ec664 (diff) | |
download | serenity-8a6c37deef4913d44aae61385d702f92a01c314b.zip |
LibGfx: Remove Gfx::FontDatabase::default_bold_fixed_width_font()
Ask for a bold_variant() of the default_fixed_width_font() instead.
Diffstat (limited to 'Userland/Games')
-rw-r--r-- | Userland/Games/Snake/SnakeGame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Snake/SnakeGame.cpp b/Userland/Games/Snake/SnakeGame.cpp index c8d8e423fb..5a63aa5e37 100644 --- a/Userland/Games/Snake/SnakeGame.cpp +++ b/Userland/Games/Snake/SnakeGame.cpp @@ -15,7 +15,7 @@ SnakeGame::SnakeGame() { - set_font(Gfx::FontDatabase::default_bold_fixed_width_font()); + set_font(Gfx::FontDatabase::default_fixed_width_font().bold_variant()); m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/paprika.png")); m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/eggplant.png")); m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/cauliflower.png")); |