1997-11-24 14:05:25 -08:00
|
|
|
#ifndef __RECT_SELECTP_H__
|
|
|
|
|
#define __RECT_SELECTP_H__
|
|
|
|
|
|
|
|
|
|
#include "draw_core.h"
|
|
|
|
|
|
1999-06-21 15:12:07 -07:00
|
|
|
typedef struct _RectSelect RectSelect, EllipseSelect;
|
1997-11-24 14:05:25 -08:00
|
|
|
|
1999-06-21 15:12:07 -07:00
|
|
|
struct _RectSelect
|
1997-11-24 14:05:25 -08:00
|
|
|
{
|
|
|
|
|
DrawCore * core; /* Core select object */
|
|
|
|
|
|
1999-05-05 02:10:35 -07:00
|
|
|
int op; /* selection operation (SELECTION_ADD etc.) */
|
|
|
|
|
|
1997-11-24 14:05:25 -08:00
|
|
|
int x, y; /* upper left hand coordinate */
|
|
|
|
|
int w, h; /* width and height */
|
|
|
|
|
int center; /* is the selection being created from the center out? */
|
|
|
|
|
|
1998-07-20 11:19:20 -07:00
|
|
|
int fixed_size;
|
1999-09-25 14:45:26 -07:00
|
|
|
double fixed_width;
|
|
|
|
|
double fixed_height;
|
1998-07-18 12:24:57 -07:00
|
|
|
guint context_id; /* for the statusbar */
|
1997-11-24 14:05:25 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif /* __RECT_SELECTP_H__ */
|