add function Get_image_mode()

just as there is Set_image_mode()
This commit is contained in:
Thomas Bernard
2019-11-29 01:03:45 +01:00
parent f8c06cd575
commit 4fa256398c
4 changed files with 13 additions and 1 deletions

View File

@@ -229,6 +229,8 @@ void Set_frame_duration(T_IO_Context *context, int duration);
int Get_frame_duration(T_IO_Context *context);
/// Function to set a specific image mode
void Set_image_mode(T_IO_Context *context, enum IMAGE_MODES mode);
/// get the current image mode
enum IMAGE_MODES Get_image_mode(T_IO_Context *context);
// =================================================================
// What follows here are the definitions of functions and data