#define ITEM_RESIZESEL 22
#define ITEM_RECOGNIZER 23
#define ITEM_IMAGE 24
+#define ITEM_SELECTREGION 25
typedef struct Layer {
GList *items; // the items on the layer, from bottom to top
} Journal;
typedef struct Selection {
- int type; // ITEM_SELECTRECT, ITEM_MOVESEL_VERT
+ int type; // ITEM_SELECTRECT, ITEM_MOVESEL_VERT, ITEM_SELECTREGION
BBox bbox; // the rectangle bbox of the selection
struct Layer *layer; // the layer on which the selection lives
double anchor_x, anchor_y, last_x, last_y; // for selection motion
gboolean is_corestroke; // this stroke is painted with core pointer
gboolean saved_is_corestroke;
GdkDevice *stroke_device; // who's painting this stroke
+ gboolean ignore_other_devices;
int screen_width, screen_height; // initial screen size, for XInput events
double hand_refpt[2];
int hand_scrollto_cx, hand_scrollto_cy;
gboolean in_update_page_stuff; // semaphore to avoid scrollbar retroaction
struct Selection *selection;
GdkCursor *cursor;
+ GdkPixbuf *pen_cursor_pix, *hiliter_cursor_pix;
gboolean progressive_bg; // update PDF bg's one at a time
char *mrufile, *configfile; // file names for MRU & config
char *mru[MRU_SIZE]; // MRU data