File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1111,6 +1111,7 @@ RLAPI int GetKeyPressed(void); // Get key pressed
1111
1111
RLAPI int GetCharPressed (void ); // Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
1112
1112
RLAPI void SetPreeditCallback (PreeditCallback callback ); // Set a callback for preedit
1113
1113
RLAPI void SetPreeditWindowPosition (int x , int y ); // Set a preedit window postion XY
1114
+ RLAPI void GetPreeditWindowPosition (int * x , int * y ); // Get a preedit window postion XY
1114
1115
1115
1116
// Input-related functions: gamepads
1116
1117
RLAPI bool IsGamepadAvailable (int gamepad ); // Check if a gamepad is available
Original file line number Diff line number Diff line change @@ -3560,6 +3560,12 @@ void SetPreeditWindowPosition(int x, int y)
3560
3560
glfwSetPreeditCursorPos (CORE .Window .handle , x , y , 0 );
3561
3561
}
3562
3562
3563
+ // Get a preedit window postion XY
3564
+ void GetPreeditWindowPosition (int * x , int * y )
3565
+ {
3566
+ glfwGetPreeditCursorPos (CORE .Window .handle , x , y , NULL );
3567
+ }
3568
+
3563
3569
// Set a custom key to exit program
3564
3570
// NOTE: default exitKey is ESCAPE
3565
3571
void SetExitKey (int key )
You can’t perform that action at this time.
0 commit comments