Commit Graph

40 Commits

Author SHA1 Message Date
8c9cb1454e Tweaked e-cell-text. Added a white background and tweaked the borders.
2000-02-09  Christopher James Lahey  <clahey@helixcode.com>

        * e-cell-text.c: Tweaked e-cell-text.  Added a white background
        and tweaked the borders.

svn path=/trunk/; revision=1721
2000-02-10 02:50:08 +00:00
68d2387f39 Changes where e-text is included from.
2000-02-09  Christopher James Lahey  <clahey@helixcode.com>

        * Makefile.am: Changes where e-text is included from.

svn path=/trunk/; revision=1708
2000-02-09 12:33:07 +00:00
c02660b408 Fixed some motion event bugs. (incorrect x and y.)
2000-02-07  Christopher James Lahey  <clahey@helixcode.com>

        * e-table-item.c (eti_event): Fixed some motion event
        bugs. (incorrect x and y.)

        * Makefile.am: Added includes for dependencies in
        evolution/widgets/libevolutionwidgets.a

        * e-cell-text.h, e-cell-text.c: Completely revamped using code
        from e-text.c and e-text.h.

svn path=/trunk/; revision=1692
2000-02-08 03:29:49 +00:00
99d71d1132 Setup the scroll region of the table canvas on size allocation.
2000-02-07  Miguel de Icaza  <miguel@gnu.org>

	* e-table.c (e_table_setup_table): Setup the scroll region of the
	table canvas on size allocation.
	(e_table_canvas_realize): Do not set the scrollregion here.
	(e_table_canvas_init): Move root initialization here.

svn path=/trunk/; revision=1683
2000-02-07 13:08:33 +00:00
6168e99c7a Add data field back in.
2000-01-30  Miguel de Icaza  <miguel@gnu.org>

	* e-table-simple.c (e_table_simple_new): Add data field back in.

svn path=/trunk/; revision=1653
2000-01-29 12:10:58 +00:00
f55c64565c Ok, the restructuring of ETableItem to compute its size without hacks is
Ok, the restructuring of ETableItem to compute its size without hacks is
in now.  I am feeling better now.

1999-12-30  Miguel de Icaza  <miguel@gnu.org>

	* e-table-item.c (eti_attach_cell_views): New routine, creates the
	cell views.
	(eti_detach_cell_views): Detaches the cell_views from the
	ETableItem.
	(eti_realize_cell_views, eti_unrealize_cell_views): Simplified to
	just do realize/unrealize notification.
	(eti_add_table_model): Only attach the cells when we have both the
	table model and the header model.

	* e-cell.h (ECellClass): Added two new methods: new_view and
	kill_view which drive the view process (instead of putting that on
	realize/unrealize).

	* e-cell.c: Adapt the code to use the new scheme for view
	instantiation.

	* e-cell-text.c, e-cell-toggle.c: Adapted to the new class
	changes.

svn path=/trunk/; revision=1523
1999-12-31 02:23:37 +00:00
f14fd12551 Sync, does not work, dont try it, just backing up -miguel
svn path=/trunk/; revision=1521
1999-12-28 06:09:02 +00:00
c485df7554 added widgets/meeting-time-sel/Makefile
1999-12-19  Damon Chaplin  <damon@karuna.freeserve.co.uk>

        * configure.in (AC_OUTPUT): added widgets/meeting-time-sel/Makefile

In widgets directory:

1999-12-19  Damon Chaplin  <damon@karuna.freeserve.co.uk>

        * Makefile.am (SUBDIRS): created SUBDIRS with meeting-time-sel.

        * meeting-time-sel/Makefile.am:
        * meeting-time-sel/.cvsignore:
        * meeting-time-sel/e-meeting-time-sel.h:
        * meeting-time-sel/e-meeting-time-sel.c:
        * meeting-time-sel/e-meeting-time-sel-item.h:
        * meeting-time-sel/e-meeting-time-sel-item.c:
        * meeting-time-sel/e-meeting-time-sel-list-item.h:
        * meeting-time-sel/e-meeting-time-sel-list-item.c:
        * meeting-time-sel/e-meeting-time-sel-mail.xpm:
        * meeting-time-sel/e-meeting-time-sel-no-mail.xpm:
        * meeting-time-sel/test-meeting-time-sel.c: new files implementing
        the meeting time selector.

