diff options
Diffstat (limited to 'kernel/include/ksquirrel-libs/fmt_utils.h')
-rw-r--r-- | kernel/include/ksquirrel-libs/fmt_utils.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kernel/include/ksquirrel-libs/fmt_utils.h b/kernel/include/ksquirrel-libs/fmt_utils.h index 1ab42e3..b320b08 100644 --- a/kernel/include/ksquirrel-libs/fmt_utils.h +++ b/kernel/include/ksquirrel-libs/fmt_utils.h @@ -39,26 +39,26 @@ struct RGBA; namespace fmt_utils { - void fillAlpha(RGBA *scan, int w, u8 value = 255); + void LIBKSQUIRREL_EXPORT fillAlpha(RGBA *scan, int w, u8 value = 255); // flip the image vertically // usually BMP, SGI (or some other formats) need to be flipped - void flipv(s8 *image, s32 bytes_w, s32 h); + void LIBKSQUIRREL_EXPORT flipv(s8 *image, s32 bytes_w, s32 h); // flip the image horizontally - void fliph(s8 *image, s32 w, s32 h, s32 bpp); + void LIBKSQUIRREL_EXPORT fliph(s8 *image, s32 w, s32 h, s32 bpp); // Big endian to Little endian conversion - u16 konvertWord(u16 a); - u32 konvertLong(u32 a); + u16 LIBKSQUIRREL_EXPORT konvertWord(u16 a); + u32 LIBKSQUIRREL_EXPORT konvertLong(u32 a); // return color system name by bpp. // for example 32 bpp means RGBA image, 1 bpp - monochrome - std::string colorSpaceByBpp(const s32 bpp); + std::string LIBKSQUIRREL_EXPORT colorSpaceByBpp(const s32 bpp); - void expandMono1Byte(const u32 byte, u8 *array); - void expandMono2Byte(const u32 byte, u8 *array); - void expandMono4Byte(const u32 byte, u8 *array); + void LIBKSQUIRREL_EXPORT expandMono1Byte(const u32 byte, u8 *array); + void LIBKSQUIRREL_EXPORT expandMono2Byte(const u32 byte, u8 *array); + void LIBKSQUIRREL_EXPORT expandMono4Byte(const u32 byte, u8 *array); } #endif |