Commit Graph

9 Commits

Author SHA1 Message Date
1a44ff0e97 Added line wrap and a max number of lines (max number of lines is only
2000-02-07  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/e-text.h, widgets/e-text.c: Added line wrap and a max
        number of lines (max number of lines is only obeyed if text is not
        being edited).

svn path=/trunk/; revision=1691
2000-02-08 03:15:56 +00:00
bbcecaf6b7 Added an arrow cursor for the draggable columns. Made the clickable column
2000-01-27  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/e-reflow.h, widgets/e-reflow.c: Added an arrow cursor
        for the draggable columns.  Made the clickable column area
        larger.

        * widgets/e-text.h, widgets/e-text.c: Added an I beam cursor for
        the text item when it is editable.

        * widgets/e-minicard-label.c: Forward enter and leave
        notifications to the contained editable text item.

svn path=/trunk/; revision=1647
2000-01-26 11:26:07 +00:00
804e7e17bf Finishing previous commit.
svn path=/trunk/; revision=1582
2000-01-17 09:13:45 +00:00
4ac908c6ff Added selection and clipboard support. Added up and down arrow keys. Fixed
* widgets/e-text-event-processor-types.h,
        widgets/e-text-event-processor-emacs-like.c, widgets/e-text.c,
        widgets/e-text.h: Added selection and clipboard support.  Added up
        and down arrow keys.  Fixed choice of font colors for the
        selection to be based on the current style.

        * widgets/e-minicard.c: Caused a click to grab the focus.  Changed
        the fake information added.

        * widgets/e-minicard-label.c: Forward mouse events to the field
        EText item.

svn path=/trunk/; revision=1568
2000-01-14 05:18:59 +00:00
f5347f59ff e_canvas_item_move_absolute is just a helper function not supplied by the
* widgets/e-canvas-utils.c, widgets/e-canvas-utils.h:
        e_canvas_item_move_absolute is just a helper function not supplied
        by the gnome_canvas.[ch] I put it here so that multiple items can
        use it.

        * widgets/e-reflow.c, widgets/e-reflow.h: This item contains a
        number of other items and places them into multiple columns.  The
        items contained must support a number of arguments and signals to
        allow the reflow to interact with them.

        * widgets/test-reflow.c: This is a test program for e-reflow.

        * widgets/e-text.c, widgets/e-text.h: Added properly drawn
        selected text.  Added some preliminary code for X selection
        handling and cut & paste.

        * widgets/e-minicard.c, widgets/e-minicard.h: Added ARG_HAS_FOCUS
        handling.  Made label display random for more interesting tests of
        multiple cards.  Tweaked sizing information for better display.

        * widgets/e-minicard-label.c, widgets/e-minicard-label.h: Added
        ARG_HAS_FOCUS handling.

        * widgets/Makefile.am: Added the reflow test and reflow files.

svn path=/trunk/; revision=1566
2000-01-13 22:01:23 +00:00
4d2a782588 Added a resize signal for when the card changes height. Made it so that
* widgets/e-minicard.c, widgets/e-minicard.h: Added a resize
        signal for when the card changes height.  Made it so that when you
        press tab inside of a field, it goes to the next field.

        * widgets/e-minicard-label.c, widgets/e-minicard-label.h: Added a
        resize signal for when the label changes height.

        * widgets/e-text.c, widgets/e-text.h: Added a resize signal for
        multiple lines.  Added scrolling based on cursor position.

        * widgets/Makefile.am: Removed an extraneous build target.

svn path=/trunk/; revision=1562
2000-01-12 05:05:30 +00:00
a097129f68 Blocked the tab key from getting inserted into the buffer since the
* widgets/e-text-event-processor-emacs-like.c: Blocked the tab key
	from getting inserted into the buffer since the renderer doesn't
	know what a tab is.

	* widgets/e-text.c, widgets/e-text.h: Fixed a memory leak.  Added
	a blinking cursor and scrolling for the text item.

svn path=/trunk/; revision=1554
2000-01-11 22:10:20 +00:00
a01de808cd Removed some code which got in the way of testing properly.
* widgets/test-minicard.c: Removed some code which got in the way
        of testing properly.

        * widgets/e-minicard-label.c (e_minicard_label_realize): Made the
        field text item editable.

        * widgets/Makefile.am: Added e-text-event-process*.[ch].

        * widgets/e-text.c, widgets/e-text.h: Changed these to support
        editing.

        * widgets/e-text-event-processor.c,
        widgets/e-text-event-processor.h,
        widgets/e-text-event-processor-types.h,
        widgets/e-text-event-processor-emacs-like.c,
        widgets/e-text-event-processor-emacs-like.h: These are a new pair
        of classes which handle all events from the text item and convert
        them into commands.

svn path=/trunk/; revision=1553
2000-01-11 06:44:57 +00:00
b2a25c6add Added minicard and text stuff.
* widgets/Makefile.am: Added minicard and text stuff.

	* widgets/e-minicard.c, widgets/e-minicard.h,
	widgets/e-minicard-label.c, widgets/e-minicard-label.h: Added
	canvas items for the minicard view in the contact manager.

	* widgets/test-minicard.c, widgets/test-minicard-label.c: Tests
	for the minicard items.

	* widgets/e-text.h, widgets/e-text.c: New canvas item.  Based on
	GnomeCanvasText.  Adds ellipsis capabilities.  Used in
	e-minicard*.[ch].

	* widgets/.cvsignore: Added minicard-test and minicard-label-test.

svn path=/trunk/; revision=1552
2000-01-10 04:55:48 +00:00