svn path=/trunk/; revision=1505
1999-12-19 21:13:19 +00:00
9bd34cd862 Fix before trip
svn path=/trunk/; revision=1485
1999-12-13 07:57:31 +00:00
df80388fd9 Works with GnomeCanvasGroups -miguel
svn path=/trunk/; revision=1484
1999-12-13 04:39:18 +00:00
fa895ed8e1 More work. We now have the basics for nesting working, now we need all the
More work.  We now have the basics for nesting working, now we need all
the interactions done properly.

I want to use a new GnomeCanvasItem for the nesting parent as well.

DnD will have to be done with our own protocol to provide all the feedback
we want to provide.

Miguel

svn path=/trunk/; revision=1481
1999-12-12 09:20:46 +00:00
48618eb6eb fix this routine.
1999-12-09  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header.c (e_table_header_col_diff): fix this routine.

1999-12-04  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header-item.c (ethi_event): Started drag and drop
	support.

	* e-table-item.c (eti_table_model_changed): The columns are
	controled by the Header, not by the TableModel.

	* e-table-header-item.c (ethi_draw): Fixed redraw logic to support
	arbitrary header positioning.

	* e-cell.h: Revamped e-cell interface.  We now provide the model
	column and the view column to all methods (so that the methods can
	talk to the view and to the model at the same time).

	* e-table-item.c: Update to new API
	* e-cell-test.c: Update to new API

1999-12-03  Miguel de Icaza  <miguel@gnu.org>

	* e-cell.c (e_cell_class_init): Provide emtpy methods for
	enter_edit, and leave_edit.

	* e-table-item.c: Killed draw cell.
	(eti_draw): Perform column mapping here.
	(e_table_item_leave_edit): ditto.
	(e_table_item_enter_edit): ditto.
	(eti_event): ditto.

svn path=/trunk/; revision=1478
1999-12-10 07:36:51 +00:00
50006218b6 fixed api.
1999-12-02  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header.c (e_table_header_index): fixed api.

1999-12-01  Miguel de Icaza  <miguel@gnu.org>

	* test-cols.c (multi_cols_test): Update to simplified API.
	* test-check.c (check_test): ditto
	* test-table.c (table_browser_test): ditto

	* e-table-simple.c (e_table_simple_class_init): Kill column_name method.

	* e-table-model.h: Kill column_name method.

	* e-table-col.c (e_table_col_new): Instead of using a column name,
	use a column index.

svn path=/trunk/; revision=1459
1999-12-03 08:02:36 +00:00
f0da5ba3d0 Keep track of the originally allocated piece of code.
1999-12-01  Miguel de Icaza  <miguel@gnu.org>

	* e-cell-text.c (ect_draw): Keep track of the originally allocated
	piece of code.

svn path=/trunk/; revision=1451
1999-12-01 18:28:27 +00:00
9c0f9f1264 Removed change cursor from here.
1999-12-01  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header-item.c (ethi_unrealize): Removed change cursor
	from here.

	* e-cell-text.c (ect_draw): Memory leak fix.

	* table-test.c (main): Enhance the demo to load sample.table
	automatically, to get memprof working.

	* e-table-header.c (eth_do_remove): Take an argument: do -remove.

	* e-table-header.c (e_table_header_add_column): Sink ETableCol to
	own the object.

	* e-table-col.h: Made ETableCol a GtkObject to make reference
	counting the lifecycle method for these objects.

	* e-table-col.c (e_table_col_destroy): New API call.

	* e-table-subset.c (e_table_subset_get_toplevel): New API call.

svn path=/trunk/; revision=1450
1999-12-01 18:18:35 +00:00
8fcf8db2b2 This one derives from e-cell-toggle.
1999-11-30  Miguel de Icaza  <miguel@gnu.org>

	* e-cell-checkbox.c (e_cell_checkbox_new): This one derives from
	e-cell-toggle.

	* check-emtpy.xpm, check-filled.xpm: new files.

	* e-cell-toggle.c (etog_draw): Paint in white.
	If we have transparency enabled, do the nice alpha computation.

	* test-table.c, test-cols.c: new files;  They implement the split
	tests.

svn path=/trunk/; revision=1447
1999-12-01 05:45:51 +00:00
0177093e77 New cell-toggle stuff compiles -miguel
svn path=/trunk/; revision=1446
1999-11-30 09:34:50 +00:00
c50636dba3 New file. Implement a multi-state image toggle cell object.
1999-11-29  Miguel de Icaza  <miguel@gnu.org>

	* e-cell-toggle.c, e-cell-toggle.h: New file.  Implement a
	multi-state image toggle cell object.

	* e-cell-text.c (ect_leave_edit): Handle the case of us calling
	leave edit manually.
	(ect_stop_editing): Leave manually editing here.
	(ect_draw): Add one pixel to the border for left and right;
	Handle off-screen cursor (must be improved).
	(ect_edit_select_all): New function.
	(ect_event): Select all text on editing start

	* e-table-item.c (eti_event): Map mouse events and dispatch them.
	(eti_event): Add spreadsheet mode for editing; Enter editing only
	with visual characters;
	Leave editing mode when a different row has been selected.
	(eti_get_height): Fix the computation for this; Fix logic for the
	length_threshold.

	(eti_draw): Add borders on all sides of the box;
	Only draw focus if the cell is not being edited.

svn path=/trunk/; revision=1445
1999-11-30 05:50:54 +00:00
66031f68f0 Small cosmetic fix
svn path=/trunk/; revision=1443
1999-11-29 07:08:52 +00:00
1a0d4df957 New methods; They implement editing.
1999-11-28  Miguel de Icaza  <miguel@gnu.org>

	* e-cell-text.c (ect_enter_edit, ect_leave_edit): New methods;
	They implement editing.

	* e-cell.h: new methods: enter_edit, leave_edit

	* e-table-model.h (set_value_at): make val argument const.

	* e-table-simple.c (simple_set_value_at): Make value argument const;

	* e-table-item.c (eti_set_arg): Add new mode: draw_focus;

svn path=/trunk/; revision=1442
1999-11-28 22:26:39 +00:00
8d75b6689b beginning of the keyboard navigation.
1999-11-27  Miguel de Icaza  <miguel@gnu.org>

	* e-table-item.c (eti_event): beginning of the keyboard navigation.

	* e-table-model.c (e_table_model_row_changed): new function.
	(e_table_model_cell_changed): new function.
	(e_table_model_class_init): New signals.

	* e-table-item.c (eti_request_region_redraw): x2, y2 offsets were
	wrong.
	(eti_select): Repaint selected region.
	(eti_request_region_redraw): Fix range.
	(eti_draw): Correct offset computation here.
	(e_table_item_class_init): New method: row_selection, handles the
	selection.

	Now it implement GTK_SELECTION_SINGLE and GTK_SELECTION_MULTIPLE.

	Focusing and selection should be correct now.

svn path=/trunk/; revision=1441
1999-11-28 03:12:22 +00:00
465c8ae9a0 Compute height using the ecell methods here. (eti_get_height): new method
1999-11-26  Miguel de Icaza  <miguel@gnu.org>

	* e-table-item.c (eti_realize): Compute height using the ecell
	methods here.
	(eti_get_height): new method to compute dimensions.

	* e-cursors.c: use a different cursor.

	* e-table-model.h: kill height and row_height methods.

	* e-cell.c (ec_height): New method.

	* e-cell-text.c (ect_realize): Load the font from the canvas.
	(ect_draw): New color setup.
	Center in the row.
	(ect_height): Implement new method.

1999-11-26  Michael Meeks  <mmeeks@gnu.org>

	* ROADMAP.e-table: small spelling/typo fixes.

1999-11-25  Miguel de Icaza  <miguel@gnu.org>

	* e-table-item.c (eti_event): Work on mouse-button event

svn path=/trunk/; revision=1439
1999-11-26 19:25:02 +00:00
a9efae5d56 minor typo fixes.
svn path=/trunk/; revision=1437
1999-11-26 12:45:46 +00:00
90e1fbec85 New routine: Realizes the cell views (eti_unrealize_cell_views): New
1999-11-25  Miguel de Icaza  <miguel@gnu.org>

	* e-table-item.c (eti_realize_cell_views): New routine: Realizes
	the cell views
	(eti_unrealize_cell_views): New routine: unrealizes the cell views.

	* e-table-item.h: Move cell_views array here.

	* table-test.c (value_at): Fix return value.

