aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>1999-09-06 11:05:38 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-09-06 11:05:38 +0800
commitc17952163c98f4d411b6f42aaca4293476405999 (patch)
tree99ce0b1e14a575648573b3c7a04faa06b7f1c04f
parent2110ea101f673c11db212ebc3d4d238f74c19fee (diff)
downloadgsoc2013-evolution-c17952163c98f4d411b6f42aaca4293476405999.tar
gsoc2013-evolution-c17952163c98f4d411b6f42aaca4293476405999.tar.gz
gsoc2013-evolution-c17952163c98f4d411b6f42aaca4293476405999.tar.bz2
gsoc2013-evolution-c17952163c98f4d411b6f42aaca4293476405999.tar.lz
gsoc2013-evolution-c17952163c98f4d411b6f42aaca4293476405999.tar.xz
gsoc2013-evolution-c17952163c98f4d411b6f42aaca4293476405999.tar.zst
gsoc2013-evolution-c17952163c98f4d411b6f42aaca4293476405999.zip
Add an event handler for the preview canvas. (zoom_state): new routine,
1999-09-05 Miguel de Icaza <miguel@gnu.org> * 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 <jgoldberg@home.com> svn path=/trunk/; revision=1183
-rw-r--r--widgets/misc/e-cursors.c2
-rw-r--r--widgets/misc/e-cursors.h2
2 files changed, 4 insertions, 0 deletions
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 [];