* pixmaps/mouse1*: new bitmap files containing the new mouse cursors.
* app/parasitelist.c: use g_str_equal instead of parasite_compare_func.
* app/paint_core.c: interpret perfectmouse right way round.
* app/rect_select{P,}.[ch]: set custom cursors when the operation type
changes. Centralize the calculation of op based on the modifier
keys being held.
* app/fuzzy_select.c, app/free_select.c: allow the rect_select
functions calculate the operation type.
* app/ellipse_select.c: use the SelectionOps typedefs.
* app/edit_selection.c: convert MaskToLayerTranslate into
FloatingSelTranslate if there is already a floating selection in
init_edit_selection.
* app/disp_callbacks.c: fixed the calculation of state.
* app/gdisplay.[ch], app/cursorutil.[ch]: new functions to allow
the loading of customized cursors.
* app/paint_funcs.[ch], app/channel.c: border_region now accepts
seperate xradius and yradius arguments.
24 lines
768 B
C
24 lines
768 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 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;
|
|
int fixed_width;
|
|
int fixed_height;
|
|
guint context_id; /* for the statusbar */
|
|
};
|
|
|
|
#endif /* __RECT_SELECTP_H__ */
|