mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
Use cache for title bar double beveled borders
This commit is contained in:
parent
2a0ff0d5b4
commit
536847cb5b
5 changed files with 143 additions and 160 deletions
|
|
@ -52,7 +52,7 @@ lab_scene_rect_create(struct wlr_scene_tree *parent,
|
|||
float a = color[3];
|
||||
int bw = rect->border_width;
|
||||
uint32_t colour32 = (uint32_t)(a*255) << 24 | (uint32_t)(r*255) << 16 | (uint32_t)(g*255) << 8 | (uint32_t)(b*255);
|
||||
struct borderset * renderedborders = getBorders(colour32, bw, 1);
|
||||
struct borderset * renderedborders = getBorders(colour32, bw, 1, 0);
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue