mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
61bbabc6ad
2000-01-19 Garry R. Osgood <gosgood@idt.net> * gimp/app/disp_callbacks.c * gimp/app/ellipse_select.c * gimp/app/free_select.c * gimp/app/fuzzy_select.c * gimp/app/rect_select.c * gimp/app/rect_select.h * gimp/app/rect_selectP.h * gimp/app/tools.c * gimp/app/tools.h * gimp/app/toolsF.h Boolean selection operations, (adding to, subtracting from, or intersecting with pre-existing functions) now occur regardless of the setting of "Disable Cursor Update" toggle button in Interface/Image Window category. Introduced a new tool action type, OperUpdateFunc, To provide a distinct context for such activity. see http://idt.net/~gosgood/gimp-patch/patch05.html for full details. Closes #2568.
25 lines
766 B
C
25 lines
766 B
C
#ifndef __RECT_SELECTP_H__
|
|
#define __RECT_SELECTP_H__
|
|
|
|
#include "draw_core.h"
|
|
|
|
typedef struct _RectSelect RectSelect, EllipseSelect;
|
|
|
|
struct _RectSelect
|
|
{
|
|
DrawCore * core; /* Core select object */
|
|
|
|
SelectOps op; /* selection operation (SELECTION_ADD etc.) */
|
|
|
|
int x, y; /* upper left hand coordinate */
|
|
int w, h; /* width and height */
|
|
int center; /* is the selection being created from the center out? */
|
|
|
|
int fixed_size;
|
|
double fixed_width;
|
|
double fixed_height;
|
|
guint context_id; /* for the statusbar */
|
|
};
|
|
|
|
#endif /* __RECT_SELECTP_H__ */
|