diff options
Diffstat (limited to 'atari/plot/plot.c')
-rwxr-xr-x | atari/plot/plot.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/atari/plot/plot.c b/atari/plot/plot.c index e0d52a422..81c97c18b 100755 --- a/atari/plot/plot.c +++ b/atari/plot/plot.c @@ -154,7 +154,7 @@ static HermesFormat vfmt; /* netsurf source bitmap format */ static HermesFormat nsfmt; -static struct s_vdi_sysinfo vdi_sysinfo; +struct s_vdi_sysinfo vdi_sysinfo; /* bit depth of framebuffers: */ static int atari_plot_bpp_virt; static struct s_view view; @@ -1900,6 +1900,16 @@ bool plot_set_dimensions(int x, int y, int w, int h) return(true); } +bool plot_get_dimensions(GRECT *dst) +{ + + dst->g_x = view.x; + dst->g_y = view.y; + dst->g_w = view.w; + dst->g_h = view.h; + return(true); +} + bool plot_clip(const struct rect *clip) { // FIXME: consider the canvas size |