mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
5d2753c2ff
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
24 lines
766 B
C
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__ */
|