SDL_WM_SetIcon.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_WM_SetIcon" "3" "Tue 11 Sep 2001, 23:02" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_WM_SetIcon- Sets the icon for the display window&.
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBvoid fBSDL_WM_SetIconfPfR(fBSDL_Surface *icon, Uint8 *maskfR);
- .SH "DESCRIPTION"
- .PP
- Sets the icon for the display window&. Win32 icons must be 32x32&.
- .PP
- This function must be called before the first call to fISDL_SetVideoModefR&.
- .PP
- It takes an fBiconfR surface, and a fBmaskfR in MSB format&.
- .PP
- If fBmaskfR is fBNULLfP, the entire icon surface will be used as the icon&.
- .SH "EXAMPLE"
- .PP
- .nf
- f(CWSDL_WM_SetIcon(SDL_LoadBMP("icon&.bmp"), NULL);fR
- .fi
- .PP
- .SH "SEE ALSO"
- .PP
- fIfBSDL_SetVideoModefPfR, fIfBSDL_WM_SetCaptionfPfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 23:02