summaryrefslogtreecommitdiffstats
path: root/src/ganv-private.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-11 20:53:30 +0000
committerDavid Robillard <d@drobilla.net>2014-01-11 20:53:30 +0000
commitafdb578607526ca82cf03ec04cb4f410f11692c1 (patch)
treeb5cbce762b65e89a0cde5a815bd870b0fb87e298 /src/ganv-private.h
parent438d2c4aadd439b995af75a4b6589e32adf3fbb4 (diff)
downloadganv-afdb578607526ca82cf03ec04cb4f410f11692c1.tar.gz
ganv-afdb578607526ca82cf03ec04cb4f410f11692c1.tar.bz2
ganv-afdb578607526ca82cf03ec04cb4f410f11692c1.zip
Make some functions private.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5301 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ganv-private.h')
-rw-r--r--src/ganv-private.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ganv-private.h b/src/ganv-private.h
index d70f00c..227c46b 100644
--- a/src/ganv-private.h
+++ b/src/ganv-private.h
@@ -22,8 +22,9 @@ extern "C" {
#include <cairo.h>
-#include "ganv/types.h"
+#include "ganv/canvas-base.h"
#include "ganv/text.h"
+#include "ganv/types.h"
extern guint signal_moved;
@@ -217,6 +218,13 @@ ganv_canvas_base_request_update(GanvCanvasBase* canvas);
int
ganv_canvas_base_emit_event(GanvCanvasBase* canvas, GdkEvent* event);
+/* For use only by item type implementations. Request that the canvas
+ * eventually redraw the specified region, specified in canvas pixel
+ * coordinates. The region contains (x1, y1) but not (x2, y2).
+ */
+void
+ganv_canvas_base_request_redraw(GanvCanvasBase* canvas,
+ int x1, int y1, int x2, int y2);
/* Edge */