1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 22:35:07 +00:00

WindowServer: Move some menu related functions to MenuManager

This commit is contained in:
Andreas Kling 2020-02-07 12:10:39 +01:00
parent 6bda3bd8da
commit 6cf49c23d4
4 changed files with 14 additions and 15 deletions

View file

@ -130,16 +130,6 @@ const Gfx::Font& WindowManager::window_title_font() const
return Gfx::Font::default_bold_font();
}
const Gfx::Font& WindowManager::menu_font() const
{
return Gfx::Font::default_font();
}
const Gfx::Font& WindowManager::app_menu_font() const
{
return Gfx::Font::default_bold_font();
}
void WindowManager::set_resolution(int width, int height)
{
Compositor::the().set_resolution(width, height);