X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fdisplay%2Fsp-canvas.h;h=86522870a19cc321b118fdaeb009cf8bb7697a6d;hb=39545253380bd8b2c238534401ee50b414ada5cc;hp=905c9272f8538d9557a50647ac7ab2b4e53cad23;hpb=6b15695578f07a3f72c4c9475c1a261a3021472a;p=inkscape.git diff --git a/src/display/sp-canvas.h b/src/display/sp-canvas.h index 905c9272f..86522870a 100644 --- a/src/display/sp-canvas.h +++ b/src/display/sp-canvas.h @@ -15,7 +15,18 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#ifdef HAVE_INTTYPES_H +# include +#else +# ifdef HAVE_STDINT_H +# include +# endif +#endif + #include #include #include @@ -150,6 +161,14 @@ struct SPCanvas { /* For use by internal pick_current_item() function */ unsigned int in_repick : 1; + // In most tools Inkscape only generates enter and leave events + // on the current item, but no other enter events if a mouse button + // is depressed -- see function pick_current_item(). Some tools + // may wish the canvas to generate to all enter events, (e.g., the + // connector tool). If so, they may temporarily set this flag to + // 'true'. + bool gen_all_enter_events; + int rendermode; NR::Rect getViewbox() const;