Add a default theme for unfocused Windows

At the moment it is impossible to distinguish between focused and
unfocused embedded Windows.
Add a new `theme_item` that is used for coloring the border of
unfocused Windows.
This commit is contained in:
Markus Sauermann
2023-07-12 22:24:05 +02:00
parent 287f3aa4e9
commit 576980f960
4 changed files with 6 additions and 1 deletions

View File

@@ -903,5 +903,8 @@
The background style used when the [Window] is embedded. Note that this is drawn only under the window's content, excluding the title. For proper borders and title bar style, you can use [code]expand_margin_*[/code] properties of [StyleBoxFlat].
[b]Note:[/b] The content background will not be visible unless [member transparent] is enabled.
</theme_item>
<theme_item name="embedded_unfocused_border" data_type="style" type="StyleBox">
The background style used when the [Window] is embedded and unfocused.
</theme_item>
</theme_items>
</class>