mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
Gate beveled borders behind border.beveled theme option
This commit is contained in:
parent
12803b1aca
commit
4ff1832eb3
3 changed files with 226 additions and 186 deletions
|
|
@ -532,6 +532,7 @@ static void
|
|||
theme_builtin(struct theme *theme)
|
||||
{
|
||||
theme->border_width = 1;
|
||||
theme->beveled_border = FALSE;
|
||||
theme->window_titlebar_padding_height = 0;
|
||||
theme->window_titlebar_padding_width = 0;
|
||||
|
||||
|
|
@ -695,6 +696,9 @@ entry(struct theme *theme, const char *key, const char *value)
|
|||
theme->border_width = get_int_if_positive(
|
||||
value, "border.width");
|
||||
}
|
||||
if (match_glob(key, "border.beveled")) {
|
||||
set_bool(value, &theme->beveled_border);
|
||||
}
|
||||
if (match_glob(key, "window.titlebar.padding.width")) {
|
||||
theme->window_titlebar_padding_width = get_int_if_positive(
|
||||
value, "window.titlebar.padding.width");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue