aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-cursors.h
Commit message (Collapse)AuthorAgeFilesLines
* merging the gal-2 branch back to the trunk.Mike Kestner2002-11-011-3/+3
| | | | | | merging the gal-2 branch back to the trunk. svn path=/trunk/; revision=18471
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-271-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/e-paned/e-hpaned.c, gal/e-paned/e-hpaned.h, gal/e-paned/e-paned.c, gal/e-paned/e-paned.h, gal/e-paned/e-vpaned.c, gal/e-paned/e-vpaned.h, gal/e-text/e-completion-match.c, gal/e-text/e-completion-match.h, gal/e-text/e-completion-test.c, gal/e-text/e-completion-view.c, gal/e-text/e-completion-view.h, gal/e-text/e-completion.c, gal/e-text/e-completion.h, gal/e-text/e-entry-test.c, gal/e-text/e-entry.c, gal/e-text/e-entry.h, gal/e-text/e-table-text-model.c, gal/e-text/e-table-text-model.h, gal/e-text/e-text-model-repos.c, gal/e-text/e-text-model-repos.h, gal/e-text/e-text-model-test.c, gal/e-text/e-text-model-uri.c, gal/e-text/e-text-model-uri.h, gal/e-text/e-text-model.c, gal/e-text/e-text-model.h, gal/e-text/e-text.c, gal/e-text/e-text.h, gal/util/e-bit-array.c, gal/util/e-bit-array.h, gal/util/e-cache.c, gal/util/e-cache.h, gal/util/e-iconv.c, gal/util/e-iconv.h, gal/util/e-sorter-array.c, gal/util/e-sorter-array.h, gal/util/e-sorter.c, gal/util/e-sorter.h, gal/util/e-text-event-processor-emacs-like.c, gal/util/e-text-event-processor-emacs-like.h, gal/util/e-text-event-processor-types.h, gal/util/e-text-event-processor.c, gal/util/e-text-event-processor.h, gal/util/e-util.c, gal/util/e-util.h, gal/util/e-xml-utils.c, gal/util/e-xml-utils.h, gal/widgets/color-group.c, gal/widgets/color-group.h, gal/widgets/color-palette.c, gal/widgets/color-palette.h, gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h, gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas-vbox.h, gal/widgets/e-canvas.c, gal/widgets/e-canvas.h, gal/widgets/e-categories-master-list-array.c, gal/widgets/e-categories-master-list-array.h, gal/widgets/e-categories-master-list-combo.c, gal/widgets/e-categories-master-list-combo.h, gal/widgets/e-categories-master-list-dialog-model.c, gal/widgets/e-categories-master-list-dialog-model.h, gal/widgets/e-categories-master-list-dialog.c, gal/widgets/e-categories-master-list-dialog.h, gal/widgets/e-categories-master-list.c, gal/widgets/e-categories-master-list.h, gal/widgets/e-categories.c, gal/widgets/e-categories.h, gal/widgets/e-colors.c, gal/widgets/e-colors.h, gal/widgets/e-cursors.c, gal/widgets/e-cursors.h, gal/widgets/e-font.c, gal/widgets/e-font.h, gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h, gal/widgets/e-hscrollbar.c, gal/widgets/e-hscrollbar.h, gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h, gal/widgets/e-printable.c, gal/widgets/e-printable.h, gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h, gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h, gal/widgets/e-reflow.c, gal/widgets/e-reflow.h, gal/widgets/e-scroll-frame.c, gal/widgets/e-scroll-frame.h, gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-array.h, gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model-simple.h, gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h, gal/widgets/e-unicode.c, gal/widgets/e-unicode.h, gal/widgets/e-vscrollbar.c, gal/widgets/e-vscrollbar.h, gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-box.h, gal/widgets/gtk-combo-stack.c, gal/widgets/gtk-combo-stack.h, gal/widgets/gtk-combo-text.c, gal/widgets/gtk-combo-text.h, gal/widgets/test-color.c, gal/widgets/test-e-font.c, gal/widgets/test-e-font.h, gal/widgets/test-font-loading.c, gal/widgets/widget-color-combo.c, gal/widgets/widget-color-combo.h, gal/widgets/widget-pixmap-combo.c, gal/widgets/widget-pixmap-combo.h, src/e-table/e-table-sorted-variable.c, tests/test-define-views.c, tests/test-shortcut-bar.c, tests/test-table-1.c, tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c, tests/test-unicode.c: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14158
* Fixed headers. Moved the .h associated with each .c to the top of the listChristopher James Lahey2001-04-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | 2001-04-04 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text-model-uri.c, gal/e-text/e-text.c, gal/e-text/e-text.h, gal/e-text/e-text-event-processor.c, gal/util/e-xml-utils.c, gal/widgets/e-cursors.c, gal/widgets/e-cursors.h: Fixed headers. Moved the .h associated with each .c to the top of the list of included files. * gal/util/e-util.h: Removed the bonobo-xobject.h header here. * gal/util/e-xml-utils.c: Replaced strcasecmp with g_strcasecmp. * gal/widgets/e-canvas-vbox.c: Make this work even if the item is destroyed after the vbox. * gal/widgets/e-categories.c (do_parse_categories): Made this translate using e_utf8_from_locale string as it should. svn path=/trunk/; revision=9175
* From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com>Christopher James Lahey2001-02-171-0/+4
| | | | | | | | | | | | | | 2001-02-17 Christopher James Lahey <clahey@ximian.com> From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com> * gal/util/e-util.h, gal/util/e-xml-utils.h, gal/widgets/e-canvas-utils.h, gal/widgets/e-colors.h, gal/widgets/e-cursors.h, gal/widgets/e-gui-utils.h, gal/widgets/e-popup-menu.h, gal/widgets/e-printable.h, gal/widgets/gtk-combo-stack.h: Added GNOME_DECLS. svn path=/trunk/; revision=8267
* Move srcs from gnumeric andJody Goldberg2000-09-181-25/+25
| | | | | | Rename to e-colors and e-cursor svn path=/trunk/; revision=5480
* New base class for Cells. Convert everything to access the elements thatJody Goldberg2000-08-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | 2000-08-30 Jody Goldberg <jgoldberg@home.com> * dependent.[ch] : New base class for Cells. Convert everything to access the elements that are now in the cell's base. s/Cell::sheet/Cell::Dependent::sheet/ s/Cell::cell_flags/Cell::Dependent::flags/ * Makefile.am : Because of XL we need to build plugins before src. That will need changing. * src/func.c (function_marshal_arg) : Use expr_array_intersection. * src/expr.c (eval_expr_real) : Do implicit conversions from strings to numbers if possible. Access the first element of an array. NOTE : This is WRONG We need to implement array expression behavior some day. (expr_array_intersection) : New routine. svn path=/trunk/; revision=5127
* Renamed the move modes to MODE_MOVE and MOVE_MODE_DRAGGING.Federico Mena Quintero1999-11-031-25/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-11-02 Federico Mena Quintero <federico@redhat.com> * src/print-preview.c (PreviewMode): Renamed the move modes to MODE_MOVE and MOVE_MODE_DRAGGING. (preview_canvas_button_press): Split the event handling code between several functions. Rationale: we will want drag-zoom and we need different modes for this, and the code in a single function would get unwieldy. In addition, grab the pointer and use GDK_POINTER_MOTION_HINT_MASK for better behavior. (PrintPreview): Added fields for drag anchor and drag offset. (drag_to): New function to drag/scroll. (create_preview_canvas): Connect to the different event handlers. (do_zoom): We do not need to re-render the page; just set the zoom factor. Also, use exponential zooming for better behavior. * src/cursors.h: Moved the cursor #defines to an enum. This way we can check for a max value in cursor_get(). Moved the cursor array to the .c file and made it private. * src/cursors.c (cursors_init): Added sanity check so that all cursors are defined. (cursor_get): New function to get a cursor based on its type. (cursors): Added hand cursors. * src/pixmaps/cursor_hand_{open,closed}.xpm: Added hand cursors. svn path=/trunk/; revision=1365
* Fiddled with object creation,Michael Meeks1999-09-221-0/+5
| | | | | | | | Added a load of new cursors for object moving / sizing, Fixed sheet object sizing, Add sheet object popup menus. svn path=/trunk/; revision=1249
* Cosmetic widget update when loading lots of files,Michael Meeks1999-09-111-10/+11
| | | | | | | Fixed serious bug in sheet tab editing, New sizing algo. svn path=/trunk/; revision=1221
* Add an event handler for the preview canvas. (zoom_state): new routine,Miguel de Icaza1999-09-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added margin display preview.Miguel de Icaza1999-09-031-0/+1
| | | | | | | | | | | | | | | | | | | | 1999-09-03 Miguel de Icaza <miguel@gnu.org> * src/dialogs/dialog-printer-setup.c (draw_margins): Added margin display preview. * src/print-preview.c (preview_zoom_out_cmd): Zoom-in, zoom-out and move are now toggle buttons. * src/workbook.c (italic_cmd, bold_cmd): Simplified the code some. * src/dialogs/dialog-printer-setup.c (do_setup_page_info): Force the icon display here. (preview_page_create): Invert test. (PAGE_X, PAGE_Y): They are now the same values. (do_setup_page): Show the images here. svn path=/trunk/; revision=1173
* Use 0.0########## instead. Looks saner.Miguel de Icaza1999-01-111-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/format.c (format_value): Use 0.0########## instead. Looks saner. 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/workbook.c (change_auto_expr_menu): Use the event->button field to get the popup menu to behave correctly. (workbook_setup_auto_calc): Put the information display inside a GtkFrame. * src/item-bar.c (set_cursor): This routine can be invoked before we are realized. * src/workbook.c (sheet_label_button_press): We need to do the page flipping ourselves, as the GtkNotebook wont take events if they are not for a window it knows about. * src/widget-editable-label.c (el_button_press_event): Forward events to parent. * src/parser.y: New non-terminal "cellref". Make this non-terminal include CELLREF and SHEETREF!CELLREF constructions. * src/expr.c: Changed the whole module according to the dropping of VALUE_CELLREF. * src/expr.h: VALUE_CELLREF did not make much sense. Better add to the ExprTree union a CellRef field specifically for OPER_VAR nodes. svn path=/trunk/; revision=591
* Made all of the header inclussion conditionals consistentArturo Espinosa1998-10-011-3/+3
| | | | svn path=/trunk/; revision=416
* Autofill lists work:Arturo Espinosa1998-09-161-2/+9
| | | | | | | | | | | | | | Autofill lists work: Integers, Floats, Formulas and constant strings works. Todo: Lists of known strings and strings with numbers embedded Miguel. svn path=/trunk/; revision=379
* Got cursors working.Arturo Espinosa1998-09-151-1/+11
| | | | | | | | | | | | | Got cursors working. Use the cursors properly on the spreadhseet (gives good feedback on what is going to happen). More work on autofill. miguel. svn path=/trunk/; revision=377
* Color attributes in formats work (ie, you can get colored cells now);Arturo Espinosa1998-09-141-0/+8
Color attributes in formats work (ie, you can get colored cells now); My first -futile attempts- at getting various different cursors working on the spreadsheet (we need a cross and various other cursors for a better emulation of Excel). The beginning of autofill, but I really need to see Excel live before implementing this. Miguel. svn path=/trunk/; revision=376