|
Atrinik Client 2.5
|
#include <global.h>Go to the source code of this file.
Functions | |
| int | video_get_bpp () |
| int | video_set_size () |
| uint32 | get_video_flags () |
| int | video_fullscreen_toggle (SDL_Surface **surface, uint32 *flags) |
Video-related code.
Definition in file video.c.
| uint32 get_video_flags | ( | ) |
| int video_fullscreen_toggle | ( | SDL_Surface ** | surface, |
| uint32 * | flags | ||
| ) |
Attempt to flip the video surface to fullscreen or windowed mode.
Attempts to maintain the surface's state, but makes no guarantee that pointers (i.e., the surface's pixels field) will be the same after this call.
| surface | Pointer to surface ptr to toggle. May be different pointer on return. May be NULL on return due to failure. |
| flags | Pointer to flags to set on surface. The value pointed to will be XOR'd with SDL_FULLSCREEN before use. Actual flags set will be filled into pointer. Contents are undefined on failure. Can be NULL, in which case the surface's current flags are used. |
| int video_get_bpp | ( | ) |
| int video_set_size | ( | ) |
Sets the screen surface to a new size, after updating Screensize.
1.7.4