summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-10-20 23:31:32 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-10-20 23:31:32 +0000
commit963c3766d55c38c35d322099fe30b674e1d31c69 (patch)
tree6c9e550ce26a6818e3fe2759ea701e15d9c14e04 /riscos
parent33d905ce7f95d1962586c76e5ac2288bb6a302c7 (diff)
downloadnetsurf-963c3766d55c38c35d322099fe30b674e1d31c69.tar.gz
netsurf-963c3766d55c38c35d322099fe30b674e1d31c69.tar.bz2
[project @ 2004-10-20 23:31:31 by jmb]
Reimplement draw groups svn path=/import/netsurf/; revision=1332
Diffstat (limited to 'riscos')
-rw-r--r--riscos/plotters.c15
-rw-r--r--riscos/save_draw.c4
2 files changed, 17 insertions, 2 deletions
diff --git a/riscos/plotters.c b/riscos/plotters.c
index d12d50568..982fe7b15 100644
--- a/riscos/plotters.c
+++ b/riscos/plotters.c
@@ -37,6 +37,8 @@ static bool ro_plot_bitmap(int x, int y, int width, int height,
static bool ro_plot_bitmap_tile(int x, int y, int width, int height,
struct bitmap *bitmap, colour bg,
bool repeat_x, bool repeat_y);
+static bool ro_plot_group_start(const char *name);
+static bool ro_plot_group_end(void);
struct plotter_table plot;
@@ -51,7 +53,9 @@ const struct plotter_table ro_plotters = {
ro_plot_text,
ro_plot_disc,
ro_plot_bitmap,
- ro_plot_bitmap_tile
+ ro_plot_bitmap_tile,
+ ro_plot_group_start,
+ ro_plot_group_end
};
int ro_plot_origin_x = 0;
@@ -376,6 +380,15 @@ bool ro_plot_bitmap_tile(int x, int y, int width, int height,
IMAGE_PLOT_TINCT_ALPHA);
}
+bool ro_plot_group_start(const char *name)
+{
+ return true;
+}
+
+bool ro_plot_group_end(void)
+{
+ return true;
+}
/**
* Set the scale for subsequent text plotting.
diff --git a/riscos/save_draw.c b/riscos/save_draw.c
index a7bd22688..bda37d4d7 100644
--- a/riscos/save_draw.c
+++ b/riscos/save_draw.c
@@ -109,7 +109,9 @@ const struct plotter_table draw_plotters = {
draw_plot_text,
draw_plot_disc,
draw_plot_bitmap,
- draw_plot_bitmap_tile
+ draw_plot_bitmap_tile,
+ drawbuf_group_begin,
+ drawbuf_group_end
};
static int draw_plot_origin_y = 0; /* plot origin, in browser units */