mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:37:45 +00:00
Snake: Use the system default fixed-width font
Instead of looking one up by name.
This commit is contained in:
parent
0f5d1f4074
commit
05ff75c321
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
|
||||
SnakeGame::SnakeGame()
|
||||
{
|
||||
set_font(GUI::FontDatabase::the().get_by_name("Liza Regular"));
|
||||
set_font(Gfx::Font::default_bold_fixed_width_font());
|
||||
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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue