Userland+Base: Make the window titlebar font configurable separately

Instead of defaulting to "bold variant of the system default font",
let's allow the user to set any font they want as the titlebar font.
This commit is contained in:
Andreas Kling 2022-07-31 18:41:07 +02:00
commit 548081ea23
Notes: sideshowbarker 2024-07-17 08:28:54 +09:00
20 changed files with 107 additions and 21 deletions

View file

@ -110,7 +110,7 @@ Gfx::Font const& WindowManager::font() const
Gfx::Font const& WindowManager::window_title_font() const
{
return Gfx::FontDatabase::default_font().bold_variant();
return Gfx::FontDatabase::window_title_font();
}
bool WindowManager::set_screen_layout(ScreenLayout&& screen_layout, bool save, String& error_msg)