Update raylib_api.* by CI

This commit is contained in:
github-actions[bot] 2024-08-19 07:58:05 +00:00
commit 99452d6b06

View file

@ -1416,6 +1416,11 @@ return {
value = 2,
description = "Set to run program in fullscreen"
},
{
name = "FLAG_MANAGE_PREEDIT_CANDIDATE",
value = 131072,
description = "Set to manage the drawing of preedit candidates by the application side"
},
{
name = "FLAG_WINDOW_RESIZABLE",
value = 4,
@ -3066,6 +3071,30 @@ return {
{type = "char *", name = "text"}
}
},
{
name = "PreeditCallback",
description = "",
returnType = "void",
params = {
{type = "int", name = "preeditLength"},
{type = "int *", name = "preeditString"},
{type = "int", name = "blockCount"},
{type = "int *", name = "blockSizes"},
{type = "int", name = "focusedBlock"},
{type = "int", name = "caret"}
}
},
{
name = "PreeditCandidateCallback",
description = "",
returnType = "void",
params = {
{type = "int", name = "candidatesCount"},
{type = "int", name = "selectedIndex"},
{type = "int", name = "pageStart"},
{type = "int", name = "pageSize"}
}
},
{
name = "AudioCallback",
description = "",
@ -4274,6 +4303,71 @@ return {
{type = "int", name = "key"}
}
},
{
name = "SetPreeditCallback",
description = "Set a callback for preedit",
returnType = "void",
params = {
{type = "PreeditCallback", name = "callback"}
}
},
{
name = "SetPreeditCursorRectangle",
description = "Set the preedit cursor area that is used to decide the position of the candidate window",
returnType = "void",
params = {
{type = "int", name = "x"},
{type = "int", name = "y"},
{type = "int", name = "w"},
{type = "int", name = "h"}
}
},
{
name = "GetPreeditCursorRectangle",
description = "Get the preedit cursor area",
returnType = "void",
params = {
{type = "int *", name = "x"},
{type = "int *", name = "y"},
{type = "int *", name = "w"},
{type = "int *", name = "h"}
}
},
{
name = "IsImeOn",
description = "Check if IME is ON",
returnType = "bool"
},
{
name = "SetImeStatus",
description = "Set IME status",
returnType = "void",
params = {
{type = "bool", name = "on"}
}
},
{
name = "ResetPreedit",
description = "Reset preedit text",
returnType = "void"
},
{
name = "SetPreeditCandidateCallback",
description = "Set a callback for preedit candidates",
returnType = "void",
params = {
{type = "PreeditCandidateCallback", name = "callback"}
}
},
{
name = "GetPreeditCandidate",
description = "Get the text of the preedie candidate. This can be used only when `FLAG_MANAGE_PREEDIT_CANDIDATE` ConfigFlag is enabled on Win32int *",
returnType = "int *",
params = {
{type = "int", name = "index"},
{type = "int *", name = "textCount"}
}
},
{
name = "IsGamepadAvailable",
description = "Check if a gamepad is available",