mirror of
https://github.com/labwc/labwc.git
synced 2026-02-18 22:05:32 -05:00
theme: add circle button hover effect (#2127)
This commit is contained in:
parent
dcd9b47e5b
commit
9395348c55
4 changed files with 59 additions and 19 deletions
|
|
@ -17,6 +17,11 @@ enum lab_justification {
|
|||
LAB_JUSTIFY_RIGHT,
|
||||
};
|
||||
|
||||
enum lab_shape {
|
||||
LAB_RECTANGLE,
|
||||
LAB_CIRCLE,
|
||||
};
|
||||
|
||||
struct theme_snapping_overlay {
|
||||
bool bg_enabled;
|
||||
bool border_enabled;
|
||||
|
|
@ -57,6 +62,8 @@ struct theme {
|
|||
int window_button_width;
|
||||
/* the space between buttons */
|
||||
int window_button_spacing;
|
||||
/* the shape of the hover effect */
|
||||
enum lab_shape window_button_hover_bg_shape;
|
||||
|
||||
/* button colors */
|
||||
float window_active_button_menu_unpressed_image_color[4];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue