index 905c9272f8538d9557a50647ac7ab2b4e53cad23..34ed87ac9198722ba9fc53795e4fd253b9c7d36a 100644 (file)
--- a/src/display/sp-canvas.h
+++ b/src/display/sp-canvas.h
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include <stdint.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#else
+# ifdef HAVE_STDINT_H
+# include <stdint.h>
+# endif
+#endif
+
#include <glib/gtypes.h>
#include <gdk/gdkevents.h>
#include <gdk/gdkgc.h>
guchar *buf;
int buf_rowstride;
NRRectL rect;
+ NRRectL visible_rect;
/// Background color, given as 0xrrggbb
guint32 bg_color;
// If empty, ignore contents of buffer and use a solid area of bg_color
/* 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;