Add API: GetPreeditCursorRectangle
This is for GLFW3: glfwGetPreeditCursorRectangle
This commit is contained in:
parent
b63d0eb162
commit
6c7e13e1b0
|
|
@ -613,6 +613,12 @@ void SetPreeditCursorRectangle(int x, int y, int w, int h)
|
||||||
TRACELOG(LOG_WARNING, "SetPreeditCursorRectangle() not implemented on target platform");
|
TRACELOG(LOG_WARNING, "SetPreeditCursorRectangle() not implemented on target platform");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get the preedit cursor area
|
||||||
|
void GetPreeditCursorRectangle(int *x, int *y, int *w, int *h)
|
||||||
|
{
|
||||||
|
TRACELOG(LOG_WARNING, "GetPreeditCursorRectangle() not implemented on target platform");
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1049,6 +1049,12 @@ void SetPreeditCursorRectangle(int x, int y, int w, int h)
|
||||||
glfwSetPreeditCursorRectangle(platform.handle, x, y, w, h);
|
glfwSetPreeditCursorRectangle(platform.handle, x, y, w, h);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get the preedit cursor area
|
||||||
|
void GetPreeditCursorRectangle(int *x, int *y, int *w, int *h)
|
||||||
|
{
|
||||||
|
glfwGetPreeditCursorRectangle(platform.handle, x, y, w, h);
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -934,6 +934,12 @@ void SetPreeditCursorRectangle(int x, int y, int w, int h)
|
||||||
TRACELOG(LOG_WARNING, "SetPreeditCursorRectangle() not implemented on target platform");
|
TRACELOG(LOG_WARNING, "SetPreeditCursorRectangle() not implemented on target platform");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get the preedit cursor area
|
||||||
|
void GetPreeditCursorRectangle(int *x, int *y, int *w, int *h)
|
||||||
|
{
|
||||||
|
TRACELOG(LOG_WARNING, "GetPreeditCursorRectangle() not implemented on target platform");
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -609,6 +609,12 @@ void SetPreeditCursorRectangle(int x, int y, int w, int h)
|
||||||
TRACELOG(LOG_WARNING, "SetPreeditCursorRectangle() not implemented on target platform");
|
TRACELOG(LOG_WARNING, "SetPreeditCursorRectangle() not implemented on target platform");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get the preedit cursor area
|
||||||
|
void GetPreeditCursorRectangle(int *x, int *y, int *w, int *h)
|
||||||
|
{
|
||||||
|
TRACELOG(LOG_WARNING, "GetPreeditCursorRectangle() not implemented on target platform");
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -371,6 +371,12 @@ void SetPreeditCursorRectangle(int x, int y, int w, int h)
|
||||||
TRACELOG(LOG_WARNING, "SetPreeditCursorRectangle() not implemented on target platform");
|
TRACELOG(LOG_WARNING, "SetPreeditCursorRectangle() not implemented on target platform");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get the preedit cursor area
|
||||||
|
void GetPreeditCursorRectangle(int *x, int *y, int *w, int *h)
|
||||||
|
{
|
||||||
|
TRACELOG(LOG_WARNING, "GetPreeditCursorRectangle() not implemented on target platform");
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -855,6 +855,12 @@ void SetPreeditCursorRectangle(int x, int y, int w, int h)
|
||||||
glfwSetPreeditCursorRectangle(platform.handle, x, y, w, h);
|
glfwSetPreeditCursorRectangle(platform.handle, x, y, w, h);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get the preedit cursor area
|
||||||
|
void GetPreeditCursorRectangle(int *x, int *y, int *w, int *h)
|
||||||
|
{
|
||||||
|
glfwGetPreeditCursorRectangle(platform.handle, x, y, w, h);
|
||||||
|
}
|
||||||
|
|
||||||
// Set internal gamepad mappings
|
// Set internal gamepad mappings
|
||||||
int SetGamepadMappings(const char *mappings)
|
int SetGamepadMappings(const char *mappings)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1172,6 +1172,7 @@ RLAPI int GetCharPressed(void); // Get char presse
|
||||||
RLAPI void SetExitKey(int key); // Set a custom key to exit program (default is ESC)
|
RLAPI void SetExitKey(int key); // Set a custom key to exit program (default is ESC)
|
||||||
RLAPI void SetPreeditCallback(PreeditCallback callback); // Set a callback for preedit
|
RLAPI void SetPreeditCallback(PreeditCallback callback); // Set a callback for preedit
|
||||||
RLAPI void SetPreeditCursorRectangle(int x, int y, int w, int h); // Set the preedit cursor area that is used to decide the position of the candidate window
|
RLAPI void SetPreeditCursorRectangle(int x, int y, int w, int h); // Set the preedit cursor area that is used to decide the position of the candidate window
|
||||||
|
RLAPI void GetPreeditCursorRectangle(int *x, int *y, int *w, int *h); // Get the preedit cursor area
|
||||||
|
|
||||||
// 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