X-Git-Url: https://git.donarmstrong.com/?p=xournal.git;a=blobdiff_plain;f=src%2Fxournal.h;fp=src%2Fxournal.h;h=9d9064e34c00a0ab96be2204b4fd9d34efccbe2d;hp=9f801cc7154fe2a0ce7ebf49d8ebe4c320a6d606;hb=9f09269d8918dfa930543f4a15de4e7276719e5e;hpb=c33ae4cb8af712159f96db55e8229589258c45fe diff --git a/src/xournal.h b/src/xournal.h index 9f801cc..9d9064e 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