3de981ec78
2000-03-05 Christopher James Lahey <clahey@helixcode.com> * e-table.c, e-table.h: Added support for the sorting info. The Etable creates a sort_info object, and then connects to the signals to rearrange the rows when the sort_info changes. It also passes the info object to the ETableHeaderItem. * e-table-model.c: Fixed a typo where ETableModel was written as ETableModle. * e-table-header.c, e-table-header.h: Added some code for sorting here, but it's not used. I don't think we want this code, but I wanted to check it in at least once so that it's not lost. * e-table-header-item.c, e-table-header-item.h: Added a "sort_info" argument to ETableHeaderItem. Added display of current sort settings. Added support for clicking to change the sort settings. * e-table-col.h: E_TABLE_COL_ARROW_NONE is marked as being = 0 since this is required in other places. (I think C defines this as being the case, but it's good to have the = 0 there so that it's obvious that it has to be first.) * TODO: Mark sorting as done. * e-table-sort-info.c, e-table-sort-info.h: New files for containing the xml grouping/sorting information and for sending signals on that information. * Makefile.am: Added e-table-sort-info.c and e-table-sort-info.h. svn path=/trunk/; revision=2060
96 lines
2.0 KiB
Makefile
96 lines
2.0 KiB
Makefile
INCLUDES = \
|
|
$(EXTRA_GNOME_CFLAGS) \
|
|
$(GNOME_INCLUDEDIR) \
|
|
-I$(top_srcdir)/widgets/e-text \
|
|
-I$(top_srcdir)/e-util \
|
|
-I$(top_srcdir)
|
|
|
|
noinst_LIBRARIES = \
|
|
libetable.a
|
|
|
|
libetable_a_SOURCES = \
|
|
e-cell.c \
|
|
e-cell.h \
|
|
e-cell-checkbox.c \
|
|
e-cell-checkbox.h \
|
|
e-cell-text.c \
|
|
e-cell-text.h \
|
|
e-cell-toggle.c \
|
|
e-cell-toggle.h \
|
|
e-table.c \
|
|
e-table.h \
|
|
e-table-col.c \
|
|
e-table-col.h \
|
|
e-table-group.c \
|
|
e-table-group.h \
|
|
e-table-group-container.c \
|
|
e-table-group-container.h \
|
|
e-table-group-leaf.c \
|
|
e-table-group-leaf.h \
|
|
e-table-header.c \
|
|
e-table-header.h \
|
|
e-table-header-item.c \
|
|
e-table-header-item.h \
|
|
e-table-item.c \
|
|
e-table-item.h \
|
|
e-table-model.c \
|
|
e-table-model.h \
|
|
e-table-simple.c \
|
|
e-table-simple.h \
|
|
e-table-sort-info.c \
|
|
e-table-sort-info.h \
|
|
e-table-sorted.c \
|
|
e-table-sorted.h \
|
|
e-table-sorted-variable.c \
|
|
e-table-sorted-variable.h \
|
|
e-table-subset.c \
|
|
e-table-subset.h \
|
|
e-table-subset-variable.c \
|
|
e-table-subset-variable.h
|
|
|
|
noinst_PROGRAMS = \
|
|
table-test table-example-1 table-example-2
|
|
|
|
table_test_SOURCES = \
|
|
test-table.c \
|
|
test-check.c \
|
|
test-cols.c \
|
|
table-test.c
|
|
|
|
table_test_LDADD = \
|
|
libetable.a \
|
|
$(EXTRA_GNOME_LIBS) \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(top_builddir)/widgets/e-text/libetext.a
|
|
|
|
table_test_LDFLAGS = `gnome-config --libs gdk_pixbuf`
|
|
|
|
table_example_1_SOURCES = \
|
|
e-table-example-1.c
|
|
|
|
table_example_1_LDADD = \
|
|
libetable.a \
|
|
$(EXTRA_GNOME_LIBS) \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(top_builddir)/widgets/e-text/libetext.a
|
|
|
|
table_example_1_LDFLAGS = `gnome-config --libs gdk_pixbuf`
|
|
|
|
table_example_2_SOURCES = \
|
|
e-table-example-2.c
|
|
|
|
table_example_2_LDADD = \
|
|
libetable.a \
|
|
$(EXTRA_GNOME_LIBS) \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(top_builddir)/widgets/e-text/libetext.a
|
|
|
|
table_example_2_LDFLAGS = `gnome-config --libs gdk_pixbuf`
|
|
|
|
EXTRA_DIST = \
|
|
sample.table \
|
|
add-col.xpm \
|
|
check-empty.xpm \
|
|
check-filled.xpm \
|
|
remove-col.xpm
|