From c64cef9b8c747b600fba7dcd41b84e2ecfe6eaf3 Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Fri, 25 Sep 2020 16:11:45 +0200 Subject: [PATCH] generation --- generator/output/definitions.json | 20 ++++++++++---------- generator/output/definitions.lua | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/generator/output/definitions.json b/generator/output/definitions.json index f84009f..f5ec4cf 100644 --- a/generator/output/definitions.json +++ b/generator/output/definitions.json @@ -1381,7 +1381,7 @@ "call_args": "(user_texture_id,p_min,p_max,uv_min,uv_max,col,rounding,rounding_corners)", "cimguiname": "ImDrawList_AddImageRounded", "defaults": { - "rounding_corners": "15" + "rounding_corners": "ImDrawCornerFlags_All" }, "funcname": "AddImageRounded", "location": "imgui:2235", @@ -1677,7 +1677,7 @@ "cimguiname": "ImDrawList_AddRect", "defaults": { "rounding": "0.0f", - "rounding_corners": "15", + "rounding_corners": "ImDrawCornerFlags_All", "thickness": "1.0f" }, "funcname": "AddRect", @@ -1722,7 +1722,7 @@ "cimguiname": "ImDrawList_AddRectFilled", "defaults": { "rounding": "0.0f", - "rounding_corners": "15" + "rounding_corners": "ImDrawCornerFlags_All" }, "funcname": "AddRectFilled", "location": "imgui:2213", @@ -2361,7 +2361,7 @@ "cimguiname": "ImDrawList_PathRect", "defaults": { "rounding": "0.0f", - "rounding_corners": "15" + "rounding_corners": "ImDrawCornerFlags_All" }, "funcname": "PathRect", "location": "imgui:2246", @@ -15057,7 +15057,7 @@ "call_args": "(ref_pos,size,last_dir,r_outer,r_avoid,policy)", "cimguiname": "igFindBestWindowPosForPopupEx", "defaults": { - "policy": "0" + "policy": "ImGuiPopupPositionPolicy_Default" }, "funcname": "FindBestWindowPosForPopupEx", "location": "imgui_internal:2091", @@ -19852,8 +19852,8 @@ "defaults": { "flags": "0", "format": "\"%.6f\"", - "step": "0", - "step_fast": "0" + "step": "0.0", + "step_fast": "0.0" }, "funcname": "InputDouble", "location": "imgui:533", @@ -22524,7 +22524,7 @@ "call_args": "(id,popup_flags)", "cimguiname": "igOpenPopupEx", "defaults": { - "popup_flags": "0" + "popup_flags": "ImGuiPopupFlags_None" }, "funcname": "OpenPopupEx", "location": "imgui_internal:2083", @@ -23840,7 +23840,7 @@ "cimguiname": "igRenderColorRectWithAlphaCheckerboard", "defaults": { "rounding": "0.0f", - "rounding_corners_flags": "-1" + "rounding_corners_flags": "~0" }, "funcname": "RenderColorRectWithAlphaCheckerboard", "location": "imgui_internal:2210", @@ -23991,7 +23991,7 @@ "call_args": "(bb,id,flags)", "cimguiname": "igRenderNavHighlight", "defaults": { - "flags": "1" + "flags": "ImGuiNavHighlightFlags_TypeDefault" }, "funcname": "RenderNavHighlight", "location": "imgui_internal:2211", diff --git a/generator/output/definitions.lua b/generator/output/definitions.lua index b1acc24..9a60802 100644 --- a/generator/output/definitions.lua +++ b/generator/output/definitions.lua @@ -1156,7 +1156,7 @@ defs["ImDrawList_AddImageRounded"][1]["argsoriginal"] = "(ImTextureID user_textu defs["ImDrawList_AddImageRounded"][1]["call_args"] = "(user_texture_id,p_min,p_max,uv_min,uv_max,col,rounding,rounding_corners)" defs["ImDrawList_AddImageRounded"][1]["cimguiname"] = "ImDrawList_AddImageRounded" defs["ImDrawList_AddImageRounded"][1]["defaults"] = {} -defs["ImDrawList_AddImageRounded"][1]["defaults"]["rounding_corners"] = "15" +defs["ImDrawList_AddImageRounded"][1]["defaults"]["rounding_corners"] = "ImDrawCornerFlags_All" defs["ImDrawList_AddImageRounded"][1]["funcname"] = "AddImageRounded" defs["ImDrawList_AddImageRounded"][1]["location"] = "imgui:2235" defs["ImDrawList_AddImageRounded"][1]["ov_cimguiname"] = "ImDrawList_AddImageRounded" @@ -1392,7 +1392,7 @@ defs["ImDrawList_AddRect"][1]["call_args"] = "(p_min,p_max,col,rounding,rounding defs["ImDrawList_AddRect"][1]["cimguiname"] = "ImDrawList_AddRect" defs["ImDrawList_AddRect"][1]["defaults"] = {} defs["ImDrawList_AddRect"][1]["defaults"]["rounding"] = "0.0f" -defs["ImDrawList_AddRect"][1]["defaults"]["rounding_corners"] = "15" +defs["ImDrawList_AddRect"][1]["defaults"]["rounding_corners"] = "ImDrawCornerFlags_All" defs["ImDrawList_AddRect"][1]["defaults"]["thickness"] = "1.0f" defs["ImDrawList_AddRect"][1]["funcname"] = "AddRect" defs["ImDrawList_AddRect"][1]["location"] = "imgui:2212" @@ -1428,7 +1428,7 @@ defs["ImDrawList_AddRectFilled"][1]["call_args"] = "(p_min,p_max,col,rounding,ro defs["ImDrawList_AddRectFilled"][1]["cimguiname"] = "ImDrawList_AddRectFilled" defs["ImDrawList_AddRectFilled"][1]["defaults"] = {} defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding"] = "0.0f" -defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding_corners"] = "15" +defs["ImDrawList_AddRectFilled"][1]["defaults"]["rounding_corners"] = "ImDrawCornerFlags_All" defs["ImDrawList_AddRectFilled"][1]["funcname"] = "AddRectFilled" defs["ImDrawList_AddRectFilled"][1]["location"] = "imgui:2213" defs["ImDrawList_AddRectFilled"][1]["ov_cimguiname"] = "ImDrawList_AddRectFilled" @@ -1951,7 +1951,7 @@ defs["ImDrawList_PathRect"][1]["call_args"] = "(rect_min,rect_max,rounding,round defs["ImDrawList_PathRect"][1]["cimguiname"] = "ImDrawList_PathRect" defs["ImDrawList_PathRect"][1]["defaults"] = {} defs["ImDrawList_PathRect"][1]["defaults"]["rounding"] = "0.0f" -defs["ImDrawList_PathRect"][1]["defaults"]["rounding_corners"] = "15" +defs["ImDrawList_PathRect"][1]["defaults"]["rounding_corners"] = "ImDrawCornerFlags_All" defs["ImDrawList_PathRect"][1]["funcname"] = "PathRect" defs["ImDrawList_PathRect"][1]["location"] = "imgui:2246" defs["ImDrawList_PathRect"][1]["ov_cimguiname"] = "ImDrawList_PathRect" @@ -12687,7 +12687,7 @@ defs["igFindBestWindowPosForPopupEx"][1]["argsoriginal"] = "(const ImVec2& ref_p defs["igFindBestWindowPosForPopupEx"][1]["call_args"] = "(ref_pos,size,last_dir,r_outer,r_avoid,policy)" defs["igFindBestWindowPosForPopupEx"][1]["cimguiname"] = "igFindBestWindowPosForPopupEx" defs["igFindBestWindowPosForPopupEx"][1]["defaults"] = {} -defs["igFindBestWindowPosForPopupEx"][1]["defaults"]["policy"] = "0" +defs["igFindBestWindowPosForPopupEx"][1]["defaults"]["policy"] = "ImGuiPopupPositionPolicy_Default" defs["igFindBestWindowPosForPopupEx"][1]["funcname"] = "FindBestWindowPosForPopupEx" defs["igFindBestWindowPosForPopupEx"][1]["location"] = "imgui_internal:2091" defs["igFindBestWindowPosForPopupEx"][1]["namespace"] = "ImGui" @@ -16807,8 +16807,8 @@ defs["igInputDouble"][1]["cimguiname"] = "igInputDouble" defs["igInputDouble"][1]["defaults"] = {} defs["igInputDouble"][1]["defaults"]["flags"] = "0" defs["igInputDouble"][1]["defaults"]["format"] = "\"%.6f\"" -defs["igInputDouble"][1]["defaults"]["step"] = "0" -defs["igInputDouble"][1]["defaults"]["step_fast"] = "0" +defs["igInputDouble"][1]["defaults"]["step"] = "0.0" +defs["igInputDouble"][1]["defaults"]["step_fast"] = "0.0" defs["igInputDouble"][1]["funcname"] = "InputDouble" defs["igInputDouble"][1]["location"] = "imgui:533" defs["igInputDouble"][1]["namespace"] = "ImGui" @@ -19072,7 +19072,7 @@ defs["igOpenPopupEx"][1]["argsoriginal"] = "(ImGuiID id,ImGuiPopupFlags popup_fl defs["igOpenPopupEx"][1]["call_args"] = "(id,popup_flags)" defs["igOpenPopupEx"][1]["cimguiname"] = "igOpenPopupEx" defs["igOpenPopupEx"][1]["defaults"] = {} -defs["igOpenPopupEx"][1]["defaults"]["popup_flags"] = "0" +defs["igOpenPopupEx"][1]["defaults"]["popup_flags"] = "ImGuiPopupFlags_None" defs["igOpenPopupEx"][1]["funcname"] = "OpenPopupEx" defs["igOpenPopupEx"][1]["location"] = "imgui_internal:2083" defs["igOpenPopupEx"][1]["namespace"] = "ImGui" @@ -20191,7 +20191,7 @@ defs["igRenderColorRectWithAlphaCheckerboard"][1]["call_args"] = "(draw_list,p_m defs["igRenderColorRectWithAlphaCheckerboard"][1]["cimguiname"] = "igRenderColorRectWithAlphaCheckerboard" defs["igRenderColorRectWithAlphaCheckerboard"][1]["defaults"] = {} defs["igRenderColorRectWithAlphaCheckerboard"][1]["defaults"]["rounding"] = "0.0f" -defs["igRenderColorRectWithAlphaCheckerboard"][1]["defaults"]["rounding_corners_flags"] = "-1" +defs["igRenderColorRectWithAlphaCheckerboard"][1]["defaults"]["rounding_corners_flags"] = "~0" defs["igRenderColorRectWithAlphaCheckerboard"][1]["funcname"] = "RenderColorRectWithAlphaCheckerboard" defs["igRenderColorRectWithAlphaCheckerboard"][1]["location"] = "imgui_internal:2210" defs["igRenderColorRectWithAlphaCheckerboard"][1]["namespace"] = "ImGui" @@ -20313,7 +20313,7 @@ defs["igRenderNavHighlight"][1]["argsoriginal"] = "(const ImRect& bb,ImGuiID id, defs["igRenderNavHighlight"][1]["call_args"] = "(bb,id,flags)" defs["igRenderNavHighlight"][1]["cimguiname"] = "igRenderNavHighlight" defs["igRenderNavHighlight"][1]["defaults"] = {} -defs["igRenderNavHighlight"][1]["defaults"]["flags"] = "1" +defs["igRenderNavHighlight"][1]["defaults"]["flags"] = "ImGuiNavHighlightFlags_TypeDefault" defs["igRenderNavHighlight"][1]["funcname"] = "RenderNavHighlight" defs["igRenderNavHighlight"][1]["location"] = "imgui_internal:2211" defs["igRenderNavHighlight"][1]["namespace"] = "ImGui"