summaryrefslogtreecommitdiffstats
path: root/src/ganv-private.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-11 22:35:56 +0000
committerDavid Robillard <d@drobilla.net>2014-01-11 22:35:56 +0000
commit2c07b0df01c7b8ca9e9d5ea1730b09ca3cf801de (patch)
treee1a58dd99261b26be3bfbe8090afe3f0e78784b6 /src/ganv-private.h
parentafdb578607526ca82cf03ec04cb4f410f11692c1 (diff)
downloadganv-2c07b0df01c7b8ca9e9d5ea1730b09ca3cf801de.tar.gz
ganv-2c07b0df01c7b8ca9e9d5ea1730b09ca3cf801de.tar.bz2
ganv-2c07b0df01c7b8ca9e9d5ea1730b09ca3cf801de.zip
Merge GanvCanvasBase and GanvCanvas.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5302 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ganv-private.h')
-rw-r--r--src/ganv-private.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/ganv-private.h b/src/ganv-private.h
index 227c46b..368e056 100644
--- a/src/ganv-private.h
+++ b/src/ganv-private.h
@@ -22,7 +22,7 @@ extern "C" {
#include <cairo.h>
-#include "ganv/canvas-base.h"
+#include "ganv/canvas.h"
#include "ganv/text.h"
#include "ganv/types.h"
@@ -210,21 +210,19 @@ ganv_item_invoke_update(GanvItem* item, int flags);
void
ganv_item_emit_event(GanvItem* item, GdkEvent* event, gint* finished);
-/* CanvasBase */
-
void
-ganv_canvas_base_request_update(GanvCanvasBase* canvas);
+ganv_canvas_request_update(GanvCanvas* canvas);
int
-ganv_canvas_base_emit_event(GanvCanvasBase* canvas, GdkEvent* event);
+ganv_canvas_emit_event(GanvCanvas* 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);
+ganv_canvas_request_redraw(GanvCanvas* canvas,
+ int x1, int y1, int x2, int y2);
/* Edge */
@@ -232,7 +230,7 @@ void
ganv_edge_get_coords(const GanvEdge* edge, GanvEdgeCoords* coords);
void
-ganv_edge_request_redraw(GanvCanvasBase* canvas,
+ganv_edge_request_redraw(GanvCanvas* canvas,
const GanvEdgeCoords* coords);
/* Box */