X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fxournal.h;h=3ef9b27b873593c54b16a17444710ae376dd6e97;hb=69037d6ddbe7e90d13d8a7a088d8c209a926190e;hp=9f801cc7154fe2a0ce7ebf49d8ebe4c320a6d606;hpb=bc1db27c7eef7de6d5097a5e708d2de540d35b88;p=xournal.git diff --git a/src/xournal.h b/src/xournal.h index 9f801cc..3ef9b27 100644 --- a/src/xournal.h +++ b/src/xournal.h @@ -207,6 +207,7 @@ typedef struct Item { #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 @@ -230,7 +231,7 @@ typedef struct Journal { } 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 @@ -286,6 +287,7 @@ typedef struct UIData { 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