app/Makefile.am app/app_procs.c app/brushes.c app/commands.[ch]
Fri Jun 5 22:37:40 1998 Owen Taylor <otaylor@gtk.org> * app/Makefile.am app/app_procs.c app/brushes.c app/commands.[ch] app/disp_callbacks.c app/gdisplay.[ch] app/gimprc.c app/interface.[ch] app/menus.c app/paint_core.[ch] app/paintbrush.c app/palette.c app/scroll.c app/tools.[ch] app/undo.c - Added two new dialogs - input devices; (GtkInputDialog) and DeviceStatus - which shows the tool/color for each device. - Added device_status_update() call that gets called whenever the tool/color etc. are changed. - Added ~/.gimp/devicerc file to store settings - Code to draw cursor on canvas for non XFree86 XInput where device can't control cursor and extended input device simultaneously. - Changed input handling so that we always use the pointer position from the device, not from gdk_input_window_get_cursor, so that motion and cursor position sync. - Various changes so things work with non-integer coordinates - Pay attention to pressure and tilt in basic tool support. - New paint mode PRESSURE that changes the brush based on the brush pressure - Left in a few XInput hacks that should be removed, but I no longer remember what they are.
This commit is contained in:
@ -89,6 +89,12 @@ struct _GDisplay
|
||||
GSList *display_areas; /* Display areas list */
|
||||
|
||||
GdkCursorType current_cursor; /* Currently installed cursor */
|
||||
|
||||
short draw_cursor; /* should we draw software cursor ? */
|
||||
int cursor_x; /* software cursor X value */
|
||||
int cursor_y; /* software cursor Y value */
|
||||
short proximity; /* is a device in proximity of gdisplay ? */
|
||||
short have_cursor; /* is cursor currently drawn ? */
|
||||
};
|
||||
|
||||
|
||||
@ -116,8 +122,9 @@ void gdisplay_flush (GDisplay *);
|
||||
void gdisplay_draw_guides (GDisplay *);
|
||||
void gdisplay_draw_guide (GDisplay *, Guide *, int);
|
||||
Guide* gdisplay_find_guide (GDisplay *, int, int);
|
||||
void gdisplay_snap_point (GDisplay *, int , int, int *, int *);
|
||||
void gdisplay_snap_point (GDisplay *, double , double, double *, double *);
|
||||
void gdisplay_snap_rectangle (GDisplay *, int, int, int, int, int *, int *);
|
||||
void gdisplay_update_cursor (GDisplay *, int, int);
|
||||
|
||||
/* function declarations */
|
||||
|
||||
|
Reference in New Issue
Block a user