Merge branch 'docking_inter'

This commit is contained in:
sonoro1234
2024-10-01 13:05:38 +02:00
14 changed files with 3085 additions and 3331 deletions

View File

@@ -175,6 +175,7 @@ local function check_template(code)
te = te:gsub("%-","less")
te = te:gsub("%s","_")
te = te:gsub("%*","Ptr")
te = te:gsub("::","_")
code2 = code:gsub("(<[%w_%*%s]+>)([^%s%*])","%1 %2")
code2 = code2:gsub("<([^<>]-)>","_"..te)
@@ -1289,6 +1290,14 @@ function M.Parser()
function par:parseItemsR2(txt, itparent)
local itsarr,its = parseItems(txt,self.linenumdict,itparent)
for i,it in ipairs(itsarr) do
--clean class
if it.re_name == "class_re" then
it.name = it.item:match("class%s+(%S+)")
print("cleaning class",it.name)
it.item = it.item:gsub("private:.+};$","};")
it.item = it.item:gsub("public:","")
it.item = it.item:gsub("enum%s*class","enum")
end
if not isLeaf(it.re_name) then
local inner = strip_end(it.item:match("%b{}"):sub(2,-2))
it.childs = par:parseItemsR2(inner, it)
@@ -1311,6 +1320,8 @@ function M.Parser()
end
elseif it.re_name == "namespace_re" then
it.name = it.item:match("namespace%s+(%S+)")
elseif it.re_name == "class_re" then
--it.name = it.item:match("class%s+(%S+)")
end
end
end
@@ -1337,6 +1348,7 @@ function M.Parser()
self.linenumdict = {}
local cdefs2 = {}
for i,cdef in ipairs(cdefs) do
cdef[1] = cdef[1]:gsub("enum%s*class","enum") --clean class
local cdef1 = clean_comments(cdef[1])
if self.linenumdict[cdef1] then
--print("linenumdict already defined for", cdef[1],type(self.linenumdict[cdef[1]]))
@@ -1346,7 +1358,6 @@ function M.Parser()
table.insert(self.linenumdict[cdef1],cdef[2])
end
else
--print("nuevo linenumdict es",cdef[1],cdef[2])
self.linenumdict[cdef1]=cdef[2]
end
table.insert(cdefs2,cdef[1])
@@ -1429,7 +1440,11 @@ function M.Parser()
stname,derived = inistruct:match"struct%s*([^%s:]+):(.+)"
derived = derived:match"(%S+)$"
else
stname = inistruct:match"struct%s(%S+)"
if itst.re_name == "struct_re" then
stname = inistruct:match"struct%s(%S+)"
elseif itst.re_name == "class_re" then
stname = inistruct:match"class%s(%S+)"
end
end
if derived then print(stname,"derived from",derived) end
@@ -1439,6 +1454,7 @@ function M.Parser()
stname = stru:match("%b{}%s*(%S+)%s*;")
end
local is_nested
if not stname then
is_nested = itst.parent and (itst.parent.re_name == "struct_re")
@@ -1595,6 +1611,9 @@ function M.Parser()
local tdt = self:gentemplatetypedef(ttype,template,te)
it2 = tdt..code2
elseif it2:match"%w+::" then
print("clean namespace typedef",it2)
it2 = it2:gsub("%w+::","")
end
elseif it.re_name == "functypedef_re" then
it2 = clean_functypedef(it2)
@@ -1649,6 +1668,8 @@ function M.Parser()
if it.parent.re_name == "namespace_re" then
local namespace = it.parent.item:match("namespace%s+(%S+)")
self.embeded_enums[enumname] = namespace.."::"..enumname
else
self.embeded_enums[enumname] = it.parent.name.."::"..enumname
end
end
else --unamed enum just repeat declaration
@@ -1656,7 +1677,7 @@ function M.Parser()
table.insert(outtab,cl_item)
print("unnamed enum",cl_item)
end
elseif it.re_name == "struct_re" or it.re_name == "typedef_st_re" then
elseif it.re_name == "struct_re" or it.re_name == "typedef_st_re" or it.re_name == "class_re" then
local cleanst,structname,strtab,comstab,predec = self:clean_structR1(it,true)
if not structname then print("NO NAME",cleanst,it.item) end
--if not void stname or templated
@@ -1693,7 +1714,7 @@ function M.Parser()
local stname = ""
local namespace
if it.parent then
if it.parent.re_name == "struct_re" or it.parent.re_name == "typedef_st_re" then
if it.parent.re_name == "struct_re" or it.parent.re_name == "typedef_st_re" or it.parent.re_name == "class_re" then
stname = it.parent.name
elseif it.parent.re_name == "namespace_re" then
namespace = get_parents_nameC(it) --it.parent.name
@@ -1779,7 +1800,8 @@ function M.Parser()
end
local unnamed_enum_counter = 0
local function enums_for_table(it, outtab, enumsordered)
local enumname = it.item:match"^%s*enum%s+([^%s;{}]+)"
--local enumname = it.item:match"^%s*enum%s+([^%s;{}]+)"
local enumname = it.item:match"^[^;{}]-enum%s+([^%s;{}]+)"
if not enumname then
unnamed_enum_counter = unnamed_enum_counter + 1
enumname = "unnamed"..unnamed_enum_counter
@@ -1869,7 +1891,7 @@ function M.Parser()
end
elseif it.re_name == "enum_re" then
enums_for_table(it, outtab, enumsordered)
elseif it.re_name == "struct_re" or it.re_name == "typedef_st_re" then
elseif it.re_name == "struct_re" or it.re_name == "typedef_st_re" or it.re_name == "class_re" then
local cleanst,structname,strtab,comstab = self:clean_structR1(it)
--if not void stname or templated
if not structname then print("NO NAME",cleanst,it.item) end
@@ -2416,6 +2438,12 @@ local function func_implementation(FP)
table.insert(outtab,"{\n")
table.insert(outtab," return IM_NEW("..def.stname..")"..def.call_args..";\n")
table.insert(outtab,"}\n")
if FP.CONSTRUCTORS_GENERATION then
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname.."_Construct("..def.stname.."* self"..(empty and "" or ","..def.args:sub(2,-2))..")\n")
table.insert(outtab,"{\n")
table.insert(outtab," IM_PLACEMENT_NEW(self)"..def.stname..def.call_args..";\n")
table.insert(outtab,"}\n")
end
elseif def.destructor then
local args = "("..def.stname.."* self)"
local fname = def.stname.."_destroy"
@@ -2457,7 +2485,8 @@ local function func_header_generate_structs(FP)
table_do_sorted(FP.templates,function(ttype,v)
table_do_sorted(v,function(ttypein,te)
table.insert(outtab,"typedef "..ttype.."<"..ttypein.."> "..ttype.."_"..te..";\n")
local ttype2 = ttype:gsub("::","_") --std::string
table.insert(outtab,"typedef "..ttype.."<"..ttypein.."> "..ttype2.."_"..te..";\n")
end)
end)
return outtab
@@ -2486,6 +2515,9 @@ local function func_header_generate_funcs(FP)
if def.constructor then
assert(def.stname ~= "","constructor without struct")
table.insert(outtab,"CIMGUI_API "..def.stname.."* "..def.ov_cimguiname ..(empty and "(void)" or def.args)..";"..addcoment.."\n")
if FP.CONSTRUCTORS_GENERATION then
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname.."_Construct("..def.stname.."* self"..(empty and "" or ","..def.args:sub(2,-2))..");\n")
end
elseif def.destructor then
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname..def.args..";"..addcoment.."\n")
else --not constructor

