Add gradient background support

Conflicts:
	src/tint2conf/properties_rw.c
This commit is contained in:
Oskari Rauta
2016-08-15 01:18:11 -04:00
committed by o9000
parent 031b6b3240
commit 0867010841
6 changed files with 167 additions and 5 deletions

View File

@@ -147,6 +147,8 @@ typedef struct Border {
typedef struct Background {
// Normal state
Color fill_color;
Color fill_color2;
gboolean gradient;
Border border;
// On mouse hover
Color fill_color_hover;
@@ -314,4 +316,6 @@ void area_dump_geometry(Area *area, int indent);
void mouse_over(Area *area, int pressed);
void mouse_out();
gboolean area_has_gradient_fill(Area *area);
#endif