mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17:35 +00:00
LibGfx: Add window border/title theming options
This commit adds support the following properties to theming: Flags: - IsTitleCenter: true if the title should be centered. Metrics: - BorderThickness: The border width. - BorderRadius: The border corner radius.
This commit is contained in:
parent
14b2656107
commit
8a1d77f65c
18 changed files with 74 additions and 13 deletions
|
@ -74,6 +74,7 @@ TrayText=white
|
|||
|
||||
[Flags]
|
||||
IsDark=true
|
||||
IsTitleCenter=false
|
||||
|
||||
[Metrics]
|
||||
TitleHeight=24
|
||||
|
|
|
@ -70,6 +70,7 @@ TrayText=white
|
|||
|
||||
[Flags]
|
||||
IsDark=false
|
||||
IsTitleCenter=false
|
||||
|
||||
[Paths]
|
||||
TitleButtonIcons=/res/icons/themes/Coffee/16x16/
|
||||
|
|
|
@ -66,3 +66,4 @@ TrayText=white
|
|||
|
||||
[Flags]
|
||||
IsDark=true
|
||||
IsTitleCenter=false
|
||||
|
|
|
@ -74,8 +74,11 @@ TrayText=#ffffff
|
|||
|
||||
[Flags]
|
||||
IsDark=false
|
||||
IsTitleCenter=false
|
||||
|
||||
[Metrics]
|
||||
BorderThickness=4
|
||||
BorderRadius=0
|
||||
TitleHeight=19
|
||||
TitleButtonWidth=15
|
||||
TitleButtonHeight=15
|
||||
|
|
|
@ -74,6 +74,7 @@ TrayText=white
|
|||
|
||||
[Flags]
|
||||
IsDark=false
|
||||
IsTitleCenter=false
|
||||
|
||||
[Metrics]
|
||||
TitleHeight=19
|
||||
|
|
|
@ -66,3 +66,4 @@ TrayText=white
|
|||
|
||||
[Flags]
|
||||
IsDark=false
|
||||
IsTitleCenter=false
|
||||
|
|
|
@ -74,6 +74,7 @@ TrayText=white
|
|||
|
||||
[Flags]
|
||||
IsDark=false
|
||||
IsTitleCenter=false
|
||||
|
||||
[Paths]
|
||||
MenuShadow=/res/icons/themes/Redmond/menu-shadow.png
|
||||
|
|
|
@ -66,3 +66,4 @@ TrayText=white
|
|||
|
||||
[Flags]
|
||||
IsDark=true
|
||||
IsTitleCenter=false
|
||||
|
|
|
@ -74,6 +74,7 @@ TrayText=#ffffff
|
|||
|
||||
[Flags]
|
||||
IsDark=false
|
||||
IsTitleCenter=false
|
||||
|
||||
[Metrics]
|
||||
TitleHeight=19
|
||||
|
|
|
@ -70,6 +70,7 @@ TrayText=white
|
|||
|
||||
[Flags]
|
||||
IsDark=false
|
||||
IsTitleCenter=false
|
||||
|
||||
[Metrics]
|
||||
TitleButtonWidth=17
|
||||
|
|
|
@ -70,6 +70,7 @@ TrayText=white
|
|||
|
||||
[Flags]
|
||||
IsDark=false
|
||||
IsTitleCenter=false
|
||||
|
||||
[Metrics]
|
||||
TitleButtonWidth=17
|
||||
|
|
|
@ -66,6 +66,7 @@ TrayText=white
|
|||
|
||||
[Flags]
|
||||
IsDark=false
|
||||
IsTitleCenter=false
|
||||
|
||||
[Paths]
|
||||
TitleButtonIcons=/res/icons/themes/Silver/16x16/
|
||||
|
|
|
@ -70,6 +70,7 @@ TrayText=white
|
|||
|
||||
[Flags]
|
||||
IsDark=false
|
||||
IsTitleCenter=false
|
||||
|
||||
[Paths]
|
||||
TitleButtonIcons=/res/icons/themes/Sunshine/16x16/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue