Skip to content

Commit

Permalink
Update to v1.69.
Browse files Browse the repository at this point in the history
  • Loading branch information
mellinoe committed Apr 2, 2019
1 parent 580d552 commit 34a0848
Show file tree
Hide file tree
Showing 15 changed files with 561 additions and 121 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ https://github.com/ocornut/imgui
See the [official screenshot thread](https://github.com/ocornut/imgui/issues/123) for examples of many different kinds of interfaces created with Dear ImGui.

https://github.com/Extrawurst/cimgui
https://github.com/cimgui/cimgui
> 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 .
Binary file modified deps/cimgui/linux-x64/cimgui.so
Binary file not shown.
Binary file modified deps/cimgui/osx-x64/cimgui.dylib
Binary file not shown.
Binary file modified deps/cimgui/win-x64/cimgui.dll
Binary file not shown.
Binary file modified deps/cimgui/win-x86/cimgui.dll
Binary file not shown.
173 changes: 129 additions & 44 deletions src/CodeGenerator/definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@
],
"ImDrawList_AddConvexPolyFilled": [
{
"args": "(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col)",
"args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col)",
"argsT": [
{
"name": "self",
Expand All @@ -647,21 +647,21 @@
},
{
"name": "num_points",
"type": "const int"
"type": "int"
},
{
"name": "col",
"type": "ImU32"
}
],
"argsoriginal": "(const ImVec2* points,const int num_points,ImU32 col)",
"argsoriginal": "(const ImVec2* points,int num_points,ImU32 col)",
"call_args": "(points,num_points,col)",
"cimguiname": "ImDrawList_AddConvexPolyFilled",
"defaults": [],
"funcname": "AddConvexPolyFilled",
"ov_cimguiname": "ImDrawList_AddConvexPolyFilled",
"ret": "void",
"signature": "(const ImVec2*,const int,ImU32)",
"signature": "(const ImVec2*,int,ImU32)",
"stname": "ImDrawList"
}
],
Expand Down Expand Up @@ -893,7 +893,7 @@
],
"ImDrawList_AddPolyline": [
{
"args": "(ImDrawList* self,const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)",
"args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col,bool closed,float thickness)",
"argsT": [
{
"name": "self",
Expand All @@ -905,7 +905,7 @@
},
{
"name": "num_points",
"type": "const int"
"type": "int"
},
{
"name": "col",
Expand All @@ -920,14 +920,14 @@
"type": "float"
}
],
"argsoriginal": "(const ImVec2* points,const int num_points,ImU32 col,bool closed,float thickness)",
"argsoriginal": "(const ImVec2* points,int num_points,ImU32 col,bool closed,float thickness)",
"call_args": "(points,num_points,col,closed,thickness)",
"cimguiname": "ImDrawList_AddPolyline",
"defaults": [],
"funcname": "AddPolyline",
"ov_cimguiname": "ImDrawList_AddPolyline",
"ret": "void",
"signature": "(const ImVec2*,const int,ImU32,bool,float)",
"signature": "(const ImVec2*,int,ImU32,bool,float)",
"stname": "ImDrawList"
}
],
Expand Down Expand Up @@ -2886,6 +2886,26 @@
"stname": "ImFontAtlas"
}
],
"ImFontAtlas_GetGlyphRangesVietnamese": [
{
"args": "(ImFontAtlas* self)",
"argsT": [
{
"name": "self",
"type": "ImFontAtlas*"
}
],
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese",
"defaults": [],
"funcname": "GetGlyphRangesVietnamese",
"ov_cimguiname": "ImFontAtlas_GetGlyphRangesVietnamese",
"ret": "const ImWchar*",
"signature": "()",
"stname": "ImFontAtlas"
}
],
"ImFontAtlas_GetMouseCursorTexData": [
{
"args": "(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2])",
Expand Down Expand Up @@ -19442,6 +19462,22 @@
"stname": ""
}
],
"igGetBackgroundDrawList": [
{
"args": "()",
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "igGetBackgroundDrawList",
"defaults": [],
"funcname": "GetBackgroundDrawList",
"namespace": "ImGui",
"ov_cimguiname": "igGetBackgroundDrawList",
"ret": "ImDrawList*",
"signature": "()",
"stname": ""
}
],
"igGetClipboardText": [
{
"args": "()",
Expand Down Expand Up @@ -20057,6 +20093,22 @@
"stname": ""
}
],
"igGetForegroundDrawList": [
{
"args": "()",
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "igGetForegroundDrawList",
"defaults": [],
"funcname": "GetForegroundDrawList",
"namespace": "ImGui",
"ov_cimguiname": "igGetForegroundDrawList",
"ret": "ImDrawList*",
"signature": "()",
"stname": ""
}
],
"igGetFrameCount": [
{
"args": "()",
Expand Down Expand Up @@ -20598,22 +20650,6 @@
"stname": ""
}
],
"igGetOverlayDrawList": [
{
"args": "()",
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "igGetOverlayDrawList",
"defaults": [],
"funcname": "GetOverlayDrawList",
"namespace": "ImGui",
"ov_cimguiname": "igGetOverlayDrawList",
"ret": "ImDrawList*",
"signature": "()",
"stname": ""
}
],
"igGetScrollMaxX": [
{
"args": "()",
Expand Down Expand Up @@ -21759,6 +21795,55 @@
"stname": ""
}
],
"igInputTextWithHint": [
{
"args": "(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)",
"argsT": [
{
"name": "label",
"type": "const char*"
},
{
"name": "hint",
"type": "const char*"
},
{
"name": "buf",
"type": "char*"
},
{
"name": "buf_size",
"type": "size_t"
},
{
"name": "flags",
"type": "ImGuiInputTextFlags"
},
{
"name": "callback",
"type": "ImGuiInputTextCallback"
},
{
"name": "user_data",
"type": "void*"
}
],
"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))",
"call_args": "(label,hint,buf,buf_size,flags,callback,user_data)",
"cimguiname": "igInputTextWithHint",
"defaults": {
"callback": "((void*)0)",
"flags": "0",
"user_data": "((void*)0)"
},
"funcname": "InputTextWithHint",
"namespace": "ImGui",
"ov_cimguiname": "igInputTextWithHint",
"ret": "bool",
"signature": "(const char*,const char*,char*,size_t,ImGuiInputTextFlags,ImGuiInputTextCallback,void*)",
"stname": ""
}
],
"igInvisibleButton": [
{
"args": "(const char* str_id,const ImVec2 size)",
Expand Down Expand Up @@ -22712,18 +22797,18 @@
],
"igLogToClipboard": [
{
"args": "(int max_depth)",
"args": "(int auto_open_depth)",
"argsT": [
{
"name": "max_depth",
"name": "auto_open_depth",
"type": "int"
}
],
"argsoriginal": "(int max_depth=-1)",
"call_args": "(max_depth)",
"argsoriginal": "(int auto_open_depth=-1)",
"call_args": "(auto_open_depth)",
"cimguiname": "igLogToClipboard",
"defaults": {
"max_depth": "-1"
"auto_open_depth": "-1"
},
"funcname": "LogToClipboard",
"namespace": "ImGui",
Expand All @@ -22735,23 +22820,23 @@
],
"igLogToFile": [
{
"args": "(int max_depth,const char* filename)",
"args": "(int auto_open_depth,const char* filename)",
"argsT": [
{
"name": "max_depth",
"name": "auto_open_depth",
"type": "int"
},
{
"name": "filename",
"type": "const char*"
}
],
"argsoriginal": "(int max_depth=-1,const char* filename=((void*)0))",
"call_args": "(max_depth,filename)",
"argsoriginal": "(int auto_open_depth=-1,const char* filename=((void*)0))",
"call_args": "(auto_open_depth,filename)",
"cimguiname": "igLogToFile",
"defaults": {
"filename": "((void*)0)",
"max_depth": "-1"
"auto_open_depth": "-1",
"filename": "((void*)0)"
},
"funcname": "LogToFile",
"namespace": "ImGui",
Expand All @@ -22763,18 +22848,18 @@
],
"igLogToTTY": [
{
"args": "(int max_depth)",
"args": "(int auto_open_depth)",
"argsT": [
{
"name": "max_depth",
"name": "auto_open_depth",
"type": "int"
}
],
"argsoriginal": "(int max_depth=-1)",
"call_args": "(max_depth)",
"argsoriginal": "(int auto_open_depth=-1)",
"call_args": "(auto_open_depth)",
"cimguiname": "igLogToTTY",
"defaults": {
"max_depth": "-1"
"auto_open_depth": "-1"
},
"funcname": "LogToTTY",
"namespace": "ImGui",
Expand Down Expand Up @@ -24219,7 +24304,7 @@
],
"igSetDragDropPayload": [
{
"args": "(const char* type,const void* data,size_t size,ImGuiCond cond)",
"args": "(const char* type,const void* data,size_t sz,ImGuiCond cond)",
"argsT": [
{
"name": "type",
Expand All @@ -24230,16 +24315,16 @@
"type": "const void*"
},
{
"name": "size",
"name": "sz",
"type": "size_t"
},
{
"name": "cond",
"type": "ImGuiCond"
}
],
"argsoriginal": "(const char* type,const void* data,size_t size,ImGuiCond cond=0)",
"call_args": "(type,data,size,cond)",
"argsoriginal": "(const char* type,const void* data,size_t sz,ImGuiCond cond=0)",
"call_args": "(type,data,sz,cond)",
"cimguiname": "igSetDragDropPayload",
"defaults": {
"cond": "0"
Expand Down
Loading

0 comments on commit 34a0848

Please sign in to comment.