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 @@ -1110,6 +1110,7 @@ RLAPI void SetExitKey(int key); // Set a custom ke
1110
1110
RLAPI int GetKeyPressed (void ); // Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty
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
+ RLAPI void SetPreeditWindowPosition (int x , int y ); // Set a preedit window postion XY
1113
1114
1114
1115
// Input-related functions: gamepads
1115
1116
RLAPI bool IsGamepadAvailable (int gamepad ); // Check if a gamepad is available
Original file line number Diff line number Diff line change @@ -3554,6 +3554,12 @@ void SetPreeditCallback(PreeditCallback callback)
3554
3554
CORE .Input .Keyboard .preeditCallback = callback ;
3555
3555
}
3556
3556
3557
+ // Set a preedit window postion XY
3558
+ void SetPreeditWindowPosition (int x , int y )
3559
+ {
3560
+ glfwSetPreeditCursorPos (CORE .Window .handle , x , y , 0 );
3561
+ }
3562
+
3557
3563
// Set a custom key to exit program
3558
3564
// NOTE: default exitKey is ESCAPE
3559
3565
void SetExitKey (int key )
You can’t perform that action at this time.
0 commit comments