mirror of https://github.com/GNOME/gimp.git
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 */
|
|
|
|
int 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__ */
|