Update raylib_api.* by CI

This commit is contained in:
github-actions[bot] 2024-08-19 07:58:05 +00:00
parent b44c05d734
commit 99452d6b06
4 changed files with 784 additions and 417 deletions

View File

@ -1416,6 +1416,11 @@
"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,
@ -3099,6 +3104,60 @@
}
]
},
{
"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": "",
@ -4811,6 +4870,110 @@
}
]
},
{
"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",

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",

File diff suppressed because it is too large Load Diff

View File

@ -302,9 +302,10 @@
<Alias type="Camera" name="Camera3D" desc="Camera type fallback, defaults to Camera3D" />
</Aliases>
<Enums count="21">
<Enum name="ConfigFlags" valueCount="16" desc="System/Window config flags">
<Enum name="ConfigFlags" valueCount="17" desc="System/Window config flags">
<Value name="FLAG_VSYNC_HINT" integer="64" desc="Set to try enabling V-Sync on GPU" />
<Value name="FLAG_FULLSCREEN_MODE" integer="2" desc="Set to run program in fullscreen" />
<Value name="FLAG_MANAGE_PREEDIT_CANDIDATE" integer="131072" desc="Set to manage the drawing of preedit candidates by the application side" />
<Value name="FLAG_WINDOW_RESIZABLE" integer="4" desc="Set to allow resizable window" />
<Value name="FLAG_WINDOW_UNDECORATED" integer="8" desc="Set to disable window decoration (frame and buttons)" />
<Value name="FLAG_WINDOW_HIDDEN" integer="128" desc="Set to hide window" />
@ -643,7 +644,7 @@
<Value name="NPATCH_THREE_PATCH_HORIZONTAL" integer="2" desc="Npatch layout: 3x1 tiles" />
</Enum>
</Enums>
<Callbacks count="6">
<Callbacks count="8">
<Callback name="TraceLogCallback" retType="void" paramCount="3" desc="Logging: Redirect trace log messages">
<Param type="int" name="logLevel" desc="" />
<Param type="const char *" name="text" desc="" />
@ -665,12 +666,26 @@
<Param type="const char *" name="fileName" desc="" />
<Param type="char *" name="text" desc="" />
</Callback>
<Callback name="PreeditCallback" retType="void" paramCount="6" desc="">
<Param type="int" name="preeditLength" desc="" />
<Param type="int *" name="preeditString" desc="" />
<Param type="int" name="blockCount" desc="" />
<Param type="int *" name="blockSizes" desc="" />
<Param type="int" name="focusedBlock" desc="" />
<Param type="int" name="caret" desc="" />
</Callback>
<Callback name="PreeditCandidateCallback" retType="void" paramCount="4" desc="">
<Param type="int" name="candidatesCount" desc="" />
<Param type="int" name="selectedIndex" desc="" />
<Param type="int" name="pageStart" desc="" />
<Param type="int" name="pageSize" desc="" />
</Callback>
<Callback name="AudioCallback" retType="void" paramCount="2" desc="">
<Param type="void *" name="bufferData" desc="" />
<Param type="unsigned int" name="frames" desc="" />
</Callback>
</Callbacks>
<Functions count="573">
<Functions count="581">
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
<Param type="int" name="width" desc="" />
<Param type="int" name="height" desc="" />
@ -1163,6 +1178,35 @@
<Function name="SetExitKey" retType="void" paramCount="1" desc="Set a custom key to exit program (default is ESC)">
<Param type="int" name="key" desc="" />
</Function>
<Function name="SetPreeditCallback" retType="void" paramCount="1" desc="Set a callback for preedit">
<Param type="PreeditCallback" name="callback" desc="" />
</Function>
<Function name="SetPreeditCursorRectangle" retType="void" paramCount="4" desc="Set the preedit cursor area that is used to decide the position of the candidate window">
<Param type="int" name="x" desc="" />
<Param type="int" name="y" desc="" />
<Param type="int" name="w" desc="" />
<Param type="int" name="h" desc="" />
</Function>
<Function name="GetPreeditCursorRectangle" retType="void" paramCount="4" desc="Get the preedit cursor area">
<Param type="int *" name="x" desc="" />
<Param type="int *" name="y" desc="" />
<Param type="int *" name="w" desc="" />
<Param type="int *" name="h" desc="" />
</Function>
<Function name="IsImeOn" retType="bool" paramCount="0" desc="Check if IME is ON">
</Function>
<Function name="SetImeStatus" retType="void" paramCount="1" desc="Set IME status">
<Param type="bool" name="on" desc="" />
</Function>
<Function name="ResetPreedit" retType="void" paramCount="0" desc="Reset preedit text">
</Function>
<Function name="SetPreeditCandidateCallback" retType="void" paramCount="1" desc="Set a callback for preedit candidates">
<Param type="PreeditCandidateCallback" name="callback" desc="" />
</Function>
<Function name="GetPreeditCandidate" retType="int *" paramCount="2" desc="Get the text of the preedie candidate. This can be used only when `FLAG_MANAGE_PREEDIT_CANDIDATE` ConfigFlag is enabled on Win32int *">
<Param type="int" name="index" desc="" />
<Param type="int *" name="textCount" desc="" />
</Function>
<Function name="IsGamepadAvailable" retType="bool" paramCount="1" desc="Check if a gamepad is available">
<Param type="int" name="gamepad" desc="" />
</Function>