X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fxournal.h;h=61eb21801e8549334f127d1a25cee6e9add92592;hb=1a32c75ce28e5750fd623a94d300f0dd2716fc02;hp=00ac0ccd23885dba225370d580bb7473b321e2a9;hpb=72a310c8265a0d1e3e95fabb2987f70cfecbf525;p=xournal.git diff --git a/src/xournal.h b/src/xournal.h index 00ac0cc..61eb218 100644 --- a/src/xournal.h +++ b/src/xournal.h @@ -220,8 +220,10 @@ typedef struct UIData { struct Brush default_brushes[NUM_STROKE_TOOLS]; // the default ones int linked_brush[NUM_BUTTONS+1]; // whether brushes are linked across buttons int cur_mapping; // the current button number for mappings + gboolean button_switch_mapping; // button clicks switch button 1 mappings gboolean use_erasertip; int which_mouse_button; // the mouse button drawing the current path + int which_unswitch_button; // if button_switch_mapping, the mouse button that switched the mapping struct Page default_page; // the model for the default page int layerbox_length; // the number of entries registered in the layers combo-box struct Item *cur_item; // the item being drawn, or NULL @@ -237,6 +239,7 @@ typedef struct UIData { gboolean pressure_sensitivity; // use pen pressure to control stroke width? double width_minimum_multiplier, width_maximum_multiplier; // calibration for pressure sensitivity gboolean is_corestroke; // this stroke is painted with core pointer + GdkDevice *stroke_device; // who's painting this stroke int screen_width, screen_height; // initial screen size, for XInput events double hand_refpt[2]; int hand_scrollto_cx, hand_scrollto_cy; @@ -247,8 +250,7 @@ typedef struct UIData { gboolean in_update_page_stuff; // semaphore to avoid scrollbar retroaction struct Selection *selection; GdkCursor *cursor; - gboolean antialias_bg; // bilinear interpolation on bg pixmaps - gboolean progressive_bg; // rescale bg's one at a time + 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 GtkWidget *mrumenu[MRU_SIZE];