From 746c4887b8d20a677250761e24873f419efa7567 Mon Sep 17 00:00:00 2001 From: SpaiR Date: Sun, 11 Aug 2024 11:29:58 +0300 Subject: [PATCH] build(generator): create AST tree with all includes and type definitions --- build.gradle | 22 +- .../tool/generator/ast/task/GenerateAst.kt | 235 +- .../api/ast/ast-ImGuiFileDialog.json | 996 +- .../generator/api/ast/ast-ImGuizmo.json | 171 +- .../generator/api/ast/ast-TextEditor.json | 951 +- .../generator/api/ast/ast-imgui.json | 2223 +- .../generator/api/ast/ast-imgui_internal.json | 36672 +++++++++++++--- .../api/ast/ast-imgui_node_editor.json | 935 +- .../generator/api/ast/ast-imnodes.json | 453 +- .../generator/api/ast/ast-implot.json | 1556 +- .../internal/flag/ImGuiDockNodeFlags.java | 14 +- 11 files changed, 33758 insertions(+), 10470 deletions(-) diff --git a/build.gradle b/build.gradle index 421e1d31..7b091cdc 100644 --- a/build.gradle +++ b/build.gradle @@ -52,18 +52,14 @@ tasks.register('buildAll') { t -> tasks.register('generateAst', GenerateAst) { headerFiles = [ - (file('include/imgui/imgui.h')): [], - (file('include/imgui/imgui_internal.h')): [ - "#define IMGUI_HAS_TABLE", - "#define IMGUI_HAS_VIEWPORT", - "#define IMGUI_HAS_DOCK", - ], - (file('include/ImGuiFileDialog/ImGuiFileDialog.h')): [], - (file('include/imgui-knobs/imgui-knobs.h')): [], - (file('include/imguizmo/ImGuizmo.h')): [], - (file('include/imnodes/imnodes.h')): [], - (file('include/implot/implot.h')): [], - (file('include/imgui-node-editor/imgui_node_editor.h')): [], - (file('include/ImGuiColorTextEdit/TextEditor.h')): [], + file('include/imgui/imgui.h'), + file('include/imgui/imgui_internal.h'), + file('include/ImGuiFileDialog/ImGuiFileDialog.h'), + file('include/imgui-knobs/imgui-knobs.h'), + file('include/imguizmo/ImGuizmo.h'), + file('include/imnodes/imnodes.h'), + file('include/implot/implot.h'), + file('include/imgui-node-editor/imgui_node_editor.h'), + file('include/ImGuiColorTextEdit/TextEditor.h'), ] } diff --git a/buildSrc/src/main/kotlin/tool/generator/ast/task/GenerateAst.kt b/buildSrc/src/main/kotlin/tool/generator/ast/task/GenerateAst.kt index 7b083c38..03d3c8f4 100644 --- a/buildSrc/src/main/kotlin/tool/generator/ast/task/GenerateAst.kt +++ b/buildSrc/src/main/kotlin/tool/generator/ast/task/GenerateAst.kt @@ -4,17 +4,15 @@ import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.databind.SerializationFeature -import com.fasterxml.jackson.databind.node.ObjectNode import com.lordcodes.turtle.shellRun import org.gradle.api.DefaultTask -import org.gradle.api.tasks.Input +import org.gradle.api.tasks.InputFiles import org.gradle.api.tasks.Internal import org.gradle.api.tasks.TaskAction import tool.generator.ast.* import java.io.File import java.math.BigInteger import java.security.MessageDigest -import java.util.* open class GenerateAst : DefaultTask() { @Internal @@ -23,23 +21,14 @@ open class GenerateAst : DefaultTask() { @Internal override fun getDescription() = "Generate AST tree for declared header files." - @Input - lateinit var headerFiles: Map> + @InputFiles + lateinit var headerFiles: Collection private val dstDir: File = File("${project.rootDir}/buildSrc/src/main/resources/${AstParser.RESOURCE_PATH}") - private val objectMapper: ObjectMapper = ObjectMapper() - /** - * During the parsing of ast-dump we need to access an initial header file content. - * Required for cases like: get the content of the file (comment or default param value) by offset pos in file. - */ - private var currentParsingHeaderContent: String = "" - - /** - * This is used only to log stuff properly. - */ - private var currentParsingIndent: Int = 0 + // Content of the currently parsed header file. Can be used during parsing to extract additional information. + private lateinit var currentParsingHeaderContent: String init { objectMapper.configure(SerializationFeature.INDENT_OUTPUT, true) @@ -57,20 +46,17 @@ open class GenerateAst : DefaultTask() { logger.info("Processing headers...") - headerFiles.forEach { (header, defines) -> + headerFiles.forEach { header -> System.gc() logger.info("| $header") - // Store the header content in the field, so we can access it when parsing. + // Read the header. currentParsingHeaderContent = header.readText() // Header hash content to create a unique path for generated content. val headerHash = md5Hash(currentParsingHeaderContent) - // Append additional defines if provided. - currentParsingHeaderContent = defines.joinToString("\n") + currentParsingHeaderContent - // We create a unique folder to store files generated for the header. // This is necessary because when we store all headers in the same directory, // their AST dump can overlap with each other. @@ -78,21 +64,16 @@ open class GenerateAst : DefaultTask() { mkdirs() } - // Move the header content to the temp file to make an ast-dump of it. - val headerName = header.nameWithoutExtension - val tmpHeaderFile = File("$astBuildDir/$headerName.h") - tmpHeaderFile.createNewFile() - tmpHeaderFile.writeText(currentParsingHeaderContent) - logger.info(" | Making an ast-dump...") // Destination for ast-dump. + val headerName = header.nameWithoutExtension val astBumpJson = File("$astBuildDir/$headerName.json") // Call clang++ with the script. // During the process of making an ast-dump there could be errors/warnings. // Thus making a call like that can help to ignore them. - callClangAstBump(scriptPath, tmpHeaderFile, astBumpJson) + callClangAstBump(scriptPath, header, astBumpJson) logger.info(" | Processing an ast-dump result: $astBumpJson...") @@ -103,36 +84,8 @@ open class GenerateAst : DefaultTask() { parseDeclNode0(topDecl)?.let(fullDeclsList::add) } - ////////////// - // After parsing the entire header file, we need to remove unnecessary information from it. - // So we pre-process the initial content and parse it again. - // This way, we can compare the initial result with the trimmed version - // to remove types and declarations that represent compiler information. - - - // Remove all includes and typedefs. - // They are not needed to process the AST, but they add extra information to the final dump. - // And since we want to have an ast-dump as minimal as possible we remove that information. - currentParsingHeaderContent = currentParsingHeaderContent - .replace("#include .*".toRegex(), "") - .replace("typedef .*".toRegex(), "") - - // Re-write with pre-processed content. - tmpHeaderFile.writeText(currentParsingHeaderContent) - - callClangAstBump(scriptPath, tmpHeaderFile, astBumpJson) - - // As its said - we do the parsing once again, but now the final result won't contain std types. - val strippedDeclsList = mutableListOf() - objectMapper.readTree(astBumpJson).get("inner").forEach { topDecl -> - parseDeclNode0(topDecl)?.let(strippedDeclsList::add) - } - - logger.info(" | Removing an ast-decls diff...") - val resultDeclsList = removeAstDiff(fullDeclsList, strippedDeclsList) - logger.info(" | Sorting an ast-decls...") - sortDecls0(resultDeclsList) + sortDecls0(fullDeclsList) /////////////// // In the end we write down the ast-decls result to the file. @@ -154,7 +107,7 @@ open class GenerateAst : DefaultTask() { command("git", listOf("rev-parse", "HEAD")) }, ), - decls = resultDeclsList + decls = fullDeclsList ) ) } @@ -162,11 +115,11 @@ open class GenerateAst : DefaultTask() { private fun parseDeclNode0(declNode: JsonNode): Decl? { fun logParsingDecl(name: String) { - logger.info(" ${" ".repeat(currentParsingIndent)}| Parsing $name...") + logger.info("| Parsing $name...") } fun logParsingInner(name: String) { - logger.info(" ${" ".repeat(currentParsingIndent)}| $name") + logger.info(" | $name") } fun JsonNode.hasNoName(): Boolean { @@ -188,7 +141,7 @@ open class GenerateAst : DefaultTask() { return loc.get("offset")?.asInt() ?: -1 } - fun JsonNode.getDefaultParamValue(): String { + fun JsonNode.getDefaultParamValue(): String? { fun getOffset(jsonNode: JsonNode): Pair { val loc = if (jsonNode.has("expansionLoc")) { jsonNode.get("expansionLoc") @@ -197,10 +150,31 @@ open class GenerateAst : DefaultTask() { } return loc.get("offset").asInt() to loc.get("tokLen").asInt() } - return get("inner").get(0).get("range").let { range -> + return findValue("inner").findValue("range").let { range -> val (beginOffset, _) = getOffset(range.get("begin")) val (endOffset, endTokLoc) = getOffset(range.get("end")) - currentParsingHeaderContent.substring(beginOffset, endOffset + endTokLoc) + if (endOffset + endTokLoc < currentParsingHeaderContent.length) { + currentParsingHeaderContent.substring(beginOffset, endOffset + endTokLoc) + } else { + null + } + } + } + + // Ignore declaration nodes with technical information. + // This information can be specific for the OS where the script was called. + declNode.findValue("name")?.asText()?.let { + if (it.startsWith("_") + || it.startsWith("operator") + || it.startsWith("rus") + || it.startsWith("sig") + || it.startsWith("proc_") + ) { + return null + } + when (it) { + "std", "timeval", "wait", "rlimit" -> return null + else -> null // do nothing } } @@ -221,11 +195,9 @@ open class GenerateAst : DefaultTask() { logParsingDecl("namespace $name") - currentParsingIndent++ declNode.get("inner").forEach { innerDecl -> parseDeclNode0(innerDecl)?.let(decls::add) } - currentParsingIndent-- return AstNamespaceDecl(offset, name, decls) } @@ -240,11 +212,9 @@ open class GenerateAst : DefaultTask() { logParsingDecl("full comment") - currentParsingIndent++ declNode.get("inner").forEach { innerDecl -> parseDeclNode0(innerDecl)?.let(decls::add) } - currentParsingIndent-- return AstFullComment(offset, decls) } @@ -259,11 +229,9 @@ open class GenerateAst : DefaultTask() { logParsingDecl("paragraph comment") - currentParsingIndent++ declNode.get("inner").forEach { innerDecl -> parseDeclNode0(innerDecl)?.let(decls::add) } - currentParsingIndent-- return AstParagraphComment(offset, decls) } @@ -283,11 +251,9 @@ open class GenerateAst : DefaultTask() { logParsingDecl("function $name") - currentParsingIndent++ declNode.get("inner")?.forEach { innerDecl -> parseDeclNode0(innerDecl)?.let(decls::add) } - currentParsingIndent-- return AstFunctionDecl(offset, name, resultType, decls) } @@ -329,37 +295,30 @@ open class GenerateAst : DefaultTask() { logParsingDecl("enum $name") - currentParsingIndent++ declNode.get("inner").forEach { innerDecl -> parseDeclNode0(innerDecl)?.let(decls::add) } - currentParsingIndent // Sort enums by their real pos in the header file. sortDecls0(decls) + var enumDecls = decls.filterIsInstance() + val otherDecls = decls - enumDecls.toSet() + var order = 0 - val sortedDecls = decls.map { decl -> - if (decl is AstEnumConstantDecl) { - if (order == 0 && decl.value != null) { - order = decl.value.toIntOrNull() ?: 0 - } - - AstEnumConstantDecl( - decl.offset, - decl.name, - decl.docComment, - decl.qualType, - order++, - decl.value, - decl.evaluatedValue - ) - } else { - decl - } + enumDecls = enumDecls.mapIndexed { idx, decl -> + AstEnumConstantDecl( + decl.offset, + decl.name, + decl.docComment, + decl.qualType, + order++, + decl.value, + lookupEnumEvaluatedValue0(enumDecls, idx).toString(), + ) } - return AstEnumDecl(offset, name, sortedDecls) + return AstEnumDecl(offset, name, otherDecls + enumDecls) } "EnumConstantDecl" -> { @@ -377,7 +336,7 @@ open class GenerateAst : DefaultTask() { } } - val evaluatedValue: String? = findNode0(declNode, "kind", "ConstantExpr")?.get("value")?.asText() + val evaluatedValue: Int? = declNode.findValue("value")?.asInt() val docComment: String? = declNode.findValuesAsText("text")?.joinToString(" ") { it.trim() } logParsingInner("enum value $name") @@ -390,7 +349,7 @@ open class GenerateAst : DefaultTask() { // We provide a proper order in EnumDecl, after sorting all enums by their offset. -1, declValue, - evaluatedValue + evaluatedValue.toString() ) } @@ -405,11 +364,9 @@ open class GenerateAst : DefaultTask() { logParsingDecl("record $name") - currentParsingIndent++ declNode.get("inner").forEach { innerDecl -> parseDeclNode0(innerDecl)?.let(decls::add) } - currentParsingIndent-- return AstRecordDecl(offset, name, decls) } @@ -452,80 +409,44 @@ open class GenerateAst : DefaultTask() { pb.start().waitFor() } - /** - * Function removes difference between ast-trees. - * Basically, it returns the list which contains only types with the same name. - */ - private fun removeAstDiff(fullDeclsList: List, strippedDeclsList: List): List { - fun isSameNamespaceName(d1: Decl, d2: Decl): Boolean { - return d1 is AstNamespaceDecl && d2 is AstNamespaceDecl && d1.name == d2.name - } - - fun isSameRecordName(d1: Decl, d2: Decl): Boolean { - return d1 is AstRecordDecl && d2 is AstRecordDecl && d1.name == d2.name - } - - fun isSameEnumName(d1: Decl, d2: Decl): Boolean { - return d1 is AstEnumDecl && d2 is AstEnumDecl && d1.name == d2.name - } - - fun isSameFunctionName(d1: Decl, d2: Decl): Boolean { - return d1 is AstFunctionDecl && d2 is AstFunctionDecl && d1.name == d2.name - } - - return fullDeclsList - .filter { d1 -> - strippedDeclsList - .find { d2 -> - d1 == d2 - || isSameRecordName(d1, d2) - || isSameNamespaceName(d1, d2) - || isSameEnumName(d1, d2) - || isSameFunctionName(d1, d2) - } != null - } - .filterNot { it is AstFunctionDecl && it.name.startsWith("operator") } - .toMutableList() // Ensure final list will be mutable for later sorting. - } - /** * Sort decls in the provided list recursively using offset value. */ - @Suppress("JavaCollectionsStaticMethodOnImmutableList") - private fun sortDecls0(decls: List) { - Collections.sort(decls) { d1, d2 -> + private fun sortDecls0(decls: MutableList) { + decls.sortWith { d1, d2 -> d1.offset.compareTo(d2.offset) } decls.forEach { if (it is DeclContainer) { - sortDecls0(it.decls) + sortDecls0(it.decls.toMutableList()) } } } - private fun findNode0(root: JsonNode, field: String, value: String): JsonNode? { - if (root.isObject) { - val objectNode = root as ObjectNode - val fields = objectNode.fields() - while (fields.hasNext()) { - val entry = fields.next() - if (entry.key == field && entry.value.asText() == value) { - return root - } else { - val foundNode = findNode0(entry.value, field, value) - if (foundNode != null) { - return foundNode - } - } + /** + * This method helps to find the value of the enum constant. + * It relies on C++ behaviour, when the value is something defined or the order of the enum itself. + */ + private fun lookupEnumEvaluatedValue0(decls: List, idx: Int): Int { + val decl = decls[idx] + + if (decl.evaluatedValue != null) { + decl.evaluatedValue.toIntOrNull()?.let { + return it } - } else if (root.isArray) { - for (node in root) { - val foundNode = findNode0(node, field, value) - if (foundNode != null) { - return foundNode - } + } + + if (decl.value != null) { + decl.value.toIntOrNull()?.let { + return it } } - return null + + if (idx == 0) { + return 0 + } + + // This will behave like if we're using an order of the enum as the value. + return lookupEnumEvaluatedValue0(decls, idx - 1) + 1 } } diff --git a/buildSrc/src/main/resources/generator/api/ast/ast-ImGuiFileDialog.json b/buildSrc/src/main/resources/generator/api/ast/ast-ImGuiFileDialog.json index 068cd37e..7649244c 100644 --- a/buildSrc/src/main/resources/generator/api/ast/ast-ImGuiFileDialog.json +++ b/buildSrc/src/main/resources/generator/api/ast/ast-ImGuiFileDialog.json @@ -6,6 +6,794 @@ "revision" : "007091af18c69a2eed15cf5016951eb481a1de79" }, "decls" : [ { + "@type" : "AstFunctionDecl", + "name" : "iswalnum_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswblank_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswalpha_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswhexnumber_l", + "resultType" : "int" + }, { + "@type" : "AstRecordDecl", + "name" : "timespec", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "tv_sec", + "qualType" : "__darwin_time_t", + "desugaredQualType" : "long" + }, { + "@type" : "AstFieldDecl", + "name" : "tv_nsec", + "qualType" : "long", + "desugaredQualType" : "long" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswcntrl_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswideogram_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswctype_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswnumber_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswdigit_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswphonogram_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswgraph_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswrune_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswalnum", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswlower_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswspecial_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswalpha", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswblank", + "resultType" : "int" + }, { + "@type" : "AstRecordDecl", + "name" : "lconv", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "decimal_point", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "thousands_sep", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "grouping", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "int_curr_symbol", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "currency_symbol", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "mon_decimal_point", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "mon_thousands_sep", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "mon_grouping", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "positive_sign", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "negative_sign", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "int_frac_digits", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "frac_digits", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "p_cs_precedes", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "p_sep_by_space", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "n_cs_precedes", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "n_sep_by_space", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "p_sign_posn", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "n_sign_posn", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_p_cs_precedes", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_n_cs_precedes", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_p_sep_by_space", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_n_sep_by_space", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_p_sign_posn", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_n_sign_posn", + "qualType" : "char", + "desugaredQualType" : "char" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswprint_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswcntrl", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswascii", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswpunct_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswctype", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswhexnumber", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswspace_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswdigit", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswideogram", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswgraph", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswupper_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswnumber", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswlower", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswphonogram", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswxdigit_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswprint", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "digittoint_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswrune", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "towlower_l", + "resultType" : "wint_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswpunct", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isalnum_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswspecial", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "towupper_l", + "resultType" : "wint_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswspace", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isalpha_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswupper", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isblank_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswxdigit", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iscntrl_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "towlower", + "resultType" : "wint_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "isdigit_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "towupper", + "resultType" : "wint_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "isgraph_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ishexnumber_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isideogram_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "tm", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "tm_sec", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_min", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_hour", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_mday", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_mon", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_year", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_wday", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_yday", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_isdst", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_gmtoff", + "qualType" : "long", + "desugaredQualType" : "long" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_zone", + "qualType" : "char *", + "desugaredQualType" : "char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "islower_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isnumber_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isphonogram_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isprint_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ispunct_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isrune_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isspace_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isspecial_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isupper_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isxdigit_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "tolower_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "toupper_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isascii", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "major", + "resultType" : "__int32_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "minor", + "resultType" : "__int32_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "makedev", + "resultType" : "dev_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "isalnum", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isalpha", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isblank", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iscntrl", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isdigit", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isgraph", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "islower", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isprint", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "ispunct", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isspace", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isupper", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isxdigit", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "toascii", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "tolower", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "toupper", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "digittoint", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "ishexnumber", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isideogram", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isnumber", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isphonogram", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isrune", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isspecial", + "resultType" : "int" + }, { "@type" : "AstEnumDecl", "name" : "IGFD_FileStyleFlags_", "decls" : [ { @@ -783,25 +1571,29 @@ "name" : "FIELD_FILENAME", "docComment" : "sorted by filename", "qualType" : "IGFD::FileManager::SortingFieldEnum", - "order" : 1 + "order" : 1, + "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "FIELD_TYPE", "docComment" : "sorted by filetype", "qualType" : "IGFD::FileManager::SortingFieldEnum", - "order" : 2 + "order" : 2, + "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "FIELD_SIZE", "docComment" : "sorted by filesize (formated file size)", "qualType" : "IGFD::FileManager::SortingFieldEnum", - "order" : 3 + "order" : 3, + "evaluatedValue" : "3" }, { "@type" : "AstEnumConstantDecl", "name" : "FIELD_DATE", "docComment" : "sorted by filedate", "qualType" : "IGFD::FileManager::SortingFieldEnum", - "order" : 4 + "order" : 4, + "evaluatedValue" : "4" } ] }, { "@type" : "AstFieldDecl", @@ -1230,6 +2022,11 @@ "name" : "SetCurrentDir", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "vPath", + "qualType" : "const int &", + "desugaredQualType" : "const int &" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -1238,11 +2035,6 @@ "text" : "depend of dirent.h" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "vPath", - "qualType" : "const int &", - "desugaredQualType" : "const int &" } ] }, { "@type" : "AstFunctionDecl", @@ -1533,10 +2325,6 @@ "text" : "////////////////////////////////////////////////////////////////////////////////////////////////////////////////////" } ] } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "operator=", - "resultType" : "IGFD::FileDialog &" }, { "@type" : "AstFieldDecl", "name" : "prFileDialogInternal", @@ -1561,15 +2349,6 @@ "name" : "OpenDialog", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " standard dialog" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "vKey", "qualType" : "const int &", @@ -1612,6 +2391,15 @@ "qualType" : "ImGuiFileDialogFlags", "desugaredQualType" : "int", "defaultValue" : "0" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " standard dialog" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -1661,15 +2449,6 @@ "name" : "OpenDialog", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " with pane" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "vKey", "qualType" : "const int &", @@ -1723,6 +2502,15 @@ "qualType" : "ImGuiFileDialogFlags", "desugaredQualType" : "int", "defaultValue" : "0" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " with pane" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -1783,15 +2571,6 @@ "name" : "OpenModal", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " modal dialog" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "vKey", "qualType" : "const int &", @@ -1834,6 +2613,15 @@ "qualType" : "ImGuiFileDialogFlags", "desugaredQualType" : "int", "defaultValue" : "0" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " modal dialog" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -1883,15 +2671,6 @@ "name" : "OpenModal", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " with pane" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "vKey", "qualType" : "const int &", @@ -1945,6 +2724,15 @@ "qualType" : "ImGuiFileDialogFlags", "desugaredQualType" : "int", "defaultValue" : "0" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " with pane" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -2005,15 +2793,6 @@ "name" : "Display", "resultType" : "bool", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Display / Close dialog form" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "vKey", "qualType" : "const int &", @@ -2036,6 +2815,15 @@ "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "ImVec2(FLT_MAX, FLT_MAX)" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Display / Close dialog form" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -2046,6 +2834,11 @@ "name" : "WasOpenedThisFrame", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "vKey", + "qualType" : "const int &", + "desugaredQualType" : "const int &" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -2054,11 +2847,6 @@ "text" : " queries" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "vKey", - "qualType" : "const int &", - "desugaredQualType" : "const int &" } ] }, { "@type" : "AstFunctionDecl", @@ -2125,15 +2913,6 @@ "name" : "SetFileStyle", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " file style by extentions" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "vFlags", "qualType" : "const IGFD_FileStyleFlags &", @@ -2148,6 +2927,15 @@ "name" : "vInfos", "qualType" : "const FileStyle &", "desugaredQualType" : "const FileStyle &" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " file style by extentions" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -2254,15 +3042,6 @@ "name" : "prConfirm_Or_OpenOverWriteFileDialog_IfNeeded", "resultType" : "bool", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " others" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "vLastAction", "qualType" : "bool", @@ -2272,6 +3051,15 @@ "name" : "vFlags", "qualType" : "int", "desugaredQualType" : "int" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " others" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -2300,6 +3088,11 @@ "name" : "prDrawSidePane", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "vHeight", + "qualType" : "float", + "desugaredQualType" : "float" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -2308,11 +3101,6 @@ "text" : " widgets components" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "vHeight", - "qualType" : "float", - "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", @@ -2354,24 +3142,6 @@ "name" : "prBeginFileColorIconStyle", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " to be called only by these function and theirs overrides" - }, { - "@type" : "AstTextComment", - "text" : " - prDrawFileListView" - }, { - "@type" : "AstTextComment", - "text" : " - prDrawThumbnailsListView" - }, { - "@type" : "AstTextComment", - "text" : " - prDrawThumbnailsGridView" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "vFileInfos", "qualType" : "std::shared_ptr", @@ -2391,6 +3161,24 @@ "name" : "vOutFont", "qualType" : "int **", "desugaredQualType" : "int **" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " to be called only by these function and theirs overrides" + }, { + "@type" : "AstTextComment", + "text" : " - prDrawFileListView" + }, { + "@type" : "AstTextComment", + "text" : " - prDrawThumbnailsListView" + }, { + "@type" : "AstTextComment", + "text" : " - prDrawThumbnailsGridView" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", diff --git a/buildSrc/src/main/resources/generator/api/ast/ast-ImGuizmo.json b/buildSrc/src/main/resources/generator/api/ast/ast-ImGuizmo.json index 91417d66..a3488007 100644 --- a/buildSrc/src/main/resources/generator/api/ast/ast-ImGuizmo.json +++ b/buildSrc/src/main/resources/generator/api/ast/ast-ImGuizmo.json @@ -13,6 +13,12 @@ "name" : "SetDrawlist", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "drawlist", + "qualType" : "int *", + "desugaredQualType" : "int *", + "defaultValue" : "=" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -24,12 +30,6 @@ "text" : " Or pass a specific ImDrawList to draw to (e.g. ImGui::GetForegroundDrawList())." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "drawlist", - "qualType" : "int *", - "desugaredQualType" : "int *", - "defaultValue" : "=" } ] }, { "@type" : "AstFunctionDecl", @@ -50,6 +50,11 @@ "name" : "SetImGuiContext", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ctx", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -67,11 +72,6 @@ "text" : " expose method to set imgui context" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "ctx", - "qualType" : "int *", - "desugaredQualType" : "int *" } ] }, { "@type" : "AstFunctionDecl", @@ -106,6 +106,11 @@ "name" : "Enable", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "enable", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -117,17 +122,32 @@ "text" : " gizmo is rendered with gray half transparent color when disabled" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "enable", - "qualType" : "bool", - "desugaredQualType" : "bool" } ] }, { "@type" : "AstFunctionDecl", "name" : "DecomposeMatrixToComponents", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "matrix", + "qualType" : "const float *", + "desugaredQualType" : "const float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "translation", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "rotation", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "scale", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -169,26 +189,6 @@ "text" : " These functions have some numerical stability issues for now. Use with caution." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "matrix", - "qualType" : "const float *", - "desugaredQualType" : "const float *" - }, { - "@type" : "AstParmVarDecl", - "name" : "translation", - "qualType" : "float *", - "desugaredQualType" : "float *" - }, { - "@type" : "AstParmVarDecl", - "name" : "rotation", - "qualType" : "float *", - "desugaredQualType" : "float *" - }, { - "@type" : "AstParmVarDecl", - "name" : "scale", - "qualType" : "float *", - "desugaredQualType" : "float *" } ] }, { "@type" : "AstFunctionDecl", @@ -245,6 +245,11 @@ "name" : "SetOrthographic", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "isOrthographic", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -253,26 +258,12 @@ "text" : " default is false" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "isOrthographic", - "qualType" : "bool", - "desugaredQualType" : "bool" } ] }, { "@type" : "AstFunctionDecl", "name" : "DrawCubes", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Render a cube with face color corresponding to face normal. Usefull for debug/tests" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "view", "qualType" : "const float *", @@ -292,6 +283,15 @@ "name" : "matrixCount", "qualType" : "int", "desugaredQualType" : "int" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Render a cube with face color corresponding to face normal. Usefull for debug/tests" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -438,21 +438,6 @@ "value" : "SCALE_X | SCALE_Y | SCALE_Z", "evaluatedValue" : "896" } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "operator|", - "resultType" : "OPERATION", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "lhs", - "qualType" : "OPERATION", - "desugaredQualType" : "ImGuizmo::OPERATION" - }, { - "@type" : "AstParmVarDecl", - "name" : "rhs", - "qualType" : "OPERATION", - "desugaredQualType" : "ImGuizmo::OPERATION" - } ] }, { "@type" : "AstEnumDecl", "name" : "MODE", @@ -460,12 +445,14 @@ "@type" : "AstEnumConstantDecl", "name" : "LOCAL", "qualType" : "ImGuizmo::MODE", - "order" : 0 + "order" : 0, + "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "WORLD", "qualType" : "ImGuizmo::MODE", - "order" : 1 + "order" : 1, + "evaluatedValue" : "1" } ] }, { "@type" : "AstFunctionDecl", @@ -526,21 +513,6 @@ "name" : "ViewManipulate", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Please note that this cubeview is patented by Autodesk : https://patents.google.com/patent/US7782319B2/en" - }, { - "@type" : "AstTextComment", - "text" : " It seems to be a defensive patent in the US. I don't think it will bring troubles using it as" - }, { - "@type" : "AstTextComment", - "text" : " other software are using the same mechanics. But just in case, you are now warned!" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "view", "qualType" : "float *", @@ -565,6 +537,21 @@ "name" : "backgroundColor", "qualType" : "int", "desugaredQualType" : "int" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Please note that this cubeview is patented by Autodesk : https://patents.google.com/patent/US7782319B2/en" + }, { + "@type" : "AstTextComment", + "text" : " It seems to be a defensive patent in the US. I don't think it will bring troubles using it as" + }, { + "@type" : "AstTextComment", + "text" : " other software are using the same mechanics. But just in case, you are now warned!" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -581,6 +568,11 @@ "name" : "IsOver", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "op", + "qualType" : "OPERATION", + "desugaredQualType" : "ImGuizmo::OPERATION" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -589,11 +581,6 @@ "text" : " return true if the cursor is over the operation's gizmo" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "op", - "qualType" : "OPERATION", - "desugaredQualType" : "ImGuizmo::OPERATION" } ] }, { "@type" : "AstFunctionDecl", @@ -610,6 +597,11 @@ "name" : "AllowAxisFlip", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "value", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -624,11 +616,6 @@ "text" : " When false, they always stay along the positive world/local axis" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "value", - "qualType" : "bool", - "desugaredQualType" : "bool" } ] } ] } ] diff --git a/buildSrc/src/main/resources/generator/api/ast/ast-TextEditor.json b/buildSrc/src/main/resources/generator/api/ast/ast-TextEditor.json index 3e8cbf80..8269e8b4 100644 --- a/buildSrc/src/main/resources/generator/api/ast/ast-TextEditor.json +++ b/buildSrc/src/main/resources/generator/api/ast/ast-TextEditor.json @@ -9,122 +9,140 @@ "@type" : "AstRecordDecl", "name" : "TextEditor", "decls" : [ { - "@type" : "AstFunctionDecl", - "name" : "operator=", - "resultType" : "TextEditor &" - }, { "@type" : "AstEnumDecl", "name" : "PaletteIndex", "decls" : [ { "@type" : "AstEnumConstantDecl", "name" : "Default", "qualType" : "TextEditor::PaletteIndex", - "order" : 0 + "order" : 0, + "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "Keyword", "qualType" : "TextEditor::PaletteIndex", - "order" : 1 + "order" : 1, + "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "Number", "qualType" : "TextEditor::PaletteIndex", - "order" : 2 + "order" : 2, + "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "String", "qualType" : "TextEditor::PaletteIndex", - "order" : 3 + "order" : 3, + "evaluatedValue" : "3" }, { "@type" : "AstEnumConstantDecl", "name" : "CharLiteral", "qualType" : "TextEditor::PaletteIndex", - "order" : 4 + "order" : 4, + "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "Punctuation", "qualType" : "TextEditor::PaletteIndex", - "order" : 5 + "order" : 5, + "evaluatedValue" : "5" }, { "@type" : "AstEnumConstantDecl", "name" : "Preprocessor", "qualType" : "TextEditor::PaletteIndex", - "order" : 6 + "order" : 6, + "evaluatedValue" : "6" }, { "@type" : "AstEnumConstantDecl", "name" : "Identifier", "qualType" : "TextEditor::PaletteIndex", - "order" : 7 + "order" : 7, + "evaluatedValue" : "7" }, { "@type" : "AstEnumConstantDecl", "name" : "KnownIdentifier", "qualType" : "TextEditor::PaletteIndex", - "order" : 8 + "order" : 8, + "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "PreprocIdentifier", "qualType" : "TextEditor::PaletteIndex", - "order" : 9 + "order" : 9, + "evaluatedValue" : "9" }, { "@type" : "AstEnumConstantDecl", "name" : "Comment", "qualType" : "TextEditor::PaletteIndex", - "order" : 10 + "order" : 10, + "evaluatedValue" : "10" }, { "@type" : "AstEnumConstantDecl", "name" : "MultiLineComment", "qualType" : "TextEditor::PaletteIndex", - "order" : 11 + "order" : 11, + "evaluatedValue" : "11" }, { "@type" : "AstEnumConstantDecl", "name" : "Background", "qualType" : "TextEditor::PaletteIndex", - "order" : 12 + "order" : 12, + "evaluatedValue" : "12" }, { "@type" : "AstEnumConstantDecl", "name" : "Cursor", "qualType" : "TextEditor::PaletteIndex", - "order" : 13 + "order" : 13, + "evaluatedValue" : "13" }, { "@type" : "AstEnumConstantDecl", "name" : "Selection", "qualType" : "TextEditor::PaletteIndex", - "order" : 14 + "order" : 14, + "evaluatedValue" : "14" }, { "@type" : "AstEnumConstantDecl", "name" : "ErrorMarker", "qualType" : "TextEditor::PaletteIndex", - "order" : 15 + "order" : 15, + "evaluatedValue" : "15" }, { "@type" : "AstEnumConstantDecl", "name" : "Breakpoint", "qualType" : "TextEditor::PaletteIndex", - "order" : 16 + "order" : 16, + "evaluatedValue" : "16" }, { "@type" : "AstEnumConstantDecl", "name" : "LineNumber", "qualType" : "TextEditor::PaletteIndex", - "order" : 17 + "order" : 17, + "evaluatedValue" : "17" }, { "@type" : "AstEnumConstantDecl", "name" : "CurrentLineFill", "qualType" : "TextEditor::PaletteIndex", - "order" : 18 + "order" : 18, + "evaluatedValue" : "18" }, { "@type" : "AstEnumConstantDecl", "name" : "CurrentLineFillInactive", "qualType" : "TextEditor::PaletteIndex", - "order" : 19 + "order" : 19, + "evaluatedValue" : "19" }, { "@type" : "AstEnumConstantDecl", "name" : "CurrentLineEdge", "qualType" : "TextEditor::PaletteIndex", - "order" : 20 + "order" : 20, + "evaluatedValue" : "20" }, { "@type" : "AstEnumConstantDecl", "name" : "Max", "qualType" : "TextEditor::PaletteIndex", - "order" : 21 + "order" : 21, + "evaluatedValue" : "21" } ] }, { "@type" : "AstEnumDecl", @@ -133,26 +151,25 @@ "@type" : "AstEnumConstantDecl", "name" : "Normal", "qualType" : "TextEditor::SelectionMode", - "order" : 0 + "order" : 0, + "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "Word", "qualType" : "TextEditor::SelectionMode", - "order" : 1 + "order" : 1, + "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "Line", "qualType" : "TextEditor::SelectionMode", - "order" : 2 + "order" : 2, + "evaluatedValue" : "2" } ] }, { "@type" : "AstRecordDecl", "name" : "Breakpoint", "decls" : [ { - "@type" : "AstFunctionDecl", - "name" : "operator=", - "resultType" : "TextEditor::Breakpoint &" - }, { "@type" : "AstFieldDecl", "name" : "mLine", "qualType" : "int", @@ -198,10 +215,6 @@ "text" : " because it is rendered as \" ABC\" on the screen." } ] } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "operator=", - "resultType" : "TextEditor::Coordinates &" }, { "@type" : "AstFieldDecl", "name" : "mLine", @@ -216,75 +229,11 @@ "@type" : "AstFunctionDecl", "name" : "Invalid", "resultType" : "Coordinates" - }, { - "@type" : "AstFunctionDecl", - "name" : "operator==", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "o", - "qualType" : "const Coordinates &", - "desugaredQualType" : "const Coordinates &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "operator!=", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "o", - "qualType" : "const Coordinates &", - "desugaredQualType" : "const Coordinates &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "operator<", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "o", - "qualType" : "const Coordinates &", - "desugaredQualType" : "const Coordinates &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "operator>", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "o", - "qualType" : "const Coordinates &", - "desugaredQualType" : "const Coordinates &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "operator<=", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "o", - "qualType" : "const Coordinates &", - "desugaredQualType" : "const Coordinates &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "operator>=", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "o", - "qualType" : "const Coordinates &", - "desugaredQualType" : "const Coordinates &" - } ] } ] }, { "@type" : "AstRecordDecl", "name" : "Identifier", "decls" : [ { - "@type" : "AstFunctionDecl", - "name" : "operator=", - "resultType" : "TextEditor::Identifier &" - }, { "@type" : "AstFieldDecl", "name" : "mLocation", "qualType" : "Coordinates", @@ -328,10 +277,6 @@ "@type" : "AstRecordDecl", "name" : "LanguageDefinition", "decls" : [ { - "@type" : "AstFunctionDecl", - "name" : "operator=", - "resultType" : "TextEditor::LanguageDefinition &" - }, { "@type" : "AstFieldDecl", "name" : "mName", "qualType" : "std::string", @@ -913,10 +858,6 @@ "@type" : "AstRecordDecl", "name" : "EditorState", "decls" : [ { - "@type" : "AstFunctionDecl", - "name" : "operator=", - "resultType" : "TextEditor::EditorState &" - }, { "@type" : "AstFieldDecl", "name" : "mSelectionStart", "qualType" : "Coordinates", @@ -936,10 +877,6 @@ "@type" : "AstRecordDecl", "name" : "UndoRecord", "decls" : [ { - "@type" : "AstFunctionDecl", - "name" : "operator=", - "resultType" : "TextEditor::UndoRecord &" - }, { "@type" : "AstFunctionDecl", "name" : "Undo", "resultType" : "void", @@ -1509,5 +1446,793 @@ "qualType" : "float", "desugaredQualType" : "float" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswalnum_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswblank_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswalpha_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswhexnumber_l", + "resultType" : "int" + }, { + "@type" : "AstRecordDecl", + "name" : "timespec", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "tv_sec", + "qualType" : "__darwin_time_t", + "desugaredQualType" : "long" + }, { + "@type" : "AstFieldDecl", + "name" : "tv_nsec", + "qualType" : "long", + "desugaredQualType" : "long" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswcntrl_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswideogram_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswctype_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswnumber_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswdigit_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswphonogram_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswgraph_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswrune_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswalnum", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswlower_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswspecial_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswalpha", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswblank", + "resultType" : "int" + }, { + "@type" : "AstRecordDecl", + "name" : "lconv", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "decimal_point", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "thousands_sep", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "grouping", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "int_curr_symbol", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "currency_symbol", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "mon_decimal_point", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "mon_thousands_sep", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "mon_grouping", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "positive_sign", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "negative_sign", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstFieldDecl", + "name" : "int_frac_digits", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "frac_digits", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "p_cs_precedes", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "p_sep_by_space", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "n_cs_precedes", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "n_sep_by_space", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "p_sign_posn", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "n_sign_posn", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_p_cs_precedes", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_n_cs_precedes", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_p_sep_by_space", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_n_sep_by_space", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_p_sign_posn", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "int_n_sign_posn", + "qualType" : "char", + "desugaredQualType" : "char" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswprint_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswcntrl", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswascii", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswpunct_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswctype", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswhexnumber", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswspace_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswdigit", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswideogram", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswgraph", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswupper_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswnumber", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswlower", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswphonogram", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswxdigit_l", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswprint", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "digittoint_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswrune", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "towlower_l", + "resultType" : "wint_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswpunct", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isalnum_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswspecial", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "towupper_l", + "resultType" : "wint_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "iswspace", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isalpha_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswupper", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isblank_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "iswxdigit", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iscntrl_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "towlower", + "resultType" : "wint_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "isdigit_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "towupper", + "resultType" : "wint_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "isgraph_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ishexnumber_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isideogram_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "tm", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "tm_sec", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_min", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_hour", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_mday", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_mon", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_year", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_wday", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_yday", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_isdst", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_gmtoff", + "qualType" : "long", + "desugaredQualType" : "long" + }, { + "@type" : "AstFieldDecl", + "name" : "tm_zone", + "qualType" : "char *", + "desugaredQualType" : "char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "islower_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isnumber_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isphonogram_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isprint_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ispunct_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isrune_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isspace_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isspecial_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isupper_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isxdigit_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "tolower_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "toupper_l", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "l", + "qualType" : "locale_t", + "desugaredQualType" : "struct _xlocale *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "isascii", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "major", + "resultType" : "__int32_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "minor", + "resultType" : "__int32_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "makedev", + "resultType" : "dev_t" + }, { + "@type" : "AstFunctionDecl", + "name" : "isalnum", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isalpha", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isblank", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "iscntrl", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isdigit", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isgraph", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "islower", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isprint", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "ispunct", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isspace", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isupper", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isxdigit", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "toascii", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "tolower", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "toupper", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "digittoint", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "ishexnumber", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isideogram", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isnumber", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isphonogram", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isrune", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "isspecial", + "resultType" : "int" } ] } \ No newline at end of file diff --git a/buildSrc/src/main/resources/generator/api/ast/ast-imgui.json b/buildSrc/src/main/resources/generator/api/ast/ast-imgui.json index dd26b258..82cf5fcb 100644 --- a/buildSrc/src/main/resources/generator/api/ast/ast-imgui.json +++ b/buildSrc/src/main/resources/generator/api/ast/ast-imgui.json @@ -33,10 +33,6 @@ "text" : " This is a frequently used type in the API. Consider using IM_VEC2_CLASS_EXTRA to create implicit cast from/to our preferred type." } ] } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "operator=", - "resultType" : "ImVec2 &" }, { "@type" : "AstFieldDecl", "name" : "x", @@ -47,26 +43,6 @@ "name" : "y", "qualType" : "float", "desugaredQualType" : "float" - }, { - "@type" : "AstFunctionDecl", - "name" : "operator[]", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "idx", - "qualType" : "size_t", - "desugaredQualType" : "unsigned long" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "operator[]", - "resultType" : "float &", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "idx", - "qualType" : "size_t", - "desugaredQualType" : "unsigned long" - } ] } ] }, { "@type" : "AstRecordDecl", @@ -80,10 +56,6 @@ "text" : " ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type]" } ] } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "operator=", - "resultType" : "ImVec4 &" }, { "@type" : "AstFieldDecl", "name" : "x", @@ -131,6 +103,12 @@ "name" : "CreateContext", "resultType" : "ImGuiContext *", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "shared_font_atlas", + "qualType" : "ImFontAtlas *", + "desugaredQualType" : "ImFontAtlas *", + "defaultValue" : "NULL" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -148,12 +126,6 @@ "text" : " for each static/DLL boundary you are calling from. Read \"Context and Memory Allocators\" section of imgui.cpp for details." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "shared_font_atlas", - "qualType" : "ImFontAtlas *", - "desugaredQualType" : "ImFontAtlas *", - "defaultValue" : "NULL" } ] }, { "@type" : "AstFunctionDecl", @@ -219,6 +191,12 @@ "name" : "ShowDemoWindow", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "NULL" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -227,12 +205,6 @@ "text" : " Demo, Debug, Information" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "p_open", - "qualType" : "bool *", - "desugaredQualType" : "bool *", - "defaultValue" : "NULL" } ] }, { "@type" : "AstFunctionDecl", @@ -311,6 +283,12 @@ "name" : "StyleColorsDark", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "dst", + "qualType" : "ImGuiStyle *", + "desugaredQualType" : "ImGuiStyle *", + "defaultValue" : "NULL" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -319,12 +297,6 @@ "text" : " Styles" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "dst", - "qualType" : "ImGuiStyle *", - "desugaredQualType" : "ImGuiStyle *", - "defaultValue" : "NULL" } ] }, { "@type" : "AstFunctionDecl", @@ -353,6 +325,23 @@ "name" : "Begin", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "NULL" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiWindowFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -394,33 +383,39 @@ "text" : " - Note that the bottom of window stack always contains a window called \"Debug\"." } ] } ] - }, { + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "End", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginChild", + "resultType" : "bool", + "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "name", + "name" : "str_id", "qualType" : "const char *", "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", - "name" : "p_open", - "qualType" : "bool *", - "desugaredQualType" : "bool *", - "defaultValue" : "NULL" + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "ImVec2(0, 0)" + }, { + "@type" : "AstParmVarDecl", + "name" : "border", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : "false" }, { "@type" : "AstParmVarDecl", "name" : "flags", "qualType" : "ImGuiWindowFlags", "desugaredQualType" : "int", "defaultValue" : "0" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "End", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "BeginChild", - "resultType" : "bool", - "decls" : [ { + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -456,29 +451,6 @@ "text" : " returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.]" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "str_id", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "ImVec2(0, 0)" - }, { - "@type" : "AstParmVarDecl", - "name" : "border", - "qualType" : "bool", - "desugaredQualType" : "bool", - "defaultValue" : "false" - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiWindowFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -588,18 +560,6 @@ "name" : "SetNextWindowPos", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Window manipulation" - }, { - "@type" : "AstTextComment", - "text" : " - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin)." - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "pos", "qualType" : "const ImVec2 &", @@ -616,6 +576,18 @@ "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", "defaultValue" : "ImVec2(0, 0)" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Window manipulation" + }, { + "@type" : "AstTextComment", + "text" : " - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin)." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -982,6 +954,11 @@ "name" : "PushFont", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -990,11 +967,6 @@ "text" : " Parameters stacks (shared)" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "font", - "qualType" : "ImFont *", - "desugaredQualType" : "ImFont *" } ] }, { "@type" : "AstFunctionDecl", @@ -1115,6 +1087,11 @@ "name" : "PushItemWidth", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "item_width", + "qualType" : "float", + "desugaredQualType" : "float" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -1123,11 +1100,6 @@ "text" : " Parameters stacks (current window)" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "item_width", - "qualType" : "float", - "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", @@ -1415,6 +1387,11 @@ "name" : "PushID", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -1453,11 +1430,6 @@ "text" : " whereas \"str_id\" denote a string that is only used as an ID and not normally displayed." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "str_id", - "qualType" : "const char *", - "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", @@ -1538,15 +1510,6 @@ "name" : "TextUnformatted", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Widgets: Text" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "text", "qualType" : "const char *", @@ -1557,6 +1520,15 @@ "qualType" : "const char *", "desugaredQualType" : "const char *", "defaultValue" : "NULL" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Text" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -1793,6 +1765,17 @@ "name" : "Button", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "ImVec2(0, 0)" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -1807,17 +1790,6 @@ "text" : " - You may also use one of the many IsItemXXX functions (e.g. IsItemActive, IsItemHovered, etc.) to query widget state." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "label", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "ImVec2(0, 0)" } ] }, { "@type" : "AstFunctionDecl", @@ -2070,6 +2042,22 @@ "name" : "BeginCombo", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "preview_value", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiComboFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -2084,32 +2072,16 @@ "text" : " - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "label", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "preview_value", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiComboFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "EndCombo", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "Combo", - "resultType" : "bool", - "decls" : [ { + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndCombo", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "Combo", + "resultType" : "bool", + "decls" : [ { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", @@ -2203,6 +2175,46 @@ "name" : "DragFloat", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "1.0f" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "0.0f" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "0.0f" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "\"%.3f\"" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -2253,46 +2265,6 @@ "text" : " If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "label", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "v", - "qualType" : "float *", - "desugaredQualType" : "float *" - }, { - "@type" : "AstParmVarDecl", - "name" : "v_speed", - "qualType" : "float", - "desugaredQualType" : "float", - "defaultValue" : "1.0f" - }, { - "@type" : "AstParmVarDecl", - "name" : "v_min", - "qualType" : "float", - "desugaredQualType" : "float", - "defaultValue" : "0.0f" - }, { - "@type" : "AstParmVarDecl", - "name" : "v_max", - "qualType" : "float", - "desugaredQualType" : "float", - "defaultValue" : "0.0f" - }, { - "@type" : "AstParmVarDecl", - "name" : "format", - "qualType" : "const char *", - "desugaredQualType" : "const char *", - "defaultValue" : "\"%.3f\"" - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiSliderFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -2831,30 +2803,6 @@ "name" : "SliderFloat", "resultType" : "bool", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Widgets: Regular Sliders" - }, { - "@type" : "AstTextComment", - "text" : " - CTRL+Click on any slider to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." - }, { - "@type" : "AstTextComment", - "text" : " - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. \"%.3f\" -> 1.234; \"%5.2f secs\" -> 01.23 secs; \"Biscuit: %.0f\" -> Biscuit: 1; etc." - }, { - "@type" : "AstTextComment", - "text" : " - Format string may also be set to NULL or use the default format (\"%f\" or \"%d\")." - }, { - "@type" : "AstTextComment", - "text" : " - Legacy: Pre-1.78 there are SliderXXX() function signatures that takes a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument." - }, { - "@type" : "AstTextComment", - "text" : " If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", @@ -2886,6 +2834,30 @@ "qualType" : "ImGuiSliderFlags", "desugaredQualType" : "int", "defaultValue" : "0" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Regular Sliders" + }, { + "@type" : "AstTextComment", + "text" : " - CTRL+Click on any slider to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." + }, { + "@type" : "AstTextComment", + "text" : " - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. \"%.3f\" -> 1.234; \"%5.2f secs\" -> 01.23 secs; \"Biscuit: %.0f\" -> Biscuit: 1; etc." + }, { + "@type" : "AstTextComment", + "text" : " - Format string may also be set to NULL or use the default format (\"%f\" or \"%d\")." + }, { + "@type" : "AstTextComment", + "text" : " - Legacy: Pre-1.78 there are SliderXXX() function signatures that takes a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument." + }, { + "@type" : "AstTextComment", + "text" : " If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -3410,21 +3382,6 @@ "name" : "InputText", "resultType" : "bool", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Widgets: Input with Keyboard" - }, { - "@type" : "AstTextComment", - "text" : " - If you want to use InputText() with std::string or any custom dynamic string type, see misc/cpp/imgui_stdlib.h and comments in imgui_demo.cpp." - }, { - "@type" : "AstTextComment", - "text" : " - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc." - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", @@ -3457,6 +3414,21 @@ "qualType" : "void *", "desugaredQualType" : "void *", "defaultValue" : "NULL" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Input with Keyboard" + }, { + "@type" : "AstTextComment", + "text" : " - If you want to use InputText() with std::string or any custom dynamic string type, see misc/cpp/imgui_stdlib.h and comments in imgui_demo.cpp." + }, { + "@type" : "AstTextComment", + "text" : " - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -3898,6 +3870,22 @@ "name" : "ColorEdit3", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiColorEditFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -3918,22 +3906,6 @@ "text" : ".x" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "label", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "col", - "qualType" : "float *", - "desugaredQualType" : "float *" - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiColorEditFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -4046,6 +4018,11 @@ "name" : "TreeNode", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -4057,11 +4034,6 @@ "text" : " - TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "label", - "qualType" : "const char *", - "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", @@ -4366,21 +4338,6 @@ "name" : "Selectable", "resultType" : "bool", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Widgets: Selectables" - }, { - "@type" : "AstTextComment", - "text" : " - A selectable highlights when hovered, and can display another color when selected." - }, { - "@type" : "AstTextComment", - "text" : " - Neighbors selectable extend their highlight bounds in order to leave no gap between them. This is so a series of selected Selectable appear contiguous." - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", @@ -4403,6 +4360,21 @@ "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &", "defaultValue" : "ImVec2(0, 0)" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Selectables" + }, { + "@type" : "AstTextComment", + "text" : " - A selectable highlights when hovered, and can display another color when selected." + }, { + "@type" : "AstTextComment", + "text" : " - Neighbors selectable extend their highlight bounds in order to leave no gap between them. This is so a series of selected Selectable appear contiguous." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -4436,7 +4408,18 @@ "name" : "BeginListBox", "resultType" : "bool", "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "ImVec2(0, 0)" + }, { + "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { @@ -4471,17 +4454,6 @@ "text" : " 0.0f or -FLT_MIN: bottom-align / size.y = 0.0f (default): arbitrary default height which can fit ~7 items" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "label", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "ImVec2(0, 0)" } ] }, { "@type" : "AstFunctionDecl", @@ -4559,18 +4531,6 @@ "name" : "PlotLines", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Widgets: Data Plotting" - }, { - "@type" : "AstTextComment", - "text" : " - Consider using ImPlot (https://github.com/epezent/implot) which is much better!" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", @@ -4621,6 +4581,18 @@ "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "sizeof(float)" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Data Plotting" + }, { + "@type" : "AstTextComment", + "text" : " - Consider using ImPlot (https://github.com/epezent/implot) which is much better!" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -4793,6 +4765,16 @@ "name" : "Value", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "prefix", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -4804,16 +4786,6 @@ "text" : " - Those are merely shortcut to calling Text() with a format string. Output single value in \"name: value\" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace)" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "prefix", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "b", - "qualType" : "bool", - "desugaredQualType" : "bool" } ] }, { "@type" : "AstFunctionDecl", @@ -5039,6 +5011,17 @@ "name" : "BeginPopup", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiWindowFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -5053,17 +5036,6 @@ "text" : " - BeginPopupModal(): block every interactions behind the window, cannot be closed by user, add a dimming background, has a title bar." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "str_id", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiWindowFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -5096,6 +5068,17 @@ "name" : "OpenPopup", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "popup_flags", + "qualType" : "ImGuiPopupFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -5122,17 +5105,6 @@ "text" : " - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "str_id", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "popup_flags", - "qualType" : "ImGuiPopupFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -5176,6 +5148,18 @@ "name" : "BeginPopupContextItem", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "NULL" + }, { + "@type" : "AstParmVarDecl", + "name" : "popup_flags", + "qualType" : "ImGuiPopupFlags", + "desugaredQualType" : "int", + "defaultValue" : "1" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -5196,18 +5180,6 @@ "text" : " - IMPORTANT: we exceptionally default their flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter, so if you add other flags remember to re-add the ImGuiPopupFlags_MouseButtonRight." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "str_id", - "qualType" : "const char *", - "desugaredQualType" : "const char *", - "defaultValue" : "NULL" - }, { - "@type" : "AstParmVarDecl", - "name" : "popup_flags", - "qualType" : "ImGuiPopupFlags", - "desugaredQualType" : "int", - "defaultValue" : "1" } ] }, { "@type" : "AstFunctionDecl", @@ -5248,6 +5220,17 @@ "name" : "IsPopupOpen", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiPopupFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -5265,23 +5248,40 @@ "text" : " - IsPopupOpen() with ImGuiPopupFlags_AnyPopupId + ImGuiPopupFlags_AnyPopupLevel: return true if any popup is open." } ] } ] - }, { + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginTable", + "resultType" : "bool", + "decls" : [ { "@type" : "AstParmVarDecl", "name" : "str_id", "qualType" : "const char *", "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "column", + "qualType" : "int", + "desugaredQualType" : "int" }, { "@type" : "AstParmVarDecl", "name" : "flags", - "qualType" : "ImGuiPopupFlags", + "qualType" : "ImGuiTableFlags", "desugaredQualType" : "int", "defaultValue" : "0" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "BeginTable", - "resultType" : "bool", - "decls" : [ { + }, { + "@type" : "AstParmVarDecl", + "name" : "outer_size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "ImVec2(0.0f, 0.0f)" + }, { + "@type" : "AstParmVarDecl", + "name" : "inner_width", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "0.0f" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -5362,34 +5362,6 @@ "text" : " - 5. Call EndTable()" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "str_id", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "column", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiTableFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" - }, { - "@type" : "AstParmVarDecl", - "name" : "outer_size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "ImVec2(0.0f, 0.0f)" - }, { - "@type" : "AstParmVarDecl", - "name" : "inner_width", - "qualType" : "float", - "desugaredQualType" : "float", - "defaultValue" : "0.0f" } ] }, { "@type" : "AstFunctionDecl", @@ -5431,6 +5403,29 @@ "name" : "TableSetupColumn", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTableColumnFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { + "@type" : "AstParmVarDecl", + "name" : "init_width_or_weight", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "0.0f" + }, { + "@type" : "AstParmVarDecl", + "name" : "user_id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -5466,29 +5461,6 @@ "text" : " - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "label", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiTableColumnFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" - }, { - "@type" : "AstParmVarDecl", - "name" : "init_width_or_weight", - "qualType" : "float", - "desugaredQualType" : "float", - "defaultValue" : "0.0f" - }, { - "@type" : "AstParmVarDecl", - "name" : "user_id", - "qualType" : "ImGuiID", - "desugaredQualType" : "unsigned int", - "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -5636,18 +5608,6 @@ "name" : "Columns", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Legacy Columns API (prefer using Tables!)" - }, { - "@type" : "AstTextComment", - "text" : " - You can also use SameLine(pos_x) to mimic simplified columns." - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "count", "qualType" : "int", @@ -5665,6 +5625,18 @@ "qualType" : "bool", "desugaredQualType" : "bool", "defaultValue" : "true" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Legacy Columns API (prefer using Tables!)" + }, { + "@type" : "AstTextComment", + "text" : " - You can also use SameLine(pos_x) to mimic simplified columns." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -5735,6 +5707,17 @@ "name" : "BeginTabBar", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTabBarFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -5746,17 +5729,6 @@ "text" : " Note: Tabs are automatically created by the docking system. Use this to create tab bars/tabs yourself without docking being involved." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "str_id", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiTabBarFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -5819,6 +5791,29 @@ "name" : "DockSpace", "resultType" : "ImGuiID", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "ImVec2(0, 0)" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiDockNodeFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { + "@type" : "AstParmVarDecl", + "name" : "window_class", + "qualType" : "const ImGuiWindowClass *", + "desugaredQualType" : "const ImGuiWindowClass *", + "defaultValue" : "NULL" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -5863,29 +5858,6 @@ "text" : " e.g. if you have multiple tabs with a dockspace inside each tab: submit the non-visible dockspaces with ImGuiDockNodeFlags_KeepAliveOnly." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "id", - "qualType" : "ImGuiID", - "desugaredQualType" : "unsigned int" - }, { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &", - "defaultValue" : "ImVec2(0, 0)" - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiDockNodeFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" - }, { - "@type" : "AstParmVarDecl", - "name" : "window_class", - "qualType" : "const ImGuiWindowClass *", - "desugaredQualType" : "const ImGuiWindowClass *", - "defaultValue" : "NULL" } ] }, { "@type" : "AstFunctionDecl", @@ -5949,6 +5921,12 @@ "name" : "LogToTTY", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "auto_open_depth", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "-1" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -5960,12 +5938,6 @@ "text" : " - All text output from the interface can be captured into tty/file/clipboard. By default, tree nodes are automatically opened during logging." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "auto_open_depth", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "-1" } ] }, { "@type" : "AstFunctionDecl", @@ -6043,6 +6015,12 @@ "name" : "BeginDragDropSource", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiDragDropFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -6059,16 +6037,10 @@ "@type" : "AstTextComment", "text" : " - If you stop calling BeginDragDropSource() the payload is preserved however it won't have a preview tooltip (we currently display a fallback \"...\" tooltip, see #1725)" }, { - "@type" : "AstTextComment", - "text" : " - An item can be both drag source and drop target." - } ] - } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiDragDropFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" + "@type" : "AstTextComment", + "text" : " - An item can be both drag source and drop target." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -6133,6 +6105,12 @@ "name" : "BeginDisabled", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "disabled", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : "true" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -6150,12 +6128,6 @@ "text" : " - BeginDisabled(false) essentially does nothing useful but is provided to facilitate use of boolean expressions. If you can avoid calling BeginDisabled(False)/EndDisabled() best to avoid it." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "disabled", - "qualType" : "bool", - "desugaredQualType" : "bool", - "defaultValue" : "true" } ] }, { "@type" : "AstFunctionDecl", @@ -6166,18 +6138,6 @@ "name" : "PushClipRect", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Clipping" - }, { - "@type" : "AstTextComment", - "text" : " - Mouse hovering is affected by ImGui::PushClipRect() calls, unlike direct calls to ImDrawList::PushClipRect() which are render only." - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "clip_rect_min", "qualType" : "const ImVec2 &", @@ -6192,6 +6152,18 @@ "name" : "intersect_with_current_clip_rect", "qualType" : "bool", "desugaredQualType" : "bool" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Clipping" + }, { + "@type" : "AstTextComment", + "text" : " - Mouse hovering is affected by ImGui::PushClipRect() calls, unlike direct calls to ImDrawList::PushClipRect() which are render only." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -6230,6 +6202,12 @@ "name" : "IsItemHovered", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiHoveredFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -6244,12 +6222,6 @@ "text" : " - See Demo Window under \"Widgets->Querying Status\" for an interactive visualization of most of those functions." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "flags", - "qualType" : "ImGuiHoveredFlags", - "desugaredQualType" : "int", - "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -6350,6 +6322,11 @@ "name" : "IsRectVisible", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -6358,11 +6335,6 @@ "text" : " Miscellaneous Utilities" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "size", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" } ] }, { "@type" : "AstFunctionDecl", @@ -6473,15 +6445,6 @@ "name" : "CalcTextSize", "resultType" : "ImVec2", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Text Utilities" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "text", "qualType" : "const char *", @@ -6504,12 +6467,26 @@ "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "-1.0f" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Text Utilities" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", "name" : "ColorConvertU32ToFloat4", "resultType" : "ImVec4", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "in", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -6518,11 +6495,6 @@ "text" : " Color Utilities" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "in", - "qualType" : "ImU32", - "desugaredQualType" : "unsigned int" } ] }, { "@type" : "AstFunctionDecl", @@ -6609,6 +6581,11 @@ "name" : "GetKeyIndex", "resultType" : "int", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "imgui_key", + "qualType" : "ImGuiKey", + "desugaredQualType" : "int" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -6623,11 +6600,6 @@ "text" : " - We don't know the meaning of those value. You can use GetKeyIndex() to map a ImGuiKey_ value into the user index." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "imgui_key", - "qualType" : "ImGuiKey", - "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", @@ -6701,6 +6673,11 @@ "name" : "IsMouseDown", "resultType" : "bool", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -6718,11 +6695,6 @@ "text" : " - Dragging operations are only reported after mouse has moved a certain distance away from the initial clicking position (see 'lock_threshold' and 'io.MouseDraggingThreshold')" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "button", - "qualType" : "ImGuiMouseButton", - "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", @@ -6915,6 +6887,11 @@ "name" : "LoadIniSettingsFromDisk", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ini_filename", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -6932,11 +6909,6 @@ "text" : " - Important: default value \"imgui.ini\" is relative to current working dir! Most apps will want to lock this to an absolute path (e.g. same path as executables)." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "ini_filename", - "qualType" : "const char *", - "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", @@ -6980,18 +6952,6 @@ "name" : "DebugCheckVersionAndDataLayout", "resultType" : "bool", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Debug Utilities" - }, { - "@type" : "AstTextComment", - "text" : " - This is used by the IMGUI_CHECKVERSION() macro." - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "version_str", "qualType" : "const char *", @@ -7026,30 +6986,24 @@ "name" : "sz_drawidx", "qualType" : "size_t", "desugaredQualType" : "unsigned long" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "SetAllocatorFunctions", - "resultType" : "void", - "decls" : [ { + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Memory Allocators" - }, { - "@type" : "AstTextComment", - "text" : " - Those functions are not reliant on the current context." - }, { - "@type" : "AstTextComment", - "text" : " - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()" + "text" : " Debug Utilities" }, { "@type" : "AstTextComment", - "text" : " for each static/DLL boundary you are calling from. Read \"Context and Memory Allocators\" section of imgui.cpp for more details." + "text" : " - This is used by the IMGUI_CHECKVERSION() macro." } ] } ] - }, { + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetAllocatorFunctions", + "resultType" : "void", + "decls" : [ { "@type" : "AstParmVarDecl", "name" : "alloc_func", "qualType" : "ImGuiMemAllocFunc", @@ -7065,6 +7019,24 @@ "qualType" : "void *", "desugaredQualType" : "void *", "defaultValue" : "NULL" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Memory Allocators" + }, { + "@type" : "AstTextComment", + "text" : " - Those functions are not reliant on the current context." + }, { + "@type" : "AstTextComment", + "text" : " - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()" + }, { + "@type" : "AstTextComment", + "text" : " for each static/DLL boundary you are calling from. Read \"Context and Memory Allocators\" section of imgui.cpp for more details." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -9271,66 +9243,77 @@ "name" : "ImGuiDataType_S8", "docComment" : "signed char / char (with sensible compilers)", "qualType" : "ImGuiDataType_", - "order" : 0 + "order" : 0, + "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_U8", "docComment" : "unsigned char", "qualType" : "ImGuiDataType_", - "order" : 1 + "order" : 1, + "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_S16", "docComment" : "short", "qualType" : "ImGuiDataType_", - "order" : 2 + "order" : 2, + "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_U16", "docComment" : "unsigned short", "qualType" : "ImGuiDataType_", - "order" : 3 + "order" : 3, + "evaluatedValue" : "3" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_S32", "docComment" : "int", "qualType" : "ImGuiDataType_", - "order" : 4 + "order" : 4, + "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_U32", "docComment" : "unsigned int", "qualType" : "ImGuiDataType_", - "order" : 5 + "order" : 5, + "evaluatedValue" : "5" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_S64", "docComment" : "long long / __int64", "qualType" : "ImGuiDataType_", - "order" : 6 + "order" : 6, + "evaluatedValue" : "6" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_U64", "docComment" : "unsigned long long / unsigned __int64", "qualType" : "ImGuiDataType_", - "order" : 7 + "order" : 7, + "evaluatedValue" : "7" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_Float", "docComment" : "float", "qualType" : "ImGuiDataType_", - "order" : 8 + "order" : 8, + "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_Double", "docComment" : "double", "qualType" : "ImGuiDataType_", - "order" : 9 + "order" : 9, + "evaluatedValue" : "9" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDataType_COUNT", "qualType" : "ImGuiDataType_", - "order" : 10 + "order" : 10, + "evaluatedValue" : "10" } ] }, { "@type" : "AstEnumDecl", @@ -9348,42 +9331,43 @@ "@type" : "AstEnumConstantDecl", "name" : "ImGuiDir_None", "qualType" : "ImGuiDir_", - "order" : -1, + "order" : 0, "value" : "-1", "evaluatedValue" : "-1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDir_Left", "qualType" : "ImGuiDir_", - "order" : 0, + "order" : 1, "value" : "0", "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDir_Right", "qualType" : "ImGuiDir_", - "order" : 1, + "order" : 2, "value" : "1", "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDir_Up", "qualType" : "ImGuiDir_", - "order" : 2, + "order" : 3, "value" : "2", "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDir_Down", "qualType" : "ImGuiDir_", - "order" : 3, + "order" : 4, "value" : "3", "evaluatedValue" : "3" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiDir_COUNT", "qualType" : "ImGuiDir_", - "order" : 4 + "order" : 5, + "evaluatedValue" : "4" } ] }, { "@type" : "AstEnumDecl", @@ -9437,123 +9421,146 @@ "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Tab", "qualType" : "ImGuiKey_", - "order" : 0 + "order" : 0, + "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_LeftArrow", "qualType" : "ImGuiKey_", - "order" : 1 + "order" : 1, + "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_RightArrow", "qualType" : "ImGuiKey_", - "order" : 2 + "order" : 2, + "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_UpArrow", "qualType" : "ImGuiKey_", - "order" : 3 + "order" : 3, + "evaluatedValue" : "3" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_DownArrow", "qualType" : "ImGuiKey_", - "order" : 4 + "order" : 4, + "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_PageUp", "qualType" : "ImGuiKey_", - "order" : 5 + "order" : 5, + "evaluatedValue" : "5" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_PageDown", "qualType" : "ImGuiKey_", - "order" : 6 + "order" : 6, + "evaluatedValue" : "6" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Home", "qualType" : "ImGuiKey_", - "order" : 7 + "order" : 7, + "evaluatedValue" : "7" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_End", "qualType" : "ImGuiKey_", - "order" : 8 + "order" : 8, + "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Insert", "qualType" : "ImGuiKey_", - "order" : 9 + "order" : 9, + "evaluatedValue" : "9" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Delete", "qualType" : "ImGuiKey_", - "order" : 10 + "order" : 10, + "evaluatedValue" : "10" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Backspace", "qualType" : "ImGuiKey_", - "order" : 11 + "order" : 11, + "evaluatedValue" : "11" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Space", "qualType" : "ImGuiKey_", - "order" : 12 + "order" : 12, + "evaluatedValue" : "12" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Enter", "qualType" : "ImGuiKey_", - "order" : 13 + "order" : 13, + "evaluatedValue" : "13" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Escape", "qualType" : "ImGuiKey_", - "order" : 14 + "order" : 14, + "evaluatedValue" : "14" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_KeyPadEnter", "qualType" : "ImGuiKey_", - "order" : 15 + "order" : 15, + "evaluatedValue" : "15" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_A", "docComment" : "for text edit CTRL+A: select all", "qualType" : "ImGuiKey_", - "order" : 16 + "order" : 16, + "evaluatedValue" : "16" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_C", "docComment" : "for text edit CTRL+C: copy", "qualType" : "ImGuiKey_", - "order" : 17 + "order" : 17, + "evaluatedValue" : "17" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_V", "docComment" : "for text edit CTRL+V: paste", "qualType" : "ImGuiKey_", - "order" : 18 + "order" : 18, + "evaluatedValue" : "18" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_X", "docComment" : "for text edit CTRL+X: cut", "qualType" : "ImGuiKey_", - "order" : 19 + "order" : 19, + "evaluatedValue" : "19" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Y", "docComment" : "for text edit CTRL+Y: redo", "qualType" : "ImGuiKey_", - "order" : 20 + "order" : 20, + "evaluatedValue" : "20" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_Z", "docComment" : "for text edit CTRL+Z: undo", "qualType" : "ImGuiKey_", - "order" : 21 + "order" : 21, + "evaluatedValue" : "21" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiKey_COUNT", "qualType" : "ImGuiKey_", - "order" : 22 + "order" : 22, + "evaluatedValue" : "22" } ] }, { "@type" : "AstEnumDecl", @@ -9629,120 +9636,141 @@ "name" : "ImGuiNavInput_Activate", "docComment" : "activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard)", "qualType" : "ImGuiNavInput_", - "order" : 0 + "order" : 0, + "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_Cancel", "docComment" : "cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard)", "qualType" : "ImGuiNavInput_", - "order" : 1 + "order" : 1, + "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_Input", "docComment" : "text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard)", "qualType" : "ImGuiNavInput_", - "order" : 2 + "order" : 2, + "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_Menu", "docComment" : "tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard)", "qualType" : "ImGuiNavInput_", - "order" : 3 + "order" : 3, + "evaluatedValue" : "3" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_DpadLeft", "docComment" : "move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard)", "qualType" : "ImGuiNavInput_", - "order" : 4 + "order" : 4, + "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_DpadRight", "qualType" : "ImGuiNavInput_", - "order" : 5 + "order" : 5, + "evaluatedValue" : "5" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_DpadUp", "qualType" : "ImGuiNavInput_", - "order" : 6 + "order" : 6, + "evaluatedValue" : "6" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_DpadDown", "qualType" : "ImGuiNavInput_", - "order" : 7 + "order" : 7, + "evaluatedValue" : "7" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_LStickLeft", "docComment" : "scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down", "qualType" : "ImGuiNavInput_", - "order" : 8 + "order" : 8, + "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_LStickRight", "qualType" : "ImGuiNavInput_", - "order" : 9 + "order" : 9, + "evaluatedValue" : "9" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_LStickUp", "qualType" : "ImGuiNavInput_", - "order" : 10 + "order" : 10, + "evaluatedValue" : "10" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_LStickDown", "qualType" : "ImGuiNavInput_", - "order" : 11 + "order" : 11, + "evaluatedValue" : "11" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_FocusPrev", "docComment" : "next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch)", "qualType" : "ImGuiNavInput_", - "order" : 12 + "order" : 12, + "evaluatedValue" : "12" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_FocusNext", "docComment" : "prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch)", "qualType" : "ImGuiNavInput_", - "order" : 13 + "order" : 13, + "evaluatedValue" : "13" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_TweakSlow", "docComment" : "slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch)", "qualType" : "ImGuiNavInput_", - "order" : 14 + "order" : 14, + "evaluatedValue" : "14" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_TweakFast", "docComment" : "faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch)", "qualType" : "ImGuiNavInput_", - "order" : 15 + "order" : 15, + "evaluatedValue" : "15" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_KeyLeft_", "docComment" : "move left // = Arrow keys", "qualType" : "ImGuiNavInput_", - "order" : 16 + "order" : 16, + "evaluatedValue" : "16" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_KeyRight_", "docComment" : "move right", "qualType" : "ImGuiNavInput_", - "order" : 17 + "order" : 17, + "evaluatedValue" : "17" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_KeyUp_", "docComment" : "move up", "qualType" : "ImGuiNavInput_", - "order" : 18 + "order" : 18, + "evaluatedValue" : "18" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_KeyDown_", "docComment" : "move down", "qualType" : "ImGuiNavInput_", - "order" : 19 + "order" : 19, + "evaluatedValue" : "19" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_COUNT", "qualType" : "ImGuiNavInput_", - "order" : 20 + "order" : 20, + "evaluatedValue" : "20" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiNavInput_InternalStart_", @@ -9959,298 +9987,354 @@ "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_Text", "qualType" : "ImGuiCol_", - "order" : 0 + "order" : 0, + "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TextDisabled", "qualType" : "ImGuiCol_", - "order" : 1 + "order" : 1, + "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_WindowBg", "docComment" : "Background of normal windows", "qualType" : "ImGuiCol_", - "order" : 2 + "order" : 2, + "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_ChildBg", "docComment" : "Background of child windows", "qualType" : "ImGuiCol_", - "order" : 3 + "order" : 3, + "evaluatedValue" : "3" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_PopupBg", "docComment" : "Background of popups, menus, tooltips windows", "qualType" : "ImGuiCol_", - "order" : 4 + "order" : 4, + "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_Border", "qualType" : "ImGuiCol_", - "order" : 5 + "order" : 5, + "evaluatedValue" : "5" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_BorderShadow", "qualType" : "ImGuiCol_", - "order" : 6 + "order" : 6, + "evaluatedValue" : "6" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_FrameBg", "docComment" : "Background of checkbox, radio button, plot, slider, text input", "qualType" : "ImGuiCol_", - "order" : 7 + "order" : 7, + "evaluatedValue" : "7" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_FrameBgHovered", "qualType" : "ImGuiCol_", - "order" : 8 + "order" : 8, + "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_FrameBgActive", "qualType" : "ImGuiCol_", - "order" : 9 + "order" : 9, + "evaluatedValue" : "9" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TitleBg", "qualType" : "ImGuiCol_", - "order" : 10 + "order" : 10, + "evaluatedValue" : "10" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TitleBgActive", "qualType" : "ImGuiCol_", - "order" : 11 + "order" : 11, + "evaluatedValue" : "11" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TitleBgCollapsed", "qualType" : "ImGuiCol_", - "order" : 12 + "order" : 12, + "evaluatedValue" : "12" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_MenuBarBg", "qualType" : "ImGuiCol_", - "order" : 13 + "order" : 13, + "evaluatedValue" : "13" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_ScrollbarBg", "qualType" : "ImGuiCol_", - "order" : 14 + "order" : 14, + "evaluatedValue" : "14" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_ScrollbarGrab", "qualType" : "ImGuiCol_", - "order" : 15 + "order" : 15, + "evaluatedValue" : "15" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_ScrollbarGrabHovered", "qualType" : "ImGuiCol_", - "order" : 16 + "order" : 16, + "evaluatedValue" : "16" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_ScrollbarGrabActive", "qualType" : "ImGuiCol_", - "order" : 17 + "order" : 17, + "evaluatedValue" : "17" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_CheckMark", "qualType" : "ImGuiCol_", - "order" : 18 + "order" : 18, + "evaluatedValue" : "18" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_SliderGrab", "qualType" : "ImGuiCol_", - "order" : 19 + "order" : 19, + "evaluatedValue" : "19" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_SliderGrabActive", "qualType" : "ImGuiCol_", - "order" : 20 + "order" : 20, + "evaluatedValue" : "20" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_Button", "qualType" : "ImGuiCol_", - "order" : 21 + "order" : 21, + "evaluatedValue" : "21" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_ButtonHovered", "qualType" : "ImGuiCol_", - "order" : 22 + "order" : 22, + "evaluatedValue" : "22" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_ButtonActive", "qualType" : "ImGuiCol_", - "order" : 23 + "order" : 23, + "evaluatedValue" : "23" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_Header", "docComment" : "Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem", "qualType" : "ImGuiCol_", - "order" : 24 + "order" : 24, + "evaluatedValue" : "24" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_HeaderHovered", "qualType" : "ImGuiCol_", - "order" : 25 + "order" : 25, + "evaluatedValue" : "25" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_HeaderActive", "qualType" : "ImGuiCol_", - "order" : 26 + "order" : 26, + "evaluatedValue" : "26" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_Separator", "qualType" : "ImGuiCol_", - "order" : 27 + "order" : 27, + "evaluatedValue" : "27" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_SeparatorHovered", "qualType" : "ImGuiCol_", - "order" : 28 + "order" : 28, + "evaluatedValue" : "28" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_SeparatorActive", "qualType" : "ImGuiCol_", - "order" : 29 + "order" : 29, + "evaluatedValue" : "29" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_ResizeGrip", "qualType" : "ImGuiCol_", - "order" : 30 + "order" : 30, + "evaluatedValue" : "30" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_ResizeGripHovered", "qualType" : "ImGuiCol_", - "order" : 31 + "order" : 31, + "evaluatedValue" : "31" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_ResizeGripActive", "qualType" : "ImGuiCol_", - "order" : 32 + "order" : 32, + "evaluatedValue" : "32" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_Tab", "qualType" : "ImGuiCol_", - "order" : 33 + "order" : 33, + "evaluatedValue" : "33" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TabHovered", "qualType" : "ImGuiCol_", - "order" : 34 + "order" : 34, + "evaluatedValue" : "34" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TabActive", "qualType" : "ImGuiCol_", - "order" : 35 + "order" : 35, + "evaluatedValue" : "35" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TabUnfocused", "qualType" : "ImGuiCol_", - "order" : 36 + "order" : 36, + "evaluatedValue" : "36" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TabUnfocusedActive", "qualType" : "ImGuiCol_", - "order" : 37 + "order" : 37, + "evaluatedValue" : "37" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_DockingPreview", "docComment" : "Preview overlay color when about to docking something", "qualType" : "ImGuiCol_", - "order" : 38 + "order" : 38, + "evaluatedValue" : "38" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_DockingEmptyBg", "docComment" : "Background color for empty node (e.g. CentralNode with no window docked into it)", "qualType" : "ImGuiCol_", - "order" : 39 + "order" : 39, + "evaluatedValue" : "39" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_PlotLines", "qualType" : "ImGuiCol_", - "order" : 40 + "order" : 40, + "evaluatedValue" : "40" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_PlotLinesHovered", "qualType" : "ImGuiCol_", - "order" : 41 + "order" : 41, + "evaluatedValue" : "41" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_PlotHistogram", "qualType" : "ImGuiCol_", - "order" : 42 + "order" : 42, + "evaluatedValue" : "42" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_PlotHistogramHovered", "qualType" : "ImGuiCol_", - "order" : 43 + "order" : 43, + "evaluatedValue" : "43" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TableHeaderBg", "docComment" : "Table header background", "qualType" : "ImGuiCol_", - "order" : 44 + "order" : 44, + "evaluatedValue" : "44" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TableBorderStrong", "docComment" : "Table outer and header borders (prefer using Alpha=1.0 here)", "qualType" : "ImGuiCol_", - "order" : 45 + "order" : 45, + "evaluatedValue" : "45" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TableBorderLight", "docComment" : "Table inner borders (prefer using Alpha=1.0 here)", "qualType" : "ImGuiCol_", - "order" : 46 + "order" : 46, + "evaluatedValue" : "46" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TableRowBg", "docComment" : "Table row background (even rows)", "qualType" : "ImGuiCol_", - "order" : 47 + "order" : 47, + "evaluatedValue" : "47" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TableRowBgAlt", "docComment" : "Table row background (odd rows)", "qualType" : "ImGuiCol_", - "order" : 48 + "order" : 48, + "evaluatedValue" : "48" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_TextSelectedBg", "qualType" : "ImGuiCol_", - "order" : 49 + "order" : 49, + "evaluatedValue" : "49" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_DragDropTarget", "qualType" : "ImGuiCol_", - "order" : 50 + "order" : 50, + "evaluatedValue" : "50" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_NavHighlight", "docComment" : "Gamepad/keyboard: current highlighted item", "qualType" : "ImGuiCol_", - "order" : 51 + "order" : 51, + "evaluatedValue" : "51" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_NavWindowingHighlight", "docComment" : "Highlight window when using CTRL+TAB", "qualType" : "ImGuiCol_", - "order" : 52 + "order" : 52, + "evaluatedValue" : "52" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_NavWindowingDimBg", "docComment" : "Darken/colorize entire screen behind the CTRL+TAB window list, when active", "qualType" : "ImGuiCol_", - "order" : 53 + "order" : 53, + "evaluatedValue" : "53" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_ModalWindowDimBg", "docComment" : "Darken/colorize entire screen behind a modal window, when one is active", "qualType" : "ImGuiCol_", - "order" : 54 + "order" : 54, + "evaluatedValue" : "54" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiCol_COUNT", "qualType" : "ImGuiCol_", - "order" : 55 + "order" : 55, + "evaluatedValue" : "55" } ] }, { "@type" : "AstEnumDecl", @@ -10287,156 +10371,182 @@ "name" : "ImGuiStyleVar_Alpha", "docComment" : "float Alpha", "qualType" : "ImGuiStyleVar_", - "order" : 0 + "order" : 0, + "evaluatedValue" : "0" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_DisabledAlpha", "docComment" : "float DisabledAlpha", "qualType" : "ImGuiStyleVar_", - "order" : 1 + "order" : 1, + "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_WindowPadding", "docComment" : "ImVec2 WindowPadding", "qualType" : "ImGuiStyleVar_", - "order" : 2 + "order" : 2, + "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_WindowRounding", "docComment" : "float WindowRounding", "qualType" : "ImGuiStyleVar_", - "order" : 3 + "order" : 3, + "evaluatedValue" : "3" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_WindowBorderSize", "docComment" : "float WindowBorderSize", "qualType" : "ImGuiStyleVar_", - "order" : 4 + "order" : 4, + "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_WindowMinSize", "docComment" : "ImVec2 WindowMinSize", "qualType" : "ImGuiStyleVar_", - "order" : 5 + "order" : 5, + "evaluatedValue" : "5" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_WindowTitleAlign", "docComment" : "ImVec2 WindowTitleAlign", "qualType" : "ImGuiStyleVar_", - "order" : 6 + "order" : 6, + "evaluatedValue" : "6" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_ChildRounding", "docComment" : "float ChildRounding", "qualType" : "ImGuiStyleVar_", - "order" : 7 + "order" : 7, + "evaluatedValue" : "7" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_ChildBorderSize", "docComment" : "float ChildBorderSize", "qualType" : "ImGuiStyleVar_", - "order" : 8 + "order" : 8, + "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_PopupRounding", "docComment" : "float PopupRounding", "qualType" : "ImGuiStyleVar_", - "order" : 9 + "order" : 9, + "evaluatedValue" : "9" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_PopupBorderSize", "docComment" : "float PopupBorderSize", "qualType" : "ImGuiStyleVar_", - "order" : 10 + "order" : 10, + "evaluatedValue" : "10" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_FramePadding", "docComment" : "ImVec2 FramePadding", "qualType" : "ImGuiStyleVar_", - "order" : 11 + "order" : 11, + "evaluatedValue" : "11" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_FrameRounding", "docComment" : "float FrameRounding", "qualType" : "ImGuiStyleVar_", - "order" : 12 + "order" : 12, + "evaluatedValue" : "12" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_FrameBorderSize", "docComment" : "float FrameBorderSize", "qualType" : "ImGuiStyleVar_", - "order" : 13 + "order" : 13, + "evaluatedValue" : "13" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_ItemSpacing", "docComment" : "ImVec2 ItemSpacing", "qualType" : "ImGuiStyleVar_", - "order" : 14 + "order" : 14, + "evaluatedValue" : "14" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_ItemInnerSpacing", "docComment" : "ImVec2 ItemInnerSpacing", "qualType" : "ImGuiStyleVar_", - "order" : 15 + "order" : 15, + "evaluatedValue" : "15" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_IndentSpacing", "docComment" : "float IndentSpacing", "qualType" : "ImGuiStyleVar_", - "order" : 16 + "order" : 16, + "evaluatedValue" : "16" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_CellPadding", "docComment" : "ImVec2 CellPadding", "qualType" : "ImGuiStyleVar_", - "order" : 17 + "order" : 17, + "evaluatedValue" : "17" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_ScrollbarSize", "docComment" : "float ScrollbarSize", "qualType" : "ImGuiStyleVar_", - "order" : 18 + "order" : 18, + "evaluatedValue" : "18" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_ScrollbarRounding", "docComment" : "float ScrollbarRounding", "qualType" : "ImGuiStyleVar_", - "order" : 19 + "order" : 19, + "evaluatedValue" : "19" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_GrabMinSize", "docComment" : "float GrabMinSize", "qualType" : "ImGuiStyleVar_", - "order" : 20 + "order" : 20, + "evaluatedValue" : "20" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_GrabRounding", "docComment" : "float GrabRounding", "qualType" : "ImGuiStyleVar_", - "order" : 21 + "order" : 21, + "evaluatedValue" : "21" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_TabRounding", "docComment" : "float TabRounding", "qualType" : "ImGuiStyleVar_", - "order" : 22 + "order" : 22, + "evaluatedValue" : "22" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_ButtonTextAlign", "docComment" : "ImVec2 ButtonTextAlign", "qualType" : "ImGuiStyleVar_", - "order" : 23 + "order" : 23, + "evaluatedValue" : "23" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_SelectableTextAlign", "docComment" : "ImVec2 SelectableTextAlign", "qualType" : "ImGuiStyleVar_", - "order" : 24 + "order" : 24, + "evaluatedValue" : "24" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiStyleVar_COUNT", "qualType" : "ImGuiStyleVar_", - "order" : 25 + "order" : 25, + "evaluatedValue" : "25" } ] }, { "@type" : "AstEnumDecl", @@ -10900,14 +11010,14 @@ "@type" : "AstEnumConstantDecl", "name" : "ImGuiMouseCursor_None", "qualType" : "ImGuiMouseCursor_", - "order" : -1, + "order" : 0, "value" : "-1", "evaluatedValue" : "-1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiMouseCursor_Arrow", "qualType" : "ImGuiMouseCursor_", - "order" : 0, + "order" : 1, "value" : "0", "evaluatedValue" : "0" }, { @@ -10915,54 +11025,63 @@ "name" : "ImGuiMouseCursor_TextInput", "docComment" : "When hovering over InputText, etc.", "qualType" : "ImGuiMouseCursor_", - "order" : 1 + "order" : 2, + "evaluatedValue" : "1" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiMouseCursor_ResizeAll", "docComment" : "(Unused by Dear ImGui functions)", "qualType" : "ImGuiMouseCursor_", - "order" : 2 + "order" : 3, + "evaluatedValue" : "2" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiMouseCursor_ResizeNS", "docComment" : "When hovering over an horizontal border", "qualType" : "ImGuiMouseCursor_", - "order" : 3 + "order" : 4, + "evaluatedValue" : "3" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiMouseCursor_ResizeEW", "docComment" : "When hovering over a vertical border or a column", "qualType" : "ImGuiMouseCursor_", - "order" : 4 + "order" : 5, + "evaluatedValue" : "4" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiMouseCursor_ResizeNESW", "docComment" : "When hovering over the bottom-left corner of a window", "qualType" : "ImGuiMouseCursor_", - "order" : 5 + "order" : 6, + "evaluatedValue" : "5" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiMouseCursor_ResizeNWSE", "docComment" : "When hovering over the bottom-right corner of a window", "qualType" : "ImGuiMouseCursor_", - "order" : 6 + "order" : 7, + "evaluatedValue" : "6" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiMouseCursor_Hand", "docComment" : "(Unused by Dear ImGui functions. Use for e.g. hyperlinks)", "qualType" : "ImGuiMouseCursor_", - "order" : 7 + "order" : 8, + "evaluatedValue" : "7" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiMouseCursor_NotAllowed", "docComment" : "When hovering something with disallowed interaction. Usually a crossed circle.", "qualType" : "ImGuiMouseCursor_", - "order" : 8 + "order" : 9, + "evaluatedValue" : "8" }, { "@type" : "AstEnumConstantDecl", "name" : "ImGuiMouseCursor_COUNT", "qualType" : "ImGuiMouseCursor_", - "order" : 9 + "order" : 10, + "evaluatedValue" : "9" } ] }, { "@type" : "AstEnumDecl", @@ -11597,6 +11716,11 @@ "name" : "AddInputCharacter", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -11605,11 +11729,6 @@ "text" : " Functions" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "unsigned int", - "desugaredQualType" : "unsigned int" } ] }, { "@type" : "AstFunctionDecl", @@ -12398,16 +12517,6 @@ "name" : "Buf", "qualType" : "ImVector", "desugaredQualType" : "ImVector" - }, { - "@type" : "AstFunctionDecl", - "name" : "operator[]", - "resultType" : "char", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "i", - "qualType" : "int", - "desugaredQualType" : "int" - } ] }, { "@type" : "AstFunctionDecl", "name" : "begin", @@ -12693,6 +12802,17 @@ "name" : "GetIntRef", "resultType" : "int *", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "key", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "default_val", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "0" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -12716,17 +12836,6 @@ "text" : " float* pvar = ImGui::GetFloatRef(key); ImGui::SliderFloat(\"var\", pvar, 0, 100.0f); some_var += *pvar;" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "key", - "qualType" : "ImGuiID", - "desugaredQualType" : "unsigned int" - }, { - "@type" : "AstParmVarDecl", - "name" : "default_val", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", @@ -12781,6 +12890,11 @@ "name" : "SetAllInt", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "val", + "qualType" : "int", + "desugaredQualType" : "int" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -12789,11 +12903,6 @@ "text" : " Use on your own storage if you know only integer are being stored (open/close all tree nodes)" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "val", - "qualType" : "int", - "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", @@ -12944,15 +13053,6 @@ "name" : "ForceDisplayRangeByIndices", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Call ForceDisplayRangeByIndices() before first call to Step() if you need a range of items to be displayed regardless of visibility." - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "item_min", "qualType" : "int", @@ -12962,6 +13062,15 @@ "name" : "item_max", "qualType" : "int", "desugaredQualType" : "int" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Call ForceDisplayRangeByIndices() before first call to Step() if you need a range of items to be displayed regardless of visibility." + } ] + } ] } ] } ] }, { @@ -12995,15 +13104,6 @@ "name" : "SetHSV", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " FIXME-OBSOLETE: May need to obsolete/cleanup those helpers." - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "h", "qualType" : "float", @@ -13024,6 +13124,15 @@ "qualType" : "float", "desugaredQualType" : "float", "defaultValue" : "1.0f" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " FIXME-OBSOLETE: May need to obsolete/cleanup those helpers." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -13191,16 +13300,6 @@ "text" : " [Internal] For use by ImDrawListSplitter" } ] } ] - }, { - "@type" : "AstFieldDecl", - "name" : "_CmdBuffer", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" - }, { - "@type" : "AstFieldDecl", - "name" : "_IdxBuffer", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" } ] }, { "@type" : "AstRecordDecl", @@ -13217,21 +13316,6 @@ "text" : " This is used by the Columns/Tables API, so items of each column can be batched together in a same draw call." } ] } ] - }, { - "@type" : "AstFieldDecl", - "name" : "_Current", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "_Count", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "_Channels", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" }, { "@type" : "AstFunctionDecl", "name" : "Clear", @@ -13497,77 +13581,22 @@ "@type" : "AstFieldDecl", "name" : "CmdBuffer", "qualType" : "ImVector", - "desugaredQualType" : "ImVector" - }, { - "@type" : "AstFieldDecl", - "name" : "IdxBuffer", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" - }, { - "@type" : "AstFieldDecl", - "name" : "VtxBuffer", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" - }, { - "@type" : "AstFieldDecl", - "name" : "Flags", - "qualType" : "ImDrawListFlags", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "_VtxCurrentIdx", - "qualType" : "unsigned int", - "desugaredQualType" : "unsigned int" - }, { - "@type" : "AstFieldDecl", - "name" : "_Data", - "qualType" : "const ImDrawListSharedData *", - "desugaredQualType" : "const ImDrawListSharedData *" - }, { - "@type" : "AstFieldDecl", - "name" : "_OwnerName", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstFieldDecl", - "name" : "_VtxWritePtr", - "qualType" : "ImDrawVert *", - "desugaredQualType" : "ImDrawVert *" - }, { - "@type" : "AstFieldDecl", - "name" : "_IdxWritePtr", - "qualType" : "ImDrawIdx *", - "desugaredQualType" : "ImDrawIdx *" - }, { - "@type" : "AstFieldDecl", - "name" : "_ClipRectStack", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" - }, { - "@type" : "AstFieldDecl", - "name" : "_TextureIdStack", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" - }, { - "@type" : "AstFieldDecl", - "name" : "_Path", - "qualType" : "ImVector", - "desugaredQualType" : "ImVector" + "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", - "name" : "_CmdHeader", - "qualType" : "ImDrawCmdHeader", - "desugaredQualType" : "ImDrawCmdHeader" + "name" : "IdxBuffer", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", - "name" : "_Splitter", - "qualType" : "ImDrawListSplitter", - "desugaredQualType" : "ImDrawListSplitter" + "name" : "VtxBuffer", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" }, { "@type" : "AstFieldDecl", - "name" : "_FringeScale", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "Flags", + "qualType" : "ImDrawListFlags", + "desugaredQualType" : "int" }, { "@type" : "AstFunctionDecl", "name" : "PushClipRect", @@ -13624,6 +13653,27 @@ "name" : "AddLine", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p1", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p2", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "thickness", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "1.0f" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -13647,27 +13697,6 @@ "text" : " Use AddNgon() and AddNgonFilled() functions if you need to guaranteed a specific number of sides." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "p1", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "p2", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "col", - "qualType" : "ImU32", - "desugaredQualType" : "unsigned int" - }, { - "@type" : "AstParmVarDecl", - "name" : "thickness", - "qualType" : "float", - "desugaredQualType" : "float", - "defaultValue" : "1.0f" } ] }, { "@type" : "AstFunctionDecl", @@ -14216,24 +14245,6 @@ "name" : "AddImage", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Image primitives" - }, { - "@type" : "AstTextComment", - "text" : " - Read FAQ to understand what ImTextureID is." - }, { - "@type" : "AstTextComment", - "text" : " - \"p_min\" and \"p_max\" represent the upper-left and lower-right corners of the rectangle." - }, { - "@type" : "AstTextComment", - "text" : " - \"uv_min\" and \"uv_max\" represent the normalized texture coordinates to use for those corners. Using (0,0)->(1,1) texture coordinates will generally display the entire texture." - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "user_texture_id", "qualType" : "ImTextureID", @@ -14266,6 +14277,24 @@ "qualType" : "ImU32", "desugaredQualType" : "unsigned int", "defaultValue" : "IM_COL32_WHITE" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Image primitives" + }, { + "@type" : "AstTextComment", + "text" : " - Read FAQ to understand what ImTextureID is." + }, { + "@type" : "AstTextComment", + "text" : " - \"p_min\" and \"p_max\" represent the upper-left and lower-right corners of the rectangle." + }, { + "@type" : "AstTextComment", + "text" : " - \"uv_min\" and \"uv_max\" represent the normalized texture coordinates to use for those corners. Using (0,0)->(1,1) texture coordinates will generally display the entire texture." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -14574,15 +14603,6 @@ "name" : "AddCallback", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Advanced" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "callback", "qualType" : "ImDrawCallback", @@ -14592,6 +14612,15 @@ "name" : "callback_data", "qualType" : "void *", "desugaredQualType" : "void *" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Advanced" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -14606,6 +14635,11 @@ "name" : "ChannelsSplit", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -14629,11 +14663,6 @@ "text" : " Using the ImDrawList::ChannelsXXXX you cannot stack a split over another." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "count", - "qualType" : "int", - "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", @@ -14654,6 +14683,16 @@ "name" : "PrimReserve", "resultType" : "void", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx_count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "vtx_count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -14668,16 +14707,6 @@ "text" : " - All primitives needs to be reserved via PrimReserve() beforehand." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "idx_count", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstParmVarDecl", - "name" : "vtx_count", - "qualType" : "int", - "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", @@ -14823,201 +14852,93 @@ "name" : "idx", "qualType" : "ImDrawIdx", "desugaredQualType" : "unsigned short" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "PrimVtx", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "pos", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "uv", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "col", - "qualType" : "ImU32", - "desugaredQualType" : "unsigned int" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "AddBezierCurve", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "p1", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "p2", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "p3", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "p4", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "col", - "qualType" : "ImU32", - "desugaredQualType" : "unsigned int" - }, { - "@type" : "AstParmVarDecl", - "name" : "thickness", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstParmVarDecl", - "name" : "num_segments", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "0" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "PathBezierCurveTo", - "resultType" : "void", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "p2", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "p3", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "p4", - "qualType" : "const ImVec2 &", - "desugaredQualType" : "const ImVec2 &" - }, { - "@type" : "AstParmVarDecl", - "name" : "num_segments", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "0" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "_ResetForNewFrame", - "resultType" : "void", - "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " [Internal helpers]" - } ] - } ] - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "_ClearFreeMemory", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "_PopUnusedDrawCmd", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "_TryMergeDrawCmds", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "_OnChangedClipRect", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "_OnChangedTextureID", - "resultType" : "void" - }, { - "@type" : "AstFunctionDecl", - "name" : "_OnChangedVtxOffset", - "resultType" : "void" + } ] }, { "@type" : "AstFunctionDecl", - "name" : "_CalcCircleAutoSegmentCount", - "resultType" : "int", + "name" : "PrimVtx", + "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "radius", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "pos", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "uv", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" } ] }, { "@type" : "AstFunctionDecl", - "name" : "_PathArcToFastEx", + "name" : "AddBezierCurve", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "center", + "name" : "p1", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "radius", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "p2", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "a_min_sample", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "p3", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "a_max_sample", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "p4", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "thickness", + "qualType" : "float", + "desugaredQualType" : "float" }, { "@type" : "AstParmVarDecl", - "name" : "a_step", + "name" : "num_segments", "qualType" : "int", - "desugaredQualType" : "int" + "desugaredQualType" : "int", + "defaultValue" : "0" } ] }, { "@type" : "AstFunctionDecl", - "name" : "_PathArcToN", + "name" : "PathBezierCurveTo", "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "center", + "name" : "p2", "qualType" : "const ImVec2 &", "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "radius", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstParmVarDecl", - "name" : "a_min", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "p3", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "a_max", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "p4", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", "name" : "num_segments", "qualType" : "int", - "desugaredQualType" : "int" + "desugaredQualType" : "int", + "defaultValue" : "0" } ] } ] }, { @@ -15844,6 +15765,16 @@ "name" : "AddCustomRectRegular", "resultType" : "int", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "width", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "height", + "qualType" : "int", + "desugaredQualType" : "int" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -15870,16 +15801,6 @@ "text" : " - Note: this API may be redesigned later in order to support multi-monitor varying DPI settings." } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "width", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstParmVarDecl", - "name" : "height", - "qualType" : "int", - "desugaredQualType" : "int" } ] }, { "@type" : "AstFunctionDecl", @@ -15932,15 +15853,6 @@ "name" : "CalcCustomRectUV", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " [Internal]" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "rect", "qualType" : "const ImFontAtlasCustomRect *", @@ -15955,6 +15867,15 @@ "name" : "out_uv_max", "qualType" : "ImVec2 *", "desugaredQualType" : "ImVec2 *" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " [Internal]" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -16240,18 +16161,6 @@ "name" : "CalcTextSizeA", "resultType" : "ImVec2", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable." - }, { - "@type" : "AstTextComment", - "text" : " 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable." - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "size", "qualType" : "float", @@ -16283,6 +16192,18 @@ "qualType" : "const char **", "desugaredQualType" : "const char **", "defaultValue" : "NULL" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " 'max_width' stops rendering after a certain width (could be turned into a 2d size). FLT_MAX to disable." + }, { + "@type" : "AstTextComment", + "text" : " 'wrap_width' enable automatic word-wrapping across multiple lines to fit into given width. 0.0f to disable." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -16976,15 +16897,6 @@ "name" : "CalcListClipping", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.86 (from November 2021)" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "items_count", "qualType" : "int", @@ -17004,6 +16916,15 @@ "name" : "out_items_display_end", "qualType" : "int *", "desugaredQualType" : "int *" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " OBSOLETED in 1.86 (from November 2021)" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -17024,15 +16945,6 @@ "name" : "ListBoxHeader", "resultType" : "bool", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.81 (from February 2021)" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", @@ -17048,6 +16960,15 @@ "qualType" : "int", "desugaredQualType" : "int", "defaultValue" : "-1" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " OBSOLETED in 1.81 (from February 2021)" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -17074,15 +16995,6 @@ "name" : "OpenPopupContextItem", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.79 (from August 2020)" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "str_id", "qualType" : "const char *", @@ -17094,27 +17006,21 @@ "qualType" : "ImGuiMouseButton", "desugaredQualType" : "int", "defaultValue" : "1" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "DragScalar", - "resultType" : "bool", - "decls" : [ { + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.78 (from June 2020)" - }, { - "@type" : "AstTextComment", - "text" : " Old drag/sliders functions that took a 'float power = 1.0' argument instead of flags." - }, { - "@type" : "AstTextComment", - "text" : " For shared code, you can version check at compile-time with `#if IMGUI_VERSION_NUM >= 17704`." + "text" : " OBSOLETED in 1.79 (from August 2020)" } ] } ] - }, { + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragScalar", + "resultType" : "bool", + "decls" : [ { "@type" : "AstParmVarDecl", "name" : "label", "qualType" : "const char *", @@ -17154,6 +17060,21 @@ "name" : "power", "qualType" : "float", "desugaredQualType" : "float" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " OBSOLETED in 1.78 (from June 2020)" + }, { + "@type" : "AstTextComment", + "text" : " Old drag/sliders functions that took a 'float power = 1.0' argument instead of flags." + }, { + "@type" : "AstTextComment", + "text" : " For shared code, you can version check at compile-time with `#if IMGUI_VERSION_NUM >= 17704`." + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -17595,15 +17516,6 @@ "name" : "BeginPopupContextWindow", "resultType" : "bool", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.77 (from June 2020)" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "str_id", "qualType" : "const char *", @@ -17618,6 +17530,15 @@ "name" : "over_items", "qualType" : "bool", "desugaredQualType" : "bool" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " OBSOLETED in 1.77 (from June 2020)" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -17638,15 +17559,6 @@ "name" : "SetNextTreeNodeOpen", "resultType" : "void", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " OBSOLETED in 1.71 (from June 2019)" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "open", "qualType" : "bool", @@ -17657,6 +17569,15 @@ "qualType" : "ImGuiCond", "desugaredQualType" : "int", "defaultValue" : "0" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " OBSOLETED in 1.71 (from June 2019)" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", diff --git a/buildSrc/src/main/resources/generator/api/ast/ast-imgui_internal.json b/buildSrc/src/main/resources/generator/api/ast/ast-imgui_internal.json index fc38de91..72171041 100644 --- a/buildSrc/src/main/resources/generator/api/ast/ast-imgui_internal.json +++ b/buildSrc/src/main/resources/generator/api/ast/ast-imgui_internal.json @@ -24,6 +24,19 @@ } ] } ] } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImDrawChannel", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Forward declarations" + } ] + } ] + } ] }, { "@type" : "AstNamespaceDecl", "name" : "ImStb", @@ -43,10 +56,62 @@ } ] } ] } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImHashData", + "resultType" : "ImGuiID", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "data", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "data_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "seed", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int", + "defaultValue" : "0" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helpers: Hashing" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImHashStr", + "resultType" : "ImGuiID", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "data", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "data_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long", + "defaultValue" : "0" + }, { + "@type" : "AstParmVarDecl", + "name" : "seed", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int", + "defaultValue" : "0" + } ] }, { "@type" : "AstFunctionDecl", "name" : "ImHash", - "resultType" : "int", + "resultType" : "ImGuiID", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "data", @@ -60,8 +125,8 @@ }, { "@type" : "AstParmVarDecl", "name" : "seed", - "qualType" : "int", - "desugaredQualType" : "int", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int", "defaultValue" : "0" } ] }, { @@ -91,22 +156,46 @@ } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImIsPowerOfTwo", - "resultType" : "bool", + "name" : "ImAlphaBlendColors", + "resultType" : "ImU32", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "col_a", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "col_b", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " Helpers: Bit manipulation" + "text" : " Helpers: Color Blending" } ] } ] - }, { + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImIsPowerOfTwo", + "resultType" : "bool", + "decls" : [ { "@type" : "AstParmVarDecl", "name" : "v", "qualType" : "int", "desugaredQualType" : "int" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helpers: Bit manipulation" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -115,8 +204,8 @@ "decls" : [ { "@type" : "AstParmVarDecl", "name" : "v", - "qualType" : "int", - "desugaredQualType" : "int" + "qualType" : "ImU64", + "desugaredQualType" : "unsigned long long" } ] }, { "@type" : "AstFunctionDecl", @@ -133,15 +222,6 @@ "name" : "ImStricmp", "resultType" : "int", "decls" : [ { - "@type" : "AstFullComment", - "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Helpers: String, Formatting" - } ] - } ] - }, { "@type" : "AstParmVarDecl", "name" : "str1", "qualType" : "const char *", @@ -151,6 +231,15 @@ "name" : "str2", "qualType" : "const char *", "desugaredQualType" : "const char *" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helpers: String, Formatting" + } ] + } ] } ] }, { "@type" : "AstFunctionDecl", @@ -175,7 +264,7 @@ }, { "@type" : "AstFunctionDecl", "name" : "ImStrncpy", - "resultType" : "int", + "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "dst", @@ -195,7 +284,7 @@ }, { "@type" : "AstFunctionDecl", "name" : "ImStrdup", - "resultType" : "int *", + "resultType" : "char *", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "str", @@ -205,7 +294,7 @@ }, { "@type" : "AstFunctionDecl", "name" : "ImStrdupcpy", - "resultType" : "int *", + "resultType" : "char *", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "dst", @@ -225,7 +314,7 @@ }, { "@type" : "AstFunctionDecl", "name" : "ImStrchrRange", - "resultType" : "const int *", + "resultType" : "const char *", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "str_begin", @@ -249,13 +338,13 @@ "decls" : [ { "@type" : "AstParmVarDecl", "name" : "str", - "qualType" : "const int *", - "desugaredQualType" : "const int *" + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" } ] }, { "@type" : "AstFunctionDecl", "name" : "ImStreolRange", - "resultType" : "const int *", + "resultType" : "const char *", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "str", @@ -267,10 +356,25 @@ "qualType" : "const char *", "desugaredQualType" : "const char *" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImStrbolW", + "resultType" : "const ImWchar *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "buf_mid_line", + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" + }, { + "@type" : "AstParmVarDecl", + "name" : "buf_begin", + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" + } ] }, { "@type" : "AstFunctionDecl", "name" : "ImStristr", - "resultType" : "const int *", + "resultType" : "const char *", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "haystack", @@ -295,7 +399,7 @@ }, { "@type" : "AstFunctionDecl", "name" : "ImStrTrimBlanks", - "resultType" : "int", + "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "str", @@ -305,17 +409,72 @@ }, { "@type" : "AstFunctionDecl", "name" : "ImStrSkipBlank", - "resultType" : "const int *", + "resultType" : "const char *", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "str", "qualType" : "const char *", "desugaredQualType" : "const char *" } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFormatString", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "buf", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "buf_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFormatStringV", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "buf", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "buf_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { "@type" : "AstFunctionDecl", "name" : "ImParseFormatFindStart", - "resultType" : "const int *", + "resultType" : "const char *", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "format", @@ -325,7 +484,7 @@ }, { "@type" : "AstFunctionDecl", "name" : "ImParseFormatFindEnd", - "resultType" : "const int *", + "resultType" : "const char *", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "format", @@ -335,7 +494,7 @@ }, { "@type" : "AstFunctionDecl", "name" : "ImParseFormatTrimDecorations", - "resultType" : "const int *", + "resultType" : "const char *", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "format", @@ -367,6 +526,32 @@ "qualType" : "int", "desugaredQualType" : "int" } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImVec2", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " ImVec2: 2D vector used to store positions, sizes etc. [Compile-time configurable type]" + }, { + "@type" : "AstTextComment", + "text" : " This is a frequently used type in the API. Consider using IM_VEC2_CLASS_EXTRA to create implicit cast from/to our preferred type." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "y", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { "@type" : "AstFunctionDecl", "name" : "ImCharIsBlankA", @@ -390,8 +575,18 @@ }, { "@type" : "AstFunctionDecl", "name" : "ImTextCharToUtf8", - "resultType" : "const int *", + "resultType" : "const char *", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "out_buf", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + }, { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", @@ -406,16 +601,6 @@ "text" : "> wchar conversions" } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "out_buf", - "qualType" : "char *", - "desugaredQualType" : "char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "unsigned int", - "desugaredQualType" : "unsigned int" } ] }, { "@type" : "AstFunctionDecl", @@ -434,13 +619,13 @@ }, { "@type" : "AstParmVarDecl", "name" : "in_text", - "qualType" : "const int *", - "desugaredQualType" : "const int *" + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" }, { "@type" : "AstParmVarDecl", "name" : "in_text_end", - "qualType" : "const int *", - "desugaredQualType" : "const int *" + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" } ] }, { "@type" : "AstFunctionDecl", @@ -464,9 +649,19 @@ } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImTextCountCharsFromUtf8", + "name" : "ImTextStrFromUtf8", "resultType" : "int", "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "out_buf", + "qualType" : "ImWchar *", + "desugaredQualType" : "ImWchar *" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_buf_size", + "qualType" : "int", + "desugaredQualType" : "int" + }, { "@type" : "AstParmVarDecl", "name" : "in_text", "qualType" : "const char *", @@ -476,10 +671,49 @@ "name" : "in_text_end", "qualType" : "const char *", "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "in_remaining", + "qualType" : "const char **", + "desugaredQualType" : "const char **", + "defaultValue" : "NULL" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImVec4", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " ImVec4: 4D vector used to store clipping rectangles, colors etc. [Compile-time configurable type]" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "y", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "z", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "w", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImTextCountUtf8BytesFromChar", + "name" : "ImTextCountCharsFromUtf8", "resultType" : "int", "decls" : [ { "@type" : "AstParmVarDecl", @@ -494,7411 +728,29358 @@ } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImTextCountUtf8BytesFromStr", + "name" : "ImTextCountUtf8BytesFromChar", "resultType" : "int", "decls" : [ { "@type" : "AstParmVarDecl", "name" : "in_text", - "qualType" : "const int *", - "desugaredQualType" : "const int *" + "qualType" : "const char *", + "desugaredQualType" : "const char *" }, { "@type" : "AstParmVarDecl", "name" : "in_text_end", - "qualType" : "const int *", - "desugaredQualType" : "const int *" + "qualType" : "const char *", + "desugaredQualType" : "const char *" } ] }, { "@type" : "AstFunctionDecl", - "name" : "ImFileClose", + "name" : "ImTextCountUtf8BytesFromStr", "resultType" : "int", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "file", - "qualType" : "ImFileHandle", - "desugaredQualType" : "FILE *" + "name" : "in_text", + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" + }, { + "@type" : "AstParmVarDecl", + "name" : "in_text_end", + "qualType" : "const ImWchar *", + "desugaredQualType" : "const ImWchar *" } ] }, { - "@type" : "AstFunctionDecl", - "name" : "ImFileLoadToMemory", - "resultType" : "int *", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "filename", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "mode", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - }, { - "@type" : "AstParmVarDecl", - "name" : "out_file_size", - "qualType" : "size_t *", - "desugaredQualType" : "size_t *", - "defaultValue" : "NULL" - }, { - "@type" : "AstParmVarDecl", - "name" : "padding_bytes", - "qualType" : "int", - "desugaredQualType" : "int", - "defaultValue" : "0" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImPow", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstParmVarDecl", - "name" : "y", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImPow", - "resultType" : "double", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "double", - "desugaredQualType" : "double" - }, { - "@type" : "AstParmVarDecl", - "name" : "y", - "qualType" : "double", - "desugaredQualType" : "double" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImLog", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImLog", - "resultType" : "double", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "double", - "desugaredQualType" : "double" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImAbs", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "int", - "desugaredQualType" : "int" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImAbs", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImAbs", - "resultType" : "double", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "double", - "desugaredQualType" : "double" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImSign", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImSign", - "resultType" : "double", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "double", - "desugaredQualType" : "double" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImRsqrt", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImRsqrt", - "resultType" : "double", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "x", - "qualType" : "double", - "desugaredQualType" : "double" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImMin", - "resultType" : "int", + "@type" : "AstNamespaceDecl", + "name" : "ImGui", "decls" : [ { "@type" : "AstFullComment", "decls" : [ { "@type" : "AstParagraphComment", "decls" : [ { "@type" : "AstTextComment", - "text" : " - Misc maths helpers" + "text" : "-----------------------------------------------------------------------------" + }, { + "@type" : "AstTextComment", + "text" : " [SECTION] Dear ImGui end-user API functions" + }, { + "@type" : "AstTextComment", + "text" : " (Note that ImGui:: being a namespace, you can add extra ImGui:: functions in your own separate file. Please don't modify imgui source files!)" + }, { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" } ] } ] }, { - "@type" : "AstParmVarDecl", - "name" : "lhs", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "CreateContext", + "resultType" : "ImGuiContext *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "shared_font_atlas", + "qualType" : "ImFontAtlas *", + "desugaredQualType" : "ImFontAtlas *", + "defaultValue" : "s, c" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Context creation and access" + }, { + "@type" : "AstTextComment", + "text" : " - Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between contexts." + }, { + "@type" : "AstTextComment", + "text" : " - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()" + }, { + "@type" : "AstTextComment", + "text" : " for each static/DLL boundary you are calling from. Read \"Context and Memory Allocators\" section of imgui.cpp for details." + } ] + } ] + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "rhs", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImMax", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "lhs", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "DestroyContext", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ctx", + "qualType" : "ImGuiContext *", + "desugaredQualType" : "ImGuiContext *", + "defaultValue" : "+ rh" + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "rhs", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImClamp", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "v", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "GetCurrentContext", + "resultType" : "ImGuiContext *" }, { - "@type" : "AstParmVarDecl", - "name" : "mn", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "SetCurrentContext", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ctx", + "qualType" : "ImGuiContext *", + "desugaredQualType" : "ImGuiContext *" + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "mx", - "qualType" : "int", - "desugaredQualType" : "int" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImLerp", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "a", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "GetIO", + "resultType" : "ImGuiIO &", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Main" + } ] + } ] + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "b", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "GetStyle", + "resultType" : "ImGuiStyle &" }, { - "@type" : "AstParmVarDecl", - "name" : "t", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImLerp", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "a", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "NewFrame", + "resultType" : "void" }, { - "@type" : "AstParmVarDecl", - "name" : "b", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "EndFrame", + "resultType" : "void" }, { - "@type" : "AstParmVarDecl", - "name" : "t", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImLerp", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "a", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "Render", + "resultType" : "void" }, { - "@type" : "AstParmVarDecl", - "name" : "b", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "GetDrawData", + "resultType" : "ImDrawData *" }, { - "@type" : "AstParmVarDecl", - "name" : "t", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImSaturate", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "f", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImLengthSqr", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "lhs", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImLengthSqr", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "lhs", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImInvLength", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "lhs", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "ShowDemoWindow", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "ec4 " + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Demo, Debug, Information" + } ] + } ] + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "fail_value", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImFloor", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "f", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImFloorSigned", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "f", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImFloor", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "v", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImModPositive", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "a", - "qualType" : "int", - "desugaredQualType" : "int" + "@type" : "AstFunctionDecl", + "name" : "ShowMetricsWindow", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "BLE_" + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "b", - "qualType" : "int", - "desugaredQualType" : "int" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImDot", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "a", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "ShowStackToolWindow", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "\nsta" + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "b", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImRotate", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "v", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "ShowAboutWindow", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : " " + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "cos_a", - "qualType" : "float", - "desugaredQualType" : "float" + "@type" : "AstFunctionDecl", + "name" : "ShowStyleEditor", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ref", + "qualType" : "ImGuiStyle *", + "desugaredQualType" : "ImGuiStyle *", + "defaultValue" : "ite(" + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "sin_a", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImLinearSweep", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "current", - "qualType" : "float", - "desugaredQualType" : "float" + "@type" : "AstFunctionDecl", + "name" : "ShowStyleSelector", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "target", - "qualType" : "float", - "desugaredQualType" : "float" + "@type" : "AstFunctionDecl", + "name" : "ShowFontSelector", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "speed", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImMul", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "lhs", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "ShowUserGuide", + "resultType" : "void" }, { - "@type" : "AstParmVarDecl", - "name" : "rhs", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImIsFloatAboveGuaranteedIntegerPrecision", - "resultType" : "bool", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "f", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImTriangleContainsPoint", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "a", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "GetVersion", + "resultType" : "const char *" }, { - "@type" : "AstParmVarDecl", - "name" : "b", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "StyleColorsDark", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "dst", + "qualType" : "ImGuiStyle *", + "desugaredQualType" : "ImGuiStyle *", + "defaultValue" : " to " + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Styles" + } ] + } ] + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "const int &", - "desugaredQualType" : "const int &" + "@type" : "AstFunctionDecl", + "name" : "StyleColorsLight", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "dst", + "qualType" : "ImGuiStyle *", + "desugaredQualType" : "ImGuiStyle *", + "defaultValue" : " " + } ] }, { - "@type" : "AstParmVarDecl", - "name" : "p", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImTriangleBarycentricCoords", - "resultType" : "int", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "a", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - }, { - "@type" : "AstParmVarDecl", - "name" : "b", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - }, { - "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - }, { - "@type" : "AstParmVarDecl", - "name" : "p", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - }, { - "@type" : "AstParmVarDecl", - "name" : "out_u", - "qualType" : "float &", - "desugaredQualType" : "float &" - }, { - "@type" : "AstParmVarDecl", - "name" : "out_v", - "qualType" : "float &", - "desugaredQualType" : "float &" - }, { - "@type" : "AstParmVarDecl", - "name" : "out_w", - "qualType" : "float &", - "desugaredQualType" : "float &" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImTriangleArea", - "resultType" : "float", - "decls" : [ { - "@type" : "AstParmVarDecl", - "name" : "a", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - }, { - "@type" : "AstParmVarDecl", - "name" : "b", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - }, { - "@type" : "AstParmVarDecl", - "name" : "c", - "qualType" : "const int &", - "desugaredQualType" : "const int &" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImVec1", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "StyleColorsClassic", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Helper: ImVec1 (1D vector)" - }, { - "@type" : "AstTextComment", - "text" : " (this odd construct is used to facilitate the transition between 1D and 2D, and the maintenance of some branches/patches)" - } ] + "@type" : "AstParmVarDecl", + "name" : "dst", + "qualType" : "ImGuiStyle *", + "desugaredQualType" : "ImGuiStyle *", + "defaultValue" : " sin" } ] }, { - "@type" : "AstFieldDecl", - "name" : "x", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImVec2ih", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "Begin", + "resultType" : "bool", "decls" : [ { - "@type" : "AstParagraphComment", + "@type" : "AstParmVarDecl", + "name" : "name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "etur" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiWindowFlags", + "desugaredQualType" : "int", + "defaultValue" : "s" + }, { + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstTextComment", - "text" : " Helper: ImVec2ih (2D vector, half-size integer, for long-term packed storage)" + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Windows" + }, { + "@type" : "AstTextComment", + "text" : " - Begin() = push window to the stack and start appending to it. End() = pop window from the stack." + }, { + "@type" : "AstTextComment", + "text" : " - Passing 'bool* p_open != NULL' shows a window-closing widget in the upper-right corner of the window," + }, { + "@type" : "AstTextComment", + "text" : " which clicking will set the boolean to false when clicked." + }, { + "@type" : "AstTextComment", + "text" : " - You may append multiple times to the same window during the same frame by calling Begin()/End() pairs multiple times." + }, { + "@type" : "AstTextComment", + "text" : " Some information such as 'flags' or 'p_open' will only be considered by the first call to Begin()." + }, { + "@type" : "AstTextComment", + "text" : " - Begin() return false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting" + }, { + "@type" : "AstTextComment", + "text" : " anything to the window. Always call a matching End() for each Begin() call, regardless of its return value!" + }, { + "@type" : "AstTextComment", + "text" : " [Important: due to legacy reason, this is inconsistent with most other functions such as BeginMenu/EndMenu," + }, { + "@type" : "AstTextComment", + "text" : " BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding BeginXXX function" + }, { + "@type" : "AstTextComment", + "text" : " returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.]" + }, { + "@type" : "AstTextComment", + "text" : " - Note that the bottom of window stack always contains a window called \"Debug\"." + } ] } ] } ] }, { - "@type" : "AstFieldDecl", - "name" : "x", - "qualType" : "short", - "desugaredQualType" : "short" + "@type" : "AstFunctionDecl", + "name" : "End", + "resultType" : "void" }, { - "@type" : "AstFieldDecl", - "name" : "y", - "qualType" : "short", - "desugaredQualType" : "short" - } ] - }, { - "@type" : "AstFunctionDecl", - "name" : "ImBitArrayTestBit", - "resultType" : "int", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "BeginChild", + "resultType" : "bool", "decls" : [ { - "@type" : "AstParagraphComment", + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : " > 0 && (a >" + }, { + "@type" : "AstParmVarDecl", + "name" : "border", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : " mx; " + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiWindowFlags", + "desugaredQualType" : "int", + "defaultValue" : "p" + }, { + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstTextComment", - "text" : " Helper: ImBitArray" + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Child Windows" + }, { + "@type" : "AstTextComment", + "text" : " - Use child windows to begin into a self-contained independent scrolling/clipping regions within a host window. Child windows can embed their own child." + }, { + "@type" : "AstTextComment", + "text" : " - For each independent axis of 'size': ==0.0f: use remaining host window size / >0.0f: fixed size / " + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : "0.0f: use remaining window size minus abs(size) / Each axis can use a different mode, e.g. ImVec2(0,400)." + }, { + "@type" : "AstTextComment", + "text" : " - BeginChild() returns false to indicate the window is collapsed or fully clipped, so you may early out and omit submitting anything to the window." + }, { + "@type" : "AstTextComment", + "text" : " Always call a matching EndChild() for each BeginChild() call, regardless of its return value." + }, { + "@type" : "AstTextComment", + "text" : " [Important: due to legacy reason, this is inconsistent with most other functions such as BeginMenu/EndMenu," + }, { + "@type" : "AstTextComment", + "text" : " BeginPopup/EndPopup, etc. where the EndXXX call should only be called if the corresponding BeginXXX function" + }, { + "@type" : "AstTextComment", + "text" : " returned true. Begin and BeginChild are the only odd ones out. Will be fixed in a future update.]" + } ] } ] } ] - }, { - "@type" : "AstParmVarDecl", - "name" : "arr", - "qualType" : "const int *", - "desugaredQualType" : "const int *" - }, { - "@type" : "AstParmVarDecl", - "name" : "n", - "qualType" : "int", - "desugaredQualType" : "int" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImDrawDataBuilder", - "decls" : [ { - "@type" : "AstFieldDecl", - "name" : "Layers", - "qualType" : "int[2]", - "desugaredQualType" : "int[2]" }, { "@type" : "AstFunctionDecl", - "name" : "Clear", - "resultType" : "void" + "name" : "BeginChild", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : " > 0 && (a <" + }, { + "@type" : "AstParmVarDecl", + "name" : "border", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : " mn; " + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiWindowFlags", + "desugaredQualType" : "int", + "defaultValue" : "r" + } ] }, { "@type" : "AstFunctionDecl", - "name" : "ClearFreeMemory", + "name" : "EndChild", "resultType" : "void" }, { "@type" : "AstFunctionDecl", - "name" : "GetDrawListCount", - "resultType" : "int" - }, { - "@type" : "AstFunctionDecl", - "name" : "FlattenIntoSingleLayer", - "resultType" : "IMGUI_API" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiItemFlags_", - "decls" : [ { - "@type" : "AstFullComment", + "name" : "IsWindowAppearing", + "resultType" : "bool", "decls" : [ { - "@type" : "AstParagraphComment", + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstTextComment", - "text" : " Transient per-window flags, reset at the beginning of the frame. For child window, inherited from parent on first Begin()." - }, { - "@type" : "AstTextComment", - "text" : " This is going to be exposed in imgui.h when stabilized enough." + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Windows Utilities" + }, { + "@type" : "AstTextComment", + "text" : " - 'current window' = the window we are appending into while inside a Begin()/End() block. 'next window' = next window we will Begin() into." + } ] } ] } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_None", - "qualType" : "ImGuiItemFlags_", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" + "@type" : "AstFunctionDecl", + "name" : "IsWindowCollapsed", + "resultType" : "bool" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_NoTabStop", - "docComment" : "false // Disable keyboard tabbing (FIXME: should merge with _NoNav)", - "qualType" : "ImGuiItemFlags_", - "order" : 1, - "value" : "1 << 0", - "evaluatedValue" : "1" + "@type" : "AstFunctionDecl", + "name" : "IsWindowFocused", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiFocusedFlags", + "desugaredQualType" : "int", + "defaultValue" : "n" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_ButtonRepeat", - "docComment" : "false // Button() will return true multiple times based on io.KeyRepeatDelay and io.KeyRepeatRate settings.", - "qualType" : "ImGuiItemFlags_", - "order" : 2, - "value" : "1 << 1", - "evaluatedValue" : "2" + "@type" : "AstFunctionDecl", + "name" : "IsWindowHovered", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiHoveredFlags", + "desugaredQualType" : "int", + "defaultValue" : ">" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_Disabled", - "docComment" : "false // Disable interactions but doesn't affect visuals. See BeginDisabled()/EndDisabled(). See github.com/ocornut/imgui/issues/211", - "qualType" : "ImGuiItemFlags_", - "order" : 3, - "value" : "1 << 2", - "evaluatedValue" : "4" + "@type" : "AstFunctionDecl", + "name" : "GetWindowDrawList", + "resultType" : "ImDrawList *" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_NoNav", - "docComment" : "false // Disable keyboard/gamepad directional navigation (FIXME: should merge with _NoTabStop)", - "qualType" : "ImGuiItemFlags_", - "order" : 4, - "value" : "1 << 3", - "evaluatedValue" : "8" + "@type" : "AstFunctionDecl", + "name" : "GetWindowDpiScale", + "resultType" : "float" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_NoNavDefaultFocus", - "docComment" : "false // Disable item being a candidate for default focus (e.g. used by title bar items)", - "qualType" : "ImGuiItemFlags_", - "order" : 5, - "value" : "1 << 4", - "evaluatedValue" : "16" + "@type" : "AstFunctionDecl", + "name" : "GetWindowPos", + "resultType" : "ImVec2" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_SelectableDontClosePopup", - "docComment" : "false // Disable MenuItem/Selectable() automatically closing their popup window", - "qualType" : "ImGuiItemFlags_", - "order" : 6, - "value" : "1 << 5", - "evaluatedValue" : "32" + "@type" : "AstFunctionDecl", + "name" : "GetWindowSize", + "resultType" : "ImVec2" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_MixedValue", - "docComment" : "false // [BETA] Represent a mixed/indeterminate value, generally multi-selection where values differ. Currently only supported by Checkbox() (later should support all sorts of widgets)", - "qualType" : "ImGuiItemFlags_", - "order" : 7, - "value" : "1 << 6", - "evaluatedValue" : "64" + "@type" : "AstFunctionDecl", + "name" : "GetWindowWidth", + "resultType" : "float" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_ReadOnly", - "docComment" : "false // [ALPHA] Allow hovering interactions but underlying value is not changed.", - "qualType" : "ImGuiItemFlags_", - "order" : 8, - "value" : "1 << 7", - "evaluatedValue" : "128" + "@type" : "AstFunctionDecl", + "name" : "GetWindowHeight", + "resultType" : "float" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemFlags_Inputable", - "docComment" : "false // [WIP] Auto-activate input mode when tab focused. Currently only used and supported by a few items before it becomes a generic feature.", - "qualType" : "ImGuiItemFlags_", - "order" : 9, - "value" : "1 << 8", - "evaluatedValue" : "256" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiItemStatusFlags_", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "GetWindowViewport", + "resultType" : "ImGuiViewport *" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowPos", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", + "@type" : "AstParmVarDecl", + "name" : "pos", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "pivot", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "oat)(int)(v." + }, { + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstTextComment", - "text" : " Storage for LastItem data" + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Window manipulation" + }, { + "@type" : "AstTextComment", + "text" : " - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin)." + } ] } ] } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemStatusFlags_None", - "qualType" : "ImGuiItemStatusFlags_", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemStatusFlags_HoveredRect", - "docComment" : "Mouse position is within item rectangle (does NOT mean that the window is in correct z-order and can be hovered!, this is only one part of the most-common IsItemHovered test)", - "qualType" : "ImGuiItemStatusFlags_", - "order" : 1, - "value" : "1 << 0", - "evaluatedValue" : "1" + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowSize", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : ")" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemStatusFlags_HasDisplayRect", - "docComment" : "g.LastItemData.DisplayRect is valid", - "qualType" : "ImGuiItemStatusFlags_", - "order" : 2, - "value" : "1 << 1", - "evaluatedValue" : "2" + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowSizeConstraints", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "size_min", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "size_max", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "custom_callback", + "qualType" : "ImGuiSizeCallback", + "desugaredQualType" : "void (*)(ImGuiSizeCallbackData *)", + "defaultValue" : "loat" + }, { + "@type" : "AstParmVarDecl", + "name" : "custom_callback_data", + "qualType" : "void *", + "desugaredQualType" : "void *", + "defaultValue" : "curr" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemStatusFlags_Edited", - "docComment" : "Value exposed by item was edited in the current frame (should match the bool return value of most widgets)", - "qualType" : "ImGuiItemStatusFlags_", - "order" : 3, - "value" : "1 << 2", - "evaluatedValue" : "4" + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowContentSize", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemStatusFlags_ToggledSelection", - "docComment" : "Set when Selectable(), TreeNode() reports toggling a selection. We can't report \"Selected\", only state changes, in order to easily handle clipping with less issues.", - "qualType" : "ImGuiItemStatusFlags_", - "order" : 4, - "value" : "1 << 3", - "evaluatedValue" : "8" + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowCollapsed", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "collapsed", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "I" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemStatusFlags_ToggledOpen", - "docComment" : "Set when TreeNode() reports toggling their open state.", - "qualType" : "ImGuiItemStatusFlags_", - "order" : 5, - "value" : "1 << 4", - "evaluatedValue" : "16" + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowFocus", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemStatusFlags_HasDeactivated", - "docComment" : "Set if the widget/group is able to provide data for the ImGuiItemStatusFlags_Deactivated flag.", - "qualType" : "ImGuiItemStatusFlags_", - "order" : 6, - "value" : "1 << 5", - "evaluatedValue" : "32" + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowBgAlpha", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "alpha", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemStatusFlags_Deactivated", - "docComment" : "Only valid if ImGuiItemStatusFlags_HasDeactivated is set.", - "qualType" : "ImGuiItemStatusFlags_", - "order" : 7, - "value" : "1 << 6", - "evaluatedValue" : "64" + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowViewport", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "viewport_id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemStatusFlags_HoveredWindow", - "docComment" : "Override the HoveredWindow test to allow cross-window hover testing.", - "qualType" : "ImGuiItemStatusFlags_", - "order" : 8, - "value" : "1 << 7", - "evaluatedValue" : "128" + "@type" : "AstFunctionDecl", + "name" : "SetWindowPos", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "pos", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "T" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiItemStatusFlags_FocusedByTabbing", - "docComment" : "Set when the Focusable item just got focused by Tabbing (FIXME: to be removed soon)", - "qualType" : "ImGuiItemStatusFlags_", - "order" : 9, - "value" : "1 << 8", - "evaluatedValue" : "256" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiInputTextFlagsPrivate_", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "SetWindowSize", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Extend ImGuiInputTextFlags_" - } ] + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "t" } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_Multiline", - "docComment" : "For internal use by InputTextMultiline()", - "qualType" : "ImGuiInputTextFlagsPrivate_", - "order" : 0, - "value" : "1 << 26", - "evaluatedValue" : "67108864" + "@type" : "AstFunctionDecl", + "name" : "SetWindowCollapsed", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "collapsed", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "i" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_NoMarkEdited", - "docComment" : "For internal use by functions using InputText() before reformatting data", - "qualType" : "ImGuiInputTextFlagsPrivate_", - "order" : 1, - "value" : "1 << 27", - "evaluatedValue" : "134217728" + "@type" : "AstFunctionDecl", + "name" : "SetWindowFocus", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputTextFlags_MergedItem", - "docComment" : "For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match.", - "qualType" : "ImGuiInputTextFlagsPrivate_", - "order" : 2, - "value" : "1 << 28", - "evaluatedValue" : "268435456" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiButtonFlagsPrivate_", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "SetWindowFontScale", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Extend ImGuiButtonFlags_" - } ] + "@type" : "AstParmVarDecl", + "name" : "scale", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_PressedOnClick", - "docComment" : "return true on click (mouse down event)", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 0, - "value" : "1 << 4", - "evaluatedValue" : "16" - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_PressedOnClickRelease", - "docComment" : "[Default] return true on click + release on same item < -- this is what the majority of Button are using", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 1, - "value" : "1 << 5", - "evaluatedValue" : "32" + "@type" : "AstFunctionDecl", + "name" : "SetWindowPos", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "pos", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_PressedOnClickReleaseAnywhere", - "docComment" : "return true on click + release even if the release event is not done while hovering the item", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 2, - "value" : "1 << 6", - "evaluatedValue" : "64" + "@type" : "AstFunctionDecl", + "name" : "SetWindowSize", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "m" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_PressedOnRelease", - "docComment" : "return true on release (default requires click+release)", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 3, - "value" : "1 << 7", - "evaluatedValue" : "128" + "@type" : "AstFunctionDecl", + "name" : "SetWindowCollapsed", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "collapsed", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "," + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_PressedOnDoubleClick", - "docComment" : "return true on double-click (default requires click+release)", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 4, - "value" : "1 << 8", - "evaluatedValue" : "256" + "@type" : "AstFunctionDecl", + "name" : "SetWindowFocus", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_PressedOnDragDropHold", - "docComment" : "return true when held into while we are drag and dropping another item (used by e.g. tree nodes, collapsing headers)", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 5, - "value" : "1 << 9", - "evaluatedValue" : "512" + "@type" : "AstFunctionDecl", + "name" : "GetContentRegionAvail", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Content region" + }, { + "@type" : "AstTextComment", + "text" : " - Retrieve available space from a given point. GetContentRegionAvail() is frequently useful." + }, { + "@type" : "AstTextComment", + "text" : " - Those functions are bound to be redesigned (they are confusing, incomplete and the Min/Max return values are in local window coordinates which increases confusion)" + } ] + } ] + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_Repeat", - "docComment" : "hold to repeat", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 6, - "value" : "1 << 10", - "evaluatedValue" : "1024" + "@type" : "AstFunctionDecl", + "name" : "GetContentRegionMax", + "resultType" : "ImVec2" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_FlattenChildren", - "docComment" : "allow interactions even if a child window is overlapping", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 7, - "value" : "1 << 11", - "evaluatedValue" : "2048" + "@type" : "AstFunctionDecl", + "name" : "GetWindowContentRegionMin", + "resultType" : "ImVec2" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_AllowItemOverlap", - "docComment" : "require previous frame HoveredId to either match id or be null before being usable, use along with SetItemAllowOverlap()", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 8, - "value" : "1 << 12", - "evaluatedValue" : "4096" + "@type" : "AstFunctionDecl", + "name" : "GetWindowContentRegionMax", + "resultType" : "ImVec2" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_DontClosePopups", - "docComment" : "disable automatically closing parent popup on press // [UNUSED]", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 9, - "value" : "1 << 13", - "evaluatedValue" : "8192" + "@type" : "AstFunctionDecl", + "name" : "GetScrollX", + "resultType" : "float", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Windows Scrolling" + } ] + } ] + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_AlignTextBaseLine", - "docComment" : "vertically align button to match text baseline - ButtonEx() only // FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 10, - "value" : "1 << 15", - "evaluatedValue" : "32768" + "@type" : "AstFunctionDecl", + "name" : "GetScrollY", + "resultType" : "float" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_NoKeyModifiers", - "docComment" : "disable mouse interaction if a key modifier is held", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 11, - "value" : "1 << 16", - "evaluatedValue" : "65536" + "@type" : "AstFunctionDecl", + "name" : "SetScrollX", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "scroll_x", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_NoHoldingActiveId", - "docComment" : "don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 12, - "value" : "1 << 17", - "evaluatedValue" : "131072" + "@type" : "AstFunctionDecl", + "name" : "SetScrollY", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "scroll_y", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_NoNavFocus", - "docComment" : "don't override navigation focus when activated", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 13, - "value" : "1 << 18", - "evaluatedValue" : "262144" + "@type" : "AstFunctionDecl", + "name" : "GetScrollMaxX", + "resultType" : "float" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_NoHoveredOnFocus", - "docComment" : "don't report as hovered when nav focus is on this item", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 14, - "value" : "1 << 19", - "evaluatedValue" : "524288" + "@type" : "AstFunctionDecl", + "name" : "GetScrollMaxY", + "resultType" : "float" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_PressedOnMask_", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 15, - "value" : "ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold", - "evaluatedValue" : "1008" + "@type" : "AstFunctionDecl", + "name" : "SetScrollHereX", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "center_x_ratio", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "y +=" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiButtonFlags_PressedOnDefault_", - "qualType" : "ImGuiButtonFlagsPrivate_", - "order" : 16, - "value" : "ImGuiButtonFlags_PressedOnClickRelease", - "evaluatedValue" : "32" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiComboFlagsPrivate_", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "SetScrollHereY", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Extend ImGuiComboFlags_" - } ] + "@type" : "AstParmVarDecl", + "name" : "center_y_ratio", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " ImC" } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiComboFlags_CustomPreview", - "docComment" : "enable BeginComboPreview()", - "qualType" : "ImGuiComboFlagsPrivate_", - "order" : 0, - "value" : "1 << 20", - "evaluatedValue" : "1048576" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiSliderFlagsPrivate_", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "SetScrollFromPosX", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Extend ImGuiSliderFlags_" - } ] + "@type" : "AstParmVarDecl", + "name" : "local_x", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "center_x_ratio", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "{ re" } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSliderFlags_Vertical", - "docComment" : "Should this slider be orientated vertically?", - "qualType" : "ImGuiSliderFlagsPrivate_", - "order" : 0, - "value" : "1 << 20", - "evaluatedValue" : "1048576" + "@type" : "AstFunctionDecl", + "name" : "SetScrollFromPosY", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "local_y", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "center_y_ratio", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "tArr" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSliderFlags_ReadOnly", - "qualType" : "ImGuiSliderFlagsPrivate_", - "order" : 1, - "value" : "1 << 21", - "evaluatedValue" : "2097152" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiSelectableFlagsPrivate_", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "PushFont", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", + "@type" : "AstParmVarDecl", + "name" : "font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" + }, { + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstTextComment", - "text" : " Extend ImGuiSelectableFlags_" + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Parameters stacks (shared)" + } ] } ] } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSelectableFlags_NoHoldingActiveID", - "docComment" : "NB: need to be in sync with last value of ImGuiSelectableFlags_", - "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 0, - "value" : "1 << 20", - "evaluatedValue" : "1048576" + "@type" : "AstFunctionDecl", + "name" : "PopFont", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSelectableFlags_SelectOnNav", - "docComment" : "(WIP) Auto-select when moved into. This is not exposed in public API as to handle multi-select and modifiers we will need user to explicitly control focus scope. May be replaced with a BeginSelection() API.", - "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 1, - "value" : "1 << 21", - "evaluatedValue" : "2097152" + "@type" : "AstFunctionDecl", + "name" : "PushStyleColor", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiCol", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSelectableFlags_SelectOnClick", - "docComment" : "Override button behavior to react on Click (default is Click+Release)", - "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 2, - "value" : "1 << 22", - "evaluatedValue" : "4194304" + "@type" : "AstFunctionDecl", + "name" : "PushStyleColor", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiCol", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSelectableFlags_SelectOnRelease", - "docComment" : "Override button behavior to react on Release (default is Click+Release)", - "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 3, - "value" : "1 << 23", - "evaluatedValue" : "8388608" + "@type" : "AstFunctionDecl", + "name" : "PopStyleColor", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "count", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "4" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSelectableFlags_SpanAvailWidth", - "docComment" : "Span all avail width even if we declared less for layout purpose. FIXME: We may be able to remove this (added in 6251d379, 2bcafc86 for menus)", - "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 4, - "value" : "1 << 24", - "evaluatedValue" : "16777216" + "@type" : "AstFunctionDecl", + "name" : "PushStyleVar", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiStyleVar", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "val", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSelectableFlags_DrawHoveredWhenHeld", - "docComment" : "Always show active when held, even is not hovered. This concept could probably be renamed/formalized somehow.", - "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 5, - "value" : "1 << 25", - "evaluatedValue" : "33554432" + "@type" : "AstFunctionDecl", + "name" : "PushStyleVar", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiStyleVar", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "val", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSelectableFlags_SetNavIdOnHover", - "docComment" : "Set Nav/Focus ID on mouse hover (used by MenuItem)", - "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 6, - "value" : "1 << 26", - "evaluatedValue" : "67108864" + "@type" : "AstFunctionDecl", + "name" : "PopStyleVar", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "count", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "t" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSelectableFlags_NoPadWithHalfSpacing", - "docComment" : "Disable padding each side with ItemSpacing * 0.5f", - "qualType" : "ImGuiSelectableFlagsPrivate_", - "order" : 7, - "value" : "1 << 27", - "evaluatedValue" : "134217728" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiTreeNodeFlagsPrivate_", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "PushAllowKeyboardFocus", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", + "@type" : "AstParmVarDecl", + "name" : "allow_keyboard_focus", + "qualType" : "bool", + "desugaredQualType" : "bool" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PopAllowKeyboardFocus", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "PushButtonRepeat", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "repeat", + "qualType" : "bool", + "desugaredQualType" : "bool" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PopButtonRepeat", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "PushItemWidth", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "item_width", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstTextComment", - "text" : " Extend ImGuiTreeNodeFlags_" + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Parameters stacks (current window)" + } ] } ] } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTreeNodeFlags_ClipLabelForTrailingButton", - "qualType" : "ImGuiTreeNodeFlagsPrivate_", - "order" : 0, - "value" : "1 << 20", - "evaluatedValue" : "1048576" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiSeparatorFlags_", - "decls" : [ { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSeparatorFlags_None", - "qualType" : "ImGuiSeparatorFlags_", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" + "@type" : "AstFunctionDecl", + "name" : "PopItemWidth", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSeparatorFlags_Horizontal", - "docComment" : "Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar", - "qualType" : "ImGuiSeparatorFlags_", - "order" : 1, - "value" : "1 << 0", - "evaluatedValue" : "1" + "@type" : "AstFunctionDecl", + "name" : "SetNextItemWidth", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "item_width", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSeparatorFlags_Vertical", - "qualType" : "ImGuiSeparatorFlags_", - "order" : 2, - "value" : "1 << 1", - "evaluatedValue" : "2" + "@type" : "AstFunctionDecl", + "name" : "CalcItemWidth", + "resultType" : "float" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiSeparatorFlags_SpanAllColumns", - "qualType" : "ImGuiSeparatorFlags_", - "order" : 3, - "value" : "1 << 2", - "evaluatedValue" : "4" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiTextFlags_", - "decls" : [ { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTextFlags_None", - "qualType" : "ImGuiTextFlags_", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" + "@type" : "AstFunctionDecl", + "name" : "PushTextWrapPos", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "wrap_local_pos_x", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " " + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTextFlags_NoWidthForLargeClippedText", - "qualType" : "ImGuiTextFlags_", - "order" : 1, - "value" : "1 << 0", - "evaluatedValue" : "1" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiTooltipFlags_", - "decls" : [ { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTooltipFlags_None", - "qualType" : "ImGuiTooltipFlags_", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" + "@type" : "AstFunctionDecl", + "name" : "PopTextWrapPos", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiTooltipFlags_OverridePreviousTooltip", - "docComment" : "Override will clear/ignore previously submitted tooltip (defaults to append)", - "qualType" : "ImGuiTooltipFlags_", - "order" : 1, - "value" : "1 << 0", - "evaluatedValue" : "1" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiLayoutType_", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "GetFont", + "resultType" : "ImFont *", "decls" : [ { - "@type" : "AstParagraphComment", + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstTextComment", - "text" : " FIXME: this is in development, not exposed/functional as a generic feature yet." - }, { - "@type" : "AstTextComment", - "text" : " Horizontal/Vertical enums are fixed to 0/1 so they may be used to index ImVec2" + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Style read access" + }, { + "@type" : "AstTextComment", + "text" : " - Use the style editor (ShowStyleEditor() function) to interactively see what the colors are)" + } ] } ] } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLayoutType_Horizontal", - "qualType" : "ImGuiLayoutType_", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" + "@type" : "AstFunctionDecl", + "name" : "GetFontSize", + "resultType" : "float" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLayoutType_Vertical", - "qualType" : "ImGuiLayoutType_", - "order" : 1, - "value" : "1", - "evaluatedValue" : "1" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiLogType", - "decls" : [ { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLogType_None", - "qualType" : "ImGuiLogType", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" + "@type" : "AstFunctionDecl", + "name" : "GetFontTexUvWhitePixel", + "resultType" : "ImVec2" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLogType_TTY", - "qualType" : "ImGuiLogType", - "order" : 1 + "@type" : "AstFunctionDecl", + "name" : "GetColorU32", + "resultType" : "ImU32", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiCol", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "alpha_mul", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " }\n " + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLogType_File", - "qualType" : "ImGuiLogType", - "order" : 2 + "@type" : "AstFunctionDecl", + "name" : "GetColorU32", + "resultType" : "ImU32", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLogType_Buffer", - "qualType" : "ImGuiLogType", - "order" : 3 + "@type" : "AstFunctionDecl", + "name" : "GetColorU32", + "resultType" : "ImU32", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiLogType_Clipboard", - "qualType" : "ImGuiLogType", - "order" : 4 - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiAxis", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "GetStyleColorVec4", + "resultType" : "const ImVec4 &", "decls" : [ { - "@type" : "AstParagraphComment", + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiCol", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Separator", + "resultType" : "void", + "decls" : [ { + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstTextComment", - "text" : " X/Y enums are fixed to 0/1 so they may be used to index ImVec2" + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Cursor / Layout" + }, { + "@type" : "AstTextComment", + "text" : " - By \"cursor\" we mean the current output position." + }, { + "@type" : "AstTextComment", + "text" : " - The typical widget behavior is to output themselves at the current cursor position, then move the cursor one line down." + }, { + "@type" : "AstTextComment", + "text" : " - You can call SameLine() between widgets to undo the last carriage return and output at the right of the preceding widget." + }, { + "@type" : "AstTextComment", + "text" : " - Attention! We currently have inconsistencies between window-local and absolute positions we will aim to fix with future API:" + }, { + "@type" : "AstTextComment", + "text" : " Window-local coordinates: SameLine(), GetCursorPos(), SetCursorPos(), GetCursorStartPos(), GetContentRegionMax(), GetWindowContentRegion*(), PushTextWrapPos()" + }, { + "@type" : "AstTextComment", + "text" : " Absolute coordinate: GetCursorScreenPos(), SetCursorScreenPos(), all ImDrawList:: functions." + } ] } ] } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiAxis_None", - "qualType" : "ImGuiAxis", - "order" : -1, - "value" : "-1", - "evaluatedValue" : "-1" - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiAxis_X", - "qualType" : "ImGuiAxis", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiAxis_Y", - "qualType" : "ImGuiAxis", - "order" : 1, - "value" : "1", - "evaluatedValue" : "1" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiPlotType", - "decls" : [ { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiPlotType_Lines", - "qualType" : "ImGuiPlotType", - "order" : 0 + "@type" : "AstFunctionDecl", + "name" : "SameLine", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "offset_from_start_x", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "move" + }, { + "@type" : "AstParmVarDecl", + "name" : "spacing", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "point" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiPlotType_Histogram", - "qualType" : "ImGuiPlotType", - "order" : 1 - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiInputSource", - "decls" : [ { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputSource_None", - "qualType" : "ImGuiInputSource", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" + "@type" : "AstFunctionDecl", + "name" : "NewLine", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputSource_Mouse", - "qualType" : "ImGuiInputSource", - "order" : 1 + "@type" : "AstFunctionDecl", + "name" : "Spacing", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputSource_Keyboard", - "qualType" : "ImGuiInputSource", - "order" : 2 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputSource_Gamepad", - "qualType" : "ImGuiInputSource", - "order" : 3 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputSource_Nav", - "docComment" : "Stored in g.ActiveIdSource only", - "qualType" : "ImGuiInputSource", - "order" : 4 - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputSource_Clipboard", - "docComment" : "Currently only used by InputText()", - "qualType" : "ImGuiInputSource", - "order" : 5 + "@type" : "AstFunctionDecl", + "name" : "Dummy", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputSource_COUNT", - "qualType" : "ImGuiInputSource", - "order" : 6 - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiInputReadMode", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "Indent", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " FIXME-NAV: Clarify/expose various repeat delay/rate" - } ] + "@type" : "AstParmVarDecl", + "name" : "indent_w", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " G" } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputReadMode_Down", - "qualType" : "ImGuiInputReadMode", - "order" : 0 + "@type" : "AstFunctionDecl", + "name" : "Unindent", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "indent_w", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "_idx" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputReadMode_Pressed", - "qualType" : "ImGuiInputReadMode", - "order" : 1 + "@type" : "AstFunctionDecl", + "name" : "BeginGroup", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputReadMode_Released", - "qualType" : "ImGuiInputReadMode", - "order" : 2 + "@type" : "AstFunctionDecl", + "name" : "EndGroup", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputReadMode_Repeat", - "qualType" : "ImGuiInputReadMode", - "order" : 3 + "@type" : "AstFunctionDecl", + "name" : "GetCursorPos", + "resultType" : "ImVec2" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputReadMode_RepeatSlow", - "qualType" : "ImGuiInputReadMode", - "order" : 4 + "@type" : "AstFunctionDecl", + "name" : "GetCursorPosX", + "resultType" : "float" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiInputReadMode_RepeatFast", - "qualType" : "ImGuiInputReadMode", - "order" : 5 - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiPopupPositionPolicy", - "decls" : [ { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiPopupPositionPolicy_Default", - "qualType" : "ImGuiPopupPositionPolicy", - "order" : 0 + "@type" : "AstFunctionDecl", + "name" : "GetCursorPosY", + "resultType" : "float" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiPopupPositionPolicy_ComboBox", - "qualType" : "ImGuiPopupPositionPolicy", - "order" : 1 + "@type" : "AstFunctionDecl", + "name" : "SetCursorPos", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "local_pos", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiPopupPositionPolicy_Tooltip", - "qualType" : "ImGuiPopupPositionPolicy", - "order" : 2 - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiDataTypeTempStorage", - "decls" : [ { - "@type" : "AstFieldDecl", - "name" : "Data", - "qualType" : "int[8]", - "desugaredQualType" : "int[8]" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiDataTypeInfo", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "SetCursorPosX", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo()." - } ] + "@type" : "AstParmVarDecl", + "name" : "local_x", + "qualType" : "float", + "desugaredQualType" : "float" } ] }, { - "@type" : "AstFieldDecl", - "name" : "Size", - "qualType" : "size_t", - "desugaredQualType" : "unsigned long" + "@type" : "AstFunctionDecl", + "name" : "SetCursorPosY", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "local_y", + "qualType" : "float", + "desugaredQualType" : "float" + } ] }, { - "@type" : "AstFieldDecl", - "name" : "Name", - "qualType" : "const char *", - "desugaredQualType" : "const char *" + "@type" : "AstFunctionDecl", + "name" : "GetCursorStartPos", + "resultType" : "ImVec2" }, { - "@type" : "AstFieldDecl", - "name" : "PrintFmt", - "qualType" : "const char *", - "desugaredQualType" : "const char *" + "@type" : "AstFunctionDecl", + "name" : "GetCursorScreenPos", + "resultType" : "ImVec2" }, { - "@type" : "AstFieldDecl", - "name" : "ScanFmt", - "qualType" : "const char *", - "desugaredQualType" : "const char *" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiDataTypePrivate_", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "SetCursorScreenPos", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Extend ImGuiDataType_" - } ] + "@type" : "AstParmVarDecl", + "name" : "pos", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiDataType_String", - "qualType" : "ImGuiDataTypePrivate_", - "order" : 0 + "@type" : "AstFunctionDecl", + "name" : "AlignTextToFramePadding", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiDataType_Pointer", - "qualType" : "ImGuiDataTypePrivate_", - "order" : 1 + "@type" : "AstFunctionDecl", + "name" : "GetTextLineHeight", + "resultType" : "float" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiDataType_ID", - "qualType" : "ImGuiDataTypePrivate_", - "order" : 2 - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiColorMod", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "GetTextLineHeightWithSpacing", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetFrameHeight", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetFrameHeightWithSpacing", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "PushID", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstTextComment", - "text" : " Stacked color modifier, backup of modified data so we can restore it" + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " ID stack/scopes" + }, { + "@type" : "AstTextComment", + "text" : " Read the FAQ (docs/FAQ.md or http://dearimgui.org/faq) for more details about how ID are handled in dear imgui." + }, { + "@type" : "AstTextComment", + "text" : " - Those questions are answered and impacted by understanding of the ID stack system:" + }, { + "@type" : "AstTextComment", + "text" : " - \"Q: Why is my widget not reacting when I click on it?\"" + }, { + "@type" : "AstTextComment", + "text" : " - \"Q: How can I have widgets with an empty label?\"" + }, { + "@type" : "AstTextComment", + "text" : " - \"Q: How can I have multiple widgets with the same label?\"" + }, { + "@type" : "AstTextComment", + "text" : " - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely" + }, { + "@type" : "AstTextComment", + "text" : " want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them." + }, { + "@type" : "AstTextComment", + "text" : " - You can also use the \"Label##foobar\" syntax within widget label to distinguish them from each others." + }, { + "@type" : "AstTextComment", + "text" : " - In this header file we use the \"label\"/\"name\" terminology to denote a string that will be displayed + used as an ID," + }, { + "@type" : "AstTextComment", + "text" : " whereas \"str_id\" denote a string that is only used as an ID and not normally displayed." + } ] } ] } ] }, { - "@type" : "AstFieldDecl", - "name" : "Col", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "BackupValue", - "qualType" : "int", - "desugaredQualType" : "int" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiStyleMod", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "PushID", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the variable." - } ] + "@type" : "AstParmVarDecl", + "name" : "str_id_begin", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "str_id_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" } ] }, { - "@type" : "AstFieldDecl", - "name" : "VarIdx", - "qualType" : "int", - "desugaredQualType" : "int" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiPopupData", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "PushID", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Storage for current popup stack" - } ] + "@type" : "AstParmVarDecl", + "name" : "ptr_id", + "qualType" : "const void *", + "desugaredQualType" : "const void *" } ] }, { - "@type" : "AstFieldDecl", - "name" : "PopupId", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "Window", - "qualType" : "ImGuiWindow *", - "desugaredQualType" : "ImGuiWindow *" - }, { - "@type" : "AstFieldDecl", - "name" : "SourceWindow", - "qualType" : "ImGuiWindow *", - "desugaredQualType" : "ImGuiWindow *" - }, { - "@type" : "AstFieldDecl", - "name" : "OpenFrameCount", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "OpenParentId", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "OpenPopupPos", - "qualType" : "int", - "desugaredQualType" : "int" + "@type" : "AstFunctionDecl", + "name" : "PushID", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "int_id", + "qualType" : "int", + "desugaredQualType" : "int" + } ] }, { - "@type" : "AstFieldDecl", - "name" : "OpenMousePos", - "qualType" : "int", - "desugaredQualType" : "int" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiNextWindowDataFlags_", - "decls" : [ { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_None", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" + "@type" : "AstFunctionDecl", + "name" : "PopID", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasPos", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 1, - "value" : "1 << 0", - "evaluatedValue" : "1" + "@type" : "AstFunctionDecl", + "name" : "GetID", + "resultType" : "ImGuiID", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasSize", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 2, - "value" : "1 << 1", - "evaluatedValue" : "2" + "@type" : "AstFunctionDecl", + "name" : "GetID", + "resultType" : "ImGuiID", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id_begin", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "str_id_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasContentSize", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 3, - "value" : "1 << 2", - "evaluatedValue" : "4" + "@type" : "AstFunctionDecl", + "name" : "GetID", + "resultType" : "ImGuiID", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ptr_id", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasCollapsed", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 4, - "value" : "1 << 3", - "evaluatedValue" : "8" + "@type" : "AstFunctionDecl", + "name" : "TextUnformatted", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "text", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "writ" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Text" + } ] + } ] + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasSizeConstraint", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 5, - "value" : "1 << 4", - "evaluatedValue" : "16" + "@type" : "AstFunctionDecl", + "name" : "Text", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasFocus", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 6, - "value" : "1 << 5", - "evaluatedValue" : "32" + "@type" : "AstFunctionDecl", + "name" : "TextV", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasBgAlpha", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 7, - "value" : "1 << 6", - "evaluatedValue" : "64" + "@type" : "AstFunctionDecl", + "name" : "TextColored", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasScroll", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 8, - "value" : "1 << 7", - "evaluatedValue" : "128" + "@type" : "AstFunctionDecl", + "name" : "TextColoredV", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasViewport", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 9, - "value" : "1 << 8", - "evaluatedValue" : "256" + "@type" : "AstFunctionDecl", + "name" : "TextDisabled", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasDock", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 10, - "value" : "1 << 9", - "evaluatedValue" : "512" + "@type" : "AstFunctionDecl", + "name" : "TextDisabledV", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextWindowDataFlags_HasWindowClass", - "qualType" : "ImGuiNextWindowDataFlags_", - "order" : 11, - "value" : "1 << 10", - "evaluatedValue" : "1024" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiNextWindowData", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "TextWrapped", + "resultType" : "void", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Storage for SetNexWindow** functions" - } ] + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" } ] - }, { - "@type" : "AstFieldDecl", - "name" : "Flags", - "qualType" : "ImGuiNextWindowDataFlags", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "PosCond", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "SizeCond", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "CollapsedCond", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "DockCond", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "PosVal", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "PosPivotVal", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "SizeVal", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "ContentSizeVal", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "ScrollVal", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "PosUndock", - "qualType" : "bool", - "desugaredQualType" : "bool" - }, { - "@type" : "AstFieldDecl", - "name" : "CollapsedVal", - "qualType" : "bool", - "desugaredQualType" : "bool" - }, { - "@type" : "AstFieldDecl", - "name" : "SizeConstraintRect", - "qualType" : "ImRect", - "desugaredQualType" : "ImRect" - }, { - "@type" : "AstFieldDecl", - "name" : "SizeCallback", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "SizeCallbackUserData", - "qualType" : "void *", - "desugaredQualType" : "void *" - }, { - "@type" : "AstFieldDecl", - "name" : "BgAlphaVal", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstFieldDecl", - "name" : "ViewportId", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "DockId", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "WindowClass", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "MenuBarOffsetMinVal", - "qualType" : "int", - "desugaredQualType" : "int" }, { "@type" : "AstFunctionDecl", - "name" : "ClearFlags", - "resultType" : "void" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiNextItemDataFlags_", - "decls" : [ { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextItemDataFlags_None", - "qualType" : "ImGuiNextItemDataFlags_", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextItemDataFlags_HasWidth", - "qualType" : "ImGuiNextItemDataFlags_", - "order" : 1, - "value" : "1 << 0", - "evaluatedValue" : "1" - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiNextItemDataFlags_HasOpen", - "qualType" : "ImGuiNextItemDataFlags_", - "order" : 2, - "value" : "1 << 1", - "evaluatedValue" : "2" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiNextItemData", - "decls" : [ { - "@type" : "AstFieldDecl", - "name" : "Flags", - "qualType" : "ImGuiNextItemDataFlags", - "desugaredQualType" : "int" + "name" : "TextWrappedV", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { - "@type" : "AstFieldDecl", - "name" : "Width", - "qualType" : "float", - "desugaredQualType" : "float" + "@type" : "AstFunctionDecl", + "name" : "LabelText", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { - "@type" : "AstFieldDecl", - "name" : "FocusScopeId", - "qualType" : "int", - "desugaredQualType" : "int" + "@type" : "AstFunctionDecl", + "name" : "LabelTextV", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { - "@type" : "AstFieldDecl", - "name" : "OpenCond", - "qualType" : "int", - "desugaredQualType" : "int" + "@type" : "AstFunctionDecl", + "name" : "BulletText", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { - "@type" : "AstFieldDecl", - "name" : "OpenVal", - "qualType" : "bool", - "desugaredQualType" : "bool" + "@type" : "AstFunctionDecl", + "name" : "BulletTextV", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] }, { "@type" : "AstFunctionDecl", - "name" : "ClearFlags", - "resultType" : "void" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiLastItemData", - "decls" : [ { - "@type" : "AstFullComment", + "name" : "Button", + "resultType" : "bool", "decls" : [ { - "@type" : "AstParagraphComment", + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : " // Global" + }, { + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstTextComment", - "text" : " Status storage for the last submitted item" + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Main" + }, { + "@type" : "AstTextComment", + "text" : " - Most widgets return true when the value has been changed or when pressed/selected" + }, { + "@type" : "AstTextComment", + "text" : " - You may also use one of the many IsItemXXX functions (e.g. IsItemActive, IsItemHovered, etc.) to query widget state." + } ] } ] } ] }, { - "@type" : "AstFieldDecl", - "name" : "ID", - "qualType" : "int", - "desugaredQualType" : "int" + "@type" : "AstFunctionDecl", + "name" : "SmallButton", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] }, { - "@type" : "AstFieldDecl", - "name" : "InFlags", - "qualType" : "ImGuiItemFlags", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "StatusFlags", - "qualType" : "ImGuiItemStatusFlags", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "Rect", - "qualType" : "ImRect", - "desugaredQualType" : "ImRect" - }, { - "@type" : "AstFieldDecl", - "name" : "NavRect", - "qualType" : "ImRect", - "desugaredQualType" : "ImRect" - }, { - "@type" : "AstFieldDecl", - "name" : "DisplayRect", - "qualType" : "ImRect", - "desugaredQualType" : "ImRect" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiWindowStackData", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "InvisibleButton", + "resultType" : "bool", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Data saved for each window pushed into the stack" - } ] + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiButtonFlags", + "desugaredQualType" : "int", + "defaultValue" : " " } ] }, { - "@type" : "AstFieldDecl", - "name" : "Window", - "qualType" : "ImGuiWindow *", - "desugaredQualType" : "ImGuiWindow *" - }, { - "@type" : "AstFieldDecl", - "name" : "ParentLastItemDataBackup", - "qualType" : "ImGuiLastItemData", - "desugaredQualType" : "ImGuiLastItemData" - }, { - "@type" : "AstFieldDecl", - "name" : "StackSizesOnBegin", - "qualType" : "ImGuiStackSizes", - "desugaredQualType" : "ImGuiStackSizes" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiShrinkWidthItem", - "decls" : [ { - "@type" : "AstFieldDecl", - "name" : "Index", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "Width", - "qualType" : "float", - "desugaredQualType" : "float" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiPtrOrIndex", - "decls" : [ { - "@type" : "AstFieldDecl", - "name" : "Ptr", - "qualType" : "void *", - "desugaredQualType" : "void *" - }, { - "@type" : "AstFieldDecl", - "name" : "Index", - "qualType" : "int", - "desugaredQualType" : "int" - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiListClipperRange", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "ArrowButton", + "resultType" : "bool", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : "-----------------------------------------------------------------------------" - }, { - "@type" : "AstTextComment", - "text" : " [SECTION] Clipper support" - }, { - "@type" : "AstTextComment", - "text" : "-----------------------------------------------------------------------------" - } ] + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "dir", + "qualType" : "ImGuiDir", + "desugaredQualType" : "int" } ] - }, { - "@type" : "AstFieldDecl", - "name" : "Min", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "Max", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "PosToIndexConvert", - "qualType" : "bool", - "desugaredQualType" : "bool" - }, { - "@type" : "AstFieldDecl", - "name" : "PosToIndexOffsetMin", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "PosToIndexOffsetMax", - "qualType" : "int", - "desugaredQualType" : "int" }, { "@type" : "AstFunctionDecl", - "name" : "FromIndices", - "resultType" : "ImGuiListClipperRange", + "name" : "Image", + "resultType" : "void", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "min", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "user_texture_id", + "qualType" : "ImTextureID", + "desugaredQualType" : "void *" }, { "@type" : "AstParmVarDecl", - "name" : "max", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "uv0", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "ndow flags, " + }, { + "@type" : "AstParmVarDecl", + "name" : "uv1", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : " of the fra" + }, { + "@type" : "AstParmVarDecl", + "name" : "tint_col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &", + "defaultValue" : "ited from paren" + }, { + "@type" : "AstParmVarDecl", + "name" : "border_col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &", + "defaultValue" : "s going to be e" } ] }, { "@type" : "AstFunctionDecl", - "name" : "FromPositions", - "resultType" : "ImGuiListClipperRange", + "name" : "ImageButton", + "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "y1", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "user_texture_id", + "qualType" : "ImTextureID", + "desugaredQualType" : "void *" }, { "@type" : "AstParmVarDecl", - "name" : "y2", - "qualType" : "float", - "desugaredQualType" : "float" + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" }, { "@type" : "AstParmVarDecl", - "name" : "off_min", - "qualType" : "int", - "desugaredQualType" : "int" + "name" : "uv0", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : ",\n ImGuiI" }, { "@type" : "AstParmVarDecl", - "name" : "off_max", + "name" : "uv1", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "frame_padding", "qualType" : "int", - "desugaredQualType" : "int" + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "bg_col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &", + "defaultValue" : "ng (FIXME: shou" + }, { + "@type" : "AstParmVarDecl", + "name" : "tint_col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &", + "defaultValue" : "mGuiItemFlags_B" } ] - } ] - }, { - "@type" : "AstRecordDecl", - "name" : "ImGuiListClipperData", - "decls" : [ { - "@type" : "AstFullComment", + }, { + "@type" : "AstFunctionDecl", + "name" : "Checkbox", + "resultType" : "bool", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : " Temporary clipper data, buffers shared/reused between instances" - } ] + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "bool *", + "desugaredQualType" : "bool *" } ] - }, { - "@type" : "AstFieldDecl", - "name" : "ListClipper", - "qualType" : "int *", - "desugaredQualType" : "int *" - }, { - "@type" : "AstFieldDecl", - "name" : "LossynessOffset", - "qualType" : "float", - "desugaredQualType" : "float" - }, { - "@type" : "AstFieldDecl", - "name" : "StepNo", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "ItemsFrozen", - "qualType" : "int", - "desugaredQualType" : "int" - }, { - "@type" : "AstFieldDecl", - "name" : "Ranges", - "qualType" : "int", - "desugaredQualType" : "int" }, { "@type" : "AstFunctionDecl", - "name" : "Reset", - "resultType" : "void", + "name" : "CheckboxFlags", + "resultType" : "bool", "decls" : [ { "@type" : "AstParmVarDecl", - "name" : "clipper", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", "qualType" : "int *", "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags_value", + "qualType" : "int", + "desugaredQualType" : "int" } ] - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiActivateFlags_", - "decls" : [ { - "@type" : "AstFullComment", + }, { + "@type" : "AstFunctionDecl", + "name" : "CheckboxFlags", + "resultType" : "bool", "decls" : [ { - "@type" : "AstParagraphComment", - "decls" : [ { - "@type" : "AstTextComment", - "text" : "-----------------------------------------------------------------------------" - }, { - "@type" : "AstTextComment", - "text" : " [SECTION] Navigation support" - }, { - "@type" : "AstTextComment", - "text" : "-----------------------------------------------------------------------------" - } ] + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "unsigned int *", + "desugaredQualType" : "unsigned int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags_value", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiActivateFlags_None", - "qualType" : "ImGuiActivateFlags_", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" + "@type" : "AstFunctionDecl", + "name" : "RadioButton", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "active", + "qualType" : "bool", + "desugaredQualType" : "bool" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiActivateFlags_PreferInput", - "docComment" : "Favor activation that requires keyboard text input (e.g. for Slider/Drag). Default if keyboard is available.", - "qualType" : "ImGuiActivateFlags_", - "order" : 1, - "value" : "1 << 0", - "evaluatedValue" : "1" + "@type" : "AstFunctionDecl", + "name" : "RadioButton", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_button", + "qualType" : "int", + "desugaredQualType" : "int" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiActivateFlags_PreferTweak", - "docComment" : "Favor activation for tweaking with arrows or gamepad (e.g. for Slider/Drag). Default if keyboard is not available.", - "qualType" : "ImGuiActivateFlags_", - "order" : 2, - "value" : "1 << 1", - "evaluatedValue" : "2" + "@type" : "AstFunctionDecl", + "name" : "ProgressBar", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fraction", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "size_arg", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "ble() automatically" + }, { + "@type" : "AstParmVarDecl", + "name" : "overlay", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "dow\n" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiActivateFlags_TryToPreserveState", - "docComment" : "Request widget to preserve state if it can (e.g. InputText will try to preserve cursor/selection)", - "qualType" : "ImGuiActivateFlags_", - "order" : 3, - "value" : "1 << 2", - "evaluatedValue" : "4" - } ] - }, { - "@type" : "AstEnumDecl", - "name" : "ImGuiScrollFlags_", - "decls" : [ { - "@type" : "AstFullComment", + "@type" : "AstFunctionDecl", + "name" : "Bullet", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginCombo", + "resultType" : "bool", "decls" : [ { - "@type" : "AstParagraphComment", + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "preview_value", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiComboFlags", + "desugaredQualType" : "int", + "defaultValue" : "=" + }, { + "@type" : "AstFullComment", "decls" : [ { - "@type" : "AstTextComment", - "text" : " Early work-in-progress API for ScrollToItem()" + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Combo Box" + }, { + "@type" : "AstTextComment", + "text" : " - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items." + }, { + "@type" : "AstTextComment", + "text" : " - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created." + } ] } ] } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiScrollFlags_None", - "qualType" : "ImGuiScrollFlags_", - "order" : 0, - "value" : "0", - "evaluatedValue" : "0" - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiScrollFlags_KeepVisibleEdgeX", - "docComment" : "If item is not visible: scroll as little as possible on X axis to bring item back into view [default for X axis]", - "qualType" : "ImGuiScrollFlags_", - "order" : 1, - "value" : "1 << 0", - "evaluatedValue" : "1" - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiScrollFlags_KeepVisibleEdgeY", - "docComment" : "If item is not visible: scroll as little as possible on Y axis to bring item back into view [default for Y axis for windows that are already visible]", - "qualType" : "ImGuiScrollFlags_", - "order" : 2, - "value" : "1 << 1", - "evaluatedValue" : "2" - }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiScrollFlags_KeepVisibleCenterX", - "docComment" : "If item is not visible: scroll to make the item centered on X axis [rarely used]", - "qualType" : "ImGuiScrollFlags_", - "order" : 3, - "value" : "1 << 2", - "evaluatedValue" : "4" + "@type" : "AstFunctionDecl", + "name" : "EndCombo", + "resultType" : "void" }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiScrollFlags_KeepVisibleCenterY", - "docComment" : "If item is not visible: scroll to make the item centered on Y axis", - "qualType" : "ImGuiScrollFlags_", - "order" : 4, - "value" : "1 << 3", - "evaluatedValue" : "8" + "@type" : "AstFunctionDecl", + "name" : "Combo", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "current_item", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "items", + "qualType" : "const char *const *", + "desugaredQualType" : "const char *const *" + }, { + "@type" : "AstParmVarDecl", + "name" : "items_count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "popup_max_height_in_items", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "ui" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiScrollFlags_AlwaysCenterX", - "docComment" : "Always center the result item on X axis [rarely used]", - "qualType" : "ImGuiScrollFlags_", - "order" : 5, - "value" : "1 << 4", - "evaluatedValue" : "16" + "@type" : "AstFunctionDecl", + "name" : "Combo", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "current_item", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "items_separated_by_zeros", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "popup_max_height_in_items", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "Va" + } ] }, { - "@type" : "AstEnumConstantDecl", - "name" : "ImGuiScrollFlags_AlwaysCenterY", - "docComment" : "Always center the result item on Y axis [default for Y axis for appearing window)", - "qualType" : "ImGuiScrollFlags_", - "order" : 6, - "value" : "1 << 5", - "evaluatedValue" : "32" + "@type" : "AstFunctionDecl", + "name" : "Combo", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "current_item", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "items_getter", + "qualType" : "bool (*)(void *, int, const char **)", + "desugaredQualType" : "bool (*)(void *, int, const char **)" + }, { + "@type" : "AstParmVarDecl", + "name" : "data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "items_count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "popup_max_height_in_items", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "le" + } ] }, { - "@type" : "AstEnumConstantDecl", + "@type" : "AstFunctionDecl", + "name" : "DragFloat", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "n if" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "nt i" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " hov" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "iButto" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Drag Sliders" + }, { + "@type" : "AstTextComment", + "text" : " - CTRL+Click on any drag box to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." + }, { + "@type" : "AstTextComment", + "text" : " - For all the Float2/Float3/Float4/Int2/Int3/Int4 versions of every functions, note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can pass address of your first element out of a contiguous set, e.g. " + }, { + "@type" : "AstTextComment", + "text" : "&myvector" + }, { + "@type" : "AstTextComment", + "text" : ".x" + }, { + "@type" : "AstTextComment", + "text" : " - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. \"%.3f\" -> 1.234; \"%5.2f secs\" -> 01.23 secs; \"Biscuit: %.0f\" -> Biscuit: 1; etc." + }, { + "@type" : "AstTextComment", + "text" : " - Format string may also be set to NULL or use the default format (\"%f\" or \"%d\")." + }, { + "@type" : "AstTextComment", + "text" : " - Speed are per-pixel of mouse movement (v_speed=0.2f: mouse needs to move by 5 pixels to increase value by 1). For gamepad/keyboard navigation, minimum speed is Max(v_speed, minimum_step_at_given_precision)." + }, { + "@type" : "AstTextComment", + "text" : " - Use v_min " + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : " v_max to clamp edits to given limits. Note that CTRL+Click manual input can override those limits if ImGuiSliderFlags_AlwaysClamp is not used." + }, { + "@type" : "AstTextComment", + "text" : " - Use v_max = FLT_MAX / INT_MAX etc to avoid clamping to a maximum, same with v_min = -FLT_MAX / INT_MIN to avoid clamping to a minimum." + }, { + "@type" : "AstTextComment", + "text" : " - We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them." + }, { + "@type" : "AstTextComment", + "text" : " - Legacy: Pre-1.78 there are DragXXX() function signatures that takes a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument." + }, { + "@type" : "AstTextComment", + "text" : " If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragFloat2", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " ret" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "le-c" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "quir" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "mGuiBu" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "H" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragFloat3", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "m (u" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " nod" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "eade" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "s_Repe" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "0" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragFloat4", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "erac" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "chil" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "lapp" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "s_Allo" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "2" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragFloatRange2", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_current_min", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_current_max", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "\n " + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "s_Do" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : " autom" + }, { + "@type" : "AstParmVarDecl", + "name" : "format_max", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "up o" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "m" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragInt", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "inDi" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "G" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "s" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "ags_" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "<" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragInt2", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "utto" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "b" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "e" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "evLi" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "e" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragInt3", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "\n " + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "a" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "t" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "// d" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "d" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragInt4", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "o" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "s wh" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "n" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragIntRange2", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_current_min", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_current_max", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "Pres" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "t" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "| Im" + }, { + "@type" : "AstParmVarDecl", + "name" : "format_max", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "ckRe" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "e" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragScalar", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "data_type", + "qualType" : "ImGuiDataType", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "Flag" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_min", + "qualType" : "const void *", + "desugaredQualType" : "const void *", + "defaultValue" : "d,\n " + }, { + "@type" : "AstParmVarDecl", + "name" : "p_max", + "qualType" : "const void *", + "desugaredQualType" : "const void *", + "defaultValue" : "esse" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "iBut" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "a" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DragScalarN", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "data_type", + "qualType" : "ImGuiDataType", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "components", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_speed", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "ginC" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_min", + "qualType" : "const void *", + "desugaredQualType" : "const void *", + "defaultValue" : "xten" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_max", + "qualType" : "const void *", + "desugaredQualType" : "const void *", + "defaultValue" : "um I" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "\n{\n " + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "l" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SliderFloat", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "<< 24," + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "v" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Regular Sliders" + }, { + "@type" : "AstTextComment", + "text" : " - CTRL+Click on any slider to turn them into an input box. Manually input values aren't clamped by default and can go off-bounds. Use ImGuiSliderFlags_AlwaysClamp to always clamp." + }, { + "@type" : "AstTextComment", + "text" : " - Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. \"%.3f\" -> 1.234; \"%5.2f secs\" -> 01.23 secs; \"Biscuit: %.0f\" -> Biscuit: 1; etc." + }, { + "@type" : "AstTextComment", + "text" : " - Format string may also be set to NULL or use the default format (\"%f\" or \"%d\")." + }, { + "@type" : "AstTextComment", + "text" : " - Legacy: Pre-1.78 there are SliderXXX() function signatures that takes a final `float power=1.0f' argument instead of the `ImGuiSliderFlags flags=0' argument." + }, { + "@type" : "AstTextComment", + "text" : " If you get a warning converting a float to ImGuiSliderFlags, read https://github.com/ocornut/imgui/issues/3361" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SliderFloat2", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "red. T" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "b" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SliderFloat3", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "er (us" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "l" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SliderFloat4", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "eeNode" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "a" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SliderAngle", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_rad", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_degrees_min", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "ags_\n{\n" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_degrees_max", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "None " + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "mGuiSepara" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SliderInt", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "iSep" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SliderInt2", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "one " + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "i" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SliderInt3", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "s_Ov" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "<" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SliderInt4", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "evel" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "n" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SliderScalar", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "data_type", + "qualType" : "ImGuiDataType", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_min", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_max", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "ntal" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "e" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SliderScalarN", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "data_type", + "qualType" : "ImGuiDataType", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "components", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_min", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_max", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "e fi" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "s" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "VSliderFloat", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "Type_L" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "t" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "VSliderInt", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_min", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "v_max", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "iInp" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "I" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "VSliderScalar", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "data_type", + "qualType" : "ImGuiDataType", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_min", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_max", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "-NAV" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSliderFlags", + "desugaredQualType" : "int", + "defaultValue" : "p" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputText", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "buf", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "buf_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "callback", + "qualType" : "ImGuiInputTextCallback", + "desugaredQualType" : "int (*)(ImGuiInputTextCallbackData *)", + "defaultValue" : " up " + }, { + "@type" : "AstParmVarDecl", + "name" : "user_data", + "qualType" : "void *", + "desugaredQualType" : "void *", + "defaultValue" : "NT\n}" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Input with Keyboard" + }, { + "@type" : "AstTextComment", + "text" : " - If you want to use InputText() with std::string or any custom dynamic string type, see misc/cpp/imgui_stdlib.h and comments in imgui_demo.cpp." + }, { + "@type" : "AstTextComment", + "text" : " - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputTextMultiline", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "buf", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "buf_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : " size_t " + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "y" + }, { + "@type" : "AstParmVarDecl", + "name" : "callback", + "qualType" : "ImGuiInputTextCallback", + "desugaredQualType" : "int (*)(ImGuiInputTextCallbackData *)", + "defaultValue" : "// S" + }, { + "@type" : "AstParmVarDecl", + "name" : "user_data", + "qualType" : "void *", + "desugaredQualType" : "void *", + "defaultValue" : "e fo" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputTextWithHint", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "hint", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "buf", + "qualType" : "char *", + "desugaredQualType" : "char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "buf_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "n" + }, { + "@type" : "AstParmVarDecl", + "name" : "callback", + "qualType" : "ImGuiInputTextCallback", + "desugaredQualType" : "int (*)(ImGuiInputTextCallbackData *)", + "defaultValue" : "ImGu" + }, { + "@type" : "AstParmVarDecl", + "name" : "user_data", + "qualType" : "void *", + "desugaredQualType" : "void *", + "defaultValue" : "iDat" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputFloat", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "step", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "e_Po" + }, { + "@type" : "AstParmVarDecl", + "name" : "step_fast", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "Type" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "r modi" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "s" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputFloat2", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "\n\n// S" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "o" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputFloat3", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "d\n{\n " + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "u" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputFloat4", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : ", int " + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "n" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputInt", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "step", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "c" + }, { + "@type" : "AstParmVarDecl", + "name" : "step_fast", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "\n " + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "i" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputInt2", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "o" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputInt3", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputInt4", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "V" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputDouble", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "double *", + "desugaredQualType" : "double *" + }, { + "@type" : "AstParmVarDecl", + "name" : "step", + "qualType" : "double", + "desugaredQualType" : "double", + "defaultValue" : "\n " + }, { + "@type" : "AstParmVarDecl", + "name" : "step_fast", + "qualType" : "double", + "desugaredQualType" : "double", + "defaultValue" : "kup" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "Previe" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "o" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputScalar", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "data_type", + "qualType" : "ImGuiDataType", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_step", + "qualType" : "const void *", + "desugaredQualType" : "const void *", + "defaultValue" : "dowI" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_step_fast", + "qualType" : "const void *", + "desugaredQualType" : "const void *", + "defaultValue" : "sorP" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "kupC" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : "a" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "InputScalarN", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "data_type", + "qualType" : "ImGuiDataType", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "components", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_step", + "qualType" : "const void *", + "desugaredQualType" : "const void *", + "defaultValue" : "D " + }, { + "@type" : "AstParmVarDecl", + "name" : "p_step_fast", + "qualType" : "const void *", + "desugaredQualType" : "const void *", + "defaultValue" : " boo" + }, { + "@type" : "AstParmVarDecl", + "name" : "format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "Prev" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ColorEdit3", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiColorEditFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little color square that can be left-clicked to open a picker, and right-clicked to open an option menu.)" + }, { + "@type" : "AstTextComment", + "text" : " - Note that in C++ a 'float v[X]' function argument is the _same_ as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible." + }, { + "@type" : "AstTextComment", + "text" : " - You can pass the address of a first float element out of a contiguous structure, e.g. " + }, { + "@type" : "AstTextComment", + "text" : "&myvector" + }, { + "@type" : "AstTextComment", + "text" : ".x" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ColorEdit4", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiColorEditFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ColorPicker3", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiColorEditFlags", + "desugaredQualType" : "int", + "defaultValue" : "a" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ColorPicker4", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "float *", + "desugaredQualType" : "float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiColorEditFlags", + "desugaredQualType" : "int", + "defaultValue" : "e" + }, { + "@type" : "AstParmVarDecl", + "name" : "ref_col", + "qualType" : "const float *", + "desugaredQualType" : "const float *", + "defaultValue" : "ly f" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ColorButton", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "desc_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "col", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiColorEditFlags", + "desugaredQualType" : "int", + "defaultValue" : "G" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2", + "defaultValue" : "te\n{\n ImGui" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetColorEditOptions", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiColorEditFlags", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNode", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Trees" + }, { + "@type" : "AstTextComment", + "text" : " - TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNode", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNode", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ptr_id", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNodeV", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNodeV", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ptr_id", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNodeEx", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTreeNodeFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNodeEx", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTreeNodeFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNodeEx", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ptr_id", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTreeNodeFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNodeExV", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTreeNodeFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreeNodeExV", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ptr_id", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTreeNodeFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreePush", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreePush", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ptr_id", + "qualType" : "const void *", + "desugaredQualType" : "const void *", + "defaultValue" : "t() " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TreePop", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetTreeNodeToLabelSpacing", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "CollapsingHeader", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTreeNodeFlags", + "desugaredQualType" : "int", + "defaultValue" : "t" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "CollapsingHeader", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_visible", + "qualType" : "bool *", + "desugaredQualType" : "bool *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTreeNodeFlags", + "desugaredQualType" : "int", + "defaultValue" : "{" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNextItemOpen", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "is_open", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Selectable", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "selected", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : " at t" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSelectableFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "enFrameCount" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Selectables" + }, { + "@type" : "AstTextComment", + "text" : " - A selectable highlights when hovered, and can display another color when selected." + }, { + "@type" : "AstTextComment", + "text" : " - Neighbors selectable extend their highlight bounds in order to leave no gap between them. This is so a series of selected Selectable appear contiguous." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Selectable", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_selected", + "qualType" : "bool *", + "desugaredQualType" : "bool *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiSelectableFlags", + "desugaredQualType" : "int", + "defaultValue" : ";" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "), copy of m" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginListBox", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : " " + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: List Boxes" + }, { + "@type" : "AstTextComment", + "text" : " - This is essentially a thin wrapper to using BeginChild/EndChild with some stylistic changes." + }, { + "@type" : "AstTextComment", + "text" : " - The BeginListBox()/EndListBox() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() or any items." + }, { + "@type" : "AstTextComment", + "text" : " - The simplified/old ListBox() api are helpers over BeginListBox()/EndListBox() which are kept available for convenience purpose. This is analoguous to how Combos are created." + }, { + "@type" : "AstTextComment", + "text" : " - Choose frame width: size.x > 0.0f: custom / size.x " + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : " 0.0f or -FLT_MIN: right-align / size.x = 0.0f (default): use current ItemWidth" + }, { + "@type" : "AstTextComment", + "text" : " - Choose frame height: size.y > 0.0f: custom / size.y " + }, { + "@type" : "AstTextComment", + "text" : "<" + }, { + "@type" : "AstTextComment", + "text" : " 0.0f or -FLT_MIN: bottom-align / size.y = 0.0f (default): arbitrary default height which can fit ~7 items" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndListBox", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "ListBox", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "current_item", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "items", + "qualType" : "const char *const *", + "desugaredQualType" : "const char *const *" + }, { + "@type" : "AstParmVarDecl", + "name" : "items_count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "height_in_items", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ListBox", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "current_item", + "qualType" : "int *", + "desugaredQualType" : "int *" + }, { + "@type" : "AstParmVarDecl", + "name" : "items_getter", + "qualType" : "bool (*)(void *, int, const char **)", + "desugaredQualType" : "bool (*)(void *, int, const char **)" + }, { + "@type" : "AstParmVarDecl", + "name" : "data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "items_count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "height_in_items", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PlotLines", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "values", + "qualType" : "const float *", + "desugaredQualType" : "const float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "values_count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "values_offset", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "k" + }, { + "@type" : "AstParmVarDecl", + "name" : "overlay_text", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "scale_min", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "ImVec2 " + }, { + "@type" : "AstParmVarDecl", + "name" : "scale_max", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " MenuBa" + }, { + "@type" : "AstParmVarDecl", + "name" : "graph_size", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2", + "defaultValue" : " (Always on) T" + }, { + "@type" : "AstParmVarDecl", + "name" : "stride", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "sed publicly," + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Data Plotting" + }, { + "@type" : "AstTextComment", + "text" : " - Consider using ImPlot (https://github.com/epezent/implot) which is much better!" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PlotLines", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "values_getter", + "qualType" : "float (*)(void *, int)", + "desugaredQualType" : "float (*)(void *, int)" + }, { + "@type" : "AstParmVarDecl", + "name" : "data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "values_count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "values_offset", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "s" + }, { + "@type" : "AstParmVarDecl", + "name" : "overlay_text", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "ags(" + }, { + "@type" : "AstParmVarDecl", + "name" : "scale_min", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "NextWin" + }, { + "@type" : "AstParmVarDecl", + "name" : "scale_max", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "\n};\n\nen" + }, { + "@type" : "AstParmVarDecl", + "name" : "graph_size", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2", + "defaultValue" : "Flags_\n{\n I" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PlotHistogram", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "values", + "qualType" : "const float *", + "desugaredQualType" : "const float *" + }, { + "@type" : "AstParmVarDecl", + "name" : "values_count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "values_offset", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "<" + }, { + "@type" : "AstParmVarDecl", + "name" : "overlay_text", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "ta\n{" + }, { + "@type" : "AstParmVarDecl", + "name" : "scale_min", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "taFlags" + }, { + "@type" : "AstParmVarDecl", + "name" : "scale_max", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "at " + }, { + "@type" : "AstParmVarDecl", + "name" : "graph_size", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2", + "defaultValue" : "dth; " + }, { + "@type" : "AstParmVarDecl", + "name" : "stride", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "xtItemWidth()" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PlotHistogram", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "values_getter", + "qualType" : "float (*)(void *, int)", + "desugaredQualType" : "float (*)(void *, int)" + }, { + "@type" : "AstParmVarDecl", + "name" : "data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "values_count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "values_offset", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "e" + }, { + "@type" : "AstParmVarDecl", + "name" : "overlay_text", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "gs f" + }, { + "@type" : "AstParmVarDecl", + "name" : "scale_min", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " are cl" + }, { + "@type" : "AstParmVarDecl", + "name" : "scale_max", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "s is mo" + }, { + "@type" : "AstParmVarDecl", + "name" : "graph_size", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2", + "defaultValue" : "ing)\n ImGui" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Value", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "prefix", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Value() Helpers." + }, { + "@type" : "AstTextComment", + "text" : " - Those are merely shortcut to calling Text() with a format string. Output single value in \"name: value\" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace)" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Value", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "prefix", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Value", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "prefix", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "unsigned int", + "desugaredQualType" : "unsigned int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Value", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "prefix", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "float_format", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : " Im" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginMenuBar", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Widgets: Menus" + }, { + "@type" : "AstTextComment", + "text" : " - Use BeginMenuBar() on a window ImGuiWindowFlags_MenuBar to append to its menu bar." + }, { + "@type" : "AstTextComment", + "text" : " - Use BeginMainMenuBar() to create a menu bar at the top of the screen and append to it." + }, { + "@type" : "AstTextComment", + "text" : " - Use BeginMenu() to create a menu. You can call BeginMenu() multiple time with the same identifier to append more items to it." + }, { + "@type" : "AstTextComment", + "text" : " - Not that MenuItem() keyboardshortcuts are displayed as a convenience but _not processed_ by Dear ImGui at the moment." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndMenuBar", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginMainMenuBar", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "EndMainMenuBar", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginMenu", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "enabled", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : " // " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndMenu", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "MenuItem", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "shortcut", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "----" + }, { + "@type" : "AstParmVarDecl", + "name" : "selected", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : "-----" + }, { + "@type" : "AstParmVarDecl", + "name" : "enabled", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : "----" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "MenuItem", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "shortcut", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_selected", + "qualType" : "bool *", + "desugaredQualType" : "bool *" + }, { + "@type" : "AstParmVarDecl", + "name" : "enabled", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : "perR" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginTooltip", + "resultType" : "void", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Tooltips" + }, { + "@type" : "AstTextComment", + "text" : " - Tooltip are windows following the mouse. They do not take focus away." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndTooltip", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetTooltip", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetTooltipV", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginPopup", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiWindowFlags", + "desugaredQualType" : "int", + "defaultValue" : "m" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Popups: begin/end functions" + }, { + "@type" : "AstTextComment", + "text" : " - BeginPopup(): query popup state, if open start appending into the window. Call EndPopup() afterwards. ImGuiWindowFlags are forwarded to the window." + }, { + "@type" : "AstTextComment", + "text" : " - BeginPopupModal(): block every interactions behind the window, cannot be closed by user, add a dimming background, has a title bar." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginPopupModal", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "poss" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiWindowFlags", + "desugaredQualType" : "int", + "defaultValue" : "m" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndPopup", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "OpenPopup", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "popup_flags", + "qualType" : "ImGuiPopupFlags", + "desugaredQualType" : "int", + "defaultValue" : "r" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Popups: open/close functions" + }, { + "@type" : "AstTextComment", + "text" : " - OpenPopup(): set popup state to open. ImGuiPopupFlags are available for opening options." + }, { + "@type" : "AstTextComment", + "text" : " - If not modal: they can be closed by clicking anywhere outside them, or by pressing ESCAPE." + }, { + "@type" : "AstTextComment", + "text" : " - CloseCurrentPopup(): use inside the BeginPopup()/EndPopup() scope to close manually." + }, { + "@type" : "AstTextComment", + "text" : " - CloseCurrentPopup() is called by default by Selectable()/MenuItem() when activated (FIXME: need some options)." + }, { + "@type" : "AstTextComment", + "text" : " - Use ImGuiPopupFlags_NoOpenOverExistingPopup to avoid opening a popup if there's already one at the same level. This is equivalent to e.g. testing for !IsAnyPopupOpen() prior to OpenPopup()." + }, { + "@type" : "AstTextComment", + "text" : " - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "OpenPopup", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "popup_flags", + "qualType" : "ImGuiPopupFlags", + "desugaredQualType" : "int", + "defaultValue" : "_" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "OpenPopupOnItemClick", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "Flag" + }, { + "@type" : "AstParmVarDecl", + "name" : "popup_flags", + "qualType" : "ImGuiPopupFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "CloseCurrentPopup", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginPopupContextItem", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "vMov" + }, { + "@type" : "AstParmVarDecl", + "name" : "popup_flags", + "qualType" : "ImGuiPopupFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Popups: open+begin combined functions helpers" + }, { + "@type" : "AstTextComment", + "text" : " - Helpers to do OpenPopup+BeginPopup where the Open action is triggered by e.g. hovering an item and right-clicking." + }, { + "@type" : "AstTextComment", + "text" : " - They are convenient to easily create context menus, hence the name." + }, { + "@type" : "AstTextComment", + "text" : " - IMPORTANT: Notice that BeginPopupContextXXX takes ImGuiPopupFlags just like OpenPopup() and unlike BeginPopup(). For full consistency, we may add ImGuiWindowFlags to the BeginPopupContextXXX functions in the future." + }, { + "@type" : "AstTextComment", + "text" : " - IMPORTANT: we exceptionally default their flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter, so if you add other flags remember to re-add the ImGuiPopupFlags_MouseButtonRight." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginPopupContextWindow", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "ible" + }, { + "@type" : "AstParmVarDecl", + "name" : "popup_flags", + "qualType" : "ImGuiPopupFlags", + "desugaredQualType" : "int", + "defaultValue" : "n" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginPopupContextVoid", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "popup_flags", + "qualType" : "ImGuiPopupFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsPopupOpen", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiPopupFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Popups: query functions" + }, { + "@type" : "AstTextComment", + "text" : " - IsPopupOpen(): return true if the popup is open at the current BeginPopup() level of the popup stack." + }, { + "@type" : "AstTextComment", + "text" : " - IsPopupOpen() with ImGuiPopupFlags_AnyPopupId: return true if any popup is open at the current BeginPopup() level of the popup stack." + }, { + "@type" : "AstTextComment", + "text" : " - IsPopupOpen() with ImGuiPopupFlags_AnyPopupId + ImGuiPopupFlags_AnyPopupLevel: return true if any popup is open." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginTable", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "column", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTableFlags", + "desugaredQualType" : "int", + "defaultValue" : "l" + }, { + "@type" : "AstParmVarDecl", + "name" : "outer_size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "nsFlags_NoBorder " + }, { + "@type" : "AstParmVarDecl", + "name" : "inner_width", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "iOld" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Tables" + }, { + "@type" : "AstTextComment", + "text" : " [BETA API] API may evolve slightly! If you use this, please update to the next version when it comes out!" + }, { + "@type" : "AstTextComment", + "text" : " - Full-featured replacement for old Columns API." + }, { + "@type" : "AstTextComment", + "text" : " - See Demo->Tables for demo code." + }, { + "@type" : "AstTextComment", + "text" : " - See top of imgui_tables.cpp for general commentary." + }, { + "@type" : "AstTextComment", + "text" : " - See ImGuiTableFlags_ and ImGuiTableColumnFlags_ enums for a description of available flags." + }, { + "@type" : "AstTextComment", + "text" : " The typical call flow is:" + }, { + "@type" : "AstTextComment", + "text" : " - 1. Call BeginTable()." + }, { + "@type" : "AstTextComment", + "text" : " - 2. Optionally call TableSetupColumn() to submit column name/flags/defaults." + }, { + "@type" : "AstTextComment", + "text" : " - 3. Optionally call TableSetupScrollFreeze() to request scroll freezing of columns/rows." + }, { + "@type" : "AstTextComment", + "text" : " - 4. Optionally call TableHeadersRow() to submit a header row. Names are pulled from TableSetupColumn() data." + }, { + "@type" : "AstTextComment", + "text" : " - 5. Populate contents:" + }, { + "@type" : "AstTextComment", + "text" : " - In most situations you can use TableNextRow() + TableSetColumnIndex(N) to start appending into a column." + }, { + "@type" : "AstTextComment", + "text" : " - If you are using tables as a sort of grid, where every columns is holding the same type of contents," + }, { + "@type" : "AstTextComment", + "text" : " you may prefer using TableNextColumn() instead of TableNextRow() + TableSetColumnIndex()." + }, { + "@type" : "AstTextComment", + "text" : " TableNextColumn() will automatically wrap-around into the next row if needed." + }, { + "@type" : "AstTextComment", + "text" : " - IMPORTANT: Comparatively to the old Columns() API, we need to call TableNextColumn() for the first column!" + }, { + "@type" : "AstTextComment", + "text" : " - Summary of possible call flow:" + }, { + "@type" : "AstTextComment", + "text" : " --------------------------------------------------------------------------------------------------------" + }, { + "@type" : "AstTextComment", + "text" : " TableNextRow() -> TableSetColumnIndex(0) -> Text(\"Hello 0\") -> TableSetColumnIndex(1) -> Text(\"Hello 1\") // OK" + }, { + "@type" : "AstTextComment", + "text" : " TableNextRow() -> TableNextColumn() -> Text(\"Hello 0\") -> TableNextColumn() -> Text(\"Hello 1\") // OK" + }, { + "@type" : "AstTextComment", + "text" : " TableNextColumn() -> Text(\"Hello 0\") -> TableNextColumn() -> Text(\"Hello 1\") // OK: TableNextColumn() automatically gets to next row!" + }, { + "@type" : "AstTextComment", + "text" : " TableNextRow() -> Text(\"Hello 0\") // Not OK! Missing TableSetColumnIndex() or TableNextColumn()! Text will not appear!" + }, { + "@type" : "AstTextComment", + "text" : " --------------------------------------------------------------------------------------------------------" + }, { + "@type" : "AstTextComment", + "text" : " - 5. Call EndTable()" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndTable", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "TableNextRow", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "row_flags", + "qualType" : "ImGuiTableRowFlags", + "desugaredQualType" : "int", + "defaultValue" : "l" + }, { + "@type" : "AstParmVarDecl", + "name" : "min_row_height", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "ndow" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TableNextColumn", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "TableSetColumnIndex", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "column_n", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TableSetupColumn", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTableColumnFlags", + "desugaredQualType" : "int", + "defaultValue" : "s" + }, { + "@type" : "AstParmVarDecl", + "name" : "init_width_or_weight", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "nd()" + }, { + "@type" : "AstParmVarDecl", + "name" : "user_id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int", + "defaultValue" : " " + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Tables: Headers " + }, { + "@type" : "AstTextComment", + "text" : "&" + }, { + "@type" : "AstTextComment", + "text" : " Columns declaration" + }, { + "@type" : "AstTextComment", + "text" : " - Use TableSetupColumn() to specify label, resizing policy, default width/weight, id, various other flags etc." + }, { + "@type" : "AstTextComment", + "text" : " - Use TableHeadersRow() to create a header row and automatically submit a TableHeader() for each column." + }, { + "@type" : "AstTextComment", + "text" : " Headers are required to perform: reordering, sorting, and opening the context menu." + }, { + "@type" : "AstTextComment", + "text" : " The context menu can also be made available in columns body using ImGuiTableFlags_ContextMenuInBody." + }, { + "@type" : "AstTextComment", + "text" : " - You may manually submit headers using TableNextRow() + TableHeader() calls, but this is only useful in" + }, { + "@type" : "AstTextComment", + "text" : " some advanced use cases (e.g. adding custom widgets in header row)." + }, { + "@type" : "AstTextComment", + "text" : " - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TableSetupScrollFreeze", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "cols", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "rows", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TableHeadersRow", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "TableHeader", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TableGetSortSpecs", + "resultType" : "ImGuiTableSortSpecs *", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Tables: Sorting" + }, { + "@type" : "AstTextComment", + "text" : " - Call TableGetSortSpecs() to retrieve latest sort specs for the table. NULL when not sorting." + }, { + "@type" : "AstTextComment", + "text" : " - When 'SpecsDirty == true' you should sort your data. It will be true when sorting specs have changed" + }, { + "@type" : "AstTextComment", + "text" : " since last call, or the first time. Make sure to set 'SpecsDirty = false' after sorting, else you may" + }, { + "@type" : "AstTextComment", + "text" : " wastefully sort your data every frame!" + }, { + "@type" : "AstTextComment", + "text" : " - Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable()." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TableGetColumnCount", + "resultType" : "int", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Tables: Miscellaneous functions" + }, { + "@type" : "AstTextComment", + "text" : " - Functions args 'int column_n' treat the default value of -1 as the same as passing the current column index." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TableGetColumnIndex", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "TableGetRowIndex", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "TableGetColumnName", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "column_n", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "in" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TableGetColumnFlags", + "resultType" : "ImGuiTableColumnFlags", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "column_n", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : " 1" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TableSetColumnEnabled", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "column_n", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "bool", + "desugaredQualType" : "bool" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TableSetBgColor", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "target", + "qualType" : "ImGuiTableBgTarget", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "color", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "column_n", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "it" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Columns", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "count", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "d" + }, { + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : "wind" + }, { + "@type" : "AstParmVarDecl", + "name" : "border", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : "node" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Legacy Columns API (prefer using Tables!)" + }, { + "@type" : "AstTextComment", + "text" : " - You can also use SameLine(pos_x) to mimic simplified columns." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "NextColumn", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetColumnIndex", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetColumnWidth", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "column_index", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "sk" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetColumnWidth", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "column_index", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "width", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetColumnOffset", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "column_index", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "eF" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetColumnOffset", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "column_index", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "offset_x", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetColumnsCount", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginTabBar", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "str_id", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTabBarFlags", + "desugaredQualType" : "int", + "defaultValue" : "l" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Tab Bars, Tabs" + }, { + "@type" : "AstTextComment", + "text" : " Note: Tabs are automatically created by the docking system. Use this to create tab bars/tabs yourself without docking being involved." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndTabBar", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginTabItem", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_open", + "qualType" : "bool *", + "desugaredQualType" : "bool *", + "defaultValue" : "ockN" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTabItemFlags", + "desugaredQualType" : "int", + "defaultValue" : "a" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndTabItem", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "TabItemButton", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiTabItemFlags", + "desugaredQualType" : "int", + "defaultValue" : "l" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetTabItemClosed", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "tab_or_docked_window_label", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DockSpace", + "resultType" : "ImGuiID", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &", + "defaultValue" : "hen there is" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiDockNodeFlags", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "window_class", + "qualType" : "const ImGuiWindowClass *", + "desugaredQualType" : "const ImGuiWindowClass *", + "defaultValue" : " Co" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Docking" + }, { + "@type" : "AstTextComment", + "text" : " [BETA API] Enable with io.ConfigFlags |= ImGuiConfigFlags_DockingEnable." + }, { + "@type" : "AstTextComment", + "text" : " Note: You can use most Docking facilities without calling any API. You DO NOT need to call DockSpace() to use Docking!" + }, { + "@type" : "AstTextComment", + "text" : " - Drag from window title bar or their tab to dock/undock. Hold SHIFT to disable docking/undocking." + }, { + "@type" : "AstTextComment", + "text" : " - Drag from window menu button (upper-left button) to undock an entire node (all windows)." + }, { + "@type" : "AstTextComment", + "text" : " - When io.ConfigDockingWithShift == true, you instead need to hold SHIFT to _enable_ docking/undocking." + }, { + "@type" : "AstTextComment", + "text" : " About dockspaces:" + }, { + "@type" : "AstTextComment", + "text" : " - Use DockSpace() to create an explicit dock node _within_ an existing window. See Docking demo for details." + }, { + "@type" : "AstTextComment", + "text" : " - Use DockSpaceOverViewport() to create an explicit dock node covering the screen or a specific viewport." + }, { + "@type" : "AstTextComment", + "text" : " This is often used with ImGuiDockNodeFlags_PassthruCentralNode." + }, { + "@type" : "AstTextComment", + "text" : " - Important: Dockspaces need to be submitted _before_ any window they can host. Submit it early in your frame!" + }, { + "@type" : "AstTextComment", + "text" : " - Important: Dockspaces need to be kept alive if hidden, otherwise windows docked into it will be undocked." + }, { + "@type" : "AstTextComment", + "text" : " e.g. if you have multiple tabs with a dockspace inside each tab: submit the non-visible dockspaces with ImGuiDockNodeFlags_KeepAliveOnly." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DockSpaceOverViewport", + "resultType" : "ImGuiID", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "viewport", + "qualType" : "const ImGuiViewport *", + "desugaredQualType" : "const ImGuiViewport *", + "defaultValue" : "ive;" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiDockNodeFlags", + "desugaredQualType" : "int", + "defaultValue" : "m" + }, { + "@type" : "AstParmVarDecl", + "name" : "window_class", + "qualType" : "const ImGuiWindowClass *", + "desugaredQualType" : "const ImGuiWindowClass *", + "defaultValue" : "plic" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowDockID", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "dock_id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "L" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetNextWindowClass", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "window_class", + "qualType" : "const ImGuiWindowClass *", + "desugaredQualType" : "const ImGuiWindowClass *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetWindowDockID", + "resultType" : "ImGuiID" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsWindowDocked", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "LogToTTY", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "auto_open_depth", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : " " + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Logging/Capture" + }, { + "@type" : "AstTextComment", + "text" : " - All text output from the interface can be captured into tty/file/clipboard. By default, tree nodes are automatically opened during logging." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "LogToFile", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "auto_open_depth", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "no" + }, { + "@type" : "AstParmVarDecl", + "name" : "filename", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "LogToClipboard", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "auto_open_depth", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : ":1" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "LogFinish", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "LogButtons", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "LogText", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "LogTextV", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "fmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "args", + "qualType" : "__va_list_tag *", + "desugaredQualType" : "__va_list_tag *" + }, { + "@type" : "AstParmVarDecl", + "name" : "#FORMAT_ATTR_MARKER#", + "qualType" : "#FORMAT_ATTR_MARKER#", + "desugaredQualType" : "#FORMAT_ATTR_MARKER#" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginDragDropSource", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiDragDropFlags", + "desugaredQualType" : "int", + "defaultValue" : "o" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Drag and Drop" + }, { + "@type" : "AstTextComment", + "text" : " - On source items, call BeginDragDropSource(), if it returns true also call SetDragDropPayload() + EndDragDropSource()." + }, { + "@type" : "AstTextComment", + "text" : " - On target candidates, call BeginDragDropTarget(), if it returns true also call AcceptDragDropPayload() + EndDragDropTarget()." + }, { + "@type" : "AstTextComment", + "text" : " - If you stop calling BeginDragDropSource() the payload is preserved however it won't have a preview tooltip (we currently display a fallback \"...\" tooltip, see #1725)" + }, { + "@type" : "AstTextComment", + "text" : " - An item can be both drag source and drop target." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetDragDropPayload", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "type", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "data", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "sz", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "cond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int", + "defaultValue" : "s" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndDragDropSource", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginDragDropTarget", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "AcceptDragDropPayload", + "resultType" : "const ImGuiPayload *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "type", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiDragDropFlags", + "desugaredQualType" : "int", + "defaultValue" : "s" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndDragDropTarget", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetDragDropPayload", + "resultType" : "const ImGuiPayload *" + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginDisabled", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "disabled", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : "----" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Disabling [BETA API]" + }, { + "@type" : "AstTextComment", + "text" : " - Disable all user interactions and dim items visuals (applying style.DisabledAlpha over current colors)" + }, { + "@type" : "AstTextComment", + "text" : " - Those can be nested but it cannot be used to enable an already disabled section (a single BeginDisabled(true) in the stack is enough to keep everything disabled)" + }, { + "@type" : "AstTextComment", + "text" : " - BeginDisabled(false) essentially does nothing useful but is provided to facilitate use of boolean expressions. If you can avoid calling BeginDisabled(False)/EndDisabled() best to avoid it." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndDisabled", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "PushClipRect", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "clip_rect_min", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "clip_rect_max", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "intersect_with_current_clip_rect", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Clipping" + }, { + "@type" : "AstTextComment", + "text" : " - Mouse hovering is affected by ImGui::PushClipRect() calls, unlike direct calls to ImDrawList::PushClipRect() which are render only." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "PopClipRect", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetItemDefaultFocus", + "resultType" : "void", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Focus, Activation" + }, { + "@type" : "AstTextComment", + "text" : " - Prefer using \"SetItemDefaultFocus()\" over \"if (IsWindowAppearing()) SetScrollHereY()\" when applicable to signify \"this is the default item\"" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetKeyboardFocusHere", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "offset", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "V" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemHovered", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiHoveredFlags", + "desugaredQualType" : "int", + "defaultValue" : "u" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Item/Widgets Utilities and Query Functions" + }, { + "@type" : "AstTextComment", + "text" : " - Most of the functions are referring to the previous Item that has been submitted." + }, { + "@type" : "AstTextComment", + "text" : " - See Demo Window under \"Widgets->Querying Status\" for an interactive visualization of most of those functions." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemActive", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemFocused", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemClicked", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "mouse_button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int", + "defaultValue" : "r" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemVisible", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemEdited", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemActivated", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemDeactivated", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemDeactivatedAfterEdit", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsItemToggledOpen", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsAnyItemHovered", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsAnyItemActive", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsAnyItemFocused", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetItemRectMin", + "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetItemRectMax", + "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetItemRectSize", + "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetItemAllowOverlap", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetMainViewport", + "resultType" : "ImGuiViewport *", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Viewports" + }, { + "@type" : "AstTextComment", + "text" : " - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows." + }, { + "@type" : "AstTextComment", + "text" : " - In 'docking' branch with multi-viewport enabled, we extend this concept to have multiple active viewports." + }, { + "@type" : "AstTextComment", + "text" : " - In the future we will extend this concept further to also represent Platform Monitor and support a \"no main platform window\" operation mode." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsRectVisible", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Miscellaneous Utilities" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsRectVisible", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "rect_min", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "rect_max", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetTime", + "resultType" : "double" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetFrameCount", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetBackgroundDrawList", + "resultType" : "ImDrawList *" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetForegroundDrawList", + "resultType" : "ImDrawList *" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetBackgroundDrawList", + "resultType" : "ImDrawList *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "viewport", + "qualType" : "ImGuiViewport *", + "desugaredQualType" : "ImGuiViewport *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetForegroundDrawList", + "resultType" : "ImDrawList *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "viewport", + "qualType" : "ImGuiViewport *", + "desugaredQualType" : "ImGuiViewport *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetDrawListSharedData", + "resultType" : "ImDrawListSharedData *" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetStyleColorName", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "idx", + "qualType" : "ImGuiCol", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetStateStorage", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "storage", + "qualType" : "ImGuiStorage *", + "desugaredQualType" : "ImGuiStorage *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetStateStorage", + "resultType" : "ImGuiStorage *" + }, { + "@type" : "AstFunctionDecl", + "name" : "BeginChildFrame", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiWindowFlags", + "desugaredQualType" : "int", + "defaultValue" : "d" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "EndChildFrame", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "CalcTextSize", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "text", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "text_end", + "qualType" : "const char *", + "desugaredQualType" : "const char *", + "defaultValue" : " " + }, { + "@type" : "AstParmVarDecl", + "name" : "hide_text_after_double_hash", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : "gHook" + }, { + "@type" : "AstParmVarDecl", + "name" : "wrap_width", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " " + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Text Utilities" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ColorConvertU32ToFloat4", + "resultType" : "ImVec4", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "in", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Color Utilities" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ColorConvertFloat4ToU32", + "resultType" : "ImU32", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "in", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ColorConvertRGBtoHSV", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "r", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "g", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_h", + "qualType" : "float &", + "desugaredQualType" : "float &" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_s", + "qualType" : "float &", + "desugaredQualType" : "float &" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_v", + "qualType" : "float &", + "desugaredQualType" : "float &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ColorConvertHSVtoRGB", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "h", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "s", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_r", + "qualType" : "float &", + "desugaredQualType" : "float &" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_g", + "qualType" : "float &", + "desugaredQualType" : "float &" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_b", + "qualType" : "float &", + "desugaredQualType" : "float &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetKeyIndex", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "imgui_key", + "qualType" : "ImGuiKey", + "desugaredQualType" : "int" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Inputs Utilities: Keyboard" + }, { + "@type" : "AstTextComment", + "text" : " - For 'int user_key_index' you can use your own indices/enums according to how your backend/engine stored them in io.KeysDown[]." + }, { + "@type" : "AstTextComment", + "text" : " - We don't know the meaning of those value. You can use GetKeyIndex() to map a ImGuiKey_ value into the user index." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsKeyDown", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "user_key_index", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsKeyPressed", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "user_key_index", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "repeat", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : "onte" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsKeyReleased", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "user_key_index", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetKeyPressedAmount", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "key_index", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "repeat_delay", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "rate", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "CaptureKeyboardFromApp", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "want_capture_keyboard_value", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : "imgu" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsMouseDown", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Inputs Utilities: Mouse" + }, { + "@type" : "AstTextComment", + "text" : " - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right." + }, { + "@type" : "AstTextComment", + "text" : " - You can also use regular integer: it is forever guaranteed that 0=Left, 1=Right, 2=Middle." + }, { + "@type" : "AstTextComment", + "text" : " - Dragging operations are only reported after mouse has moved a certain distance away from the initial clicking position (see 'lock_threshold' and 'io.MouseDraggingThreshold')" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsMouseClicked", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "repeat", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : " * Fo" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsMouseReleased", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsMouseDoubleClicked", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetMouseClickedCount", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsMouseHoveringRect", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "r_min", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "r_max", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "clip", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : "eHoo" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsMousePosValid", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "mouse_pos", + "qualType" : "const ImVec2 *", + "desugaredQualType" : "const ImVec2 *", + "defaultValue" : " sta" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "IsAnyMouseDown", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetMousePos", + "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetMousePosOnOpeningCurrentPopup", + "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsMouseDragging", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "lock_threshold", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : "round" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetMouseDragDelta", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int", + "defaultValue" : "n" + }, { + "@type" : "AstParmVarDecl", + "name" : "lock_threshold", + "qualType" : "float", + "desugaredQualType" : "float", + "defaultValue" : " // W" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ResetMouseDragDelta", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "button", + "qualType" : "ImGuiMouseButton", + "desugaredQualType" : "int", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetMouseCursor", + "resultType" : "ImGuiMouseCursor" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetMouseCursor", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "cursor_type", + "qualType" : "ImGuiMouseCursor", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "CaptureMouseFromApp", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "want_capture_mouse_value", + "qualType" : "bool", + "desugaredQualType" : "bool", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetClipboardText", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Clipboard Utilities" + }, { + "@type" : "AstTextComment", + "text" : " - Also see the LogToClipboard() function to capture GUI into clipboard, or easily output text data to the clipboard." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetClipboardText", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "text", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "LoadIniSettingsFromDisk", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ini_filename", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Settings/.Ini Utilities" + }, { + "@type" : "AstTextComment", + "text" : " - The disk functions are automatically called if io.IniFilename != NULL (default is \"imgui.ini\")." + }, { + "@type" : "AstTextComment", + "text" : " - Set io.IniFilename to NULL to load/save manually. Read io.WantSaveIniSettings description about handling .ini saving manually." + }, { + "@type" : "AstTextComment", + "text" : " - Important: default value \"imgui.ini\" is relative to current working dir! Most apps will want to lock this to an absolute path (e.g. same path as executables)." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "LoadIniSettingsFromMemory", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ini_data", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "ini_size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long", + "defaultValue" : "m" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SaveIniSettingsToDisk", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ini_filename", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SaveIniSettingsToMemory", + "resultType" : "const char *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "out_ini_size", + "qualType" : "size_t *", + "desugaredQualType" : "size_t *", + "defaultValue" : "ng w" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DebugCheckVersionAndDataLayout", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "version_str", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "sz_io", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "sz_style", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "sz_vec2", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "sz_vec4", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "sz_drawvert", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstParmVarDecl", + "name" : "sz_drawidx", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Debug Utilities" + }, { + "@type" : "AstTextComment", + "text" : " - This is used by the IMGUI_CHECKVERSION() macro." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetAllocatorFunctions", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "alloc_func", + "qualType" : "ImGuiMemAllocFunc", + "desugaredQualType" : "void *(*)(size_t, void *)" + }, { + "@type" : "AstParmVarDecl", + "name" : "free_func", + "qualType" : "ImGuiMemFreeFunc", + "desugaredQualType" : "void (*)(void *, void *)" + }, { + "@type" : "AstParmVarDecl", + "name" : "user_data", + "qualType" : "void *", + "desugaredQualType" : "void *", + "defaultValue" : "av i" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Memory Allocators" + }, { + "@type" : "AstTextComment", + "text" : " - Those functions are not reliant on the current context." + }, { + "@type" : "AstTextComment", + "text" : " - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()" + }, { + "@type" : "AstTextComment", + "text" : " for each static/DLL boundary you are calling from. Read \"Context and Memory Allocators\" section of imgui.cpp for more details." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetAllocatorFunctions", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p_alloc_func", + "qualType" : "ImGuiMemAllocFunc *", + "desugaredQualType" : "ImGuiMemAllocFunc *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_free_func", + "qualType" : "ImGuiMemFreeFunc *", + "desugaredQualType" : "ImGuiMemFreeFunc *" + }, { + "@type" : "AstParmVarDecl", + "name" : "p_user_data", + "qualType" : "void **", + "desugaredQualType" : "void **" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "MemAlloc", + "resultType" : "void *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "MemFree", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "ptr", + "qualType" : "void *", + "desugaredQualType" : "void *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetPlatformIO", + "resultType" : "ImGuiPlatformIO &", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " (Optional) Platform/OS interface for multi-viewport support" + }, { + "@type" : "AstTextComment", + "text" : " Read comments around the ImGuiPlatformIO structure for more details." + }, { + "@type" : "AstTextComment", + "text" : " Note: You may use GetWindowViewport() to get the current viewport of the current window." + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "UpdatePlatformWindows", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "RenderPlatformWindowsDefault", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "platform_render_arg", + "qualType" : "void *", + "desugaredQualType" : "void *", + "defaultValue" : " ani" + }, { + "@type" : "AstParmVarDecl", + "name" : "renderer_render_arg", + "qualType" : "void *", + "desugaredQualType" : "void *", + "defaultValue" : " " + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DestroyPlatformWindows", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "FindViewportByID", + "resultType" : "ImGuiViewport *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "id", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "FindViewportByPlatformHandle", + "resultType" : "ImGuiViewport *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "platform_handle", + "qualType" : "void *", + "desugaredQualType" : "void *" + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFileOpen", + "resultType" : "ImFileHandle", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "filename", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "mode", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFileClose", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "file", + "qualType" : "ImFileHandle", + "desugaredQualType" : "FILE *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFileGetSize", + "resultType" : "ImU64", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "file", + "qualType" : "ImFileHandle", + "desugaredQualType" : "FILE *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFileRead", + "resultType" : "ImU64", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "data", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "ImU64", + "desugaredQualType" : "unsigned long long" + }, { + "@type" : "AstParmVarDecl", + "name" : "count", + "qualType" : "ImU64", + "desugaredQualType" : "unsigned long long" + }, { + "@type" : "AstParmVarDecl", + "name" : "file", + "qualType" : "ImFileHandle", + "desugaredQualType" : "FILE *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFileWrite", + "resultType" : "ImU64", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "data", + "qualType" : "const void *", + "desugaredQualType" : "const void *" + }, { + "@type" : "AstParmVarDecl", + "name" : "size", + "qualType" : "ImU64", + "desugaredQualType" : "unsigned long long" + }, { + "@type" : "AstParmVarDecl", + "name" : "count", + "qualType" : "ImU64", + "desugaredQualType" : "unsigned long long" + }, { + "@type" : "AstParmVarDecl", + "name" : "file", + "qualType" : "ImFileHandle", + "desugaredQualType" : "FILE *" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFileLoadToMemory", + "resultType" : "void *", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "filename", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "mode", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_file_size", + "qualType" : "size_t *", + "desugaredQualType" : "size_t *", + "defaultValue" : "NULL" + }, { + "@type" : "AstParmVarDecl", + "name" : "padding_bytes", + "qualType" : "int", + "desugaredQualType" : "int", + "defaultValue" : "0" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImPow", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "y", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImPow", + "resultType" : "double", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "double", + "desugaredQualType" : "double" + }, { + "@type" : "AstParmVarDecl", + "name" : "y", + "qualType" : "double", + "desugaredQualType" : "double" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImLog", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImLog", + "resultType" : "double", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "double", + "desugaredQualType" : "double" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImAbs", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImAbs", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImAbs", + "resultType" : "double", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "double", + "desugaredQualType" : "double" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImSign", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImSign", + "resultType" : "double", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "double", + "desugaredQualType" : "double" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImRsqrt", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImRsqrt", + "resultType" : "double", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "x", + "qualType" : "double", + "desugaredQualType" : "double" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImMin", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "lhs", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "rhs", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " - Misc maths helpers" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImMax", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "lhs", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "rhs", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImClamp", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "mn", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "mx", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImLerp", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "a", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "t", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImLerp", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "a", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "t", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImLerp", + "resultType" : "ImVec4", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "a", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "t", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImSaturate", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "f", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImLengthSqr", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "lhs", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImLengthSqr", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "lhs", + "qualType" : "const ImVec4 &", + "desugaredQualType" : "const ImVec4 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImInvLength", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "lhs", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "fail_value", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFloor", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "f", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFloorSigned", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "f", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImFloor", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImModPositive", + "resultType" : "int", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "a", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImDot", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "a", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImRotate", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "v", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "cos_a", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "sin_a", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImLinearSweep", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "current", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "target", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "speed", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImMul", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "lhs", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "rhs", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImIsFloatAboveGuaranteedIntegerPrecision", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "f", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImBezierCubicCalc", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p1", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p2", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p3", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p4", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "t", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helpers: Geometry" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImBezierCubicClosestPoint", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p1", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p2", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p3", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p4", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "num_segments", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImBezierCubicClosestPointCasteljau", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p1", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p2", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p3", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p4", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "tess_tol", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImBezierQuadraticCalc", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p1", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p2", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p3", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "t", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImLineClosestPoint", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "a", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTriangleContainsPoint", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "a", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTriangleClosestPoint", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "a", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTriangleBarycentricCoords", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "a", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "p", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_u", + "qualType" : "float &", + "desugaredQualType" : "float &" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_v", + "qualType" : "float &", + "desugaredQualType" : "float &" + }, { + "@type" : "AstParmVarDecl", + "name" : "out_w", + "qualType" : "float &", + "desugaredQualType" : "float &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImTriangleArea", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "a", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "b", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "c", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImGetDirQuadrantFromDelta", + "resultType" : "ImGuiDir", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "dx", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "dy", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImVec1", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helper: ImVec1 (1D vector)" + }, { + "@type" : "AstTextComment", + "text" : " (this odd construct is used to facilitate the transition between 1D and 2D, and the maintenance of some branches/patches)" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "x", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImVec2ih", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helper: ImVec2ih (2D vector, half-size integer, for long-term packed storage)" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "x", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "y", + "qualType" : "short", + "desugaredQualType" : "short" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImRect", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helper: ImRect (2D axis aligned bounding-box)" + }, { + "@type" : "AstTextComment", + "text" : " NB: we can't rely on ImVec2 math operators being available here!" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Min", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "Max", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetCenter", + "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetSize", + "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetWidth", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetHeight", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetArea", + "resultType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetTL", + "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetTR", + "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetBL", + "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetBR", + "resultType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "Contains", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Contains", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "r", + "qualType" : "const ImRect &", + "desugaredQualType" : "const ImRect &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Overlaps", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "r", + "qualType" : "const ImRect &", + "desugaredQualType" : "const ImRect &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Add", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "p", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Add", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "r", + "qualType" : "const ImRect &", + "desugaredQualType" : "const ImRect &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Expand", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "amount", + "qualType" : "const float", + "desugaredQualType" : "const float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Expand", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "amount", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Translate", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "d", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TranslateX", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "dx", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "TranslateY", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "dy", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ClipWith", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "r", + "qualType" : "const ImRect &", + "desugaredQualType" : "const ImRect &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ClipWithFull", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "r", + "qualType" : "const ImRect &", + "desugaredQualType" : "const ImRect &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Floor", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsInverted", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "ToVec4", + "resultType" : "ImVec4" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImBitArrayTestBit", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "arr", + "qualType" : "const ImU32 *", + "desugaredQualType" : "const ImU32 *" + }, { + "@type" : "AstParmVarDecl", + "name" : "n", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helper: ImBitArray" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImBitArrayClearBit", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "arr", + "qualType" : "ImU32 *", + "desugaredQualType" : "ImU32 *" + }, { + "@type" : "AstParmVarDecl", + "name" : "n", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImBitArraySetBit", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "arr", + "qualType" : "ImU32 *", + "desugaredQualType" : "ImU32 *" + }, { + "@type" : "AstParmVarDecl", + "name" : "n", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ImBitArraySetBitRange", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "arr", + "qualType" : "ImU32 *", + "desugaredQualType" : "ImU32 *" + }, { + "@type" : "AstParmVarDecl", + "name" : "n", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "n2", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImBitVector", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helper: ImBitVector" + }, { + "@type" : "AstTextComment", + "text" : " Store 1-bit per value." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Storage", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFunctionDecl", + "name" : "Create", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "sz", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "Clear", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "TestBit", + "resultType" : "bool", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "n", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "SetBit", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "n", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearBit", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "n", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImDrawListSharedData", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Data shared between all ImDrawList instances" + }, { + "@type" : "AstTextComment", + "text" : " You may want to create your own instance of this if you want to use ImDrawList completely without ImGui. In that case, watch out for future changes to this structure." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "TexUvWhitePixel", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "Font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" + }, { + "@type" : "AstFieldDecl", + "name" : "FontSize", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "CurveTessellationTol", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "CircleSegmentMaxError", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ClipRectFullscreen", + "qualType" : "ImVec4", + "desugaredQualType" : "ImVec4" + }, { + "@type" : "AstFieldDecl", + "name" : "InitialFlags", + "qualType" : "ImDrawListFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ArcFastVtx", + "qualType" : "ImVec2[48]", + "desugaredQualType" : "ImVec2[48]" + }, { + "@type" : "AstFieldDecl", + "name" : "ArcFastRadiusCutoff", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "CircleSegmentCounts", + "qualType" : "ImU8[64]", + "desugaredQualType" : "ImU8[64]" + }, { + "@type" : "AstFieldDecl", + "name" : "TexUvLines", + "qualType" : "const ImVec4 *", + "desugaredQualType" : "const ImVec4 *" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetCircleTessellationMaxError", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "max_error", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImDrawDataBuilder", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "Layers", + "qualType" : "ImVector[2]", + "desugaredQualType" : "ImVector[2]" + }, { + "@type" : "AstFunctionDecl", + "name" : "Clear", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearFreeMemory", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetDrawListCount", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "FlattenIntoSingleLayer", + "resultType" : "void" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiItemFlags_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Transient per-window flags, reset at the beginning of the frame. For child window, inherited from parent on first Begin()." + }, { + "@type" : "AstTextComment", + "text" : " This is going to be exposed in imgui.h when stabilized enough." + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_None", + "qualType" : "ImGuiItemFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_NoTabStop", + "docComment" : "false // Disable keyboard tabbing (FIXME: should merge with _NoNav)", + "qualType" : "ImGuiItemFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_ButtonRepeat", + "docComment" : "false // Button() will return true multiple times based on io.KeyRepeatDelay and io.KeyRepeatRate settings.", + "qualType" : "ImGuiItemFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_Disabled", + "docComment" : "false // Disable interactions but doesn't affect visuals. See BeginDisabled()/EndDisabled(). See github.com/ocornut/imgui/issues/211", + "qualType" : "ImGuiItemFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_NoNav", + "docComment" : "false // Disable keyboard/gamepad directional navigation (FIXME: should merge with _NoTabStop)", + "qualType" : "ImGuiItemFlags_", + "order" : 4, + "value" : "1 << 3", + "evaluatedValue" : "8" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_NoNavDefaultFocus", + "docComment" : "false // Disable item being a candidate for default focus (e.g. used by title bar items)", + "qualType" : "ImGuiItemFlags_", + "order" : 5, + "value" : "1 << 4", + "evaluatedValue" : "16" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_SelectableDontClosePopup", + "docComment" : "false // Disable MenuItem/Selectable() automatically closing their popup window", + "qualType" : "ImGuiItemFlags_", + "order" : 6, + "value" : "1 << 5", + "evaluatedValue" : "32" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_MixedValue", + "docComment" : "false // [BETA] Represent a mixed/indeterminate value, generally multi-selection where values differ. Currently only supported by Checkbox() (later should support all sorts of widgets)", + "qualType" : "ImGuiItemFlags_", + "order" : 7, + "value" : "1 << 6", + "evaluatedValue" : "64" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_ReadOnly", + "docComment" : "false // [ALPHA] Allow hovering interactions but underlying value is not changed.", + "qualType" : "ImGuiItemFlags_", + "order" : 8, + "value" : "1 << 7", + "evaluatedValue" : "128" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemFlags_Inputable", + "docComment" : "false // [WIP] Auto-activate input mode when tab focused. Currently only used and supported by a few items before it becomes a generic feature.", + "qualType" : "ImGuiItemFlags_", + "order" : 9, + "value" : "1 << 8", + "evaluatedValue" : "256" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiItemStatusFlags_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Storage for LastItem data" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemStatusFlags_None", + "qualType" : "ImGuiItemStatusFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemStatusFlags_HoveredRect", + "docComment" : "Mouse position is within item rectangle (does NOT mean that the window is in correct z-order and can be hovered!, this is only one part of the most-common IsItemHovered test)", + "qualType" : "ImGuiItemStatusFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemStatusFlags_HasDisplayRect", + "docComment" : "g.LastItemData.DisplayRect is valid", + "qualType" : "ImGuiItemStatusFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemStatusFlags_Edited", + "docComment" : "Value exposed by item was edited in the current frame (should match the bool return value of most widgets)", + "qualType" : "ImGuiItemStatusFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemStatusFlags_ToggledSelection", + "docComment" : "Set when Selectable(), TreeNode() reports toggling a selection. We can't report \"Selected\", only state changes, in order to easily handle clipping with less issues.", + "qualType" : "ImGuiItemStatusFlags_", + "order" : 4, + "value" : "1 << 3", + "evaluatedValue" : "8" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemStatusFlags_ToggledOpen", + "docComment" : "Set when TreeNode() reports toggling their open state.", + "qualType" : "ImGuiItemStatusFlags_", + "order" : 5, + "value" : "1 << 4", + "evaluatedValue" : "16" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemStatusFlags_HasDeactivated", + "docComment" : "Set if the widget/group is able to provide data for the ImGuiItemStatusFlags_Deactivated flag.", + "qualType" : "ImGuiItemStatusFlags_", + "order" : 6, + "value" : "1 << 5", + "evaluatedValue" : "32" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemStatusFlags_Deactivated", + "docComment" : "Only valid if ImGuiItemStatusFlags_HasDeactivated is set.", + "qualType" : "ImGuiItemStatusFlags_", + "order" : 7, + "value" : "1 << 6", + "evaluatedValue" : "64" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemStatusFlags_HoveredWindow", + "docComment" : "Override the HoveredWindow test to allow cross-window hover testing.", + "qualType" : "ImGuiItemStatusFlags_", + "order" : 8, + "value" : "1 << 7", + "evaluatedValue" : "128" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiItemStatusFlags_FocusedByTabbing", + "docComment" : "Set when the Focusable item just got focused by Tabbing (FIXME: to be removed soon)", + "qualType" : "ImGuiItemStatusFlags_", + "order" : 9, + "value" : "1 << 8", + "evaluatedValue" : "256" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiInputTextFlagsPrivate_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Extend ImGuiInputTextFlags_" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputTextFlags_Multiline", + "docComment" : "For internal use by InputTextMultiline()", + "qualType" : "ImGuiInputTextFlagsPrivate_", + "order" : 0, + "value" : "1 << 26", + "evaluatedValue" : "67108864" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputTextFlags_NoMarkEdited", + "docComment" : "For internal use by functions using InputText() before reformatting data", + "qualType" : "ImGuiInputTextFlagsPrivate_", + "order" : 1, + "value" : "1 << 27", + "evaluatedValue" : "134217728" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputTextFlags_MergedItem", + "docComment" : "For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match.", + "qualType" : "ImGuiInputTextFlagsPrivate_", + "order" : 2, + "value" : "1 << 28", + "evaluatedValue" : "268435456" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiButtonFlagsPrivate_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Extend ImGuiButtonFlags_" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_PressedOnClick", + "docComment" : "return true on click (mouse down event)", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 0, + "value" : "1 << 4", + "evaluatedValue" : "16" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_PressedOnClickRelease", + "docComment" : "[Default] return true on click + release on same item < -- this is what the majority of Button are using", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 1, + "value" : "1 << 5", + "evaluatedValue" : "32" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_PressedOnClickReleaseAnywhere", + "docComment" : "return true on click + release even if the release event is not done while hovering the item", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 2, + "value" : "1 << 6", + "evaluatedValue" : "64" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_PressedOnRelease", + "docComment" : "return true on release (default requires click+release)", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 3, + "value" : "1 << 7", + "evaluatedValue" : "128" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_PressedOnDoubleClick", + "docComment" : "return true on double-click (default requires click+release)", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 4, + "value" : "1 << 8", + "evaluatedValue" : "256" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_PressedOnDragDropHold", + "docComment" : "return true when held into while we are drag and dropping another item (used by e.g. tree nodes, collapsing headers)", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 5, + "value" : "1 << 9", + "evaluatedValue" : "512" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_Repeat", + "docComment" : "hold to repeat", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 6, + "value" : "1 << 10", + "evaluatedValue" : "1024" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_FlattenChildren", + "docComment" : "allow interactions even if a child window is overlapping", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 7, + "value" : "1 << 11", + "evaluatedValue" : "2048" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_AllowItemOverlap", + "docComment" : "require previous frame HoveredId to either match id or be null before being usable, use along with SetItemAllowOverlap()", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 8, + "value" : "1 << 12", + "evaluatedValue" : "4096" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_DontClosePopups", + "docComment" : "disable automatically closing parent popup on press // [UNUSED]", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 9, + "value" : "1 << 13", + "evaluatedValue" : "8192" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_AlignTextBaseLine", + "docComment" : "vertically align button to match text baseline - ButtonEx() only // FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 10, + "value" : "1 << 15", + "evaluatedValue" : "32768" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_NoKeyModifiers", + "docComment" : "disable mouse interaction if a key modifier is held", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 11, + "value" : "1 << 16", + "evaluatedValue" : "65536" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_NoHoldingActiveId", + "docComment" : "don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 12, + "value" : "1 << 17", + "evaluatedValue" : "131072" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_NoNavFocus", + "docComment" : "don't override navigation focus when activated", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 13, + "value" : "1 << 18", + "evaluatedValue" : "262144" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_NoHoveredOnFocus", + "docComment" : "don't report as hovered when nav focus is on this item", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 14, + "value" : "1 << 19", + "evaluatedValue" : "524288" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_PressedOnMask_", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 15, + "value" : "ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold", + "evaluatedValue" : "1008" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiButtonFlags_PressedOnDefault_", + "qualType" : "ImGuiButtonFlagsPrivate_", + "order" : 16, + "value" : "ImGuiButtonFlags_PressedOnClickRelease", + "evaluatedValue" : "32" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiComboFlagsPrivate_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Extend ImGuiComboFlags_" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiComboFlags_CustomPreview", + "docComment" : "enable BeginComboPreview()", + "qualType" : "ImGuiComboFlagsPrivate_", + "order" : 0, + "value" : "1 << 20", + "evaluatedValue" : "1048576" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiSliderFlagsPrivate_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Extend ImGuiSliderFlags_" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSliderFlags_Vertical", + "docComment" : "Should this slider be orientated vertically?", + "qualType" : "ImGuiSliderFlagsPrivate_", + "order" : 0, + "value" : "1 << 20", + "evaluatedValue" : "1048576" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSliderFlags_ReadOnly", + "qualType" : "ImGuiSliderFlagsPrivate_", + "order" : 1, + "value" : "1 << 21", + "evaluatedValue" : "2097152" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiSelectableFlagsPrivate_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Extend ImGuiSelectableFlags_" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectableFlags_NoHoldingActiveID", + "docComment" : "NB: need to be in sync with last value of ImGuiSelectableFlags_", + "qualType" : "ImGuiSelectableFlagsPrivate_", + "order" : 0, + "value" : "1 << 20", + "evaluatedValue" : "1048576" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectableFlags_SelectOnNav", + "docComment" : "(WIP) Auto-select when moved into. This is not exposed in public API as to handle multi-select and modifiers we will need user to explicitly control focus scope. May be replaced with a BeginSelection() API.", + "qualType" : "ImGuiSelectableFlagsPrivate_", + "order" : 1, + "value" : "1 << 21", + "evaluatedValue" : "2097152" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectableFlags_SelectOnClick", + "docComment" : "Override button behavior to react on Click (default is Click+Release)", + "qualType" : "ImGuiSelectableFlagsPrivate_", + "order" : 2, + "value" : "1 << 22", + "evaluatedValue" : "4194304" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectableFlags_SelectOnRelease", + "docComment" : "Override button behavior to react on Release (default is Click+Release)", + "qualType" : "ImGuiSelectableFlagsPrivate_", + "order" : 3, + "value" : "1 << 23", + "evaluatedValue" : "8388608" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectableFlags_SpanAvailWidth", + "docComment" : "Span all avail width even if we declared less for layout purpose. FIXME: We may be able to remove this (added in 6251d379, 2bcafc86 for menus)", + "qualType" : "ImGuiSelectableFlagsPrivate_", + "order" : 4, + "value" : "1 << 24", + "evaluatedValue" : "16777216" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectableFlags_DrawHoveredWhenHeld", + "docComment" : "Always show active when held, even is not hovered. This concept could probably be renamed/formalized somehow.", + "qualType" : "ImGuiSelectableFlagsPrivate_", + "order" : 5, + "value" : "1 << 25", + "evaluatedValue" : "33554432" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectableFlags_SetNavIdOnHover", + "docComment" : "Set Nav/Focus ID on mouse hover (used by MenuItem)", + "qualType" : "ImGuiSelectableFlagsPrivate_", + "order" : 6, + "value" : "1 << 26", + "evaluatedValue" : "67108864" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSelectableFlags_NoPadWithHalfSpacing", + "docComment" : "Disable padding each side with ItemSpacing * 0.5f", + "qualType" : "ImGuiSelectableFlagsPrivate_", + "order" : 7, + "value" : "1 << 27", + "evaluatedValue" : "134217728" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiTreeNodeFlagsPrivate_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Extend ImGuiTreeNodeFlags_" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTreeNodeFlags_ClipLabelForTrailingButton", + "qualType" : "ImGuiTreeNodeFlagsPrivate_", + "order" : 0, + "value" : "1 << 20", + "evaluatedValue" : "1048576" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiSeparatorFlags_", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSeparatorFlags_None", + "qualType" : "ImGuiSeparatorFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSeparatorFlags_Horizontal", + "docComment" : "Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar", + "qualType" : "ImGuiSeparatorFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSeparatorFlags_Vertical", + "qualType" : "ImGuiSeparatorFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiSeparatorFlags_SpanAllColumns", + "qualType" : "ImGuiSeparatorFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : "4" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiTextFlags_", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTextFlags_None", + "qualType" : "ImGuiTextFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTextFlags_NoWidthForLargeClippedText", + "qualType" : "ImGuiTextFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiTooltipFlags_", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTooltipFlags_None", + "qualType" : "ImGuiTooltipFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiTooltipFlags_OverridePreviousTooltip", + "docComment" : "Override will clear/ignore previously submitted tooltip (defaults to append)", + "qualType" : "ImGuiTooltipFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiLayoutType_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " FIXME: this is in development, not exposed/functional as a generic feature yet." + }, { + "@type" : "AstTextComment", + "text" : " Horizontal/Vertical enums are fixed to 0/1 so they may be used to index ImVec2" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiLayoutType_Horizontal", + "qualType" : "ImGuiLayoutType_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiLayoutType_Vertical", + "qualType" : "ImGuiLayoutType_", + "order" : 1, + "value" : "1", + "evaluatedValue" : "1" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiLogType", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiLogType_None", + "qualType" : "ImGuiLogType", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiLogType_TTY", + "qualType" : "ImGuiLogType", + "order" : 1, + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiLogType_File", + "qualType" : "ImGuiLogType", + "order" : 2, + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiLogType_Buffer", + "qualType" : "ImGuiLogType", + "order" : 3, + "evaluatedValue" : "3" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiLogType_Clipboard", + "qualType" : "ImGuiLogType", + "order" : 4, + "evaluatedValue" : "4" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiAxis", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " X/Y enums are fixed to 0/1 so they may be used to index ImVec2" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiAxis_None", + "qualType" : "ImGuiAxis", + "order" : 0, + "value" : "-1", + "evaluatedValue" : "-1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiAxis_X", + "qualType" : "ImGuiAxis", + "order" : 1, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiAxis_Y", + "qualType" : "ImGuiAxis", + "order" : 2, + "value" : "1", + "evaluatedValue" : "1" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiPlotType", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiPlotType_Lines", + "qualType" : "ImGuiPlotType", + "order" : 0, + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiPlotType_Histogram", + "qualType" : "ImGuiPlotType", + "order" : 1, + "evaluatedValue" : "1" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiInputSource", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputSource_None", + "qualType" : "ImGuiInputSource", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputSource_Mouse", + "qualType" : "ImGuiInputSource", + "order" : 1, + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputSource_Keyboard", + "qualType" : "ImGuiInputSource", + "order" : 2, + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputSource_Gamepad", + "qualType" : "ImGuiInputSource", + "order" : 3, + "evaluatedValue" : "3" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputSource_Nav", + "docComment" : "Stored in g.ActiveIdSource only", + "qualType" : "ImGuiInputSource", + "order" : 4, + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputSource_Clipboard", + "docComment" : "Currently only used by InputText()", + "qualType" : "ImGuiInputSource", + "order" : 5, + "evaluatedValue" : "5" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputSource_COUNT", + "qualType" : "ImGuiInputSource", + "order" : 6, + "evaluatedValue" : "6" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiInputReadMode", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " FIXME-NAV: Clarify/expose various repeat delay/rate" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputReadMode_Down", + "qualType" : "ImGuiInputReadMode", + "order" : 0, + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputReadMode_Pressed", + "qualType" : "ImGuiInputReadMode", + "order" : 1, + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputReadMode_Released", + "qualType" : "ImGuiInputReadMode", + "order" : 2, + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputReadMode_Repeat", + "qualType" : "ImGuiInputReadMode", + "order" : 3, + "evaluatedValue" : "3" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputReadMode_RepeatSlow", + "qualType" : "ImGuiInputReadMode", + "order" : 4, + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiInputReadMode_RepeatFast", + "qualType" : "ImGuiInputReadMode", + "order" : 5, + "evaluatedValue" : "5" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiPopupPositionPolicy", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiPopupPositionPolicy_Default", + "qualType" : "ImGuiPopupPositionPolicy", + "order" : 0, + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiPopupPositionPolicy_ComboBox", + "qualType" : "ImGuiPopupPositionPolicy", + "order" : 1, + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiPopupPositionPolicy_Tooltip", + "qualType" : "ImGuiPopupPositionPolicy", + "order" : 2, + "evaluatedValue" : "2" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiDataTypeTempStorage", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "Data", + "qualType" : "ImU8[8]", + "desugaredQualType" : "ImU8[8]" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiDataTypeInfo", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo()." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Size", + "qualType" : "size_t", + "desugaredQualType" : "unsigned long" + }, { + "@type" : "AstFieldDecl", + "name" : "Name", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstFieldDecl", + "name" : "PrintFmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstFieldDecl", + "name" : "ScanFmt", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiDataTypePrivate_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Extend ImGuiDataType_" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDataType_String", + "qualType" : "ImGuiDataTypePrivate_", + "order" : 0, + "value" : "ImGuiDataType_COUNT + 1", + "evaluatedValue" : "11" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDataType_Pointer", + "qualType" : "ImGuiDataTypePrivate_", + "order" : 1, + "evaluatedValue" : "12" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDataType_ID", + "qualType" : "ImGuiDataTypePrivate_", + "order" : 2, + "evaluatedValue" : "13" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiColorMod", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Stacked color modifier, backup of modified data so we can restore it" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Col", + "qualType" : "ImGuiCol", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupValue", + "qualType" : "ImVec4", + "desugaredQualType" : "ImVec4" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiStyleMod", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the variable." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "VarIdx", + "qualType" : "ImGuiStyleVar", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiComboPreviewData", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Storage data for BeginComboPreview()/EndComboPreview()" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "PreviewRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupCursorPos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupCursorMaxPos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupCursorPosPrevLine", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupPrevLineTextBaseOffset", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupLayout", + "qualType" : "ImGuiLayoutType", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiGroupData", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Stacked storage data for BeginGroup()/EndGroup()" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "WindowID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupCursorPos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupCursorMaxPos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupIndent", + "qualType" : "ImVec1", + "desugaredQualType" : "ImVec1" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupGroupOffset", + "qualType" : "ImVec1", + "desugaredQualType" : "ImVec1" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupCurrLineSize", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupCurrLineTextBaseOffset", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupActiveIdIsAlive", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupActiveIdPreviousFrameIsAlive", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "BackupHoveredIdIsAlive", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "EmitItem", + "qualType" : "bool", + "desugaredQualType" : "bool" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiMenuColumns", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away code and NOT a generic helper." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "TotalWidth", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "NextTotalWidth", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "Spacing", + "qualType" : "ImU16", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstFieldDecl", + "name" : "OffsetIcon", + "qualType" : "ImU16", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstFieldDecl", + "name" : "OffsetLabel", + "qualType" : "ImU16", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstFieldDecl", + "name" : "OffsetShortcut", + "qualType" : "ImU16", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstFieldDecl", + "name" : "OffsetMark", + "qualType" : "ImU16", + "desugaredQualType" : "unsigned short" + }, { + "@type" : "AstFieldDecl", + "name" : "Widths", + "qualType" : "ImU16[4]", + "desugaredQualType" : "ImU16[4]" + }, { + "@type" : "AstFunctionDecl", + "name" : "Update", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "spacing", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "window_reappearing", + "qualType" : "bool", + "desugaredQualType" : "bool" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "DeclColumns", + "resultType" : "float", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "w_icon", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "w_label", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "w_shortcut", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "w_mark", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "CalcNextTotalWidth", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "update_offsets", + "qualType" : "bool", + "desugaredQualType" : "bool" + } ] + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiInputTextState", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Internal state of the currently focused/edited text input box" + }, { + "@type" : "AstTextComment", + "text" : " For a given item ID, access with ImGui::GetInputTextState()" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "ID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "CurLenW", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "CurLenA", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "TextW", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "TextA", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "InitialTextA", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "TextAIsValid", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "BufCapacityA", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ScrollX", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "Stb", + "qualType" : "ImStb::STB_TexteditState", + "desugaredQualType" : "ImStb::STB_TexteditState" + }, { + "@type" : "AstFieldDecl", + "name" : "CursorAnim", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "CursorFollow", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "SelectedAllMouseLock", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "Edited", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "Flags", + "qualType" : "ImGuiInputTextFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearText", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearFreeMemory", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetUndoAvailCount", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetRedoAvailCount", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "OnKeyPressed", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "key", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "CursorAnimReset", + "resultType" : "void", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Cursor " + }, { + "@type" : "AstTextComment", + "text" : "&" + }, { + "@type" : "AstTextComment", + "text" : " Selection" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "CursorClamp", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "HasSelection", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearSelection", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetCursorPos", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetSelectionStart", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetSelectionEnd", + "resultType" : "int" + }, { + "@type" : "AstFunctionDecl", + "name" : "SelectAll", + "resultType" : "void" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiPopupData", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Storage for current popup stack" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "PopupId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "Window", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "SourceWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "OpenFrameCount", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "OpenParentId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "OpenPopupPos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "OpenMousePos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiNextWindowDataFlags_", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_None", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasPos", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasSize", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasContentSize", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasCollapsed", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 4, + "value" : "1 << 3", + "evaluatedValue" : "8" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasSizeConstraint", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 5, + "value" : "1 << 4", + "evaluatedValue" : "16" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasFocus", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 6, + "value" : "1 << 5", + "evaluatedValue" : "32" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasBgAlpha", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 7, + "value" : "1 << 6", + "evaluatedValue" : "64" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasScroll", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 8, + "value" : "1 << 7", + "evaluatedValue" : "128" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasViewport", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 9, + "value" : "1 << 8", + "evaluatedValue" : "256" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasDock", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 10, + "value" : "1 << 9", + "evaluatedValue" : "512" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextWindowDataFlags_HasWindowClass", + "qualType" : "ImGuiNextWindowDataFlags_", + "order" : 11, + "value" : "1 << 10", + "evaluatedValue" : "1024" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiNextWindowData", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Storage for SetNexWindow** functions" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Flags", + "qualType" : "ImGuiNextWindowDataFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "PosCond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeCond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "CollapsedCond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "DockCond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "PosVal", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "PosPivotVal", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeVal", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "ContentSizeVal", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "ScrollVal", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "PosUndock", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "CollapsedVal", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeConstraintRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeCallback", + "qualType" : "ImGuiSizeCallback", + "desugaredQualType" : "void (*)(ImGuiSizeCallbackData *)" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeCallbackUserData", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "BgAlphaVal", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ViewportId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "DockId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "WindowClass", + "qualType" : "ImGuiWindowClass", + "desugaredQualType" : "ImGuiWindowClass" + }, { + "@type" : "AstFieldDecl", + "name" : "MenuBarOffsetMinVal", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearFlags", + "resultType" : "void" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiNextItemDataFlags_", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextItemDataFlags_None", + "qualType" : "ImGuiNextItemDataFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextItemDataFlags_HasWidth", + "qualType" : "ImGuiNextItemDataFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNextItemDataFlags_HasOpen", + "qualType" : "ImGuiNextItemDataFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : "2" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiNextItemData", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "Flags", + "qualType" : "ImGuiNextItemDataFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Width", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "FocusScopeId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "OpenCond", + "qualType" : "ImGuiCond", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "OpenVal", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearFlags", + "resultType" : "void" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiLastItemData", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Status storage for the last submitted item" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "ID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "InFlags", + "qualType" : "ImGuiItemFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "StatusFlags", + "qualType" : "ImGuiItemStatusFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Rect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "NavRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "DisplayRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiStackSizes", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "SizeOfIDStack", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeOfColorStack", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeOfStyleVarStack", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeOfFontStack", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeOfFocusScopeStack", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeOfGroupStack", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeOfItemFlagsStack", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeOfBeginPopupStack", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeOfDisabledStack", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetToCurrentState", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "CompareWithCurrentState", + "resultType" : "void" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiWindowStackData", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Data saved for each window pushed into the stack" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Window", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "ParentLastItemDataBackup", + "qualType" : "ImGuiLastItemData", + "desugaredQualType" : "ImGuiLastItemData" + }, { + "@type" : "AstFieldDecl", + "name" : "StackSizesOnBegin", + "qualType" : "ImGuiStackSizes", + "desugaredQualType" : "ImGuiStackSizes" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiShrinkWidthItem", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "Index", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Width", + "qualType" : "float", + "desugaredQualType" : "float" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiPtrOrIndex", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "Ptr", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "Index", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiListClipperRange", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + }, { + "@type" : "AstTextComment", + "text" : " [SECTION] Clipper support" + }, { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Min", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Max", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "PosToIndexConvert", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "PosToIndexOffsetMin", + "qualType" : "ImS8", + "desugaredQualType" : "signed char" + }, { + "@type" : "AstFieldDecl", + "name" : "PosToIndexOffsetMax", + "qualType" : "ImS8", + "desugaredQualType" : "signed char" + }, { + "@type" : "AstFunctionDecl", + "name" : "FromIndices", + "resultType" : "ImGuiListClipperRange", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "min", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "max", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "FromPositions", + "resultType" : "ImGuiListClipperRange", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "y1", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "y2", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstParmVarDecl", + "name" : "off_min", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstParmVarDecl", + "name" : "off_max", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiListClipperData", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Temporary clipper data, buffers shared/reused between instances" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "ListClipper", + "qualType" : "ImGuiListClipper *", + "desugaredQualType" : "ImGuiListClipper *" + }, { + "@type" : "AstFieldDecl", + "name" : "LossynessOffset", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "StepNo", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ItemsFrozen", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Ranges", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFunctionDecl", + "name" : "Reset", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "clipper", + "qualType" : "ImGuiListClipper *", + "desugaredQualType" : "ImGuiListClipper *" + } ] + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiActivateFlags_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + }, { + "@type" : "AstTextComment", + "text" : " [SECTION] Navigation support" + }, { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiActivateFlags_None", + "qualType" : "ImGuiActivateFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiActivateFlags_PreferInput", + "docComment" : "Favor activation that requires keyboard text input (e.g. for Slider/Drag). Default if keyboard is available.", + "qualType" : "ImGuiActivateFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiActivateFlags_PreferTweak", + "docComment" : "Favor activation for tweaking with arrows or gamepad (e.g. for Slider/Drag). Default if keyboard is not available.", + "qualType" : "ImGuiActivateFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiActivateFlags_TryToPreserveState", + "docComment" : "Request widget to preserve state if it can (e.g. InputText will try to preserve cursor/selection)", + "qualType" : "ImGuiActivateFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : "4" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiScrollFlags_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Early work-in-progress API for ScrollToItem()" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiScrollFlags_None", + "qualType" : "ImGuiScrollFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiScrollFlags_KeepVisibleEdgeX", + "docComment" : "If item is not visible: scroll as little as possible on X axis to bring item back into view [default for X axis]", + "qualType" : "ImGuiScrollFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiScrollFlags_KeepVisibleEdgeY", + "docComment" : "If item is not visible: scroll as little as possible on Y axis to bring item back into view [default for Y axis for windows that are already visible]", + "qualType" : "ImGuiScrollFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiScrollFlags_KeepVisibleCenterX", + "docComment" : "If item is not visible: scroll to make the item centered on X axis [rarely used]", + "qualType" : "ImGuiScrollFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiScrollFlags_KeepVisibleCenterY", + "docComment" : "If item is not visible: scroll to make the item centered on Y axis", + "qualType" : "ImGuiScrollFlags_", + "order" : 4, + "value" : "1 << 3", + "evaluatedValue" : "8" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiScrollFlags_AlwaysCenterX", + "docComment" : "Always center the result item on X axis [rarely used]", + "qualType" : "ImGuiScrollFlags_", + "order" : 5, + "value" : "1 << 4", + "evaluatedValue" : "16" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiScrollFlags_AlwaysCenterY", + "docComment" : "Always center the result item on Y axis [default for Y axis for appearing window)", + "qualType" : "ImGuiScrollFlags_", + "order" : 6, + "value" : "1 << 5", + "evaluatedValue" : "32" + }, { + "@type" : "AstEnumConstantDecl", "name" : "ImGuiScrollFlags_NoScrollParent", "docComment" : "Disable forwarding scrolling to parent window if required to keep item/rect visible (only scroll window the function was applied to).", "qualType" : "ImGuiScrollFlags_", "order" : 7, - "value" : "1 << 6", - "evaluatedValue" : "64" + "value" : "1 << 6", + "evaluatedValue" : "64" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiScrollFlags_MaskX_", + "qualType" : "ImGuiScrollFlags_", + "order" : 8, + "value" : "ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleCenterX | ImGuiScrollFlags_AlwaysCenterX", + "evaluatedValue" : "21" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiScrollFlags_MaskY_", + "qualType" : "ImGuiScrollFlags_", + "order" : 9, + "value" : "ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY", + "evaluatedValue" : "42" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiNavHighlightFlags_", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavHighlightFlags_None", + "qualType" : "ImGuiNavHighlightFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavHighlightFlags_TypeDefault", + "qualType" : "ImGuiNavHighlightFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavHighlightFlags_TypeThin", + "qualType" : "ImGuiNavHighlightFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavHighlightFlags_AlwaysDraw", + "docComment" : "Draw rectangular highlight if (g.NavId == id) _even_ when using the mouse.", + "qualType" : "ImGuiNavHighlightFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavHighlightFlags_NoRounding", + "qualType" : "ImGuiNavHighlightFlags_", + "order" : 4, + "value" : "1 << 3", + "evaluatedValue" : "8" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiNavDirSourceFlags_", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavDirSourceFlags_None", + "qualType" : "ImGuiNavDirSourceFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavDirSourceFlags_RawKeyboard", + "docComment" : "Raw keyboard (not pulled from nav), faciliate use of some functions before we can unify nav and keys", + "qualType" : "ImGuiNavDirSourceFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavDirSourceFlags_Keyboard", + "qualType" : "ImGuiNavDirSourceFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavDirSourceFlags_PadDPad", + "qualType" : "ImGuiNavDirSourceFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavDirSourceFlags_PadLStick", + "qualType" : "ImGuiNavDirSourceFlags_", + "order" : 4, + "value" : "1 << 3", + "evaluatedValue" : "8" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiNavMoveFlags_", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_None", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_LoopX", + "docComment" : "On failed request, restart from opposite side", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_LoopY", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_WrapX", + "docComment" : "On failed request, request from opposite side one line down (when NavDir==right) or one line up (when NavDir==left)", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_WrapY", + "docComment" : "This is not super useful but provided for completeness", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 4, + "value" : "1 << 3", + "evaluatedValue" : "8" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_AllowCurrentNavId", + "docComment" : "Allow scoring and considering the current NavId as a move target candidate. This is used when the move source is offset (e.g. pressing PageDown actually needs to send a Up move request, if we are pressing PageDown from the bottom-most item we need to stay in place)", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 5, + "value" : "1 << 4", + "evaluatedValue" : "16" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_AlsoScoreVisibleSet", + "docComment" : "Store alternate result in NavMoveResultLocalVisible that only comprise elements that are already fully visible (used by PageUp/PageDown)", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 6, + "value" : "1 << 5", + "evaluatedValue" : "32" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_ScrollToEdgeY", + "docComment" : "Force scrolling to min/max (used by Home/End) // FIXME-NAV: Aim to remove or reword, probably unnecessary", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 7, + "value" : "1 << 6", + "evaluatedValue" : "64" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_Forwarded", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 8, + "value" : "1 << 7", + "evaluatedValue" : "128" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_DebugNoResult", + "docComment" : "Dummy scoring for debug purpose, don't apply result", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 9, + "value" : "1 << 8", + "evaluatedValue" : "256" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_FocusApi", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 10, + "value" : "1 << 9", + "evaluatedValue" : "512" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_Tabbing", + "docComment" : "== Focus + Activate if item is Inputable + DontChangeNavHighlight", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 11, + "value" : "1 << 10", + "evaluatedValue" : "1024" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_Activate", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 12, + "value" : "1 << 11", + "evaluatedValue" : "2048" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavMoveFlags_DontSetNavHighlight", + "docComment" : "Do not alter the visible state of keyboard vs mouse nav highlight", + "qualType" : "ImGuiNavMoveFlags_", + "order" : 13, + "value" : "1 << 12", + "evaluatedValue" : "4096" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiNavLayer", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavLayer_Main", + "docComment" : "Main scrolling layer", + "qualType" : "ImGuiNavLayer", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavLayer_Menu", + "docComment" : "Menu layer (access with Alt/ImGuiNavInput_Menu)", + "qualType" : "ImGuiNavLayer", + "order" : 1, + "value" : "1", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiNavLayer_COUNT", + "qualType" : "ImGuiNavLayer", + "order" : 2, + "evaluatedValue" : "2" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiNavItemData", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "Window", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "ID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "FocusScopeId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "RectRel", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "InFlags", + "qualType" : "ImGuiItemFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "DistBox", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DistCenter", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DistAxial", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFunctionDecl", + "name" : "Clear", + "resultType" : "void" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiOldColumnFlags_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Flags for internal's BeginColumns(). Prefix using BeginTable() nowadays!" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiOldColumnFlags_None", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 0, + "value" : "0", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiOldColumnFlags_NoBorder", + "docComment" : "Disable column dividers", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 1, + "value" : "1 << 0", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiOldColumnFlags_NoResize", + "docComment" : "Disable resizing columns when clicking on the dividers", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 2, + "value" : "1 << 1", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiOldColumnFlags_NoPreserveWidths", + "docComment" : "Disable column width preservation when adjusting columns", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 3, + "value" : "1 << 2", + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiOldColumnFlags_NoForceWithinWindow", + "docComment" : "Disable forcing columns to fit within window", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 4, + "value" : "1 << 3", + "evaluatedValue" : "8" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiOldColumnFlags_GrowParentContentsSize", + "docComment" : "(WIP) Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove.", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 5, + "value" : "1 << 4", + "evaluatedValue" : "16" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiColumnsFlags_None", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 6, + "value" : "ImGuiOldColumnFlags_None", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiColumnsFlags_NoBorder", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 7, + "value" : "ImGuiOldColumnFlags_NoBorder", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiColumnsFlags_NoResize", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 8, + "value" : "ImGuiOldColumnFlags_NoResize", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiColumnsFlags_NoPreserveWidths", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 9, + "value" : "ImGuiOldColumnFlags_NoPreserveWidths", + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiColumnsFlags_NoForceWithinWindow", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 10, + "value" : "ImGuiOldColumnFlags_NoForceWithinWindow", + "evaluatedValue" : "8" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiColumnsFlags_GrowParentContentsSize", + "qualType" : "ImGuiOldColumnFlags_", + "order" : 11, + "value" : "ImGuiOldColumnFlags_GrowParentContentsSize", + "evaluatedValue" : "16" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiOldColumnData", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "OffsetNorm", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "OffsetNormBeforeResize", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "Flags", + "qualType" : "ImGuiOldColumnFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ClipRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiOldColumns", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "ID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "Flags", + "qualType" : "ImGuiOldColumnFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "IsFirstFrame", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "IsBeingResized", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "Current", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Count", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "OffMinX", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "OffMaxX", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "LineMinY", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "LineMaxY", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "HostCursorPosY", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "HostCursorMaxPosX", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "HostInitialClipRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "HostBackupClipRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "HostBackupParentWorkRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "Columns", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "Splitter", + "qualType" : "ImDrawListSplitter", + "desugaredQualType" : "ImDrawListSplitter" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiDockNodeFlagsPrivate_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Extend ImGuiDockNodeFlags_" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_DockSpace", + "docComment" : "Local, Saved // A dockspace is a node that occupy space within an existing user window. Otherwise the node is floating and create its own window.", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 0, + "value" : "1 << 10", + "evaluatedValue" : "1024" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_CentralNode", + "docComment" : "Local, Saved // The central node has 2 main properties: stay visible when empty, only use \"remaining\" spaces from its neighbor.", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 1, + "value" : "1 << 11", + "evaluatedValue" : "2048" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoTabBar", + "docComment" : "Local, Saved // Tab bar is completely unavailable. No triangle in the corner to enable it back.", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 2, + "value" : "1 << 12", + "evaluatedValue" : "4096" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_HiddenTabBar", + "docComment" : "Local, Saved // Tab bar is hidden, with a triangle in the corner to show it again (NB: actual tab-bar instance may be destroyed as this is only used for single-window tab bar)", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 3, + "value" : "1 << 13", + "evaluatedValue" : "8192" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoWindowMenuButton", + "docComment" : "Local, Saved // Disable window/docking menu (that one that appears instead of the collapse button)", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 4, + "value" : "1 << 14", + "evaluatedValue" : "16384" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoCloseButton", + "docComment" : "Local, Saved //", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 5, + "value" : "1 << 15", + "evaluatedValue" : "32768" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoDocking", + "docComment" : "Local, Saved // Disable any form of docking in this dockspace or individual node. (On a whole dockspace, this pretty much defeat the purpose of using a dockspace at all). Note: when turned on, existing docked nodes will be preserved.", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 6, + "value" : "1 << 16", + "evaluatedValue" : "65536" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoDockingSplitMe", + "docComment" : "[EXPERIMENTAL] Prevent another window/node from splitting this node.", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 7, + "value" : "1 << 17", + "evaluatedValue" : "131072" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoDockingSplitOther", + "docComment" : "[EXPERIMENTAL] Prevent this node from splitting another window/node.", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 8, + "value" : "1 << 18", + "evaluatedValue" : "262144" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoDockingOverMe", + "docComment" : "[EXPERIMENTAL] Prevent another window/node to be docked over this node.", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 9, + "value" : "1 << 19", + "evaluatedValue" : "524288" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoDockingOverOther", + "docComment" : "[EXPERIMENTAL] Prevent this node to be docked over another window or non-empty node.", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 10, + "value" : "1 << 20", + "evaluatedValue" : "1048576" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoDockingOverEmpty", + "docComment" : "[EXPERIMENTAL] Prevent this node to be docked over an empty node (e.g. DockSpace with no other windows)", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 11, + "value" : "1 << 21", + "evaluatedValue" : "2097152" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoResizeX", + "docComment" : "[EXPERIMENTAL]", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 12, + "value" : "1 << 22", + "evaluatedValue" : "4194304" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoResizeY", + "docComment" : "[EXPERIMENTAL]", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 13, + "value" : "1 << 23", + "evaluatedValue" : "8388608" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_SharedFlagsInheritMask_", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 14, + "value" : "~0", + "evaluatedValue" : "-1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_NoResizeFlagsMask_", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 15, + "value" : "ImGuiDockNodeFlags_NoResize | ImGuiDockNodeFlags_NoResizeX | ImGuiDockNodeFlags_NoResizeY", + "evaluatedValue" : "12582944" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_LocalFlagsMask_", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 16, + "value" : "ImGuiDockNodeFlags_NoSplit | ImGuiDockNodeFlags_NoResizeFlagsMask_ | ImGuiDockNodeFlags_AutoHideTabBar | ImGuiDockNodeFlags_DockSpace | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton | ImGuiDockNodeFlags_NoDocking", + "evaluatedValue" : "12713072" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_LocalFlagsTransferMask_", + "docComment" : "When splitting those flags are moved to the inheriting child, never duplicated", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 17, + "value" : "ImGuiDockNodeFlags_LocalFlagsMask_ & ~ImGuiDockNodeFlags_DockSpace", + "evaluatedValue" : "12712048" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeFlags_SavedFlagsMask_", + "qualType" : "ImGuiDockNodeFlagsPrivate_", + "order" : 18, + "value" : "ImGuiDockNodeFlags_NoResizeFlagsMask_ | ImGuiDockNodeFlags_DockSpace | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton | ImGuiDockNodeFlags_NoDocking", + "evaluatedValue" : "12712992" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiDataAuthority_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Store the source authority (dock node vs window) of a field" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDataAuthority_Auto", + "qualType" : "ImGuiDataAuthority_", + "order" : 0, + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDataAuthority_DockNode", + "qualType" : "ImGuiDataAuthority_", + "order" : 1, + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDataAuthority_Window", + "qualType" : "ImGuiDataAuthority_", + "order" : 2, + "evaluatedValue" : "2" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiDockNodeState", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeState_Unknown", + "qualType" : "ImGuiDockNodeState", + "order" : 0, + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeState_HostWindowHiddenBecauseSingleWindow", + "qualType" : "ImGuiDockNodeState", + "order" : 1, + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing", + "qualType" : "ImGuiDockNodeState", + "order" : 2, + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiDockNodeState_HostWindowVisible", + "qualType" : "ImGuiDockNodeState", + "order" : 3, + "evaluatedValue" : "3" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiDockNode", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " sizeof() 156~192" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "ID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "SharedFlags", + "qualType" : "ImGuiDockNodeFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LocalFlags", + "qualType" : "ImGuiDockNodeFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LocalFlagsInWindows", + "qualType" : "ImGuiDockNodeFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "MergedFlags", + "qualType" : "ImGuiDockNodeFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "State", + "qualType" : "ImGuiDockNodeState", + "desugaredQualType" : "ImGuiDockNodeState" + }, { + "@type" : "AstFieldDecl", + "name" : "ParentNode", + "qualType" : "ImGuiDockNode *", + "desugaredQualType" : "ImGuiDockNode *" + }, { + "@type" : "AstFieldDecl", + "name" : "ChildNodes", + "qualType" : "ImGuiDockNode *[2]", + "desugaredQualType" : "ImGuiDockNode *[2]" + }, { + "@type" : "AstFieldDecl", + "name" : "Windows", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "TabBar", + "qualType" : "ImGuiTabBar *", + "desugaredQualType" : "ImGuiTabBar *" + }, { + "@type" : "AstFieldDecl", + "name" : "Pos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "Size", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "SizeRef", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "SplitAxis", + "qualType" : "ImGuiAxis", + "desugaredQualType" : "ImGuiAxis" + }, { + "@type" : "AstFieldDecl", + "name" : "WindowClass", + "qualType" : "ImGuiWindowClass", + "desugaredQualType" : "ImGuiWindowClass" + }, { + "@type" : "AstFieldDecl", + "name" : "LastBgColor", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "HostWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "VisibleWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "CentralNode", + "qualType" : "ImGuiDockNode *", + "desugaredQualType" : "ImGuiDockNode *" + }, { + "@type" : "AstFieldDecl", + "name" : "OnlyNodeWithWindows", + "qualType" : "ImGuiDockNode *", + "desugaredQualType" : "ImGuiDockNode *" + }, { + "@type" : "AstFieldDecl", + "name" : "CountNodeWithWindows", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LastFrameAlive", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LastFrameActive", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LastFrameFocused", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LastFocusedNodeId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "SelectedTabId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "WantCloseTabId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "AuthorityForPos", + "qualType" : "ImGuiDataAuthority", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "AuthorityForSize", + "qualType" : "ImGuiDataAuthority", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "AuthorityForViewport", + "qualType" : "ImGuiDataAuthority", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "IsVisible", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "IsFocused", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "IsBgDrawnThisFrame", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "HasCloseButton", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "HasWindowMenuButton", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "HasCentralNodeChild", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "WantCloseAll", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "WantLockSizeOnce", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "WantMouseMove", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "WantHiddenTabBarUpdate", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "WantHiddenTabBarToggle", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsRootNode", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsDockSpace", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsFloatingNode", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsCentralNode", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsHiddenTabBar", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsNoTabBar", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsSplitNode", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsLeafNode", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "IsEmpty", + "resultType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "Rect", + "resultType" : "ImRect" + }, { + "@type" : "AstFunctionDecl", + "name" : "SetLocalFlags", + "resultType" : "void", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "flags", + "qualType" : "ImGuiDockNodeFlags", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "UpdateMergedFlags", + "resultType" : "void" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiWindowDockStyleCol", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " List of colors that are stored at the time of Begin() into Docked Windows." + }, { + "@type" : "AstTextComment", + "text" : " We currently store the packed colors in a simple array window->DockStyle.Colors[]." + }, { + "@type" : "AstTextComment", + "text" : " A better solution may involve appending into a log of colors in ImGuiContext + store offsets into those arrays in ImGuiWindow," + }, { + "@type" : "AstTextComment", + "text" : " but it would be more complex as we'd need to double-buffer both as e.g. drop target may refer to window from last frame." + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowDockStyleCol_Text", + "qualType" : "ImGuiWindowDockStyleCol", + "order" : 0, + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowDockStyleCol_Tab", + "qualType" : "ImGuiWindowDockStyleCol", + "order" : 1, + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowDockStyleCol_TabHovered", + "qualType" : "ImGuiWindowDockStyleCol", + "order" : 2, + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowDockStyleCol_TabActive", + "qualType" : "ImGuiWindowDockStyleCol", + "order" : 3, + "evaluatedValue" : "3" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowDockStyleCol_TabUnfocused", + "qualType" : "ImGuiWindowDockStyleCol", + "order" : 4, + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowDockStyleCol_TabUnfocusedActive", + "qualType" : "ImGuiWindowDockStyleCol", + "order" : 5, + "evaluatedValue" : "5" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowDockStyleCol_COUNT", + "qualType" : "ImGuiWindowDockStyleCol", + "order" : 6, + "evaluatedValue" : "6" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiWindowDockStyle", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "Colors", + "qualType" : "ImU32[6]", + "desugaredQualType" : "ImU32[6]" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiDockContext", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "Nodes", + "qualType" : "ImGuiStorage", + "desugaredQualType" : "ImGuiStorage" + }, { + "@type" : "AstFieldDecl", + "name" : "Requests", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "NodesSettings", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "WantFullRebuild", + "qualType" : "bool", + "desugaredQualType" : "bool" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiViewportP", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)" + }, { + "@type" : "AstTextComment", + "text" : " Every instance of ImGuiViewport is in fact a ImGuiViewportP." + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Idx", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LastFrameActive", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LastFrontMostStampCount", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LastNameHash", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "LastPos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "Alpha", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "LastAlpha", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "PlatformMonitor", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "PlatformWindowCreated", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "Window", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "DrawListsLastFrame", + "qualType" : "int[2]", + "desugaredQualType" : "int[2]" + }, { + "@type" : "AstFieldDecl", + "name" : "DrawLists", + "qualType" : "ImDrawList *[2]", + "desugaredQualType" : "ImDrawList *[2]" + }, { + "@type" : "AstFieldDecl", + "name" : "DrawDataP", + "qualType" : "ImDrawData", + "desugaredQualType" : "ImDrawData" + }, { + "@type" : "AstFieldDecl", + "name" : "DrawDataBuilder", + "qualType" : "ImDrawDataBuilder", + "desugaredQualType" : "ImDrawDataBuilder" + }, { + "@type" : "AstFieldDecl", + "name" : "LastPlatformPos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "LastPlatformSize", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "LastRendererSize", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "WorkOffsetMin", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "WorkOffsetMax", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "BuildWorkOffsetMin", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "BuildWorkOffsetMax", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFunctionDecl", + "name" : "ClearRequestFlags", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "CalcWorkRectPos", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "off_min", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Calculate work rect pos/size given a set of offset (we have 1 pair of offset for rect locked from last frame data, and 1 pair for currently building rect)" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "CalcWorkRectSize", + "resultType" : "ImVec2", + "decls" : [ { + "@type" : "AstParmVarDecl", + "name" : "off_min", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + }, { + "@type" : "AstParmVarDecl", + "name" : "off_max", + "qualType" : "const ImVec2 &", + "desugaredQualType" : "const ImVec2 &" + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "UpdateWorkRect", + "resultType" : "void" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetMainRect", + "resultType" : "ImRect", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Helpers to retrieve ImRect (we don't need to store BuildWorkRect as every access tend to change it, hence the code asymmetry)" + } ] + } ] + } ] + }, { + "@type" : "AstFunctionDecl", + "name" : "GetWorkRect", + "resultType" : "ImRect" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetBuildWorkRect", + "resultType" : "ImRect" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiWindowSettings", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Windows data saved in imgui.ini file" + }, { + "@type" : "AstTextComment", + "text" : " Because we never destroy or rename ImGuiWindowSettings, we can store the names in a separate buffer easily." + }, { + "@type" : "AstTextComment", + "text" : " (this is designed to be stored in a ImChunkStream buffer, with the variable-length Name following our structure)" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "ID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "Pos", + "qualType" : "ImVec2ih", + "desugaredQualType" : "ImVec2ih" + }, { + "@type" : "AstFieldDecl", + "name" : "Size", + "qualType" : "ImVec2ih", + "desugaredQualType" : "ImVec2ih" + }, { + "@type" : "AstFieldDecl", + "name" : "ViewportPos", + "qualType" : "ImVec2ih", + "desugaredQualType" : "ImVec2ih" + }, { + "@type" : "AstFieldDecl", + "name" : "ViewportId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "DockId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ClassId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "DockOrder", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "Collapsed", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "WantApply", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFunctionDecl", + "name" : "GetName", + "resultType" : "char *" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiSettingsHandler", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "TypeName", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstFieldDecl", + "name" : "TypeHash", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ClearAllFn", + "qualType" : "void (*)(ImGuiContext *, ImGuiSettingsHandler *)", + "desugaredQualType" : "void (*)(ImGuiContext *, ImGuiSettingsHandler *)" + }, { + "@type" : "AstFieldDecl", + "name" : "ReadInitFn", + "qualType" : "void (*)(ImGuiContext *, ImGuiSettingsHandler *)", + "desugaredQualType" : "void (*)(ImGuiContext *, ImGuiSettingsHandler *)" + }, { + "@type" : "AstFieldDecl", + "name" : "ReadOpenFn", + "qualType" : "void *(*)(ImGuiContext *, ImGuiSettingsHandler *, const char *)", + "desugaredQualType" : "void *(*)(ImGuiContext *, ImGuiSettingsHandler *, const char *)" + }, { + "@type" : "AstFieldDecl", + "name" : "ReadLineFn", + "qualType" : "void (*)(ImGuiContext *, ImGuiSettingsHandler *, void *, const char *)", + "desugaredQualType" : "void (*)(ImGuiContext *, ImGuiSettingsHandler *, void *, const char *)" + }, { + "@type" : "AstFieldDecl", + "name" : "ApplyAllFn", + "qualType" : "void (*)(ImGuiContext *, ImGuiSettingsHandler *)", + "desugaredQualType" : "void (*)(ImGuiContext *, ImGuiSettingsHandler *)" + }, { + "@type" : "AstFieldDecl", + "name" : "WriteAllFn", + "qualType" : "void (*)(ImGuiContext *, ImGuiSettingsHandler *, ImGuiTextBuffer *)", + "desugaredQualType" : "void (*)(ImGuiContext *, ImGuiSettingsHandler *, ImGuiTextBuffer *)" + }, { + "@type" : "AstFieldDecl", + "name" : "UserData", + "qualType" : "void *", + "desugaredQualType" : "void *" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiMetricsConfig", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + }, { + "@type" : "AstTextComment", + "text" : " [SECTION] Metrics, Debug Tools" + }, { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "ShowStackTool", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ShowWindowsRects", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ShowWindowsBeginOrder", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ShowTablesRects", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ShowDrawCmdMesh", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ShowDrawCmdBoundingBoxes", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ShowDockingNodes", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ShowWindowsRectsType", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ShowTablesRectsType", + "qualType" : "int", + "desugaredQualType" : "int" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiStackLevelInfo", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "ID", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "QueryFrameCount", + "qualType" : "ImS8", + "desugaredQualType" : "signed char" + }, { + "@type" : "AstFieldDecl", + "name" : "QuerySuccess", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "Desc", + "qualType" : "char[58]", + "desugaredQualType" : "char[58]" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiStackTool", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " State for Stack tool queries" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "LastActiveFrame", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "StackLevel", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "QueryId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "Results", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiContextHookType", + "decls" : [ { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiContextHookType_NewFramePre", + "qualType" : "ImGuiContextHookType", + "order" : 0, + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiContextHookType_NewFramePost", + "qualType" : "ImGuiContextHookType", + "order" : 1, + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiContextHookType_EndFramePre", + "qualType" : "ImGuiContextHookType", + "order" : 2, + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiContextHookType_EndFramePost", + "qualType" : "ImGuiContextHookType", + "order" : 3, + "evaluatedValue" : "3" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiContextHookType_RenderPre", + "qualType" : "ImGuiContextHookType", + "order" : 4, + "evaluatedValue" : "4" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiContextHookType_RenderPost", + "qualType" : "ImGuiContextHookType", + "order" : 5, + "evaluatedValue" : "5" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiContextHookType_Shutdown", + "qualType" : "ImGuiContextHookType", + "order" : 6, + "evaluatedValue" : "6" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiContextHookType_PendingRemoval_", + "qualType" : "ImGuiContextHookType", + "order" : 7, + "evaluatedValue" : "7" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiContextHook", + "decls" : [ { + "@type" : "AstFieldDecl", + "name" : "HookId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "Type", + "qualType" : "ImGuiContextHookType", + "desugaredQualType" : "ImGuiContextHookType" + }, { + "@type" : "AstFieldDecl", + "name" : "Owner", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "Callback", + "qualType" : "ImGuiContextHookCallback", + "desugaredQualType" : "void (*)(ImGuiContext *, ImGuiContextHook *)" + }, { + "@type" : "AstFieldDecl", + "name" : "UserData", + "qualType" : "void *", + "desugaredQualType" : "void *" + } ] + }, { + "@type" : "AstRecordDecl", + "name" : "ImGuiContext", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + }, { + "@type" : "AstTextComment", + "text" : " [SECTION] ImGuiContext (main imgui context)" + }, { + "@type" : "AstTextComment", + "text" : "-----------------------------------------------------------------------------" + } ] + } ] + }, { + "@type" : "AstFieldDecl", + "name" : "Initialized", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "FontAtlasOwnedByContext", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "IO", + "qualType" : "ImGuiIO", + "desugaredQualType" : "ImGuiIO" + }, { + "@type" : "AstFieldDecl", + "name" : "PlatformIO", + "qualType" : "ImGuiPlatformIO", + "desugaredQualType" : "ImGuiPlatformIO" + }, { + "@type" : "AstFieldDecl", + "name" : "Style", + "qualType" : "ImGuiStyle", + "desugaredQualType" : "ImGuiStyle" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigFlagsCurrFrame", + "qualType" : "ImGuiConfigFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ConfigFlagsLastFrame", + "qualType" : "ImGuiConfigFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Font", + "qualType" : "ImFont *", + "desugaredQualType" : "ImFont *" + }, { + "@type" : "AstFieldDecl", + "name" : "FontSize", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "FontBaseSize", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DrawListSharedData", + "qualType" : "ImDrawListSharedData", + "desugaredQualType" : "ImDrawListSharedData" + }, { + "@type" : "AstFieldDecl", + "name" : "Time", + "qualType" : "double", + "desugaredQualType" : "double" + }, { + "@type" : "AstFieldDecl", + "name" : "FrameCount", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "FrameCountEnded", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "FrameCountPlatformEnded", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "FrameCountRendered", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "WithinFrameScope", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "WithinFrameScopeWithImplicitWindow", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "WithinEndChild", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "GcCompactAll", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "TestEngineHookItems", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "TestEngine", + "qualType" : "void *", + "desugaredQualType" : "void *" + }, { + "@type" : "AstFieldDecl", + "name" : "Windows", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "WindowsFocusOrder", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "WindowsTempSortBuffer", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "CurrentWindowStack", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "WindowsById", + "qualType" : "ImGuiStorage", + "desugaredQualType" : "ImGuiStorage" + }, { + "@type" : "AstFieldDecl", + "name" : "WindowsActiveCount", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "WindowsHoverPadding", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "CurrentWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "HoveredWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "HoveredWindowUnderMovingWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "HoveredDockNode", + "qualType" : "ImGuiDockNode *", + "desugaredQualType" : "ImGuiDockNode *" + }, { + "@type" : "AstFieldDecl", + "name" : "MovingWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "WheelingWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "WheelingWindowRefMousePos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "WheelingWindowTimer", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DebugHookIdInfo", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "HoveredId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "HoveredIdPreviousFrame", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "HoveredIdAllowOverlap", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "HoveredIdUsingMouseWheel", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "HoveredIdPreviousFrameUsingMouseWheel", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "HoveredIdDisabled", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "HoveredIdTimer", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "HoveredIdNotActiveTimer", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdIsAlive", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdTimer", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdIsJustActivated", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdAllowOverlap", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdNoClearOnFocusLoss", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdHasBeenPressedBefore", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdHasBeenEditedBefore", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdHasBeenEditedThisFrame", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdUsingMouseWheel", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdUsingNavDirMask", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdUsingNavInputMask", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdUsingKeyInputMask", + "qualType" : "ImU64", + "desugaredQualType" : "unsigned long long" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdClickOffset", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdSource", + "qualType" : "ImGuiInputSource", + "desugaredQualType" : "ImGuiInputSource" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdMouseButton", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdPreviousFrame", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdPreviousFrameIsAlive", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdPreviousFrameHasBeenEditedBefore", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "ActiveIdPreviousFrameWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "LastActiveId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "LastActiveIdTimer", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "CurrentItemFlags", + "qualType" : "ImGuiItemFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NextItemData", + "qualType" : "ImGuiNextItemData", + "desugaredQualType" : "ImGuiNextItemData" + }, { + "@type" : "AstFieldDecl", + "name" : "LastItemData", + "qualType" : "ImGuiLastItemData", + "desugaredQualType" : "ImGuiLastItemData" + }, { + "@type" : "AstFieldDecl", + "name" : "NextWindowData", + "qualType" : "ImGuiNextWindowData", + "desugaredQualType" : "ImGuiNextWindowData" + }, { + "@type" : "AstFieldDecl", + "name" : "ColorStack", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "StyleVarStack", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "FontStack", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "FocusScopeStack", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "ItemFlagsStack", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "GroupStack", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "OpenPopupStack", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "BeginPopupStack", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "BeginMenuCount", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "Viewports", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "CurrentDpiScale", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "CurrentViewport", + "qualType" : "ImGuiViewportP *", + "desugaredQualType" : "ImGuiViewportP *" + }, { + "@type" : "AstFieldDecl", + "name" : "MouseViewport", + "qualType" : "ImGuiViewportP *", + "desugaredQualType" : "ImGuiViewportP *" + }, { + "@type" : "AstFieldDecl", + "name" : "MouseLastHoveredViewport", + "qualType" : "ImGuiViewportP *", + "desugaredQualType" : "ImGuiViewportP *" + }, { + "@type" : "AstFieldDecl", + "name" : "PlatformLastFocusedViewportId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "FallbackMonitor", + "qualType" : "ImGuiPlatformMonitor", + "desugaredQualType" : "ImGuiPlatformMonitor" + }, { + "@type" : "AstFieldDecl", + "name" : "ViewportFrontMostStampCount", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "NavId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavFocusScopeId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavActivateId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavActivateDownId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavActivatePressedId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavActivateInputId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavActivateFlags", + "qualType" : "ImGuiActivateFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavJustMovedToId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavJustMovedToFocusScopeId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavJustMovedToKeyMods", + "qualType" : "ImGuiKeyModFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavNextActivateId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavNextActivateFlags", + "qualType" : "ImGuiActivateFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavInputSource", + "qualType" : "ImGuiInputSource", + "desugaredQualType" : "ImGuiInputSource" + }, { + "@type" : "AstFieldDecl", + "name" : "NavLayer", + "qualType" : "ImGuiNavLayer", + "desugaredQualType" : "ImGuiNavLayer" + }, { + "@type" : "AstFieldDecl", + "name" : "NavIdIsAlive", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMousePosDirty", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "NavDisableHighlight", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "NavDisableMouseHover", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "NavAnyRequest", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "NavInitRequest", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "NavInitRequestFromMove", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "NavInitResultId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavInitResultRectRel", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveSubmitted", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveScoringItems", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveForwardToNextFrame", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveFlags", + "qualType" : "ImGuiNavMoveFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveScrollFlags", + "qualType" : "ImGuiScrollFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveKeyMods", + "qualType" : "ImGuiKeyModFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveDir", + "qualType" : "ImGuiDir", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveDirForDebug", + "qualType" : "ImGuiDir", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveClipDir", + "qualType" : "ImGuiDir", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavScoringRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "NavScoringNoClipRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "NavScoringDebugCount", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavTabbingDir", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavTabbingCounter", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveResultLocal", + "qualType" : "ImGuiNavItemData", + "desugaredQualType" : "ImGuiNavItemData" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveResultLocalVisible", + "qualType" : "ImGuiNavItemData", + "desugaredQualType" : "ImGuiNavItemData" + }, { + "@type" : "AstFieldDecl", + "name" : "NavMoveResultOther", + "qualType" : "ImGuiNavItemData", + "desugaredQualType" : "ImGuiNavItemData" + }, { + "@type" : "AstFieldDecl", + "name" : "NavTabbingResultFirst", + "qualType" : "ImGuiNavItemData", + "desugaredQualType" : "ImGuiNavItemData" + }, { + "@type" : "AstFieldDecl", + "name" : "NavWindowingTarget", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "NavWindowingTargetAnim", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "NavWindowingListWindow", + "qualType" : "ImGuiWindow *", + "desugaredQualType" : "ImGuiWindow *" + }, { + "@type" : "AstFieldDecl", + "name" : "NavWindowingTimer", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "NavWindowingHighlightAlpha", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "NavWindowingToggleLayer", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "DimBgRatio", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "MouseCursor", + "qualType" : "ImGuiMouseCursor", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropActive", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropWithinSource", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropWithinTarget", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropSourceFlags", + "qualType" : "ImGuiDragDropFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropSourceFrameCount", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropMouseButton", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropPayload", + "qualType" : "ImGuiPayload", + "desugaredQualType" : "ImGuiPayload" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropTargetRect", + "qualType" : "ImRect", + "desugaredQualType" : "ImRect" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropTargetId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropAcceptFlags", + "qualType" : "ImGuiDragDropFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropAcceptIdCurrRectSurface", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropAcceptIdCurr", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropAcceptIdPrev", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropAcceptFrameCount", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropHoldJustPressedId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropPayloadBufHeap", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "DragDropPayloadBufLocal", + "qualType" : "unsigned char[16]", + "desugaredQualType" : "unsigned char[16]" + }, { + "@type" : "AstFieldDecl", + "name" : "ClipperTempDataStacked", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ClipperTempData", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "CurrentTable", + "qualType" : "ImGuiTable *", + "desugaredQualType" : "ImGuiTable *" + }, { + "@type" : "AstFieldDecl", + "name" : "TablesTempDataStacked", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "TablesTempData", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "Tables", + "qualType" : "ImPool", + "desugaredQualType" : "ImPool" + }, { + "@type" : "AstFieldDecl", + "name" : "TablesLastTimeActive", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "DrawChannelsTempMergeBuffer", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "CurrentTabBar", + "qualType" : "ImGuiTabBar *", + "desugaredQualType" : "ImGuiTabBar *" + }, { + "@type" : "AstFieldDecl", + "name" : "TabBars", + "qualType" : "ImPool", + "desugaredQualType" : "ImPool" + }, { + "@type" : "AstFieldDecl", + "name" : "CurrentTabBarStack", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "ShrinkWidthBuffer", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "MouseLastValidPos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "InputTextState", + "qualType" : "ImGuiInputTextState", + "desugaredQualType" : "ImGuiInputTextState" + }, { + "@type" : "AstFieldDecl", + "name" : "InputTextPasswordFont", + "qualType" : "ImFont", + "desugaredQualType" : "ImFont" + }, { + "@type" : "AstFieldDecl", + "name" : "TempInputId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ColorEditOptions", + "qualType" : "ImGuiColorEditFlags", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "ColorEditLastHue", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ColorEditLastSat", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ColorEditLastColor", + "qualType" : "ImU32", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "ColorPickerRef", + "qualType" : "ImVec4", + "desugaredQualType" : "ImVec4" + }, { + "@type" : "AstFieldDecl", + "name" : "ComboPreviewData", + "qualType" : "ImGuiComboPreviewData", + "desugaredQualType" : "ImGuiComboPreviewData" + }, { + "@type" : "AstFieldDecl", + "name" : "SliderCurrentAccum", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "SliderCurrentAccumDirty", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "DragCurrentAccumDirty", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "DragCurrentAccum", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DragSpeedDefaultRatio", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ScrollbarClickDeltaToGrabCenter", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DisabledAlphaBackup", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "DisabledStackSize", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "TooltipOverrideCount", + "qualType" : "short", + "desugaredQualType" : "short" + }, { + "@type" : "AstFieldDecl", + "name" : "TooltipSlowDelay", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "ClipboardHandlerData", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "MenusIdSubmittedThisFrame", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "PlatformImePos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "PlatformImeLastPos", + "qualType" : "ImVec2", + "desugaredQualType" : "ImVec2" + }, { + "@type" : "AstFieldDecl", + "name" : "PlatformImePosViewport", + "qualType" : "ImGuiViewportP *", + "desugaredQualType" : "ImGuiViewportP *" + }, { + "@type" : "AstFieldDecl", + "name" : "PlatformLocaleDecimalPoint", + "qualType" : "char", + "desugaredQualType" : "char" + }, { + "@type" : "AstFieldDecl", + "name" : "DockContext", + "qualType" : "ImGuiDockContext", + "desugaredQualType" : "ImGuiDockContext" + }, { + "@type" : "AstFieldDecl", + "name" : "SettingsLoaded", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "SettingsDirtyTimer", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "SettingsIniData", + "qualType" : "ImGuiTextBuffer", + "desugaredQualType" : "ImGuiTextBuffer" + }, { + "@type" : "AstFieldDecl", + "name" : "SettingsHandlers", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "SettingsWindows", + "qualType" : "ImChunkStream", + "desugaredQualType" : "ImChunkStream" + }, { + "@type" : "AstFieldDecl", + "name" : "SettingsTables", + "qualType" : "ImChunkStream", + "desugaredQualType" : "ImChunkStream" + }, { + "@type" : "AstFieldDecl", + "name" : "Hooks", + "qualType" : "ImVector", + "desugaredQualType" : "ImVector" + }, { + "@type" : "AstFieldDecl", + "name" : "HookIdNext", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "LogEnabled", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "LogType", + "qualType" : "ImGuiLogType", + "desugaredQualType" : "ImGuiLogType" + }, { + "@type" : "AstFieldDecl", + "name" : "LogFile", + "qualType" : "ImFileHandle", + "desugaredQualType" : "FILE *" + }, { + "@type" : "AstFieldDecl", + "name" : "LogBuffer", + "qualType" : "ImGuiTextBuffer", + "desugaredQualType" : "ImGuiTextBuffer" + }, { + "@type" : "AstFieldDecl", + "name" : "LogNextPrefix", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstFieldDecl", + "name" : "LogNextSuffix", + "qualType" : "const char *", + "desugaredQualType" : "const char *" + }, { + "@type" : "AstFieldDecl", + "name" : "LogLinePosY", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "LogLineFirstItem", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "LogDepthRef", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LogDepthToExpand", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "LogDepthToExpandDefault", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "DebugItemPickerActive", + "qualType" : "bool", + "desugaredQualType" : "bool" + }, { + "@type" : "AstFieldDecl", + "name" : "DebugItemPickerBreakId", + "qualType" : "ImGuiID", + "desugaredQualType" : "unsigned int" + }, { + "@type" : "AstFieldDecl", + "name" : "DebugMetricsConfig", + "qualType" : "ImGuiMetricsConfig", + "desugaredQualType" : "ImGuiMetricsConfig" + }, { + "@type" : "AstFieldDecl", + "name" : "DebugStackTool", + "qualType" : "ImGuiStackTool", + "desugaredQualType" : "ImGuiStackTool" + }, { + "@type" : "AstFieldDecl", + "name" : "FramerateSecPerFrame", + "qualType" : "float[120]", + "desugaredQualType" : "float[120]" + }, { + "@type" : "AstFieldDecl", + "name" : "FramerateSecPerFrameIdx", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "FramerateSecPerFrameCount", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "FramerateSecPerFrameAccum", + "qualType" : "float", + "desugaredQualType" : "float" + }, { + "@type" : "AstFieldDecl", + "name" : "WantCaptureMouseNextFrame", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "WantCaptureKeyboardNextFrame", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "WantTextInputNextFrame", + "qualType" : "int", + "desugaredQualType" : "int" + }, { + "@type" : "AstFieldDecl", + "name" : "TempBuffer", + "qualType" : "char[3073]", + "desugaredQualType" : "char[3073]" + } ] + }, { + "@type" : "AstEnumDecl", + "name" : "ImGuiWindowFlags_", + "decls" : [ { + "@type" : "AstFullComment", + "decls" : [ { + "@type" : "AstParagraphComment", + "decls" : [ { + "@type" : "AstTextComment", + "text" : " Flags for ImGui::Begin()" + } ] + } ] + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowFlags_None", + "qualType" : "ImGuiWindowFlags_", + "order" : 0, + "value" : "a", + "evaluatedValue" : "0" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowFlags_NoTitleBar", + "docComment" : "Disable title-bar", + "qualType" : "ImGuiWindowFlags_", + "order" : 1, + "value" : "emFlag", + "evaluatedValue" : "1" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowFlags_NoResize", + "docComment" : "Disable user resizing with the lower-right grip", + "qualType" : "ImGuiWindowFlags_", + "order" : 2, + "value" : "upStac", + "evaluatedValue" : "2" + }, { + "@type" : "AstEnumConstantDecl", + "name" : "ImGuiWindowFlags_NoMove", + "docComment" : "Disable user moving the window", + "qualType" : "ImGuiWindowFlags_", + "order" : 3, + "value" : "or