View File

@@ -16,6 +16,7 @@ set PATH=%PATH%;C:\anima;C:\mingws\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\min
::process files
:: arg[1] compiler name gcc, clang or cl
:: arg[2] options as words in one string: internal for imgui_internal generation, freetype for freetype generation, comments for comments generation, nochar to skip char* function version, noimstrv to skip imstrv
:: "constructors" adds the _Construct version of constructors
:: examples: "" "internal" "internal freetype comments"
:: arg[3..n] name of implementations to generate and/or CFLAGS (e.g. -DIMGUI_USER_CONFIG or -DIMGUI_USE_WCHAR32)
luajit ./generator.lua gcc "internal noimstrv" glfw opengl3 opengl2 sdl2 %*

View File

@@ -9,6 +9,7 @@ local COMPILER = script_args[1]
local INTERNAL_GENERATION = script_args[2]:match("internal") and true or false
local FREETYPE_GENERATION = script_args[2]:match("freetype") and true or false
local COMMENTS_GENERATION = script_args[2]:match("comments") and true or false
local CONSTRUCTORS_GENERATION = script_args[2]:match("constructors") and true or false
local NOCHAR = script_args[2]:match("nochar") and true or false
local NOIMSTRV = script_args[2]:match("noimstrv") and true or false
local IMGUI_PATH = os.getenv"IMGUI_PATH" or "../imgui"
@@ -67,6 +68,7 @@ print("HAVE_COMPILER",HAVE_COMPILER)
print("INTERNAL_GENERATION",INTERNAL_GENERATION)
print("FREETYPE_GENERATION",FREETYPE_GENERATION)
print("COMMENTS_GENERATION",COMMENTS_GENERATION)
print("CONSTRUCTORS_GENERATION",CONSTRUCTORS_GENERATION)
print("CPRE",CPRE)
--------------------------------------------------------------------------
--this table has the functions to be skipped in generation
@@ -321,6 +323,7 @@ local function parseImGuiHeader(header,names)
parser.UDTs = {"ImVec2","ImVec4","ImColor","ImRect"}
--parser.gen_template_typedef = gen_template_typedef --use auto
parser.COMMENTS_GENERATION = COMMENTS_GENERATION
parser.CONSTRUCTORS_GENERATION = CONSTRUCTORS_GENERATION
parser.NOCHAR = NOCHAR
parser.NOIMSTRV = NOIMSTRV
local defines = parser:take_lines(CPRE..header,names,COMPILER)

View File

@@ -14,6 +14,7 @@
#process files
# arg[1] compiler name gcc, clang, or cl
# arg[2] options as words in one string: internal for imgui_internal generation, freetype for freetype generation, comments for comments generation, nochar to skip char* function version, noimstrv to skip imstrv
# "constructors" adds the _Construct version of constructors
# examples: "" "internal" "internal freetype" "comments internal"
# arg[3..n] name of implementations to generate and/or CLFLAGS (e.g. -DIMGUI_USER_CONFIG or -DIMGUI_USE_WCHAR32)
#

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1864,6 +1864,11 @@
"calc_value": 16,
"name": "ImGuiItemFlags_AutoClosePopups",
"value": "1 << 4"
},
{
"calc_value": 32,
"name": "ImGuiItemFlags_AllowDuplicateId",
"value": "1 << 5"
}
],
"ImGuiItemStatusFlags_": [
@@ -2820,13 +2825,18 @@
},
{
"calc_value": 8,
"name": "ImGuiLocKey_CopyLink",
"name": "ImGuiLocKey_OpenLink_s",
"value": "8"
},
{
"calc_value": 9,
"name": "ImGuiLocKey_COUNT",
"name": "ImGuiLocKey_CopyLink",
"value": "9"
},
{
"calc_value": 10,
"name": "ImGuiLocKey_COUNT",
"value": "10"
}
],
"ImGuiLogType": [
@@ -4651,195 +4661,191 @@
"ImGuiSortDirection": "ImU8"
},
"locations": {
"ImBitVector": "imgui_internal:614",
"ImColor": "imgui:2721",
"ImDrawChannel": "imgui:2959",
"ImDrawCmd": "imgui:2918",
"ImDrawCmdHeader": "imgui:2951",
"ImDrawData": "imgui:3164",
"ImDrawDataBuilder": "imgui_internal:803",
"ImDrawFlags_": "imgui:2985",
"ImDrawList": "imgui:3023",
"ImDrawListFlags_": "imgui:3005",
"ImDrawListSharedData": "imgui_internal:779",
"ImDrawListSplitter": "imgui:2968",
"ImDrawVert": "imgui:2936",
"ImFont": "imgui:3387",
"ImFontAtlas": "imgui:3283",
"ImFontAtlasCustomRect": "imgui:3245",
"ImFontAtlasFlags_": "imgui:3258",
"ImFontBuilderIO": "imgui_internal:3672",
"ImFontConfig": "imgui:3188",
"ImFontGlyph": "imgui:3218",
"ImFontGlyphRangesBuilder": "imgui:3230",
"ImGuiActivateFlags_": "imgui_internal:1536",
"ImGuiAxis": "imgui_internal:1025",
"ImGuiBackendFlags_": "imgui:1609",
"ImGuiBoxSelectState": "imgui_internal:1719",
"ImGuiButtonFlagsPrivate_": "imgui_internal:918",
"ImGuiButtonFlags_": "imgui:1734",
"ImBitVector": "imgui_internal:596",
"ImColor": "imgui:2730",
"ImDrawChannel": "imgui:2968",
"ImDrawCmd": "imgui:2927",
"ImDrawCmdHeader": "imgui:2960",
"ImDrawData": "imgui:3173",
"ImDrawDataBuilder": "imgui_internal:785",
"ImDrawFlags_": "imgui:2994",
"ImDrawList": "imgui:3032",
"ImDrawListFlags_": "imgui:3014",
"ImDrawListSharedData": "imgui_internal:761",
"ImDrawListSplitter": "imgui:2977",
"ImDrawVert": "imgui:2945",
"ImFont": "imgui:3396",
"ImFontAtlas": "imgui:3292",
"ImFontAtlasCustomRect": "imgui:3254",
"ImFontAtlasFlags_": "imgui:3267",
"ImFontBuilderIO": "imgui_internal:3669",
"ImFontConfig": "imgui:3197",
"ImFontGlyph": "imgui:3227",
"ImFontGlyphRangesBuilder": "imgui:3239",
"ImGuiActivateFlags_": "imgui_internal:1528",
"ImGuiAxis": "imgui_internal:1007",
"ImGuiBackendFlags_": "imgui:1610",
"ImGuiBoxSelectState": "imgui_internal:1711",
"ImGuiButtonFlagsPrivate_": "imgui_internal:900",
"ImGuiButtonFlags_": "imgui:1735",
"ImGuiChildFlags_": "imgui:1109",
"ImGuiCol_": "imgui:1619",
"ImGuiColorEditFlags_": "imgui:1745",
"ImGuiColorMod": "imgui_internal:1039",
"ImGuiComboFlagsPrivate_": "imgui_internal:943",
"ImGuiComboFlags_": "imgui:1251",
"ImGuiComboPreviewData": "imgui_internal:1056",
"ImGuiCond_": "imgui:1847",
"ImGuiConfigFlags_": "imgui:1592",
"ImGuiContext": "imgui_internal:1998",
"ImGuiContextHook": "imgui_internal:1983",
"ImGuiContextHookType": "imgui_internal:1981",
"ImGuiDataTypeInfo": "imgui_internal:829",
"ImGuiDataTypePrivate_": "imgui_internal:838",
"ImGuiDataTypeStorage": "imgui_internal:823",
"ImGuiDataType_": "imgui:1378",
"ImGuiDataVarInfo": "imgui_internal:815",
"ImGuiDebugAllocEntry": "imgui_internal:1918",
"ImGuiDebugAllocInfo": "imgui_internal:1925",
"ImGuiDebugLogFlags_": "imgui_internal:1900",
"ImGuiDir": "imgui:1395",
"ImGuiDragDropFlags_": "imgui:1350",
"ImGuiFocusRequestFlags_": "imgui_internal:988",
"ImGuiFocusScopeData": "imgui_internal:1616",
"ImGuiFocusedFlags_": "imgui:1298",
"ImGuiGroupData": "imgui_internal:1069",
"ImGuiHoveredFlagsPrivate_": "imgui_internal:900",
"ImGuiHoveredFlags_": "imgui:1312",
"ImGuiIDStackTool": "imgui_internal:1964",
"ImGuiIO": "imgui:2219",
"ImGuiInputEvent": "imgui_internal:1397",
"ImGuiInputEventAppFocused": "imgui_internal:1395",
"ImGuiInputEventKey": "imgui_internal:1393",
"ImGuiInputEventMouseButton": "imgui_internal:1392",
"ImGuiInputEventMousePos": "imgui_internal:1390",
"ImGuiInputEventMouseWheel": "imgui_internal:1391",
"ImGuiInputEventText": "imgui_internal:1394",
"ImGuiInputEventType": "imgui_internal:1367",
"ImGuiInputFlagsPrivate_": "imgui_internal:1463",
"ImGuiInputFlags_": "imgui:1557",
"ImGuiInputSource": "imgui_internal:1379",
"ImGuiInputTextCallbackData": "imgui:2422",
"ImGuiInputTextDeactivatedState": "imgui_internal:1105",
"ImGuiInputTextFlagsPrivate_": "imgui_internal:908",
"ImGuiInputTextFlags_": "imgui:1142",
"ImGuiInputTextState": "imgui_internal:1115",
"ImGuiItemFlagsPrivate_": "imgui_internal:852",
"ImGuiCol_": "imgui:1620",
"ImGuiColorEditFlags_": "imgui:1746",
"ImGuiColorMod": "imgui_internal:1021",
"ImGuiComboFlagsPrivate_": "imgui_internal:925",
"ImGuiComboFlags_": "imgui:1252",
"ImGuiComboPreviewData": "imgui_internal:1038",
"ImGuiCond_": "imgui:1848",
"ImGuiConfigFlags_": "imgui:1593",
"ImGuiContext": "imgui_internal:1991",
"ImGuiContextHook": "imgui_internal:1976",
"ImGuiContextHookType": "imgui_internal:1974",
"ImGuiDataTypeInfo": "imgui_internal:811",
"ImGuiDataTypePrivate_": "imgui_internal:820",
"ImGuiDataTypeStorage": "imgui_internal:805",
"ImGuiDataType_": "imgui:1379",
"ImGuiDataVarInfo": "imgui_internal:797",
"ImGuiDebugAllocEntry": "imgui_internal:1911",
"ImGuiDebugAllocInfo": "imgui_internal:1918",
"ImGuiDebugLogFlags_": "imgui_internal:1893",
"ImGuiDir": "imgui:1396",
"ImGuiDragDropFlags_": "imgui:1351",
"ImGuiFocusRequestFlags_": "imgui_internal:970",
"ImGuiFocusScopeData": "imgui_internal:1608",
"ImGuiFocusedFlags_": "imgui:1299",
"ImGuiGroupData": "imgui_internal:1051",
"ImGuiHoveredFlagsPrivate_": "imgui_internal:882",
"ImGuiHoveredFlags_": "imgui:1313",
"ImGuiIDStackTool": "imgui_internal:1957",
"ImGuiIO": "imgui:2220",
"ImGuiInputEvent": "imgui_internal:1389",
"ImGuiInputEventAppFocused": "imgui_internal:1387",
"ImGuiInputEventKey": "imgui_internal:1385",
"ImGuiInputEventMouseButton": "imgui_internal:1384",
"ImGuiInputEventMousePos": "imgui_internal:1382",
"ImGuiInputEventMouseWheel": "imgui_internal:1383",
"ImGuiInputEventText": "imgui_internal:1386",
"ImGuiInputEventType": "imgui_internal:1359",
"ImGuiInputFlagsPrivate_": "imgui_internal:1455",
"ImGuiInputFlags_": "imgui:1558",
"ImGuiInputSource": "imgui_internal:1371",
"ImGuiInputTextCallbackData": "imgui:2431",
"ImGuiInputTextDeactivatedState": "imgui_internal:1087",
"ImGuiInputTextFlagsPrivate_": "imgui_internal:890",
"ImGuiInputTextFlags_": "imgui:1143",
"ImGuiInputTextState": "imgui_internal:1109",
"ImGuiItemFlagsPrivate_": "imgui_internal:834",
"ImGuiItemFlags_": "imgui:1130",
"ImGuiItemStatusFlags_": "imgui_internal:874",
"ImGuiKey": "imgui:1424",
"ImGuiKeyData": "imgui:2211",
"ImGuiKeyOwnerData": "imgui_internal:1450",
"ImGuiKeyRoutingData": "imgui_internal:1424",
"ImGuiKeyRoutingTable": "imgui_internal:1438",
"ImGuiLastItemData": "imgui_internal:1243",
"ImGuiLayoutType_": "imgui_internal:1009",
"ImGuiListClipper": "imgui:2629",
"ImGuiListClipperData": "imgui_internal:1520",
"ImGuiListClipperRange": "imgui_internal:1507",
"ImGuiLocEntry": "imgui_internal:1889",
"ImGuiLocKey": "imgui_internal:1875",
"ImGuiLogType": "imgui_internal:1015",
"ImGuiMenuColumns": "imgui_internal:1087",
"ImGuiMetricsConfig": "imgui_internal:1935",
"ImGuiMouseButton_": "imgui:1807",
"ImGuiMouseCursor_": "imgui:1817",
"ImGuiMouseSource": "imgui:1836",
"ImGuiMultiSelectFlags_": "imgui:2779",
"ImGuiMultiSelectIO": "imgui:2806",
"ImGuiMultiSelectState": "imgui_internal:1776",
"ImGuiMultiSelectTempData": "imgui_internal:1751",
"ImGuiNavHighlightFlags_": "imgui_internal:1561",
"ImGuiNavItemData": "imgui_internal:1599",
"ImGuiNavLayer": "imgui_internal:1591",
"ImGuiNavMoveFlags_": "imgui_internal:1569",
"ImGuiNextItemData": "imgui_internal:1223",
"ImGuiNextItemDataFlags_": "imgui_internal:1213",
"ImGuiNextWindowData": "imgui_internal:1189",
"ImGuiNextWindowDataFlags_": "imgui_internal:1173",
"ImGuiOldColumnData": "imgui_internal:1684",
"ImGuiOldColumnFlags_": "imgui_internal:1664",
"ImGuiOldColumns": "imgui_internal:1694",
"ImGuiOnceUponAFrame": "imgui:2500",
"ImGuiPayload": "imgui:2465",
"ImGuiPlatformIO": "imgui:3485",
"ImGuiPlatformImeData": "imgui:3516",
"ImGuiPlotType": "imgui_internal:1032",
"ImGuiPopupData": "imgui_internal:1324",
"ImGuiPopupFlags_": "imgui:1216",
"ImGuiPopupPositionPolicy": "imgui_internal:1316",
"ImGuiPtrOrIndex": "imgui_internal:1303",
"ImGuiScrollFlags_": "imgui_internal:1547",
"ImGuiSelectableFlagsPrivate_": "imgui_internal:956",
"ImGuiSelectableFlags_": "imgui:1234",
"ImGuiSelectionBasicStorage": "imgui:2852",
"ImGuiSelectionExternalStorage": "imgui:2875",
"ImGuiSelectionRequest": "imgui:2826",
"ImGuiSelectionRequestType": "imgui:2818",
"ImGuiSeparatorFlags_": "imgui_internal:977",
"ImGuiSettingsHandler": "imgui_internal:1855",
"ImGuiShrinkWidthItem": "imgui_internal:1296",
"ImGuiSizeCallbackData": "imgui:2456",
"ImGuiSliderFlagsPrivate_": "imgui_internal:949",
"ImGuiSliderFlags_": "imgui:1791",
"ImGuiSortDirection": "imgui:1406",
"ImGuiStackLevelInfo": "imgui_internal:1952",
"ImGuiStackSizes": "imgui_internal:1270",
"ImGuiStorage": "imgui:2572",
"ImGuiStoragePair": "imgui:2555",
"ImGuiStyle": "imgui:2134",
"ImGuiStyleMod": "imgui_internal:1046",
"ImGuiStyleVar_": "imgui:1694",
"ImGuiTabBar": "imgui_internal:2768",
"ImGuiTabBarFlagsPrivate_": "imgui_internal:2733",
"ImGuiTabBarFlags_": "imgui:1266",
"ImGuiTabItem": "imgui_internal:2749",
"ImGuiTabItemFlagsPrivate_": "imgui_internal:2741",
"ImGuiTabItemFlags_": "imgui:1283",
"ImGuiTable": "imgui_internal:2914",
"ImGuiTableBgTarget_": "imgui:1988",
"ImGuiTableCellData": "imgui_internal:2882",
"ImGuiTableColumn": "imgui_internal:2822",
"ImGuiTableColumnFlags_": "imgui:1935",
"ImGuiTableColumnSettings": "imgui_internal:3061",
"ImGuiTableColumnSortSpecs": "imgui:2010",
"ImGuiTableFlags_": "imgui:1882",
"ImGuiTableHeaderData": "imgui_internal:2891",
"ImGuiTableInstanceData": "imgui_internal:2901",
"ImGuiTableRowFlags_": "imgui:1973",
"ImGuiTableSettings": "imgui_internal:3085",
"ImGuiTableSortSpecs": "imgui:2000",
"ImGuiTableTempData": "imgui_internal:3038",
"ImGuiTextBuffer": "imgui:2535",
"ImGuiTextFilter": "imgui:2508",
"ImGuiTextFlags_": "imgui_internal:995",
"ImGuiTextIndex": "imgui_internal:734",
"ImGuiTextRange": "imgui:2518",
"ImGuiTooltipFlags_": "imgui_internal:1001",
"ImGuiTreeNodeFlagsPrivate_": "imgui_internal:970",
"ImGuiTreeNodeFlags_": "imgui:1181",
"ImGuiTreeNodeStackData": "imgui_internal:1262",
"ImGuiTypingSelectFlags_": "imgui_internal:1627",
"ImGuiTypingSelectRequest": "imgui_internal:1635",
"ImGuiTypingSelectState": "imgui_internal:1646",
"ImGuiViewport": "imgui:3460",
"ImGuiViewportFlags_": "imgui:3445",
"ImGuiViewportP": "imgui_internal:1804",
"ImGuiWindow": "imgui_internal:2604",
"ImGuiItemStatusFlags_": "imgui_internal:856",
"ImGuiKey": "imgui:1425",
"ImGuiKeyData": "imgui:2212",
"ImGuiKeyOwnerData": "imgui_internal:1442",
"ImGuiKeyRoutingData": "imgui_internal:1416",
"ImGuiKeyRoutingTable": "imgui_internal:1430",
"ImGuiLastItemData": "imgui_internal:1235",
"ImGuiLayoutType_": "imgui_internal:991",
"ImGuiListClipper": "imgui:2638",
"ImGuiListClipperData": "imgui_internal:1512",
"ImGuiListClipperRange": "imgui_internal:1499",
"ImGuiLocEntry": "imgui_internal:1882",
"ImGuiLocKey": "imgui_internal:1867",
"ImGuiLogType": "imgui_internal:997",
"ImGuiMenuColumns": "imgui_internal:1069",
"ImGuiMetricsConfig": "imgui_internal:1928",
"ImGuiMouseButton_": "imgui:1808",
"ImGuiMouseCursor_": "imgui:1818",
"ImGuiMouseSource": "imgui:1837",
"ImGuiMultiSelectFlags_": "imgui:2788",
"ImGuiMultiSelectIO": "imgui:2815",
"ImGuiMultiSelectState": "imgui_internal:1768",
"ImGuiMultiSelectTempData": "imgui_internal:1743",
"ImGuiNavHighlightFlags_": "imgui_internal:1553",
"ImGuiNavItemData": "imgui_internal:1591",
"ImGuiNavLayer": "imgui_internal:1583",
"ImGuiNavMoveFlags_": "imgui_internal:1561",
"ImGuiNextItemData": "imgui_internal:1215",
"ImGuiNextItemDataFlags_": "imgui_internal:1205",
"ImGuiNextWindowData": "imgui_internal:1181",
"ImGuiNextWindowDataFlags_": "imgui_internal:1165",
"ImGuiOldColumnData": "imgui_internal:1676",
"ImGuiOldColumnFlags_": "imgui_internal:1656",
"ImGuiOldColumns": "imgui_internal:1686",
"ImGuiOnceUponAFrame": "imgui:2509",
"ImGuiPayload": "imgui:2474",
"ImGuiPlatformIO": "imgui:3494",
"ImGuiPlatformImeData": "imgui:3525",
"ImGuiPlotType": "imgui_internal:1014",
"ImGuiPopupData": "imgui_internal:1316",
"ImGuiPopupFlags_": "imgui:1217",
"ImGuiPopupPositionPolicy": "imgui_internal:1308",
"ImGuiPtrOrIndex": "imgui_internal:1295",
"ImGuiScrollFlags_": "imgui_internal:1539",
"ImGuiSelectableFlagsPrivate_": "imgui_internal:938",
"ImGuiSelectableFlags_": "imgui:1235",
"ImGuiSelectionBasicStorage": "imgui:2861",
"ImGuiSelectionExternalStorage": "imgui:2884",
"ImGuiSelectionRequest": "imgui:2835",
"ImGuiSelectionRequestType": "imgui:2827",
"ImGuiSeparatorFlags_": "imgui_internal:959",
"ImGuiSettingsHandler": "imgui_internal:1847",
"ImGuiShrinkWidthItem": "imgui_internal:1288",
"ImGuiSizeCallbackData": "imgui:2465",
"ImGuiSliderFlagsPrivate_": "imgui_internal:931",
"ImGuiSliderFlags_": "imgui:1792",
"ImGuiSortDirection": "imgui:1407",
"ImGuiStackLevelInfo": "imgui_internal:1945",
"ImGuiStackSizes": "imgui_internal:1262",
"ImGuiStorage": "imgui:2581",
"ImGuiStoragePair": "imgui:2564",
"ImGuiStyle": "imgui:2135",
"ImGuiStyleMod": "imgui_internal:1028",
"ImGuiStyleVar_": "imgui:1695",
"ImGuiTabBar": "imgui_internal:2765",
"ImGuiTabBarFlagsPrivate_": "imgui_internal:2730",
"ImGuiTabBarFlags_": "imgui:1267",
"ImGuiTabItem": "imgui_internal:2746",
"ImGuiTabItemFlagsPrivate_": "imgui_internal:2738",
"ImGuiTabItemFlags_": "imgui:1284",
"ImGuiTable": "imgui_internal:2911",
"ImGuiTableBgTarget_": "imgui:1989",
"ImGuiTableCellData": "imgui_internal:2879",
"ImGuiTableColumn": "imgui_internal:2819",
"ImGuiTableColumnFlags_": "imgui:1936",
"ImGuiTableColumnSettings": "imgui_internal:3058",
"ImGuiTableColumnSortSpecs": "imgui:2011",
"ImGuiTableFlags_": "imgui:1883",
"ImGuiTableHeaderData": "imgui_internal:2888",
"ImGuiTableInstanceData": "imgui_internal:2898",
"ImGuiTableRowFlags_": "imgui:1974",
"ImGuiTableSettings": "imgui_internal:3082",
"ImGuiTableSortSpecs": "imgui:2001",
"ImGuiTableTempData": "imgui_internal:3035",
"ImGuiTextBuffer": "imgui:2544",
"ImGuiTextFilter": "imgui:2517",
"ImGuiTextFlags_": "imgui_internal:977",
"ImGuiTextIndex": "imgui_internal:716",
"ImGuiTextRange": "imgui:2527",
"ImGuiTooltipFlags_": "imgui_internal:983",
"ImGuiTreeNodeFlagsPrivate_": "imgui_internal:952",
"ImGuiTreeNodeFlags_": "imgui:1182",
"ImGuiTreeNodeStackData": "imgui_internal:1254",
"ImGuiTypingSelectFlags_": "imgui_internal:1619",
"ImGuiTypingSelectRequest": "imgui_internal:1627",
"ImGuiTypingSelectState": "imgui_internal:1638",
"ImGuiViewport": "imgui:3469",
"ImGuiViewportFlags_": "imgui:3454",
"ImGuiViewportP": "imgui_internal:1796",
"ImGuiWindow": "imgui_internal:2601",
"ImGuiWindowFlags_": "imgui:1060",
"ImGuiWindowRefreshFlags_": "imgui_internal:1164",
"ImGuiWindowSettings": "imgui_internal:1841",
"ImGuiWindowStackData": "imgui_internal:1288",
"ImGuiWindowTempData": "imgui_internal:2554",
"ImRect": "imgui_internal:536",
"ImVec1": "imgui_internal:518",
"ImGuiWindowRefreshFlags_": "imgui_internal:1156",
"ImGuiWindowSettings": "imgui_internal:1833",
"ImGuiWindowStackData": "imgui_internal:1280",
"ImGuiWindowTempData": "imgui_internal:2551",
"ImRect": "imgui_internal:518",
"ImVec1": "imgui_internal:500",
"ImVec2": "imgui:288",
"ImVec2ih": "imgui_internal:526",
"ImVec4": "imgui:301",
"STB_TexteditState": "imstb_textedit:321",
"StbTexteditRow": "imstb_textedit:368",
"StbUndoRecord": "imstb_textedit:303",
"StbUndoState": "imstb_textedit:312"
"ImVec2ih": "imgui_internal:508",
"ImVec4": "imgui:301"
},
"structs": {
"ImBitVector": [
@@ -5771,6 +5777,10 @@
"name": "WheelingAxisAvg",
"type": "ImVec2"
},
{
"name": "DebugDrawIdConflicts",
"type": "ImGuiID"
},
{
"name": "DebugHookIdInfo",
"type": "ImGuiID"
@@ -5783,6 +5793,10 @@
"name": "HoveredIdPreviousFrame",
"type": "ImGuiID"
},
{
"name": "HoveredIdPreviousFrameItemCount",
"type": "int"
},
{
"name": "HoveredIdTimer",
"type": "float"
@@ -6608,7 +6622,7 @@
},
{
"name": "LocalizationTable[ImGuiLocKey_COUNT]",
"size": 9,
"size": 10,
"type": "const char*"
},
{
@@ -7065,6 +7079,10 @@
"name": "ConfigDebugIsDebuggerPresent",
"type": "bool"
},
{
"name": "ConfigDebugHighlightIdConflicts",
"type": "bool"
},
{
"name": "ConfigDebugBeginReturnValueOnce",
"type": "bool"
@@ -7469,23 +7487,18 @@
"name": "Ctx",
"type": "ImGuiContext*"
},
{
"name": "Stb",
"type": "ImStbTexteditState*"
},
{
"name": "ID",
"type": "ImGuiID"
},
{
"name": "CurLenW",
"type": "int"
},
{
"name": "CurLenA",
"type": "int"
},
{
"name": "TextW",
"template_type": "ImWchar",
"type": "ImVector_ImWchar"
},
{
"name": "TextA",
"template_type": "char",
@@ -7497,8 +7510,9 @@
"type": "ImVector_char"
},
{
"name": "TextAIsValid",
"type": "bool"
"name": "CallbackTextBackup",
"template_type": "char",
"type": "ImVector_char"
},
{
"name": "BufCapacityA",
@@ -7508,10 +7522,6 @@
"name": "Scroll",
"type": "ImVec2"
},
{
"name": "Stb",
"type": "STB_TexteditState"
},
{
"name": "CursorAnim",
"type": "float"
@@ -10656,136 +10666,6 @@
"name": "w",
"type": "float"
}
],
"STB_TexteditState": [
{
"name": "cursor",
"type": "int"
},
{
"name": "select_start",
"type": "int"
},
{
"name": "select_end",
"type": "int"
},
{
"name": "insert_mode",
"type": "unsigned char"
},
{
"name": "row_count_per_page",
"type": "int"
},
{
"name": "cursor_at_end_of_line",
"type": "unsigned char"
},
{
"name": "initialized",
"type": "unsigned char"
},
{
"name": "has_preferred_x",
"type": "unsigned char"
},
{
"name": "single_line",
"type": "unsigned char"
},
{
"name": "padding1",
"type": "unsigned char"
},
{
"name": "padding2",
"type": "unsigned char"
},
{
"name": "padding3",
"type": "unsigned char"
},
{
"name": "preferred_x",
"type": "float"
},
{
"name": "undostate",
"type": "StbUndoState"
}
],
"StbTexteditRow": [
{
"name": "x0",
"type": "float"
},
{
"name": "x1",
"type": "float"
},
{
"name": "baseline_y_delta",
"type": "float"
},
{
"name": "ymin",
"type": "float"
},
{
"name": "ymax",
"type": "float"
},
{
"name": "num_chars",
"type": "int"
}
],
"StbUndoRecord": [
{
"name": "where",
"type": "int"
},
{
"name": "insert_length",
"type": "int"
},
{
"name": "delete_length",
"type": "int"
},
{
"name": "char_storage",
"type": "int"
}
],
"StbUndoState": [
{
"name": "undo_rec[99]",
"size": 99,
"type": "StbUndoRecord"
},
{
"name": "undo_char[999]",
"size": 999,
"type": "ImWchar"
},
{
"name": "undo_point",
"type": "short"
},
{
"name": "redo_point",
"type": "short"
},
{
"name": "undo_char_point",
"type": "int"
},
{
"name": "redo_char_point",
"type": "int"
}
]
},
"templated_structs": {

File diff suppressed because it is too large Load Diff

View File

@@ -178,6 +178,7 @@
"ImS32": "signed int",
"ImS64": "signed long long",
"ImS8": "signed char",
"ImStbTexteditState": "ImStb::STB_TexteditState",
"ImTextureID": "void*",
"ImU16": "unsigned short",
"ImU32": "unsigned int",
@@ -191,9 +192,6 @@
"ImWchar16": "unsigned short",
"ImWchar32": "unsigned int",
"STB_TexteditState": "struct STB_TexteditState",
"StbTexteditRow": "struct StbTexteditRow",
"StbUndoRecord": "struct StbUndoRecord",
"StbUndoState": "struct StbUndoState",
"const_iterator": "const value_type*",
"iterator": "value_type*",
"value_type": "T"

View File

@@ -178,6 +178,7 @@ defs["ImS16"] = "signed short"
defs["ImS32"] = "signed int"
defs["ImS64"] = "signed long long"
defs["ImS8"] = "signed char"
defs["ImStbTexteditState"] = "ImStb::STB_TexteditState"
defs["ImTextureID"] = "void*"
defs["ImU16"] = "unsigned short"
defs["ImU32"] = "unsigned int"
@@ -191,9 +192,6 @@ defs["ImWchar"] = "ImWchar16"
defs["ImWchar16"] = "unsigned short"
defs["ImWchar32"] = "unsigned int"
defs["STB_TexteditState"] = "struct STB_TexteditState"
defs["StbTexteditRow"] = "struct StbTexteditRow"
defs["StbUndoRecord"] = "struct StbUndoRecord"
defs["StbUndoState"] = "struct StbUndoState"
defs["const_iterator"] = "const value_type*"
defs["iterator"] = "value_type*"
defs["value_type"] = "T"