diff options
author | Ole Loots <ole@monochrom.net> | 2012-03-14 22:06:07 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-03-14 22:06:07 +0000 |
commit | b9092d6271469e8491ac6bd71991de61353afc4e (patch) | |
tree | db535e55906f5569acdc3d9be86b79188f1076c9 /atari/plot/plotter_gd.h | |
parent | c0b0dbd373b3aaf6fa48594f05c5752be9519fbb (diff) | |
download | netsurf-b9092d6271469e8491ac6bd71991de61353afc4e.tar.gz netsurf-b9092d6271469e8491ac6bd71991de61353afc4e.tar.bz2 |
Restructured the plotter driver struct and declared misc functions static within the vdi driver.
svn path=/trunk/netsurf/; revision=13519
Diffstat (limited to 'atari/plot/plotter_gd.h')
-rw-r--r-- | atari/plot/plotter_gd.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/atari/plot/plotter_gd.h b/atari/plot/plotter_gd.h index da223a565..b449997d8 100644 --- a/atari/plot/plotter_gd.h +++ b/atari/plot/plotter_gd.h @@ -23,15 +23,17 @@ #include <gd.h>
#include "plotter.h" -struct s_gd_priv_data {
-
+struct s_gd_priv_data { + gdImagePtr vbuf; + int origin_x; + int origin_y;
};
/* this is an shortcut cast to access the members of the s_gd_priv_data */
-#define THIS(instance) ((struct s_gd_priv_data*)self->priv_data)
+#define THIS(instance) ((struct s_gd_priv_data*)instance->priv_data)
/* Each driver object must export 1 it's own constructor: */
-int ctor_plotter_gd( GEM_PLOTTER p );
+int ctor_plotter_gd( GEM_PLOTTER p, GRECT * loc_size );
#endif
#endif |