diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-10-20 23:31:32 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-10-20 23:31:32 +0000 |
commit | 963c3766d55c38c35d322099fe30b674e1d31c69 (patch) | |
tree | 6c9e550ce26a6818e3fe2759ea701e15d9c14e04 /gtk/gtk_plotters.c | |
parent | 33d905ce7f95d1962586c76e5ac2288bb6a302c7 (diff) | |
download | netsurf-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 'gtk/gtk_plotters.c')
-rw-r--r-- | gtk/gtk_plotters.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gtk/gtk_plotters.c b/gtk/gtk_plotters.c index 86ba56fa9..3af8033a1 100644 --- a/gtk/gtk_plotters.c +++ b/gtk/gtk_plotters.c @@ -38,9 +38,12 @@ static bool nsgtk_plot_bitmap(int x, int y, int width, int height, static bool nsgtk_plot_bitmap_tile(int x, int y, int width, int height,
struct bitmap *bitmap, colour bg,
bool repeat_x, bool repeat_y);
+static bool nsgtk_plot_group_start(const char *name);
+static bool nsgtk_plot_group_end(void);
static void nsgtk_set_colour(colour c);
+
struct plotter_table plot;
const struct plotter_table nsgtk_plotters = {
@@ -53,7 +56,9 @@ const struct plotter_table nsgtk_plotters = { nsgtk_plot_text,
nsgtk_plot_disc,
nsgtk_plot_bitmap,
- nsgtk_plot_bitmap_tile
+ nsgtk_plot_bitmap_tile,
+ nsgtk_plot_group_start,
+ nsgtk_plot_group_end
};
@@ -194,6 +199,15 @@ bool nsgtk_plot_bitmap_tile(int x, int y, int width, int height, return true;
}
+bool nsgtk_plot_group_start(const char *name)
+{
+ return true;
+}
+
+bool nsgtk_plot_group_end(void)
+{
+ return true;
+}
void nsgtk_set_colour(colour c)
{
|