comparison include/SDL_video.h @ 3522:fa1abe1ff8b8

Added related functions
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Dec 2009 04:39:59 +0000
parents 4b594623401b
children d38acda781ae
comparison
equal deleted inserted replaced
3521:76f9b76ddf0f 3522:fa1abe1ff8b8
433 * 433 *
434 * \param mode The mode to use, or NULL for the default mode. 434 * \param mode The mode to use, or NULL for the default mode.
435 * 435 *
436 * \return 0 on success, or -1 if setting the display mode failed. 436 * \return 0 on success, or -1 if setting the display mode failed.
437 * 437 *
438 * \sa SDL_GetWindowDisplayMode()
438 * \sa SDL_SetWindowFullscreen() 439 * \sa SDL_SetWindowFullscreen()
439 */ 440 */
440 extern DECLSPEC int SDLCALL SDL_SetWindowDisplayMode(SDL_WindowID windowID, 441 extern DECLSPEC int SDLCALL SDL_SetWindowDisplayMode(SDL_WindowID windowID,
441 const SDL_DisplayMode 442 const SDL_DisplayMode
442 * mode); 443 * mode);
443 444
444 /** 445 /**
445 * \brief Fill in information about the display mode used when a fullscreen 446 * \brief Fill in information about the display mode used when a fullscreen
446 * window is visible on the currently selected display. 447 * window is visible on the currently selected display.
448 *
449 * \sa SDL_SetWindowDisplayMode()
450 * \sa SDL_SetWindowFullscreen()
447 */ 451 */
448 extern DECLSPEC int SDLCALL SDL_GetWindowDisplayMode(SDL_WindowID windowID, 452 extern DECLSPEC int SDLCALL SDL_GetWindowDisplayMode(SDL_WindowID windowID,
449 SDL_DisplayMode * mode); 453 SDL_DisplayMode * mode);
450 454
451 /** 455 /**
681 /** 685 /**
682 * \brief Set the window's fullscreen state. 686 * \brief Set the window's fullscreen state.
683 * 687 *
684 * \return 0 on success, or -1 if setting the display mode failed. 688 * \return 0 on success, or -1 if setting the display mode failed.
685 * 689 *
686 * \sa SDL_WindowDisplayMode() 690 * \sa SDL_SetWindowDisplayMode()
691 * \sa SDL_GetWindowDisplayMode()
687 */ 692 */
688 extern DECLSPEC int SDLCALL SDL_SetWindowFullscreen(SDL_WindowID windowID, 693 extern DECLSPEC int SDLCALL SDL_SetWindowFullscreen(SDL_WindowID windowID,
689 int fullscreen); 694 int fullscreen);
690 695
691 /** 696 /**