mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 23:07:45 +08:00
Added documentation for SDL_DisplayID and SDL_WindowID for consistency.
This commit is contained in:
@@ -41,8 +41,25 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is a unique ID for a display for the time it is connected to the
|
||||||
|
* system, and is never reused for the lifetime of the application.
|
||||||
|
*
|
||||||
|
* If the display is disconnected and reconnected, it will get a new ID.
|
||||||
|
*
|
||||||
|
* The value 0 is an invalid ID.
|
||||||
|
*
|
||||||
|
* \since This datatype is available since SDL 3.0.0.
|
||||||
|
*/
|
||||||
typedef Uint32 SDL_DisplayID;
|
typedef Uint32 SDL_DisplayID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is a unique ID for a window.
|
||||||
|
*
|
||||||
|
* The value 0 is an invalid ID.
|
||||||
|
*
|
||||||
|
* \since This datatype is available since SDL 3.0.0.
|
||||||
|
*/
|
||||||
typedef Uint32 SDL_WindowID;
|
typedef Uint32 SDL_WindowID;
|
||||||
|
|
||||||
/* Global video properties... */
|
/* Global video properties... */
|
||||||
|
|||||||
Reference in New Issue
Block a user