summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/theme.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/theme.h b/include/theme.h
index 28550060..a0b55675 100644
--- a/include/theme.h
+++ b/include/theme.h
@@ -55,6 +55,8 @@ typedef enum {
P_COLOR,
/** Padding */
P_PADDING,
+ /** Link to global setting */
+ P_LINK,
} PropertyType;
/**
@@ -76,14 +78,14 @@ typedef struct
* Padding
*/
typedef struct
-{
+ {
Distance top;
Distance right;
Distance bottom;
Distance left;
} Padding;
-typedef struct {
+typedef struct Property {
char *name;
PropertyType type;
union {
@@ -93,6 +95,10 @@ typedef struct {
int b;
ThemeColor color;
Padding padding;
+ struct {
+ char *name;
+ struct Property *ref;
+ } link;
} value;
} Property;
/**