Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 163 additions & 0 deletions parser/output/raylib_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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": "",
Expand Down Expand Up @@ -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",
Expand Down
94 changes: 94 additions & 0 deletions parser/output/raylib_api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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 = "",
Expand Down Expand Up @@ -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",
Expand Down
Loading