diff finch/libgnt/gnttree.h @ 21691:3ed9b027479d

Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
author Richard Nelson <wabz@pidgin.im>
date Fri, 30 Nov 2007 03:17:07 +0000
parents acf284962b40
children 39b078ac8a81
line wrap: on
line diff
--- a/finch/libgnt/gnttree.h	Thu Nov 29 23:21:14 2007 +0000
+++ b/finch/libgnt/gnttree.h	Fri Nov 30 03:17:07 2007 +0000
@@ -325,6 +325,15 @@
 void gnt_tree_set_row_flags(GntTree *tree, void *key, GntTextFormatFlags flags);
 
 /**
+ * Set color for the text in a row in the tree.
+ *
+ * @param tree   The tree
+ * @param key    The key for the row
+ * @param color  The color
+ */
+void gnt_tree_set_row_color(GntTree *, void *, int);
+
+/**
  * Select a row.
  *
  * @param tree  The tree