SDL_EnableUNICODE.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_EnableUNICODE" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_EnableUNICODE- Enable UNICODE translation
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBint fBSDL_EnableUNICODEfPfR(fBint enablefR);
- .SH "DESCRIPTION"
- .PP
- Enables/Disables Unicode keyboard translation&.
- .PP
- To obtain the character codes corresponding to received keyboard events, Unicode translation must first be turned on using this function&. The translation incurs a slight overhead for each keyboard event and is therefore disabled by default&. For each subsequently received key down event, the fBunicodefR member of the fIfBSDL_keysymfRfR structure will then contain the corresponding character code, or zero for keysyms that do not correspond to any character code&.
- .PP
- A value of 1 for fBenablefR enables Unicode translation; 0 disables it, and -1 leaves it unchanged (useful for querying the current translation mode)&.
- .PP
- Note that only key press events will be translated, not release events&.
- .SH "RETURN VALUE"
- .PP
- Returns the previous translation mode (fB0fR or fB1fR)&.
- .SH "SEE ALSO"
- .PP
- fIfBSDL_keysymfRfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59