gimp/app/rect_selectP.h
Sven Neumann 5d2753c2ff The new "Fixed Size" option now works with
ellipse_select too. Made the entries use spinbuttons. Minor change
to the selection_size indicator in the status-bar.

Made fopen() use "rb" and "wb" instead if "r" and "w" since the OS/2
port needs it.


--Sven
1998-07-20 18:19:20 +00:00

24 lines
766 B
C

#ifndef __RECT_SELECTP_H__
#define __RECT_SELECTP_H__
#include "draw_core.h"
typedef struct _rect_select RectSelect, EllipseSelect;
struct _rect_select
{
DrawCore * core; /* Core select object */
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 op; /* selection operation (ADD, SUB, etc) */
int fixed_size;
int fixed_width;
int fixed_height;
guint context_id; /* for the statusbar */
};
#endif /* __RECT_SELECTP_H__ */