mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
Services: Convert WindowFrame button bitmaps to themable PNGs
Custom buttons can now be set using TitleButtonIcons under the Paths group in themes. WindowFrame recognizes window-close.png, window-minimize.png, window-maximize.png and window-restore.png filenames.
This commit is contained in:
parent
41aacdf815
commit
c815fa7f47
5 changed files with 75 additions and 92 deletions
|
@ -1392,6 +1392,7 @@ bool WindowManager::update_theme(String theme_path, String theme_name)
|
|||
}
|
||||
}
|
||||
window.frame().layout_buttons();
|
||||
window.frame().set_button_icons();
|
||||
return IterationDecision::Continue;
|
||||
});
|
||||
MenuManager::the().did_change_theme();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue