Penguin
Note: You are viewing an old revision of this page. View the current version.

SDL_WM_SetIcon?

SDL_WM_SetIcon?

NAME SYNOPSIS DESCRIPTION EXAMPLE SEE ALSO


NAME

SDL_WM_SetIcon?- Sets the icon for the display window.

SYNOPSIS

#include

void SDL_WM_SetIcon?(__SDL_Surface *icon, Uint8

  • mask__);

DESCRIPTION

Sets the icon for the display window.

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.

EXAMPLE

SDL_WM_SetIcon?(SDL_LoadBMP(

SEE ALSO

SDL_SetVideoMode?, SDL_WM_SetCaption?


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.