include/SDL_surface.h
changeset 3024 1a08749aebce
parent 2901 133601e3b255
child 3026 69ab1117dd3b
--- a/include/SDL_surface.h	Sun Jan 11 23:49:23 2009 +0000
+++ b/include/SDL_surface.h	Sun Jan 11 23:56:19 2009 +0000
@@ -157,6 +157,12 @@
 extern DECLSPEC SDL_Surface *SDLCALL SDL_LoadBMP_RW(SDL_RWops * src,
                                                     int freesrc);
 
+/* 
+ * Load Icon best quality icon from ICO file and return as RGBA surface 
+ */
+extern DECLSPEC SDL_Surface *SDLCALL SDL_LoadICO_RW(SDL_RWops * src,
+                                                    int freesrc);
+
 /* Convenience macro -- load a surface from a file */
 #define SDL_LoadBMP(file)	SDL_LoadBMP_RW(SDL_RWFromFile(file, "rb"), 1)