mirror of
https://github.com/labwc/labwc.git
synced 2026-03-22 05:33:57 -04: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
|
|
@ -47,4 +47,14 @@ void set_cairo_color(cairo_t *cairo, float *color);
|
|||
/* Draws a border with a specified line width */
|
||||
void draw_cairo_border(cairo_t *cairo, struct wlr_fbox fbox, double line_width);
|
||||
|
||||
struct lab_data_buffer;
|
||||
|
||||
struct surface_context {
|
||||
bool is_duplicate;
|
||||
cairo_surface_t *surface;
|
||||
};
|
||||
|
||||
struct surface_context get_cairo_surface_from_lab_data_buffer(
|
||||
struct lab_data_buffer *buffer);
|
||||
|
||||
#endif /* LABWC_GRAPHIC_HELPERS_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue