equal
deleted
inserted
replaced
401 /** |
401 /** |
402 * \fn int SDL_SelectVideoDisplay(int index) |
402 * \fn int SDL_SelectVideoDisplay(int index) |
403 * |
403 * |
404 * \brief Set the index of the currently selected display. |
404 * \brief Set the index of the currently selected display. |
405 * |
405 * |
|
406 * \return 0 on success, or -1 if the index is out of range. |
|
407 * |
|
408 * \sa SDL_GetNumVideoDisplays() |
|
409 * \sa SDL_GetCurrentVideoDisplay() |
|
410 */ |
|
411 extern DECLSPEC int SDLCALL SDL_SelectVideoDisplay(int index); |
|
412 |
|
413 /** |
|
414 * \fn int SDL_GetCurrentVideoDisplay(void) |
|
415 * |
|
416 * \brief Get the index of the currently selected display. |
|
417 * |
406 * \return The index of the currently selected display. |
418 * \return The index of the currently selected display. |
407 * |
419 * |
408 * \note You can query the currently selected display by passing an index of -1. |
|
409 * |
|
410 * \sa SDL_GetNumVideoDisplays() |
420 * \sa SDL_GetNumVideoDisplays() |
411 */ |
421 * \sa SDL_SelectVideoDisplay() |
412 extern DECLSPEC int SDLCALL SDL_SelectVideoDisplay(int index); |
422 */ |
|
423 extern DECLSPEC int SDLCALL SDL_GetCurrentVideoDisplay(void); |
413 |
424 |
414 /** |
425 /** |
415 * \fn int SDL_GetNumDisplayModes(void) |
426 * \fn int SDL_GetNumDisplayModes(void) |
416 * |
427 * |
417 * \brief Returns the number of available display modes for the current display. |
428 * \brief Returns the number of available display modes for the current display. |