summaryrefslogtreecommitdiff
path: root/riscos/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/draw.h')
-rw-r--r--riscos/draw.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/riscos/draw.h b/riscos/draw.h
index f7a014844..a0843202a 100644
--- a/riscos/draw.h
+++ b/riscos/draw.h
@@ -24,23 +24,17 @@
#define _NETSURF_RISCOS_DRAW_H_
#include "utils/config.h"
-#ifdef WITH_DRAW
+#include "utils/errors.h"
-#include <stdbool.h>
+#ifdef WITH_DRAW
-struct content;
-struct rect;
+nserror draw_init(void);
+void draw_fini(void);
-struct content_draw_data {
- int x0, y0;
-};
+#else
-bool draw_convert(struct content *c);
-void draw_destroy(struct content *c);
-bool draw_redraw(struct content *c, int x, int y,
- int width, int height, const struct rect *clip,
- float scale, colour background_colour);
-bool draw_clone(const struct content *old, struct content *new_content);
+#define draw_init() NSERROR_OK
+#define draw_fini() ((void) 0)
#endif /* WITH_DRAW */