Solaris  - SDL_WM_SetIcon (3)

NAME

SDL_WM_SetIcon- Sets the icon for the display window.

CONTENTS

SYNOPSIS

#include "SDL.h"

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

advertisement

advertisement


DESCRIPTION

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.

EXAMPLE

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

SEE ALSO

SDL_SetVideoMode, SDL_WM_SetCaption

Jump to page    or go to Top of page |  Section 3 |  OpenSolaris Man Main Index.


SDL SDL_WM_SetIcon (3) Tue 11 Sep 2001, 23:02
Generated by OpenSolaris Forum from /usr/share/man/man3/SDL_WM_SetIcon.3 using man macros.