mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
theme: create hover button fallbacks
...by copying the non-hover variant and adding a transparent overlay. Co-authored-by: @johanmalm
This commit is contained in:
parent
d207e97992
commit
27de4e6398
6 changed files with 150 additions and 0 deletions
|
|
@ -129,6 +129,8 @@ buffer_create_wrap(void *pixel_data, uint32_t width, uint32_t height,
|
|||
{
|
||||
struct lab_data_buffer *buffer = znew(*buffer);
|
||||
wlr_buffer_init(&buffer->base, &data_buffer_impl, width, height);
|
||||
buffer->unscaled_width = width;
|
||||
buffer->unscaled_height = height;
|
||||
buffer->data = pixel_data;
|
||||
buffer->format = DRM_FORMAT_ARGB8888;
|
||||
buffer->stride = stride;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue