summaryrefslogtreecommitdiffstats
path: root/c2.h
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2013-05-21 09:18:41 +0800
committerRichard Grenville <pyxlcy@gmail.com>2013-05-21 09:26:18 +0800
commitd800a62b878fa152c94253b2c0f60ef4f5b9b9d1 (patch)
treeed2ae824aee66bd3ec4adcd78cf6a93c2b94813b /c2.h
parent1bdd035974a0166434cdb2dd5d34405d6ddf184d (diff)
downloadtdebase-d800a62b878fa152c94253b2c0f60ef4f5b9b9d1.tar.gz
tdebase-d800a62b878fa152c94253b2c0f60ef4f5b9b9d1.zip
Feature #113: Set opacity based on conditions
- Add --opacity-rule, which sets opacity based on conditions, as requested by zabbal. (#113) - Add a data field for each condition. - Correct the FAQ link in README.md. Silly me. - Code clean-up.
Diffstat (limited to 'c2.h')
-rw-r--r--c2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/c2.h b/c2.h
index c794da1c0..b26a687de 100644
--- a/c2.h
+++ b/c2.h
@@ -156,12 +156,14 @@ const static c2_l_t leaf_def = C2_L_INIT;
/// Linked list type of conditions.
struct _c2_lptr {
c2_ptr_t ptr;
+ void *data;
struct _c2_lptr *next;
};
/// Initializer for c2_lptr_t.
#define C2_LPTR_INIT { \
.ptr = C2_PTR_INIT, \
+ .data = NULL, \
.next = NULL, \
}