X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fxournal.h;h=7c7d4c3fa40b1979f1f9c68377b993704dda668b;hb=7c3977e2b071d90aaff1f077512e6794373c4e6b;hp=48ae81a9f63158d731872214797550b5fb78819b;hpb=4d39b1b77c637b56b4f094e39328b3394cefa4dc;p=xournal.git diff --git a/src/xournal.h b/src/xournal.h index 48ae81a..7c7d4c3 100644 --- a/src/xournal.h +++ b/src/xournal.h @@ -24,6 +24,14 @@ #define MRU_SIZE 8 #define CONFIG_FILE "config" +// version string for about box + +#ifdef WIN32 +#define VERSION_STRING VERSION "-win32" +#else +#define VERSION_STRING VERSION +#endif + // DATA STRUCTURES AND CONSTANTS #define PIXEL_MOTION_THRESHOLD 0.3 @@ -244,6 +252,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 + gboolean saved_is_corestroke; GdkDevice *stroke_device; // who's painting this stroke int screen_width, screen_height; // initial screen size, for XInput events double hand_refpt[2]; @@ -282,6 +291,7 @@ typedef struct UIData { gboolean shorten_menus; // shorten menus ? gchar *shorten_menu_items; // which items to hide gboolean is_sel_cursor; // displaying a selection-related cursor + gint pre_fullscreen_width, pre_fullscreen_height; // for win32 fullscreen #if GTK_CHECK_VERSION(2,10,0) GtkPrintSettings *print_settings; #endif