diff options
Diffstat (limited to 'apps/plugins/lib/pluginlib_bmp.h')
| -rw-r--r-- | apps/plugins/lib/pluginlib_bmp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/lib/pluginlib_bmp.h b/apps/plugins/lib/pluginlib_bmp.h index 17844a8..be0cfd9 100644 --- a/apps/plugins/lib/pluginlib_bmp.h +++ b/apps/plugins/lib/pluginlib_bmp.h @@ -37,10 +37,19 @@ int save_bmp_file( char* filename, struct bitmap *bm ); */ void simple_resize_bitmap(struct bitmap *src, struct bitmap *dst); +#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) +/** + Same as simple_resize_bitmap except this is for use with greylib. +*/ +void grey_resize_bitmap(struct bitmap *src, struct bitmap *dst); +#endif + +#ifdef HAVE_LCD_COLOR /** Advanced image scale from src to dst (bilinear) based on imlib2. Source and destination dimensions are read from the struct bitmap. */ void smooth_resize_bitmap(struct bitmap *src, struct bitmap *dst); +#endif #endif |