Files
Mikemon/libs/dcimgui/backends/dcimgui_impl_glfw.json
2026-07-03 10:14:10 +02:00

1129 lines
39 KiB
JSON

{
"defines": [],
"enums": [],
"typedefs": [
{
"name": "ImDrawIdx",
"type": {
"declaration": "unsigned short",
"description": {
"kind": "Builtin",
"builtin_type": "unsigned_short"
}
},
"comments": {
"attached": "// Default: 16-bit (for maximum compatibility with renderer backends)"
},
"conditionals": [
{
"condition": "ifndef",
"expression": "ImDrawIdx"
}
],
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h"
}
}
],
"structs": [
{
"name": "GLFWwindow",
"original_fully_qualified_name": "GLFWwindow",
"kind": "struct",
"by_value": false,
"forward_declaration": true,
"is_anonymous": false,
"fields": [],
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 31
}
},
{
"name": "GLFWmonitor",
"original_fully_qualified_name": "GLFWmonitor",
"kind": "struct",
"by_value": false,
"forward_declaration": true,
"is_anonymous": false,
"fields": [],
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 32
}
},
{
"name": "ImDrawData",
"original_fully_qualified_name": "ImDrawData",
"kind": "struct",
"by_value": false,
"forward_declaration": true,
"is_anonymous": false,
"fields": [],
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 1
}
}
],
"functions": [
{
"name": "cImGui_ImplGlfw_InitForOpenGL",
"original_fully_qualified_name": "ImGui_ImplGlfw_InitForOpenGL",
"return_type": {
"declaration": "bool",
"description": {
"kind": "Builtin",
"builtin_type": "bool"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "install_callbacks",
"type": {
"declaration": "bool",
"description": {
"kind": "Builtin",
"builtin_type": "bool"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"comments": {
"preceding": [
"// Follow \"Getting Started\" link and check examples/ folder to learn about using backends!"
]
},
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 35
}
},
{
"name": "cImGui_ImplGlfw_InitForVulkan",
"original_fully_qualified_name": "ImGui_ImplGlfw_InitForVulkan",
"return_type": {
"declaration": "bool",
"description": {
"kind": "Builtin",
"builtin_type": "bool"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "install_callbacks",
"type": {
"declaration": "bool",
"description": {
"kind": "Builtin",
"builtin_type": "bool"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 36
}
},
{
"name": "cImGui_ImplGlfw_InitForOther",
"original_fully_qualified_name": "ImGui_ImplGlfw_InitForOther",
"return_type": {
"declaration": "bool",
"description": {
"kind": "Builtin",
"builtin_type": "bool"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "install_callbacks",
"type": {
"declaration": "bool",
"description": {
"kind": "Builtin",
"builtin_type": "bool"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 37
}
},
{
"name": "cImGui_ImplGlfw_Shutdown",
"original_fully_qualified_name": "ImGui_ImplGlfw_Shutdown",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 38
}
},
{
"name": "cImGui_ImplGlfw_NewFrame",
"original_fully_qualified_name": "ImGui_ImplGlfw_NewFrame",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 39
}
},
{
"name": "cImGui_ImplGlfw_InstallEmscriptenCallbacks",
"original_fully_qualified_name": "ImGui_ImplGlfw_InstallEmscriptenCallbacks",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "canvas_selector",
"type": {
"declaration": "const char*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "Builtin",
"builtin_type": "char",
"storage_classes": [
"const"
]
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"conditionals": [
{
"condition": "ifdef",
"expression": "__EMSCRIPTEN__"
}
],
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 43
}
},
{
"name": "cImGui_ImplGlfw_InstallCallbacks",
"original_fully_qualified_name": "ImGui_ImplGlfw_InstallCallbacks",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"comments": {
"preceding": [
"// GLFW callbacks install",
"// - When calling Init with 'install_callbacks=true': ImGui_ImplGlfw_InstallCallbacks() is called. GLFW callbacks will be installed for you. They will chain-call user's previously installed callbacks, if any.",
"// - When calling Init with 'install_callbacks=false': GLFW callbacks won't be installed. You will need to call individual function yourself from your own GLFW callbacks."
]
},
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 50
}
},
{
"name": "cImGui_ImplGlfw_RestoreCallbacks",
"original_fully_qualified_name": "ImGui_ImplGlfw_RestoreCallbacks",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 51
}
},
{
"name": "cImGui_ImplGlfw_SetCallbacksChainForAllWindows",
"original_fully_qualified_name": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "chain_for_all_windows",
"type": {
"declaration": "bool",
"description": {
"kind": "Builtin",
"builtin_type": "bool"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"comments": {
"preceding": [
"// GLFW callbacks options:",
"// - Set 'chain_for_all_windows=true' to enable chaining callbacks for all windows (including secondary viewports created by backends or by user)"
]
},
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 55
}
},
{
"name": "cImGui_ImplGlfw_WindowFocusCallback",
"original_fully_qualified_name": "ImGui_ImplGlfw_WindowFocusCallback",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "focused",
"type": {
"declaration": "int",
"description": {
"kind": "Builtin",
"builtin_type": "int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"comments": {
"preceding": [
"// GLFW callbacks (individual callbacks to call yourself if you didn't install callbacks)"
],
"attached": "// Since 1.84"
},
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 58
}
},
{
"name": "cImGui_ImplGlfw_CursorEnterCallback",
"original_fully_qualified_name": "ImGui_ImplGlfw_CursorEnterCallback",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "entered",
"type": {
"declaration": "int",
"description": {
"kind": "Builtin",
"builtin_type": "int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"comments": {
"attached": "// Since 1.84"
},
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 59
}
},
{
"name": "cImGui_ImplGlfw_CursorPosCallback",
"original_fully_qualified_name": "ImGui_ImplGlfw_CursorPosCallback",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "x",
"type": {
"declaration": "double",
"description": {
"kind": "Builtin",
"builtin_type": "double"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "y",
"type": {
"declaration": "double",
"description": {
"kind": "Builtin",
"builtin_type": "double"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"comments": {
"attached": "// Since 1.87"
},
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 60
}
},
{
"name": "cImGui_ImplGlfw_MouseButtonCallback",
"original_fully_qualified_name": "ImGui_ImplGlfw_MouseButtonCallback",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "button",
"type": {
"declaration": "int",
"description": {
"kind": "Builtin",
"builtin_type": "int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "action",
"type": {
"declaration": "int",
"description": {
"kind": "Builtin",
"builtin_type": "int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "mods",
"type": {
"declaration": "int",
"description": {
"kind": "Builtin",
"builtin_type": "int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 61
}
},
{
"name": "cImGui_ImplGlfw_ScrollCallback",
"original_fully_qualified_name": "ImGui_ImplGlfw_ScrollCallback",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "xoffset",
"type": {
"declaration": "double",
"description": {
"kind": "Builtin",
"builtin_type": "double"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "yoffset",
"type": {
"declaration": "double",
"description": {
"kind": "Builtin",
"builtin_type": "double"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 62
}
},
{
"name": "cImGui_ImplGlfw_KeyCallback",
"original_fully_qualified_name": "ImGui_ImplGlfw_KeyCallback",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "key",
"type": {
"declaration": "int",
"description": {
"kind": "Builtin",
"builtin_type": "int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "scancode",
"type": {
"declaration": "int",
"description": {
"kind": "Builtin",
"builtin_type": "int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "action",
"type": {
"declaration": "int",
"description": {
"kind": "Builtin",
"builtin_type": "int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "mods",
"type": {
"declaration": "int",
"description": {
"kind": "Builtin",
"builtin_type": "int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 63
}
},
{
"name": "cImGui_ImplGlfw_CharCallback",
"original_fully_qualified_name": "ImGui_ImplGlfw_CharCallback",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "c",
"type": {
"declaration": "unsigned int",
"description": {
"kind": "Builtin",
"builtin_type": "unsigned_int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 64
}
},
{
"name": "cImGui_ImplGlfw_MonitorCallback",
"original_fully_qualified_name": "ImGui_ImplGlfw_MonitorCallback",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "monitor",
"type": {
"declaration": "GLFWmonitor*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWmonitor"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
},
{
"name": "event",
"type": {
"declaration": "int",
"description": {
"kind": "Builtin",
"builtin_type": "int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 65
}
},
{
"name": "cImGui_ImplGlfw_Sleep",
"original_fully_qualified_name": "ImGui_ImplGlfw_Sleep",
"return_type": {
"declaration": "void",
"description": {
"kind": "Builtin",
"builtin_type": "void"
}
},
"arguments": [
{
"name": "milliseconds",
"type": {
"declaration": "int",
"description": {
"kind": "Builtin",
"builtin_type": "int"
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"comments": {
"preceding": [
"// GLFW helpers"
]
},
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 68
}
},
{
"name": "cImGui_ImplGlfw_GetContentScaleForWindow",
"original_fully_qualified_name": "ImGui_ImplGlfw_GetContentScaleForWindow",
"return_type": {
"declaration": "float",
"description": {
"kind": "Builtin",
"builtin_type": "float"
}
},
"arguments": [
{
"name": "window",
"type": {
"declaration": "GLFWwindow*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWwindow"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 69
}
},
{
"name": "cImGui_ImplGlfw_GetContentScaleForMonitor",
"original_fully_qualified_name": "ImGui_ImplGlfw_GetContentScaleForMonitor",
"return_type": {
"declaration": "float",
"description": {
"kind": "Builtin",
"builtin_type": "float"
}
},
"arguments": [
{
"name": "monitor",
"type": {
"declaration": "GLFWmonitor*",
"description": {
"kind": "Pointer",
"inner_type": {
"kind": "User",
"name": "GLFWmonitor"
}
}
},
"is_array": false,
"is_varargs": false,
"is_instance_pointer": false
}
],
"is_default_argument_helper": false,
"is_manual_helper": false,
"is_imstr_helper": false,
"has_imstr_helper": false,
"is_unformatted_helper": false,
"is_static": false,
"is_internal": false,
"source_location": {
"filename": "imgui_impl_glfw.h",
"line": 70
}
}
]
}