2000-06-10 Chris Toshok <toshok@helixcode.com> * e-table-item.c (eti_event): change things so we focus the cell and select the row, and also dispatch the event to that row/cell. This fixes the problem with the tree where you had to click twice to activate the tree controls. * Makefile.am (libetable_a_SOURCES): remove e-tree-gnode.* and add e-tree-simple.* (icons): add tree-expanded.xpm and tree-unexpanded.xpm * e-cell-tree.c (ect_enter_edit): defer to subcell's view. (ect_leave_edit): defer to subcell's view. (visible_depth_of_node): visual depth, taking into account that the root node of the model might not be displayed. (offset_of_node): return the offset used to shift the subcell over. (ect_draw): don't draw vertical lines if we're the leftmode node (a visual root node). also, don't shift x2 by the subcell offset, so we get ellipses like we're supposed to. (ect_event): remove GDK_BUTTON_RELEASE from the list of events that we care about. * e-tree-example-1.c: lots of changes, a more dynamic UI so we can test tree model api stuff. * e-tree-gnode.c, e-tree-gnode.c: removed files, since their guts have been rolled into e-tree-model.c * e-tree-model.c, e-tree-model.h: substantially changed. too much to really describe here. this should really be considered the first revision of these files :) * e-tree-simple.c, e-tree-simple.h: analogous to e-table-simple, a subclass that allows the use of function pointers. svn path=/trunk/; revision=3519
171 lines
3.9 KiB
Makefile
171 lines
3.9 KiB
Makefile
|
|
gladedir = $(datadir)/evolution/glade
|
|
glade_DATA = \
|
|
e-table-config.glade \
|
|
e-table-group.glade \
|
|
e-table-field-chooser.glade
|
|
|
|
glade_headers = \
|
|
e-table-config.glade.h \
|
|
e-table-group.glade.h \
|
|
e-table-field-chooser.glade.h
|
|
|
|
INCLUDES = \
|
|
$(EXTRA_GNOME_CFLAGS) \
|
|
$(GNOME_PRINT_CFLAGS) \
|
|
$(GNOME_INCLUDEDIR) \
|
|
-DETABLE_GLADEDIR=\"$(gladedir)\" \
|
|
-I$(top_srcdir)/widgets/e-text \
|
|
-I$(top_srcdir)/e-util \
|
|
-I$(top_srcdir) \
|
|
-DG_LOG_DOMAIN=\"e-table\"
|
|
|
|
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-cell-tree.c \
|
|
e-cell-tree.h \
|
|
e-table.c \
|
|
e-table.h \
|
|
e-table-col-dnd.h \
|
|
e-table-col.c \
|
|
e-table-col.h \
|
|
e-table-config.c \
|
|
e-table-config.h \
|
|
e-table-defines.h \
|
|
e-table-field-chooser-dialog.c \
|
|
e-table-field-chooser-dialog.h \
|
|
e-table-field-chooser-item.c \
|
|
e-table-field-chooser-item.h \
|
|
e-table-field-chooser.c \
|
|
e-table-field-chooser.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 \
|
|
e-table-text-model.c \
|
|
e-table-text-model.h \
|
|
e-tree-model.c \
|
|
e-tree-model.h \
|
|
e-tree-simple.c \
|
|
e-tree-simple.h
|
|
|
|
noinst_PROGRAMS = \
|
|
table-test table-example-1 table-example-2 table-size-test tree-example-1
|
|
|
|
table_test_SOURCES = \
|
|
test-table.c \
|
|
test-check.c \
|
|
test-cols.c \
|
|
table-test.c \
|
|
table-test.h
|
|
|
|
table_test_LDADD = \
|
|
libetable.a \
|
|
$(EXTRA_GNOME_LIBS) \
|
|
$(top_builddir)/widgets/e-text/libetext.a \
|
|
$(top_builddir)/widgets/misc/libemiscwidgets.a \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(GNOME_PRINT_LIBS)
|
|
|
|
table_test_LDFLAGS = `gnome-config --libs gdk_pixbuf`
|
|
|
|
table_size_test_SOURCES = \
|
|
e-table-size-test.c
|
|
|
|
table_size_test_LDADD = \
|
|
libetable.a \
|
|
$(EXTRA_GNOME_LIBS) \
|
|
$(top_builddir)/widgets/e-text/libetext.a \
|
|
$(top_builddir)/widgets/misc/libemiscwidgets.a \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(GNOME_PRINT_LIBS)
|
|
|
|
table_size_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)/widgets/e-text/libetext.a \
|
|
$(top_builddir)/widgets/misc/libemiscwidgets.a \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(GNOME_PRINT_LIBS)
|
|
|
|
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)/widgets/e-text/libetext.a \
|
|
$(top_builddir)/widgets/misc/libemiscwidgets.a \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(GNOME_PRINT_LIBS)
|
|
|
|
table_example_2_LDFLAGS = `gnome-config --libs gdk_pixbuf`
|
|
|
|
tree_example_1_SOURCES = \
|
|
e-tree-example-1.c
|
|
|
|
tree_example_1_LDFLAGS = `gnome-config --libs gdk_pixbuf`
|
|
|
|
tree_example_1_LDADD = \
|
|
libetable.a \
|
|
$(EXTRA_GNOME_LIBS) \
|
|
$(top_builddir)/widgets/e-text/libetext.a \
|
|
$(top_builddir)/widgets/misc/libemiscwidgets.a \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(GNOME_PRINT_LIBS)
|
|
|
|
icons = \
|
|
arrow-down.xpm \
|
|
arrow-up.xpm \
|
|
add-col.xpm \
|
|
check-empty.xpm \
|
|
check-filled.xpm \
|
|
remove-col.xpm \
|
|
tree-expanded.xpm \
|
|
tree-unexpanded.xpm
|
|
|
|
EXTRA_DIST = \
|
|
sample.table \
|
|
$(icons) \
|
|
$(glade_DATA) \
|
|
$(glade_headers)
|