Renamed SDL_HINT_GDK_TEXTINPUT_DEFAULT to SDL_HINT_GDK_TEXTINPUT_DEFAULT_TEXT
parent
fd5d761128
commit
4f628b5b62
|
@ -3016,3 +3016,7 @@ typedef SDL_version, SDL_Version;
|
||||||
@@
|
@@
|
||||||
- SDL_HINT_DIRECTINPUT_ENABLED
|
- SDL_HINT_DIRECTINPUT_ENABLED
|
||||||
+ SDL_HINT_JOYSTICK_DIRECTINPUT
|
+ SDL_HINT_JOYSTICK_DIRECTINPUT
|
||||||
|
@@
|
||||||
|
@@
|
||||||
|
- SDL_HINT_GDK_TEXTINPUT_DEFAULT
|
||||||
|
+ SDL_HINT_GDK_TEXTINPUT_DEFAULT_TEXT
|
||||||
|
|
|
@ -727,6 +727,7 @@ The following hints have been removed:
|
||||||
The following hints have been renamed:
|
The following hints have been renamed:
|
||||||
* SDL_HINT_ALLOW_TOPMOST => SDL_HINT_WINDOW_ALLOW_TOPMOST
|
* SDL_HINT_ALLOW_TOPMOST => SDL_HINT_WINDOW_ALLOW_TOPMOST
|
||||||
* SDL_HINT_DIRECTINPUT_ENABLED => SDL_HINT_JOYSTICK_DIRECTINPUT
|
* SDL_HINT_DIRECTINPUT_ENABLED => SDL_HINT_JOYSTICK_DIRECTINPUT
|
||||||
|
* SDL_HINT_GDK_TEXTINPUT_DEFAULT => SDL_HINT_GDK_TEXTINPUT_DEFAULT_TEXT
|
||||||
|
|
||||||
## SDL_init.h
|
## SDL_init.h
|
||||||
|
|
||||||
|
|
|
@ -564,7 +564,7 @@ extern "C" {
|
||||||
*
|
*
|
||||||
* This hint should be set before calling SDL_StartTextInput()
|
* This hint should be set before calling SDL_StartTextInput()
|
||||||
*/
|
*/
|
||||||
#define SDL_HINT_GDK_TEXTINPUT_DEFAULT "SDL_GDK_TEXTINPUT_DEFAULT"
|
#define SDL_HINT_GDK_TEXTINPUT_DEFAULT_TEXT "SDL_GDK_TEXTINPUT_DEFAULT_TEXT"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This variable sets the description of the TextInput window on GDK platforms.
|
* This variable sets the description of the TextInput window on GDK platforms.
|
||||||
|
|
|
@ -282,6 +282,7 @@
|
||||||
/* ##SDL_hints.h */
|
/* ##SDL_hints.h */
|
||||||
#define SDL_HINT_ALLOW_TOPMOST SDL_HINT_WINDOW_ALLOW_TOPMOST
|
#define SDL_HINT_ALLOW_TOPMOST SDL_HINT_WINDOW_ALLOW_TOPMOST
|
||||||
#define SDL_HINT_DIRECTINPUT_ENABLED SDL_HINT_JOYSTICK_DIRECTINPUT
|
#define SDL_HINT_DIRECTINPUT_ENABLED SDL_HINT_JOYSTICK_DIRECTINPUT
|
||||||
|
#define SDL_HINT_GDK_TEXTINPUT_DEFAULT SDL_HINT_GDK_TEXTINPUT_DEFAULT_TEXT
|
||||||
|
|
||||||
/* ##SDL_joystick.h */
|
/* ##SDL_joystick.h */
|
||||||
#define SDL_JOYSTICK_TYPE_GAMECONTROLLER SDL_JOYSTICK_TYPE_GAMEPAD
|
#define SDL_JOYSTICK_TYPE_GAMECONTROLLER SDL_JOYSTICK_TYPE_GAMEPAD
|
||||||
|
@ -758,6 +759,7 @@
|
||||||
/* ##SDL_hints.h */
|
/* ##SDL_hints.h */
|
||||||
#define SDL_HINT_ALLOW_TOPMOST SDL_HINT_ALLOW_TOPMOST_renamed_SDL_HINT_WINDOW_ALLOW_TOPMOST
|
#define SDL_HINT_ALLOW_TOPMOST SDL_HINT_ALLOW_TOPMOST_renamed_SDL_HINT_WINDOW_ALLOW_TOPMOST
|
||||||
#define SDL_HINT_DIRECTINPUT_ENABLED SDL_HINT_DIRECTINPUT_ENABLED_renamed_SDL_HINT_JOYSTICK_DIRECTINPUT
|
#define SDL_HINT_DIRECTINPUT_ENABLED SDL_HINT_DIRECTINPUT_ENABLED_renamed_SDL_HINT_JOYSTICK_DIRECTINPUT
|
||||||
|
#define SDL_HINT_GDK_TEXTINPUT_DEFAULT SDL_HINT_GDK_TEXTINPUT_DEFAULT_renamed_SDL_HINT_GDK_TEXTINPUT_DEFAULT_TEXT
|
||||||
|
|
||||||
/* ##SDL_joystick.h */
|
/* ##SDL_joystick.h */
|
||||||
#define SDL_JOYSTICK_TYPE_GAMECONTROLLER SDL_JOYSTICK_TYPE_GAMECONTROLLER_renamed_SDL_JOYSTICK_TYPE_GAMEPAD
|
#define SDL_JOYSTICK_TYPE_GAMECONTROLLER SDL_JOYSTICK_TYPE_GAMECONTROLLER_renamed_SDL_JOYSTICK_TYPE_GAMEPAD
|
||||||
|
|
|
@ -163,7 +163,7 @@ void GDK_EnsureHints(void)
|
||||||
GDK_InternalHintCallback,
|
GDK_InternalHintCallback,
|
||||||
&g_DescriptionText);
|
&g_DescriptionText);
|
||||||
SDL_AddHintCallback(
|
SDL_AddHintCallback(
|
||||||
SDL_HINT_GDK_TEXTINPUT_DEFAULT,
|
SDL_HINT_GDK_TEXTINPUT_DEFAULT_TEXT,
|
||||||
GDK_InternalHintCallback,
|
GDK_InternalHintCallback,
|
||||||
&g_DefaultText);
|
&g_DefaultText);
|
||||||
SDL_AddHintCallback(
|
SDL_AddHintCallback(
|
||||||
|
|
Loading…
Reference in New Issue