Skip to content

Commit 34a0848

Browse files
committed
Update to v1.69.
1 parent 580d552 commit 34a0848

File tree

15 files changed

+561
-121
lines changed

15 files changed

+561
-121
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ https://github.com/ocornut/imgui
2929
3030
See the [official screenshot thread](https://github.com/ocornut/imgui/issues/123) for examples of many different kinds of interfaces created with Dear ImGui.
3131

32-
https://github.com/Extrawurst/cimgui
32+
https://github.com/cimgui/cimgui
3333
> This is a thin c-api wrapper for the excellent C++ intermediate gui imgui. This library is intended as a intermediate layer to be able to use imgui from other languages that can interface with C .

deps/cimgui/linux-x64/cimgui.so

9.84 KB
Binary file not shown.

deps/cimgui/osx-x64/cimgui.dylib

5.93 KB
Binary file not shown.

deps/cimgui/win-x64/cimgui.dll

9.5 KB
Binary file not shown.

deps/cimgui/win-x86/cimgui.dll

9 KB
Binary file not shown.

src/CodeGenerator/definitions.json

Lines changed: 129 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@
635635
],
636636
"ImDrawList_AddConvexPolyFilled": [
637637
{
638-
"args": "(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col)",
638+
"args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col)",
639639
"argsT": [
640640
{
641641
"name": "self",
@@ -647,21 +647,21 @@
647647
},
648648
{
649649
"name": "num_points",
650-
"type": "const int"
650+
"type": "int"
651651
},
652652
{
653653
"name": "col",
654654
"type": "ImU32"
655655
}
656656
],
657-
"argsoriginal": "(const ImVec2* points,const int num_points,ImU32 col)",
657+
"argsoriginal": "(const ImVec2* points,int num_points,ImU32 col)",
658658
"call_args": "(points,num_points,col)",
659659
"cimguiname": "ImDrawList_AddConvexPolyFilled",
660660
"defaults": [],
661661
"funcname": "AddConvexPolyFilled",
662662
"ov_cimguiname": "ImDrawList_AddConvexPolyFilled",
663663
"ret": "void",
664-
"signature": "(const ImVec2*,const int,ImU32)",
664+
"signature": "(const ImVec2*,int,ImU32)",
665665
"stname": "ImDrawList"
666666
}
667667
],
@@ -893,7 +893,7 @@
893893
],
894894
"ImDrawList_AddPolyline": [
895895
{
896-
"args": "(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)",
896+
"args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col,bool closed,float thickness)",
897897
"argsT": [
898898
{
899899
"name": "self",
@@ -905,7 +905,7 @@
905905
},
906906
{
907907
"name": "num_points",
908-
"type": "const int"
908+
"type": "int"
909909
},
910910
{
911911
"name": "col",
@@ -920,14 +920,14 @@
920920
"type": "float"
921921
}
922922
],
923-
"argsoriginal": "(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)",
923+
"argsoriginal": "(const ImVec2* points,int num_points,ImU32 col,bool closed,float thickness)",
924924
"call_args": "(points,num_points,col,closed,thickness)",
925925
"cimguiname": "ImDrawList_AddPolyline",
926926
"defaults": [],
927927
"funcname": "AddPolyline",
928928
"ov_cimguiname": "ImDrawList_AddPolyline",
929929
"ret": "void",
930-
"signature": "(const ImVec2*,const int,ImU32,bool,float)",
930+
"signature": "(const ImVec2*,int,ImU32,bool,float)",
931931
"stname": "ImDrawList"
932932
}
933933
],
@@ -2886,6 +2886,26 @@
28862886
"stname": "ImFontAtlas"
28872887
}
28882888
],
2889+
"ImFontAtlas_GetGlyphRangesVietnamese": [
2890+
{
2891+
"args": "(ImFontAtlas* self)",
2892+
"argsT": [
2893+
{
2894+
"name": "self",
2895+
"type": "ImFontAtlas*"
2896+
}
2897+
],
2898+
"argsoriginal": "()",
2899+
"call_args": "()",
2900+
"cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese",
2901+
"defaults": [],
2902+
"funcname": "GetGlyphRangesVietnamese",
2903+
"ov_cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese",
2904+
"ret": "const ImWchar*",
2905+
"signature": "()",
2906+
"stname": "ImFontAtlas"
2907+
}
2908+
],
28892909
"ImFontAtlas_GetMouseCursorTexData": [
28902910
{
28912911
"args": "(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])",
@@ -19442,6 +19462,22 @@
1944219462
"stname": ""
1944319463
}
1944419464
],
19465+
"igGetBackgroundDrawList": [
19466+
{
19467+
"args": "()",
19468+
"argsT": [],
19469+
"argsoriginal": "()",
19470+
"call_args": "()",
19471+
"cimguiname": "igGetBackgroundDrawList",
19472+
"defaults": [],
19473+
"funcname": "GetBackgroundDrawList",
19474+
"namespace": "ImGui",
19475+
"ov_cimguiname": "igGetBackgroundDrawList",
19476+
"ret": "ImDrawList*",
19477+
"signature": "()",
19478+
"stname": ""
19479+
}
19480+
],
1944519481
"igGetClipboardText": [
1944619482
{
1944719483
"args": "()",
@@ -20057,6 +20093,22 @@
2005720093
"stname": ""
2005820094
}
2005920095
],
20096+
"igGetForegroundDrawList": [
20097+
{
20098+
"args": "()",
20099+
"argsT": [],
20100+
"argsoriginal": "()",
20101+
"call_args": "()",
20102+
"cimguiname": "igGetForegroundDrawList",
20103+
"defaults": [],
20104+
"funcname": "GetForegroundDrawList",
20105+
"namespace": "ImGui",
20106+
"ov_cimguiname": "igGetForegroundDrawList",
20107+
"ret": "ImDrawList*",
20108+
"signature": "()",
20109+
"stname": ""
20110+
}
20111+
],
2006020112
"igGetFrameCount": [
2006120113
{
2006220114
"args": "()",
@@ -20598,22 +20650,6 @@
2059820650
"stname": ""
2059920651
}
2060020652
],
20601-
"igGetOverlayDrawList": [
20602-
{
20603-
"args": "()",
20604-
"argsT": [],
20605-
"argsoriginal": "()",
20606-
"call_args": "()",
20607-
"cimguiname": "igGetOverlayDrawList",
20608-
"defaults": [],
20609-
"funcname": "GetOverlayDrawList",
20610-
"namespace": "ImGui",
20611-
"ov_cimguiname": "igGetOverlayDrawList",
20612-
"ret": "ImDrawList*",
20613-
"signature": "()",
20614-
"stname": ""
20615-
}
20616-
],
2061720653
"igGetScrollMaxX": [
2061820654
{
2061920655
"args": "()",
@@ -21759,6 +21795,55 @@
2175921795
"stname": ""
2176021796
}
2176121797
],
21798+
"igInputTextWithHint": [
21799+
{
21800+
"args": "(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)",
21801+
"argsT": [
21802+
{
21803+
"name": "label",
21804+
"type": "const char*"
21805+
},
21806+
{
21807+
"name": "hint",
21808+
"type": "const char*"
21809+
},
21810+
{
21811+
"name": "buf",
21812+
"type": "char*"
21813+
},
21814+
{
21815+
"name": "buf_size",
21816+
"type": "size_t"
21817+
},
21818+
{
21819+
"name": "flags",
21820+
"type": "ImGuiInputTextFlags"
21821+
},
21822+
{
21823+
"name": "callback",
21824+
"type": "ImGuiInputTextCallback"
21825+
},
21826+
{
21827+
"name": "user_data",
21828+
"type": "void*"
21829+
}
21830+
],
21831+
"argsoriginal": "(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags=0,ImGuiInputTextCallback callback=((void*)0),void* user_data=((void*)0))",
21832+
"call_args": "(label,hint,buf,buf_size,flags,callback,user_data)",
21833+
"cimguiname": "igInputTextWithHint",
21834+
"defaults": {
21835+
"callback": "((void*)0)",
21836+
"flags": "0",
21837+
"user_data": "((void*)0)"
21838+
},
21839+
"funcname": "InputTextWithHint",
21840+
"namespace": "ImGui",
21841+
"ov_cimguiname": "igInputTextWithHint",
21842+
"ret": "bool",
21843+
"signature": "(const char*,const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)",
21844+
"stname": ""
21845+
}
21846+
],
2176221847
"igInvisibleButton": [
2176321848
{
2176421849
"args": "(const char* str_id,const ImVec2 size)",
@@ -22712,18 +22797,18 @@
2271222797
],
2271322798
"igLogToClipboard": [
2271422799
{
22715-
"args": "(int max_depth)",
22800+
"args": "(int auto_open_depth)",
2271622801
"argsT": [
2271722802
{
22718-
"name": "max_depth",
22803+
"name": "auto_open_depth",
2271922804
"type": "int"
2272022805
}
2272122806
],
22722-
"argsoriginal": "(int max_depth=-1)",
22723-
"call_args": "(max_depth)",
22807+
"argsoriginal": "(int auto_open_depth=-1)",
22808+
"call_args": "(auto_open_depth)",
2272422809
"cimguiname": "igLogToClipboard",
2272522810
"defaults": {
22726-
"max_depth": "-1"
22811+
"auto_open_depth": "-1"
2272722812
},
2272822813
"funcname": "LogToClipboard",
2272922814
"namespace": "ImGui",
@@ -22735,23 +22820,23 @@
2273522820
],
2273622821
"igLogToFile": [
2273722822
{
22738-
"args": "(int max_depth,const char* filename)",
22823+
"args": "(int auto_open_depth,const char* filename)",
2273922824
"argsT": [
2274022825
{
22741-
"name": "max_depth",
22826+
"name": "auto_open_depth",
2274222827
"type": "int"
2274322828
},
2274422829
{
2274522830
"name": "filename",
2274622831
"type": "const char*"
2274722832
}
2274822833
],
22749-
"argsoriginal": "(int max_depth=-1,const char* filename=((void*)0))",
22750-
"call_args": "(max_depth,filename)",
22834+
"argsoriginal": "(int auto_open_depth=-1,const char* filename=((void*)0))",
22835+
"call_args": "(auto_open_depth,filename)",
2275122836
"cimguiname": "igLogToFile",
2275222837
"defaults": {
22753-
"filename": "((void*)0)",
22754-
"max_depth": "-1"
22838+
"auto_open_depth": "-1",
22839+
"filename": "((void*)0)"
2275522840
},
2275622841
"funcname": "LogToFile",
2275722842
"namespace": "ImGui",
@@ -22763,18 +22848,18 @@
2276322848
],
2276422849
"igLogToTTY": [
2276522850
{
22766-
"args": "(int max_depth)",
22851+
"args": "(int auto_open_depth)",
2276722852
"argsT": [
2276822853
{
22769-
"name": "max_depth",
22854+
"name": "auto_open_depth",
2277022855
"type": "int"
2277122856
}
2277222857
],
22773-
"argsoriginal": "(int max_depth=-1)",
22774-
"call_args": "(max_depth)",
22858+
"argsoriginal": "(int auto_open_depth=-1)",
22859+
"call_args": "(auto_open_depth)",
2277522860
"cimguiname": "igLogToTTY",
2277622861
"defaults": {
22777-
"max_depth": "-1"
22862+
"auto_open_depth": "-1"
2277822863
},
2277922864
"funcname": "LogToTTY",
2278022865
"namespace": "ImGui",
@@ -24219,7 +24304,7 @@
2421924304
],
2422024305
"igSetDragDropPayload": [
2422124306
{
24222-
"args": "(const char* type,const void* data,size_t size,ImGuiCond cond)",
24307+
"args": "(const char* type,const void* data,size_t sz,ImGuiCond cond)",
2422324308
"argsT": [
2422424309
{
2422524310
"name": "type",
@@ -24230,16 +24315,16 @@
2423024315
"type": "const void*"
2423124316
},
2423224317
{
24233-
"name": "size",
24318+
"name": "sz",
2423424319
"type": "size_t"
2423524320
},
2423624321
{
2423724322
"name": "cond",
2423824323
"type": "ImGuiCond"
2423924324
}
2424024325
],
24241-
"argsoriginal": "(const char* type,const void* data,size_t size,ImGuiCond cond=0)",
24242-
"call_args": "(type,data,size,cond)",
24326+
"argsoriginal": "(const char* type,const void* data,size_t sz,ImGuiCond cond=0)",
24327+
"call_args": "(type,data,sz,cond)",
2424324328
"cimguiname": "igSetDragDropPayload",
2424424329
"defaults": {
2424524330
"cond": "0"

0 commit comments

Comments
 (0)