Mercurial > sdl-ios-xcode
comparison docs/man3/SDL_SetVideoMode.3 @ 55:55f1f1b3e27d
Added new docs for SDL 1.2.1
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Sun, 10 Jun 2001 19:31:57 +0000 |
parents | 74212992fb08 |
children | e5bc29de3f0a |
comparison
equal
deleted
inserted
replaced
54:028447a8a758 | 55:55f1f1b3e27d |
---|---|
1 .TH "SDL_SetVideoMode" "3" "Mon 12 Mar 2001, 01:04" "SDL" "SDL API Reference" | 1 .TH "SDL_SetVideoMode" "3" "Sun 10 Jun 2001, 19:42" "SDL" "SDL API Reference" |
2 .SH "NAME" | 2 .SH "NAME" |
3 SDL_SetVideoMode\- Set up a video mode with the specified width, height and bits-per-pixel\&. | 3 SDL_SetVideoMode\- Set up a video mode with the specified width, height and bits-per-pixel\&. |
4 .SH "SYNOPSIS" | 4 .SH "SYNOPSIS" |
5 .PP | 5 .PP |
6 \fB#include "SDL\&.h" | 6 \fB#include "SDL\&.h" |
28 .TP 20 | 28 .TP 20 |
29 \fBSDL_HWPALETTE\fP | 29 \fBSDL_HWPALETTE\fP |
30 Give SDL exclusive palette access\&. Without this flag you may not always get the the colors you request with \fI\fBSDL_SetColors\fP\fR\&. | 30 Give SDL exclusive palette access\&. Without this flag you may not always get the the colors you request with \fI\fBSDL_SetColors\fP\fR\&. |
31 .TP 20 | 31 .TP 20 |
32 \fBSDL_DOUBLEBUF\fP | 32 \fBSDL_DOUBLEBUF\fP |
33 Enable double buffering\&. Calling \fI\fBSDL_Flip\fP\fR will flip the buffers and update the screen\&. If double buffering could not be enabled then \fBSDL_Flip\fP will just perform a \fI\fBSDL_UpdateRect\fP\fR on the entire screen\&. | 33 Enable double buffering; only valid with SDL_HWSURFACE\&. Calling \fI\fBSDL_Flip\fP\fR will flip the buffers and update the screen\&. If double buffering could not be enabled then \fBSDL_Flip\fP will just perform a \fI\fBSDL_UpdateRect\fP\fR on the entire screen\&. |
34 .TP 20 | 34 .TP 20 |
35 \fBSDL_FULLSCREEN\fP | 35 \fBSDL_FULLSCREEN\fP |
36 SDL will attempt to use a fullscreen mode | 36 SDL will attempt to use a fullscreen mode |
37 .TP 20 | 37 .TP 20 |
38 \fBSDL_OPENGL\fP | 38 \fBSDL_OPENGL\fP |
56 .PP | 56 .PP |
57 The framebuffer surface, or \fBNULL\fR if it fails\&. | 57 The framebuffer surface, or \fBNULL\fR if it fails\&. |
58 .SH "SEE ALSO" | 58 .SH "SEE ALSO" |
59 .PP | 59 .PP |
60 \fI\fBSDL_LockSurface\fP\fR, \fI\fBSDL_SetColors\fP\fR, \fI\fBSDL_Flip\fP\fR, \fI\fBSDL_Surface\fR\fR | 60 \fI\fBSDL_LockSurface\fP\fR, \fI\fBSDL_SetColors\fP\fR, \fI\fBSDL_Flip\fP\fR, \fI\fBSDL_Surface\fR\fR |
61 ...\" created by instant / docbook-to-man, Mon 12 Mar 2001, 01:04 | 61 ...\" created by instant / docbook-to-man, Sun 10 Jun 2001, 19:42 |