Add API: ResetPreedit
This is for GLFW3: glfwResetPreeditText
This commit is contained in:
parent
d004c665d0
commit
c2286f2804
|
|
@ -632,6 +632,12 @@ void SetImeStatus(bool on)
|
||||||
TRACELOG(LOG_WARNING, "SetImeStatus() not implemented on target platform");
|
TRACELOG(LOG_WARNING, "SetImeStatus() not implemented on target platform");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reset preedit text
|
||||||
|
void ResetPreedit(void)
|
||||||
|
{
|
||||||
|
TRACELOG(LOG_WARNING, "ResetPreedit() not implemented on target platform");
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1069,6 +1069,12 @@ void SetImeStatus(bool on)
|
||||||
else glfwSetInputMode(platform.handle, GLFW_IME, GLFW_FALSE);
|
else glfwSetInputMode(platform.handle, GLFW_IME, GLFW_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reset preedit text
|
||||||
|
void ResetPreedit(void)
|
||||||
|
{
|
||||||
|
glfwResetPreeditText(platform.handle);
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -953,6 +953,12 @@ void SetImeStatus(bool on)
|
||||||
TRACELOG(LOG_WARNING, "SetImeStatus() not implemented on target platform");
|
TRACELOG(LOG_WARNING, "SetImeStatus() not implemented on target platform");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reset preedit text
|
||||||
|
void ResetPreedit(void)
|
||||||
|
{
|
||||||
|
TRACELOG(LOG_WARNING, "ResetPreedit() not implemented on target platform");
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -628,6 +628,12 @@ void SetImeStatus(bool on)
|
||||||
TRACELOG(LOG_WARNING, "SetImeStatus() not implemented on target platform");
|
TRACELOG(LOG_WARNING, "SetImeStatus() not implemented on target platform");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reset preedit text
|
||||||
|
void ResetPreedit(void)
|
||||||
|
{
|
||||||
|
TRACELOG(LOG_WARNING, "ResetPreedit() not implemented on target platform");
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -390,6 +390,12 @@ void SetImeStatus(bool on)
|
||||||
TRACELOG(LOG_WARNING, "SetImeStatus() not implemented on target platform");
|
TRACELOG(LOG_WARNING, "SetImeStatus() not implemented on target platform");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reset preedit text
|
||||||
|
void ResetPreedit(void)
|
||||||
|
{
|
||||||
|
TRACELOG(LOG_WARNING, "ResetPreedit() not implemented on target platform");
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -875,6 +875,12 @@ void SetImeStatus(bool on)
|
||||||
else glfwSetInputMode(platform.handle, GLFW_IME, GLFW_FALSE);
|
else glfwSetInputMode(platform.handle, GLFW_IME, GLFW_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reset preedit text
|
||||||
|
void ResetPreedit(void)
|
||||||
|
{
|
||||||
|
glfwResetPreeditText(platform.handle);
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1175,6 +1175,7 @@ RLAPI void SetPreeditCursorRectangle(int x, int y, int w, int h); // Set the pre
|
||||||
RLAPI void GetPreeditCursorRectangle(int *x, int *y, int *w, int *h); // Get the preedit cursor area
|
RLAPI void GetPreeditCursorRectangle(int *x, int *y, int *w, int *h); // Get the preedit cursor area
|
||||||
RLAPI bool IsImeOn(void); // Check if IME is ON
|
RLAPI bool IsImeOn(void); // Check if IME is ON
|
||||||
RLAPI void SetImeStatus(bool on); // Set IME status
|
RLAPI void SetImeStatus(bool on); // Set IME status
|
||||||
|
RLAPI void ResetPreedit(void); // Reset preedit text
|
||||||
|
|
||||||
// Input-related functions: gamepads
|
// Input-related functions: gamepads
|
||||||
RLAPI bool IsGamepadAvailable(int gamepad); // Check if a gamepad is available
|
RLAPI bool IsGamepadAvailable(int gamepad); // Check if a gamepad is available
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user