svn path=/trunk/; revision=1436
1999-11-25 09:06:52 +00:00
385ccbd512 Realize cells.
1999-11-25  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header-item.c (ethi_realize): Realize cells.

	* e-table-item.c (eti_header_dim_changed): redraw before and after.

	* e-table-header-item.c (ethi_event): Add continuous resizing.

1999-11-24  Miguel de Icaza  <miguel@gnu.org>

	* e-table-subset.h, e-table-subset.c: New files, used to implement
	subset tables.

	* e-table-sorted.h, e-table-sorted.c: Now they derive from
	e-table-subset.

	* e-cell.c, e-cell.h: realize method now return per view instance
	data.

svn path=/trunk/; revision=1434
1999-11-25 08:02:13 +00:00
6da1a1362b WOOOOHOOOOOoO! It took me quite a while to figure this one out. Fixed.
1999-11-20  Miguel de Icaza  <miguel@gnu.org>

	* e-table-item.c (eti_draw): WOOOOHOOOOOoO!  It took me quite a
	while to figure this one out.  Fixed.

svn path=/trunk/; revision=1426
1999-11-21 01:26:17 +00:00
77df46c366 Compute width, keep track of it. (ethi_add_table_header): Monitor changes
1999-11-20  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header-item.c (ethi_set_arg): Compute width, keep track
	of it.
	(ethi_add_table_header): Monitor changes to the Header model;
	Queue updates.
	(ethi_draw): Fix the redraw logic here.

	* table-test.c (main): Change the sample code, so we can better
	debug this.

	* e-table-item.c (eti_header_structure_changed): Keep track of
	width;
	(eti_header_dim_changed): ditto.
	(eti_draw): Many redraw fixes.

svn path=/trunk/; revision=1425
1999-11-20 23:37:37 +00:00
76fba2380e more stuff -mig
svn path=/trunk/; revision=1424
1999-11-20 03:07:14 +00:00
8940a14544 Finish implementing e-table-sorted -mig
svn path=/trunk/; revision=1421
1999-11-19 08:34:47 +00:00
da4c37043e New E-table-item.[ch] -mig
svn path=/trunk/; revision=1419
1999-11-19 05:34:23 +00:00
9663037f6c More work:
- Fixed some Camel API naming issues.
- Moved the message composer stuff to the `composer' directory.

svn path=/trunk/; revision=1395
1999-11-17 15:35:43 +00:00
d55f76a601 s/\.a/.la/
s/\.a/.la/

svn path=/trunk/; revision=1389
1999-11-16 19:06:47 +00:00
5ba51e992d Add resizing capabilities.
1999-11-14  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header-item.c (is_pointer_on_division): Add resizing
	capabilities.

	* e-table-sorted.c: Finish implementation.

1999-11-13  Miguel de Icaza  <miguel@gnu.org>

	* e-table-sorted.c: Implement e-table-sorted object.

1999-11-12  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header-item.c: Make the thing configurable.

	* e-table-header-item.h: Add font field, location, height.

svn path=/trunk/; revision=1388
1999-11-15 20:59:29 +00:00
a68a98a294 Added tooltips to the header area.
svn path=/trunk/; revision=1385
1999-11-13 00:43:32 +00:00
43fd06f8ec More table work
svn path=/trunk/; revision=1383
1999-11-12 08:41:20 +00:00
15b4b77c8a Some message composer improvements.
svn path=/trunk/; revision=1382
1999-11-12 03:15:30 +00:00
643a3d0171 Added cut/copy/paste support to the address editing dialog.
svn path=/trunk/; revision=1371
1999-11-08 20:48:32 +00:00
0c3101c24a Some initial work on the dialog for entering addresses from the address book.
svn path=/trunk/; revision=1370
1999-11-06 21:10:09 +00:00
b681ec2b9a Here is my initial Evolution work: message composition widget and some
installation fixes for Camel.

svn path=/trunk/; revision=1369
1999-11-05 23:06:09 +00:00
c5e2fd8592 Added my widgets stuff -miguel
svn path=/trunk/; revision=1364
1999-11-01 20:35:26 +00:00