Header Ads Widget

[MAN] SDL_WM_SetIcon

Content-type: text/html; charset=UTF-8 Man page of SDL_WM_SetIcon

SDL_WM_SetIcon

Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 23:02
Index Return to Main Contents
 

NAME

SDL_WM_SetIcon - Sets the icon for the display window.  

SYNOPSIS

#include "SDL.h"

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

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:45:52 GMT, September 16, 2022

댓글 쓰기

0 댓글