aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-cell-tree.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-06-11 13:07:13 +0800
committerChris Toshok <toshok@src.gnome.org>2000-06-11 13:07:13 +0800
commitab8f482b2143943ff8d33bd1b6f986e7636d0056 (patch)
tree890fb5bc02ee9e790ccd37799494ee51f42a9a8d /widgets/e-table/e-cell-tree.h
parent57067e5c76ea8a96d05201711c83236bbdc240d7 (diff)
downloadgsoc2013-evolution-ab8f482b2143943ff8d33bd1b6f986e7636d0056.tar
gsoc2013-evolution-ab8f482b2143943ff8d33bd1b6f986e7636d0056.tar.gz
gsoc2013-evolution-ab8f482b2143943ff8d33bd1b6f986e7636d0056.tar.bz2
gsoc2013-evolution-ab8f482b2143943ff8d33bd1b6f986e7636d0056.tar.lz
gsoc2013-evolution-ab8f482b2143943ff8d33bd1b6f986e7636d0056.tar.xz
gsoc2013-evolution-ab8f482b2143943ff8d33bd1b6f986e7636d0056.tar.zst
gsoc2013-evolution-ab8f482b2143943ff8d33bd1b6f986e7636d0056.zip
supply the pixbufs here.
2000-06-10 Chris Toshok <toshok@helixcode.com> * e-tree-example-1.c (create_tree): supply the pixbufs here. * e-cell-tree.h: change pixbuf names to open_pixbuf/closed_pixbuf. * e-cell-tree.c (e_cell_tree_construct): take open/closed pixbuf parameters, and don't #include the .xpm files directly here. (e_cell_tree_new): same. (ect_draw): use the pixbufs from the ECellTree. svn path=/trunk/; revision=3522
Diffstat (limited to 'widgets/e-table/e-cell-tree.h')
-rw-r--r--widgets/e-table/e-cell-tree.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/widgets/e-table/e-cell-tree.h b/widgets/e-table/e-cell-tree.h
index 6bd842b39e..ef6babeda4 100644
--- a/widgets/e-table/e-cell-tree.h
+++ b/widgets/e-table/e-cell-tree.h
@@ -21,8 +21,8 @@ typedef struct {
gboolean draw_lines;
- GdkPixbuf *expanded_image;
- GdkPixbuf *unexpanded_image;
+ GdkPixbuf *open_pixbuf;
+ GdkPixbuf *closed_pixbuf;
ECell *subcell;
} ECellTree;
@@ -32,9 +32,15 @@ typedef struct {
} ECellTreeClass;
GtkType e_cell_tree_get_type (void);
-ECell *e_cell_tree_new (ETableModel *model, gboolean draw_lines,
+ECell *e_cell_tree_new (ETableModel *model,
+ GdkPixbuf *open_pixbuf,
+ GdkPixbuf *closed_pixbuf,
+ gboolean draw_lines,
ECell *subcell);
-void e_cell_tree_construct (ECellTree *ect, gboolean draw_lines,
+void e_cell_tree_construct (ECellTree *ect,
+ GdkPixbuf *open_pixbuf,
+ GdkPixbuf *closed_pixbuf,
+ gboolean draw_lines,
ECell *subcell);
#endif /* _E_CELL_TREE_H_ */