include/SDL_video.h
changeset 6787 95a4c5a5464c
parent 6786 7174fb08017a
child 6788 036f53f2f5aa
equal deleted inserted replaced
6786:7174fb08017a 6787:95a4c5a5464c
   268  *  \sa SDL_GetDisplayBounds()
   268  *  \sa SDL_GetDisplayBounds()
   269  */
   269  */
   270 extern DECLSPEC int SDLCALL SDL_GetNumVideoDisplays(void);
   270 extern DECLSPEC int SDLCALL SDL_GetNumVideoDisplays(void);
   271 
   271 
   272 /**
   272 /**
       
   273  *  \brief Get the name of a display in UTF-8 encoding
       
   274  *  
       
   275  *  \return The name of a display, or NULL for an invalid display index.
       
   276  *  
       
   277  *  \sa SDL_GetNumVideoDisplays()
       
   278  */
       
   279 extern DECLSPEC const char * SDLCALL SDL_GetDisplayName(int displayIndex);
       
   280 
       
   281 /**
   273  *  \brief Get the desktop area represented by a display, with the primary
   282  *  \brief Get the desktop area represented by a display, with the primary
   274  *         display located at 0,0
   283  *         display located at 0,0
   275  *  
   284  *  
   276  *  \return 0 on success, or -1 if the index is out of range.
   285  *  \return 0 on success, or -1 if the index is out of range.
   277  *  
   286  *