expose function to get current screen palette-mapped status

This commit is contained in:
Chris Young 2012-08-07 21:03:42 +01:00
parent 9fac1daff4
commit 391d483c9d
2 changed files with 6 additions and 0 deletions

View File

@ -986,3 +986,8 @@ bool ami_path(const float *p, unsigned int n, colour fill, float width,
#endif
return true;
}
bool ami_plot_screen_is_palettemapped(void)
{
return palette_mapped;
}

View File

@ -65,6 +65,7 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height);
void ami_free_layers(struct gui_globals *gg);
void ami_clearclipreg(struct gui_globals *gg);
void ami_plot_release_pens(struct MinList *shared_pens);
bool ami_plot_screen_is_palettemapped(void);
struct gui_globals *glob;
#endif