1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:47:44 +00:00

LibGfx+WindowServer: Add theme flag TitleButtonsIconOnly

With this flag set to true only the icon of the title button is painted.
This is useful for themes with a more non-serenity look such as
Coffee and Cupertino (that currently try to hide the button).
This commit is contained in:
MacDue 2022-04-23 15:23:22 +01:00 committed by Linus Groh
parent 5998e7f8a2
commit 9b30fe9864
5 changed files with 27 additions and 5 deletions

View file

@ -105,7 +105,8 @@ namespace Gfx {
C(TitleAlignment)
#define ENUMERATE_FLAG_ROLES(C) \
C(IsDark)
C(IsDark) \
C(TitleButtonsIconOnly)
#define ENUMERATE_METRIC_ROLES(C) \
C(BorderThickness) \