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.
This commit is contained in:
2
src/c2.h
2
src/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, \
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user