mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
theme: add window.active.border.color
This replaces window.active.handle.bg.color which will no longer be supported.
This commit is contained in:
parent
f3a0db29f5
commit
31d3a53e46
4 changed files with 10 additions and 10 deletions
|
|
@ -256,8 +256,8 @@ ssd_create(struct view *view)
|
|||
for (int i = 0; i < 4; i++) {
|
||||
part = add_part(view, border[i]);
|
||||
part->box = ssd_box(view, border[i]);
|
||||
part->color.active = theme->window_active_handle_bg_color;
|
||||
part->color.inactive = theme->window_active_handle_bg_color;
|
||||
part->color.active = theme->window_active_border_color;
|
||||
part->color.inactive = theme->window_active_border_color;
|
||||
}
|
||||
|
||||
/* titlebar */
|
||||
|
|
@ -275,7 +275,7 @@ ssd_create(struct view *view)
|
|||
.radius = rc.corner_radius,
|
||||
.line_width = theme->border_width,
|
||||
.fill_color = theme->window_active_title_bg_color,
|
||||
.border_color = theme->window_active_handle_bg_color,
|
||||
.border_color = theme->window_active_border_color,
|
||||
.corner = LAB_CORNER_TOP_LEFT,
|
||||
};
|
||||
part->texture.active = rounded_rect(renderer, &ctx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue