From c17952163c98f4d411b6f42aaca4293476405999 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Mon, 6 Sep 1999 03:05:38 +0000 Subject: Add an event handler for the preview canvas. (zoom_state): new routine, 1999-09-05 Miguel de Icaza * src/print-preview.c (preview_canvas_event): Add an event handler for the preview canvas. (zoom_state): new routine, controls the toolbar widget display. * src/cursors.c: Add new zoom in and zoom out cursors. * src/dialogs/dialog-printer-setup.c (unit_editor_new): One line warning fix. * src/sheet.c (sheet_col_size_fit): Returns the size required to render every cell completely. * src/item-bar.c (item_bar_event): Delay column/row resizing action until the division is actually being dragged. We need this to catch double-clicks for auto-sizing cells. (GDK_2BUTTON_PRESS): 1999-09-04 Jody Goldberg svn path=/trunk/; revision=1183 --- widgets/misc/e-cursors.c | 2 ++ widgets/misc/e-cursors.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/widgets/misc/e-cursors.c b/widgets/misc/e-cursors.c index 56956ef676..40ec043d21 100644 --- a/widgets/misc/e-cursors.c +++ b/widgets/misc/e-cursors.c @@ -11,6 +11,8 @@ typedef struct { #define GNUMERIC_CURSOR_THIN_CROSS 1 #define GNUMERIC_CURSOR_ARROW 2 #define GNUMERIC_CURSOR_MOVE 3 +#define GNUMERIC_CURSOR_ZOOM_IN 4 +#define GNUMERIC_CURSOR_ZOOM_OUT 5 extern GnumericCursorDef gnumeric_cursors []; diff --git a/widgets/misc/e-cursors.h b/widgets/misc/e-cursors.h index 56956ef676..40ec043d21 100644 --- a/widgets/misc/e-cursors.h +++ b/widgets/misc/e-cursors.h @@ -11,6 +11,8 @@ typedef struct { #define GNUMERIC_CURSOR_THIN_CROSS 1 #define GNUMERIC_CURSOR_ARROW 2 #define GNUMERIC_CURSOR_MOVE 3 +#define GNUMERIC_CURSOR_ZOOM_IN 4 +#define GNUMERIC_CURSOR_ZOOM_OUT 5 extern GnumericCursorDef gnumeric_cursors []; -- cgit v1.2.3