1997-11-25 06:05:25 +08:00
|
|
|
#ifndef __RECT_SELECTP_H__
|
|
|
|
#define __RECT_SELECTP_H__
|
|
|
|
|
|
|
|
#include "draw_core.h"
|
|
|
|
|
1999-06-22 06:12:07 +08:00
|
|
|
typedef struct _RectSelect RectSelect, EllipseSelect;
|
1997-11-25 06:05:25 +08:00
|
|
|
|
1999-06-22 06:12:07 +08:00
|
|
|
struct _RectSelect
|
1997-11-25 06:05:25 +08:00
|
|
|
{
|
|
|
|
DrawCore * core; /* Core select object */
|
|
|
|
|
1999-05-05 17:10:35 +08:00
|
|
|
int op; /* selection operation (SELECTION_ADD etc.) */
|
|
|
|
|
1997-11-25 06: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-21 02:19:20 +08:00
|
|
|
int fixed_size;
|
1999-09-26 05:45:26 +08:00
|
|
|
double fixed_width;
|
|
|
|
double fixed_height;
|
1998-07-19 03:24:57 +08:00
|
|
|
guint context_id; /* for the statusbar */
|
1997-11-25 06:05:25 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __RECT_SELECTP_H__ */
|