mirror of
https://github.com/labwc/labwc.git
synced 2026-02-06 04:06:33 -05:00
theme: add menu.overlap.{x,y}
This commit is contained in:
parent
cd31283ba3
commit
dd1663e627
5 changed files with 30 additions and 5 deletions
|
|
@ -91,6 +91,8 @@ theme_builtin(struct theme *theme)
|
|||
{
|
||||
theme->border_width = 1;
|
||||
theme->padding_height = 3;
|
||||
theme->menu_overlap_x = 0;
|
||||
theme->menu_overlap_y = 0;
|
||||
|
||||
parse_hexstr("#dddad6", theme->window_active_border_color);
|
||||
parse_hexstr("#f6f5f4", theme->window_inactive_border_color);
|
||||
|
|
@ -152,6 +154,12 @@ entry(struct theme *theme, const char *key, const char *value)
|
|||
if (match(key, "padding.height")) {
|
||||
theme->padding_height = atoi(value);
|
||||
}
|
||||
if (match(key, "menu.overlap.x")) {
|
||||
theme->menu_overlap_x = atoi(value);
|
||||
}
|
||||
if (match(key, "menu.overlap.y")) {
|
||||
theme->menu_overlap_y = atoi(value);
|
||||
}
|
||||
|
||||
if (match(key, "window.active.border.color")) {
|
||||
parse_hexstr(value, theme->window_active_border_color);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue