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 @@ -3558,6 +3558,12 @@ void SetPreeditWindowPosition(int x, int y)
3558
3558
glfwSetPreeditCursorPos (CORE .Window .handle , x , y , 0 );
3559
3559
}
3560
3560
3561
+ // Get a preedit window postion XY
3562
+ void GetPreeditWindowPosition (int * x , int * y )
3563
+ {
3564
+ glfwGetPreeditCursorPos (CORE .Window .handle , x , y , NULL );
3565
+ }
3566
+
3561
3567
// Set a custom key to exit program
3562
3568
// NOTE: default exitKey is ESCAPE
3563
3569
void SetExitKey (int key )
You can’t perform that action at this time.
0 commit comments