Unix/Linux Go Back    

OpenSolaris 2009.06 - man page for sdl_wm_seticon (opensolaris section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

SDL_WM_SetIcon(3)			SDL API Reference			SDL_WM_SetIcon(3)

       SDL_WM_SetIcon - Sets the icon for the display window.

       #include "SDL.h"

       void SDL_WM_SetIcon(SDL_Surface *icon, Uint8 *mask);

       Sets the icon for the display window. Win32 icons must be 32x32.

       This function must be called before the first call to SDL_SetVideoMode.

       It takes an icon surface, and a mask in MSB format.

       If mask is NULL, the entire icon surface will be used as the icon.

       SDL_WM_SetIcon(SDL_LoadBMP("icon.bmp"), NULL);

       SDL_SetVideoMode, SDL_WM_SetCaption

SDL				      Tue 11 Sep 2001, 23:02			SDL_WM_SetIcon(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 02:45 PM.