working on xpm support

This commit is contained in:
2023-04-05 01:11:49 +02:00
parent c85c12bfaf
commit 27000b6163
10 changed files with 110 additions and 82 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 16:56:35 by maldavid #+# #+# */
/* Updated: 2023/04/04 13:43:42 by maldavid ### ########.fr */
/* Updated: 2023/04/04 20:30:48 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -42,8 +42,11 @@ int mlx_destroy_image(void* mlx, void* img);
void* mlx_png_file_to_image(void* mlx, char* filename, int* width, int* height);
void* mlx_jpg_file_to_image(void* mlx, char* filename, int* width, int* height);
void* mlx_bmp_file_to_image(void* mlx, char* filename, int* width, int* height);
void* mlx_xpm_file_to_image(void* mlx, char* filename, int* width, int* height);
void* mlx_xpm_to_image(void* mlx, char** xpm_data, int* width, int* height);
#ifndef MLX_NO_XPM
void* mlx_xpm_file_to_image(void* mlx, char* filename, int* width, int* height);
void* mlx_xpm_to_image(void* mlx, char** xpm_data, int* width, int* height);
#endif
int mlx_clear_window(void* mlx, void* win);