aboutsummaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-09-20 23:49:51 +0200
committerThomas White <taw@bitwiz.org.uk>2014-09-20 23:49:51 +0200
commita2a27a077edc1028d93bf27471218221cd6405de (patch)
tree92f05a75ecad63f4f24ffa4322e50820f23ca8fe /src/frame.h
parent38828312e6be39941a2f889b36441c5b42bd484a (diff)
Add gradient backgrounds
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index 791156d..e81197b 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -40,6 +40,14 @@ typedef enum
} LengthUnits;
+typedef enum
+{
+ GRAD_NONE,
+ GRAD_HORIZ,
+ GRAD_VERT
+} GradientType;
+
+
struct frame
{
struct frame **children;
@@ -66,6 +74,8 @@ struct frame
/* Background properties for this frame */
double bgcol[4];
+ double bgcol2[4];
+ GradientType grad;
/* True if this frame should be deleted on the next mouse click */
int empty;