mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-30 02:03:14 +03:00
expose function to get current screen palette-mapped status
This commit is contained in:
parent
9fac1daff4
commit
391d483c9d
@ -986,3 +986,8 @@ bool ami_path(const float *p, unsigned int n, colour fill, float width,
|
|||||||
#endif
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool ami_plot_screen_is_palettemapped(void)
|
||||||
|
{
|
||||||
|
return palette_mapped;
|
||||||
|
}
|
||||||
|
@ -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_free_layers(struct gui_globals *gg);
|
||||||
void ami_clearclipreg(struct gui_globals *gg);
|
void ami_clearclipreg(struct gui_globals *gg);
|
||||||
void ami_plot_release_pens(struct MinList *shared_pens);
|
void ami_plot_release_pens(struct MinList *shared_pens);
|
||||||
|
bool ami_plot_screen_is_palettemapped(void);
|
||||||
|
|
||||||
struct gui_globals *glob;
|
struct gui_globals *glob;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user