mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 09:48:26 +00:00
include: More documentation updates.
This commit is contained in:
parent
46b69af5a3
commit
0e0bb22f79
4 changed files with 50 additions and 15 deletions
|
@ -83,17 +83,27 @@ typedef enum SDL_TimeFormat
|
|||
SDL_TIME_FORMAT_12HR = 1 /**< 12 hour time */
|
||||
} SDL_TimeFormat;
|
||||
|
||||
/*
|
||||
* Global date/time properties.
|
||||
/* Global date/time properties. */
|
||||
|
||||
/**
|
||||
* The SDL_DateFormat to use as the preferred date display format for the current system locale.
|
||||
*
|
||||
* - `SDL_PROP_GLOBAL_SYSTEM_DATE_FORMAT_NUMBER`: the SDL_DateFormat to use as the preferred date display format
|
||||
* for the current system locale.
|
||||
* - `SDL_PROP_GLOBAL_SYSTEM_TIME_FORMAT_NUMBER`: the SDL_TimeFormat to use as the preferred time display format
|
||||
* for the current system locale.
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
*
|
||||
* \sa SDL_PROP_GLOBAL_SYSTEM_TIME_FORMAT_NUMBER
|
||||
*/
|
||||
#define SDL_PROP_GLOBAL_SYSTEM_DATE_FORMAT_NUMBER "SDL.time.date_format"
|
||||
|
||||
/**
|
||||
* The SDL_TimeFormat to use as the preferred time display format for the current system locale.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
*
|
||||
* \sa SDL_PROP_GLOBAL_SYSTEM_DATE_FORMAT_NUMBER
|
||||
*/
|
||||
#define SDL_PROP_GLOBAL_SYSTEM_TIME_FORMAT_NUMBER "SDL.time.time_format"
|
||||
|
||||
|
||||
/**
|
||||
* Gets the current value of the system realtime clock in nanoseconds since
|
||||
* Jan 1, 1970 in Universal Coordinated Time (UTC).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue