pull imgui 1.75 and generate

This commit is contained in:
Victor Bombi
2020-02-10 16:28:40 +01:00
parent 6740445cbc
commit 4e00f55cc8
13 changed files with 619 additions and 321 deletions

View File

@@ -576,26 +576,26 @@
],
"ImDrawList_AddBezierCurve": [
{
"args": "(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments)",
"args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col,float thickness,int num_segments)",
"argsT": [
{
"name": "self",
"type": "ImDrawList*"
},
{
"name": "pos0",
"name": "p1",
"type": "const ImVec2"
},
{
"name": "cp0",
"name": "p2",
"type": "const ImVec2"
},
{
"name": "cp1",
"name": "p3",
"type": "const ImVec2"
},
{
"name": "pos1",
"name": "p4",
"type": "const ImVec2"
},
{
@@ -611,8 +611,8 @@
"type": "int"
}
],
"argsoriginal": "(const ImVec2& pos0,const ImVec2& cp0,const ImVec2& cp1,const ImVec2& pos1,ImU32 col,float thickness,int num_segments=0)",
"call_args": "(pos0,cp0,cp1,pos1,col,thickness,num_segments)",
"argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,ImU32 col,float thickness,int num_segments=0)",
"call_args": "(p1,p2,p3,p4,col,thickness,num_segments)",
"cimguiname": "ImDrawList_AddBezierCurve",
"defaults": {
"num_segments": "0"
@@ -991,6 +991,84 @@
"stname": "ImDrawList"
}
],
"ImDrawList_AddNgon": [
{
"args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments,float thickness)",
"argsT": [
{
"name": "self",
"type": "ImDrawList*"
},
{
"name": "center",
"type": "const ImVec2"
},
{
"name": "radius",
"type": "float"
},
{
"name": "col",
"type": "ImU32"
},
{
"name": "num_segments",
"type": "int"
},
{
"name": "thickness",
"type": "float"
}
],
"argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments,float thickness=1.0f)",
"call_args": "(center,radius,col,num_segments,thickness)",
"cimguiname": "ImDrawList_AddNgon",
"defaults": {
"thickness": "1.0f"
},
"funcname": "AddNgon",
"ov_cimguiname": "ImDrawList_AddNgon",
"ret": "void",
"signature": "(const ImVec2,float,ImU32,int,float)",
"stname": "ImDrawList"
}
],
"ImDrawList_AddNgonFilled": [
{
"args": "(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments)",
"argsT": [
{
"name": "self",
"type": "ImDrawList*"
},
{
"name": "center",
"type": "const ImVec2"
},
{
"name": "radius",
"type": "float"
},
{
"name": "col",
"type": "ImU32"
},
{
"name": "num_segments",
"type": "int"
}
],
"argsoriginal": "(const ImVec2& center,float radius,ImU32 col,int num_segments)",
"call_args": "(center,radius,col,num_segments)",
"cimguiname": "ImDrawList_AddNgonFilled",
"defaults": [],
"funcname": "AddNgonFilled",
"ov_cimguiname": "ImDrawList_AddNgonFilled",
"ret": "void",
"signature": "(const ImVec2,float,ImU32,int)",
"stname": "ImDrawList"
}
],
"ImDrawList_AddPolyline": [
{
"args": "(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col,bool closed,float thickness)",
@@ -1776,16 +1854,12 @@
],
"ImDrawList_PathBezierCurveTo": [
{
"args": "(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments)",
"args": "(ImDrawList* self,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,int num_segments)",
"argsT": [
{
"name": "self",
"type": "ImDrawList*"
},
{
"name": "p1",
"type": "const ImVec2"
},
{
"name": "p2",
"type": "const ImVec2"
@@ -1794,13 +1868,17 @@
"name": "p3",
"type": "const ImVec2"
},
{
"name": "p4",
"type": "const ImVec2"
},
{
"name": "num_segments",
"type": "int"
}
],
"argsoriginal": "(const ImVec2& p1,const ImVec2& p2,const ImVec2& p3,int num_segments=0)",
"call_args": "(p1,p2,p3,num_segments)",
"argsoriginal": "(const ImVec2& p2,const ImVec2& p3,const ImVec2& p4,int num_segments=0)",
"call_args": "(p2,p3,p4,num_segments)",
"cimguiname": "ImDrawList_PathBezierCurveTo",
"defaults": {
"num_segments": "0"
@@ -2173,6 +2251,34 @@
"stname": "ImDrawList"
}
],
"ImDrawList_PrimUnreserve": [
{
"args": "(ImDrawList* self,int idx_count,int vtx_count)",
"argsT": [
{
"name": "self",
"type": "ImDrawList*"
},
{
"name": "idx_count",
"type": "int"
},
{
"name": "vtx_count",
"type": "int"
}
],
"argsoriginal": "(int idx_count,int vtx_count)",
"call_args": "(idx_count,vtx_count)",
"cimguiname": "ImDrawList_PrimUnreserve",
"defaults": [],
"funcname": "PrimUnreserve",
"ov_cimguiname": "ImDrawList_PrimUnreserve",
"ret": "void",
"signature": "(int,int)",
"stname": "ImDrawList"
}
],
"ImDrawList_PrimVtx": [
{
"args": "(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)",
@@ -6970,7 +7076,7 @@
],
"igBeginPopupContextItem": [
{
"args": "(const char* str_id,int mouse_button)",
"args": "(const char* str_id,ImGuiMouseButton mouse_button)",
"argsT": [
{
"name": "str_id",
@@ -6978,10 +7084,10 @@
},
{
"name": "mouse_button",
"type": "int"
"type": "ImGuiMouseButton"
}
],
"argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1)",
"argsoriginal": "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1)",
"call_args": "(str_id,mouse_button)",
"cimguiname": "igBeginPopupContextItem",
"defaults": {
@@ -6992,13 +7098,13 @@
"namespace": "ImGui",
"ov_cimguiname": "igBeginPopupContextItem",
"ret": "bool",
"signature": "(const char*,int)",
"signature": "(const char*,ImGuiMouseButton)",
"stname": ""
}
],
"igBeginPopupContextVoid": [
{
"args": "(const char* str_id,int mouse_button)",
"args": "(const char* str_id,ImGuiMouseButton mouse_button)",
"argsT": [
{
"name": "str_id",
@@ -7006,10 +7112,10 @@
},
{
"name": "mouse_button",
"type": "int"
"type": "ImGuiMouseButton"
}
],
"argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1)",
"argsoriginal": "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1)",
"call_args": "(str_id,mouse_button)",
"cimguiname": "igBeginPopupContextVoid",
"defaults": {
@@ -7020,13 +7126,13 @@
"namespace": "ImGui",
"ov_cimguiname": "igBeginPopupContextVoid",
"ret": "bool",
"signature": "(const char*,int)",
"signature": "(const char*,ImGuiMouseButton)",
"stname": ""
}
],
"igBeginPopupContextWindow": [
{
"args": "(const char* str_id,int mouse_button,bool also_over_items)",
"args": "(const char* str_id,ImGuiMouseButton mouse_button,bool also_over_items)",
"argsT": [
{
"name": "str_id",
@@ -7034,14 +7140,14 @@
},
{
"name": "mouse_button",
"type": "int"
"type": "ImGuiMouseButton"
},
{
"name": "also_over_items",
"type": "bool"
}
],
"argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1,bool also_over_items=true)",
"argsoriginal": "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1,bool also_over_items=true)",
"call_args": "(str_id,mouse_button,also_over_items)",
"cimguiname": "igBeginPopupContextWindow",
"defaults": {
@@ -7053,7 +7159,7 @@
"namespace": "ImGui",
"ov_cimguiname": "igBeginPopupContextWindow",
"ret": "bool",
"signature": "(const char*,int,bool)",
"signature": "(const char*,ImGuiMouseButton,bool)",
"stname": ""
}
],
@@ -10027,18 +10133,18 @@
],
"igGetMouseDragDelta": [
{
"args": "(int button,float lock_threshold)",
"args": "(ImGuiMouseButton button,float lock_threshold)",
"argsT": [
{
"name": "button",
"type": "int"
"type": "ImGuiMouseButton"
},
{
"name": "lock_threshold",
"type": "float"
}
],
"argsoriginal": "(int button=0,float lock_threshold=-1.0f)",
"argsoriginal": "(ImGuiMouseButton button=0,float lock_threshold=-1.0f)",
"call_args": "(button,lock_threshold)",
"cimguiname": "igGetMouseDragDelta",
"defaults": {
@@ -10049,11 +10155,11 @@
"namespace": "ImGui",
"ov_cimguiname": "igGetMouseDragDelta",
"ret": "ImVec2",
"signature": "(int,float)",
"signature": "(ImGuiMouseButton,float)",
"stname": ""
},
{
"args": "(ImVec2 *pOut,int button,float lock_threshold)",
"args": "(ImVec2 *pOut,ImGuiMouseButton button,float lock_threshold)",
"argsT": [
{
"name": "pOut",
@@ -10061,14 +10167,14 @@
},
{
"name": "button",
"type": "int"
"type": "ImGuiMouseButton"
},
{
"name": "lock_threshold",
"type": "float"
}
],
"argsoriginal": "(int button=0,float lock_threshold=-1.0f)",
"argsoriginal": "(ImGuiMouseButton button=0,float lock_threshold=-1.0f)",
"call_args": "(button,lock_threshold)",
"cimguiname": "igGetMouseDragDelta",
"defaults": {
@@ -10080,22 +10186,22 @@
"nonUDT": 1,
"ov_cimguiname": "igGetMouseDragDelta_nonUDT",
"ret": "void",
"signature": "(int,float)",
"signature": "(ImGuiMouseButton,float)",
"stname": ""
},
{
"args": "(int button,float lock_threshold)",
"args": "(ImGuiMouseButton button,float lock_threshold)",
"argsT": [
{
"name": "button",
"type": "int"
"type": "ImGuiMouseButton"
},
{
"name": "lock_threshold",
"type": "float"
}
],
"argsoriginal": "(int button=0,float lock_threshold=-1.0f)",
"argsoriginal": "(ImGuiMouseButton button=0,float lock_threshold=-1.0f)",
"call_args": "(button,lock_threshold)",
"cimguiname": "igGetMouseDragDelta",
"defaults": {
@@ -10108,7 +10214,7 @@
"ov_cimguiname": "igGetMouseDragDelta_nonUDT2",
"ret": "ImVec2_Simple",
"retorig": "ImVec2",
"signature": "(int,float)",
"signature": "(ImGuiMouseButton,float)",
"stname": ""
}
],
@@ -11533,14 +11639,14 @@
],
"igIsItemClicked": [
{
"args": "(int mouse_button)",
"args": "(ImGuiMouseButton mouse_button)",
"argsT": [
{
"name": "mouse_button",
"type": "int"
"type": "ImGuiMouseButton"
}
],
"argsoriginal": "(int mouse_button=0)",
"argsoriginal": "(ImGuiMouseButton mouse_button=0)",
"call_args": "(mouse_button)",
"cimguiname": "igIsItemClicked",
"defaults": {
@@ -11550,7 +11656,7 @@
"namespace": "ImGui",
"ov_cimguiname": "igIsItemClicked",
"ret": "bool",
"signature": "(int)",
"signature": "(ImGuiMouseButton)",
"stname": ""
}
],
@@ -11744,18 +11850,18 @@
],
"igIsMouseClicked": [
{
"args": "(int button,bool repeat)",
"args": "(ImGuiMouseButton button,bool repeat)",
"argsT": [
{
"name": "button",
"type": "int"
"type": "ImGuiMouseButton"
},
{
"name": "repeat",
"type": "bool"
}
],
"argsoriginal": "(int button,bool repeat=false)",
"argsoriginal": "(ImGuiMouseButton button,bool repeat=false)",
"call_args": "(button,repeat)",
"cimguiname": "igIsMouseClicked",
"defaults": {
@@ -11765,20 +11871,20 @@
"namespace": "ImGui",
"ov_cimguiname": "igIsMouseClicked",
"ret": "bool",
"signature": "(int,bool)",
"signature": "(ImGuiMouseButton,bool)",
"stname": ""
}
],
"igIsMouseDoubleClicked": [
{
"args": "(int button)",
"args": "(ImGuiMouseButton button)",
"argsT": [
{
"name": "button",
"type": "int"
"type": "ImGuiMouseButton"
}
],
"argsoriginal": "(int button)",
"argsoriginal": "(ImGuiMouseButton button)",
"call_args": "(button)",
"cimguiname": "igIsMouseDoubleClicked",
"defaults": [],
@@ -11786,20 +11892,20 @@
"namespace": "ImGui",
"ov_cimguiname": "igIsMouseDoubleClicked",
"ret": "bool",
"signature": "(int)",
"signature": "(ImGuiMouseButton)",
"stname": ""
}
],
"igIsMouseDown": [
{
"args": "(int button)",
"args": "(ImGuiMouseButton button)",
"argsT": [
{
"name": "button",
"type": "int"
"type": "ImGuiMouseButton"
}
],
"argsoriginal": "(int button)",
"argsoriginal": "(ImGuiMouseButton button)",
"call_args": "(button)",
"cimguiname": "igIsMouseDown",
"defaults": [],
@@ -11807,35 +11913,34 @@
"namespace": "ImGui",
"ov_cimguiname": "igIsMouseDown",
"ret": "bool",
"signature": "(int)",
"signature": "(ImGuiMouseButton)",
"stname": ""
}
],
"igIsMouseDragging": [
{
"args": "(int button,float lock_threshold)",
"args": "(ImGuiMouseButton button,float lock_threshold)",
"argsT": [
{
"name": "button",
"type": "int"
"type": "ImGuiMouseButton"
},
{
"name": "lock_threshold",
"type": "float"
}
],
"argsoriginal": "(int button=0,float lock_threshold=-1.0f)",
"argsoriginal": "(ImGuiMouseButton button,float lock_threshold=-1.0f)",
"call_args": "(button,lock_threshold)",
"cimguiname": "igIsMouseDragging",
"defaults": {
"button": "0",
"lock_threshold": "-1.0f"
},
"funcname": "IsMouseDragging",
"namespace": "ImGui",
"ov_cimguiname": "igIsMouseDragging",
"ret": "bool",
"signature": "(int,float)",
"signature": "(ImGuiMouseButton,float)",
"stname": ""
}
],
@@ -11895,14 +12000,14 @@
],
"igIsMouseReleased": [
{
"args": "(int button)",
"args": "(ImGuiMouseButton button)",
"argsT": [
{
"name": "button",
"type": "int"
"type": "ImGuiMouseButton"
}
],
"argsoriginal": "(int button)",
"argsoriginal": "(ImGuiMouseButton button)",
"call_args": "(button)",
"cimguiname": "igIsMouseReleased",
"defaults": [],
@@ -11910,7 +12015,7 @@
"namespace": "ImGui",
"ov_cimguiname": "igIsMouseReleased",
"ret": "bool",
"signature": "(int)",
"signature": "(ImGuiMouseButton)",
"stname": ""
}
],
@@ -12634,7 +12739,7 @@
],
"igOpenPopupOnItemClick": [
{
"args": "(const char* str_id,int mouse_button)",
"args": "(const char* str_id,ImGuiMouseButton mouse_button)",
"argsT": [
{
"name": "str_id",
@@ -12642,10 +12747,10 @@
},
{
"name": "mouse_button",
"type": "int"
"type": "ImGuiMouseButton"
}
],
"argsoriginal": "(const char* str_id=((void*)0),int mouse_button=1)",
"argsoriginal": "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1)",
"call_args": "(str_id,mouse_button)",
"cimguiname": "igOpenPopupOnItemClick",
"defaults": {
@@ -12656,7 +12761,7 @@
"namespace": "ImGui",
"ov_cimguiname": "igOpenPopupOnItemClick",
"ret": "bool",
"signature": "(const char*,int)",
"signature": "(const char*,ImGuiMouseButton)",
"stname": ""
}
],
@@ -12701,7 +12806,7 @@
"type": "int"
}
],
"argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))",
"argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))",
"call_args": "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)",
"cimguiname": "igPlotHistogram",
"defaults": {
@@ -12761,7 +12866,7 @@
"type": "ImVec2"
}
],
"argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))",
"argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0))",
"call_args": "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)",
"cimguiname": "igPlotHistogram",
"defaults": {
@@ -12820,7 +12925,7 @@
"type": "int"
}
],
"argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))",
"argsoriginal": "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))",
"call_args": "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)",
"cimguiname": "igPlotLines",
"defaults": {
@@ -12880,7 +12985,7 @@
"type": "ImVec2"
}
],
"argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))",
"argsoriginal": "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282346638528859811704183484516925e+38F,float scale_max=3.40282346638528859811704183484516925e+38F,ImVec2 graph_size=ImVec2(0,0))",
"call_args": "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)",
"cimguiname": "igPlotLines",
"defaults": {
@@ -13472,14 +13577,14 @@
],
"igResetMouseDragDelta": [
{
"args": "(int button)",
"args": "(ImGuiMouseButton button)",
"argsT": [
{
"name": "button",
"type": "int"
"type": "ImGuiMouseButton"
}
],
"argsoriginal": "(int button=0)",
"argsoriginal": "(ImGuiMouseButton button=0)",
"call_args": "(button)",
"cimguiname": "igResetMouseDragDelta",
"defaults": {
@@ -13489,7 +13594,7 @@
"namespace": "ImGui",
"ov_cimguiname": "igResetMouseDragDelta",
"ret": "void",
"signature": "(int)",
"signature": "(ImGuiMouseButton)",
"stname": ""
}
],
@@ -13976,15 +14081,15 @@
],
"igSetMouseCursor": [
{
"args": "(ImGuiMouseCursor type)",
"args": "(ImGuiMouseCursor cursor_type)",
"argsT": [
{
"name": "type",
"name": "cursor_type",
"type": "ImGuiMouseCursor"
}
],
"argsoriginal": "(ImGuiMouseCursor type)",
"call_args": "(type)",
"argsoriginal": "(ImGuiMouseCursor cursor_type)",
"call_args": "(cursor_type)",
"cimguiname": "igSetMouseCursor",
"defaults": [],
"funcname": "SetMouseCursor",