Compare commits

...

29 Commits

Author SHA1 Message Date
sonoro1234
2b03f434d4 one day I wont forget readme 2019-06-12 19:47:52 +02:00
sonoro1234
37c52332f4 pull imgui 1.71 and generate 2019-06-12 19:45:37 +02:00
sonoro1234
84932b4830 update README.md 2019-05-07 15:56:11 +02:00
sonoro1234
022f60320f add characters | < to defaults parsing 2019-05-06 16:41:40 +02:00
sonoro1234
1aeb9ad132 pull imgui 1.70 and generate 2019-05-06 15:59:27 +02:00
sonoro1234
648cf587c9 README.md update for 1.69 2019-04-29 11:45:37 +02:00
Victor Bombi
aa99302d24 Merge pull request #94 from nihuynh/Makefile_fix
fixing makefile
2019-04-16 12:45:18 +02:00
Nicolas Huynh
4fca16eada fixing makefile 2019-04-16 02:15:52 +02:00
sonoro1234
ff404142f4 readme : use generator before compilation 2019-04-03 13:50:49 +02:00
sonoro1234
4be0522d9f pull imgui 1.69 and generate 2019-03-13 17:05:22 +01:00
sonoro1234
bc6f6e664e readme use generator2.bat 2019-03-06 11:00:21 +01:00
sonoro1234
343a8e4ea5 update README.md 2019-02-19 13:18:20 +01:00
Victor Bombi
0d4fa8b8bc Merge pull request #91 from cimgui/ImVector
Im vector
2019-02-19 13:13:02 +01:00
sonoro1234
666a687e0f pull imgui 1.68 2019-02-19 13:11:06 +01:00
sonoro1234
806ff124a1 build test -Wall std=99 -Wpedantic 2019-02-18 12:33:12 +01:00
sonoro1234
186ebd8f06 drop comments and update README.md for top level functions 2019-02-15 16:54:23 +01:00
sonoro1234
d331453422 correct issue #88 (Pair union member) 2019-02-15 12:24:06 +01:00
sonoro1234
e125f405e3 more README.md update 2019-02-15 12:10:52 +01:00
sonoro1234
498f9802d1 update README.md 2019-02-15 11:17:51 +01:00
sonoro1234
6c9a018705 drop ImVector:contains() for not applicable types 2019-02-14 20:15:33 +01:00
sonoro1234
347d8d58b0 with templated structs generated 2019-02-14 13:05:49 +01:00
sonoro1234
161385607d not templated structs generated 2019-02-12 19:59:39 +01:00
sonoro1234
23f2a1f026 get template typenames generated 2019-02-12 19:40:00 +01:00
sonoro1234
490effa341 get template typenames 2019-02-12 18:52:00 +01:00
sonoro1234
0d864f94bd ImVector functions inclusion 2019-02-12 12:16:21 +01:00
sonoro1234
55f1afa2db update readme 2019-01-27 22:51:31 +01:00
sonoro1234
71a9410ce6 cpp2ffi take care or type and name separated by * without spaces 2019-01-27 17:20:07 +01:00
Victor Bombi
036d2c1f9e Merge pull request #86 from mellinoe/update-to-1.67
Update imgui submodule to 1.67 and re-generate.
2019-01-17 16:43:00 +01:00
Eric Mellino
b5c7ed5862 Update imgui submodule to 1.67 and re-generate. 2019-01-14 18:42:10 -08:00
25 changed files with 32290 additions and 4078 deletions

View File

@@ -46,11 +46,18 @@ endif
.cpp.o:
$(CXX) $(CXXFLAGS) -c -o $@ $<
all:imgui_example
all:$(OUTPUTNAME)
@echo Build complete for $(ECHO_MESSAGE)
imgui_example:$(OBJS)
$(OUTPUTNAME):$(OBJS)
$(CXX) -o $(OUTPUTNAME) $(OBJS) $(CXXFLAGS) $(LINKFLAGS)
clean:
rm $(OBJS)
rm -f $(OBJS)
fclean: clean
rm -f $(OUTPUTNAME)
re: fclean all
.PHONY: all clean fclean re

View File

@@ -2,7 +2,7 @@
This is a thin c-api wrapper programmatically generated for the excellent C++ immediate mode gui [Dear ImGui](https://github.com/ocornut/imgui).
All functions are programmatically wrapped except `ImVector` constructors and destructors. (Unless someone find a use case for them)(Now they exist for `ImVector_ImWchar`)
All imgui.h functions are programmatically wrapped.
Generated files are: `cimgui.cpp`, `cimgui.h` for C compilation. Also for helping in bindings creation, `definitions.lua` with function definition information and `structs_and_enums.lua`.
This library is intended as a intermediate layer to be able to use Dear ImGui from other languages that can interface with C (like D - see [D-binding](https://github.com/Extrawurst/DerelictImgui))
@@ -11,7 +11,9 @@ History:
Initially cimgui was developed by Stephan Dilly as hand-written code but lately turned into an auto-generated version by sonoro1234 in order to keep up with imgui more easily (letting the user select the desired branch and commit)
Notes:
* currently this wrapper is based on version [1.66b of Dear ImGui]
* currently this wrapper is based on version [1.71 of Dear ImGui]
* only functions, structs and enums from imgui.h are wrapped.
* if you are interested in imgui implementations you should look LuaJIT-ImGui project.
* overloaded function names try to be the most compatible with traditional cimgui names. So all naming is algorithmic except for those names that were in conflict with widely used cimgui names and were thus coded in a table (https://github.com/cimgui/cimgui/blob/master/generator/generator.lua#L58). Current overloaded function names can be found in (https://github.com/cimgui/cimgui/blob/master/generator/output/overloads.txt)
# compilation
@@ -25,10 +27,11 @@ Notes:
# using generator
* this is only needed (before compilation) if you want an imgui version different from the one provided, otherwise generation is already done.
* you will need LuaJIT (https://github.com/LuaJIT/LuaJIT.git better 2.1 branch) or precompiled for linux/macOS/windows in https://luapower.com/luajit/download
* you can use also a C++ compiler for doing preprocessing: gcc (In windows MinGW-W64-builds for example), clang or cl (MSVC) or not use a compiler (experimental nocompiler option) at all. (this repo was done with gcc)
* update `imgui` folder to the version you desire.
* edit `generator/generator.bat` (or make a .sh version and please PR) to choose between gcc, clang, cl or nocompiler. Run it with gcc, clang or cl and LuaJIT on your PATH.
* edit `generator/generator2.bat` (or make a .sh version and please PR) to choose between gcc, clang, cl or nocompiler. Run it with gcc, clang or cl and LuaJIT on your PATH.
* as a result some files are generated: `cimgui.cpp` and `cimgui.h` for compiling and some lua/json files with information about the binding: `definitions.json` with function info, `structs_and_enums.json` with struct and enum info, `impl_definitions.json` with functions from the implementations info.
# generate binding
@@ -39,10 +42,11 @@ Notes:
### definitions description
* It is a collection in which key is the cimgui name that would result without overloadings and the value is an array of overloadings (may be only one overloading)
* Each overloading is a collection. Some relevant keys and values are:
* stname : the name of the struct the function belongs to (may be ImGui if it is top level in ImGui namespace)
* stname : the name of the struct the function belongs to (will be "" if it is top level in ImGui namespace)
* ov_cimguiname : the overloaded cimgui name (if absent it would be taken from cimguiname)
* cimguiname : the name without overloading (this should be used if there is not ov_cimguiname)
* ret : the return type
* retref : is setted if original return type is a reference. (will be a pointer in cimgui)
* argsT : an array of collections (each one with type: argument type and name: the argument name)
* args : a string of argsT concatenated and separated by commas
* call_args : a string with the argument names separated by commas for calling imgui function
@@ -50,7 +54,9 @@ Notes:
* manual : will be true if this function is hand-written (not generated)
* isvararg : is setted if some argument is a vararg
* constructor : is setted if the function is a constructor for a class
* destructor : is setted if the functions is a destructor for a class
* destructor : is setted if the function is a destructor for a class
* templated : is setted if the function belongs to a templated class (ImVector)
* templatedgen: is setted if the function belongs to a struct generated from template (ImVector_ImWchar)
* nonUDT : if present can be 1 or 2 (explained meaning in usage) if return type was a user defined type
### structs_and_enums description
* Is is a collection with two items:

2349
cimgui.cpp

File diff suppressed because it is too large Load Diff

841
cimgui.h

File diff suppressed because it is too large Load Diff

View File

@@ -43,10 +43,7 @@ CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create()
{
return IM_NEW(ImVector<ImWchar>) ();
}
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* p)
{
IM_DELETE(p);
}
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p)
{
IM_PLACEMENT_NEW(p) ImVector<ImWchar>();

View File

@@ -83,7 +83,6 @@ CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,floa
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b);
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create();
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* p);
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
#endif //CIMGUI_INCLUDED

View File

@@ -1,5 +1,80 @@
local M = {}
local function ToStr(t,dometatables)
local function basicToStr (o)
if type(o) == "number" or type(o)=="boolean" then
return tostring(o)
elseif type(o) == "string" then
return string.format("%q", o)
else
return tostring(o) --"nil"
end
end
local strTG = {}
--local basicToStr= basicSerialize --tostring
if type(t) ~="table" then return basicToStr(t) end
local recG = 0
local nameG="SELF"..recG
local ancest ={}
local function _ToStr(t,strT,rec,name)
if ancest[t] then
strT[#strT + 1]=ancest[t]
return
end
rec = rec + 1
ancest[t]=name
strT[#strT + 1]='{'
local count=0
-------------
--if t.name then strT[#strT + 1]=string.rep("\t",rec).."name:"..tostring(t.name) end
----------------
for k,v in pairs(t) do
count=count+1
strT[#strT + 1]="\n"
local kstr
if type(k) == "table" then
local name2=string.format("%s.KEY%d",name,count)
strT[#strT + 1]=string.rep("\t",rec).."["
local strTK = {}
_ToStr(k,strTK,rec,name2)
kstr=table.concat(strTK)
strT[#strT + 1]=kstr.."]="
else
kstr = basicToStr(k)
strT[#strT + 1]=string.rep("\t",rec).."["..kstr.."]="
end
if type(v) == "table" then
local name2=string.format("%s[%s]",name,kstr)
_ToStr(v,strT,rec,name2)
else
strT[#strT + 1]=basicToStr(v)
end
end
if dometatables then
local mt = getmetatable(t)
if mt then
local namemt = string.format("%s.METATABLE",name)
local strMT = {}
_ToStr(mt,strMT,rec,namemt)
local metastr=table.concat(strMT)
strT[#strT + 1] = "\n"..string.rep("\t",rec).."[METATABLE]="..metastr
end
end
strT[#strT + 1]='}'
rec = rec - 1
return
end
_ToStr(t,strTG,recG,nameG)
return table.concat(strTG)
end
function M.prtable(...)
for i=1, select('#', ...) do
local t = select(i, ...)
print(ToStr(t))
print("\n")
end
end
local function str_split(str, pat)
local t = {}
local fpat = "(.-)" .. pat
@@ -173,7 +248,14 @@ local function name_overloadsAlgo(v)
local maxnum = 0
for i,t in ipairs(v) do
bb[i] = ""
local signature = t.signature:sub(2,-2) -- without parenthesis
--local signature = t.signature:sub(2,-2) -- without parenthesis
--inside parenthesis
local signature = t.signature:match("%b()")
signature = signature:sub(2,-2)
--add const function
if t.signature:match("const$") then
signature = signature .. ",_const"
end
aa[i] = {}
local num = 1
--for typec in t.signature:gmatch(".-([^,%(%s]+)[,%)]") do
@@ -261,8 +343,10 @@ local function parseFunction(self,stname,lineorig,namespace)
if line:match("template") then return end
local ret = line:match("([^%(%)]+[%*%s])%s?~?[_%w]+%b()")
local funcname, args = line:match("(~?[_%w]+)%s*(%b())")
--local funcname, args = line:match("(~?[_%w]+)%s*(%b())")
local funcname, args, extraconst = line:match("(~?[_%w]+)%s*(%b())(.*)")
extraconst = extraconst:match("const")
if not args then
print"not gettint args in"
print(line,lineorig)
@@ -282,16 +366,21 @@ local function parseFunction(self,stname,lineorig,namespace)
--for _,ttype in ipairs(self.templatedTypes) do
--local template = argscsinpars:match(ttype.."%s*<(.+)>")
--TODO several diferent templates
local ttype,template = argscsinpars:match("([^%s,%(%)]+)%s*<(.+)>")
local te=""
if template then
if self.typenames[stname] ~= template then --rule out template typename
te = template:gsub("%s","_")
te = te:gsub("%*","Ptr")
te = "_"..te
self.templates[ttype] = self.templates[ttype] or {}
self.templates[ttype][template] = te
end
end
--end
argscsinpars = argscsinpars:gsub("<([%w_%*]+)>","_"..te) --ImVector
argscsinpars = argscsinpars:gsub("<([%w_%*]+)>",te) --ImVector
local argsArr = {}
local functype_re = "^%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)"
@@ -354,6 +443,7 @@ local function parseFunction(self,stname,lineorig,namespace)
signature = signature:gsub(",%s*",",")--space after ,
signature = signature:gsub("([%w_]+)%s[%w_]+(%[%d*%])","%1%2") -- float[2]
signature = signature:gsub("(%(%*)[%w_]+(%)%([^%(%)]*%))","%1%2") --func defs
signature = signature .. (extraconst or "")
local call_args = argscsinpars:gsub("([%w_]+%s[%w_]+)%[%d*%]","%1") --float[2]
call_args = call_args:gsub("%(%*([%w_]+)%)%([^%(%)]*%)"," %1") --func type
@@ -368,7 +458,7 @@ local function parseFunction(self,stname,lineorig,namespace)
end
local cimguiname = self.getCname(stname,funcname)
table.insert(self.funcdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret,comment=comment})
table.insert(self.funcdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret})
local defsT = self.defsT
defsT[cimguiname] = defsT[cimguiname] or {}
table.insert(defsT[cimguiname],{})
@@ -376,9 +466,10 @@ local function parseFunction(self,stname,lineorig,namespace)
defT.defaults = {}
--for k,def in args:gmatch("([%w%s%*_]+)=([%w_%(%)%s,%*]+)[,%)]") do
--for k,def in args:gmatch("([%w_]+)=([%w_%(%)%s,%*%.%-]+)[,%)]") do
for k,def in args:gmatch('([%w_]+)=([%w_%(%)%s,%*%.%-%+%%"]+)[,%)]') do
for k,def in args:gmatch('([%w_]+)=([|<%w_%(%)%s,%*%.%-%+%%"]+)[,%)]') do
defT.defaults[k]=def
end
defT.templated = self.typenames[stname] and true
defT.namespace = namespace
defT.cimguiname = cimguiname
defT.stname = stname
@@ -389,7 +480,7 @@ local function parseFunction(self,stname,lineorig,namespace)
defT.call_args = call_args
defT.isvararg = signature:match("%.%.%.%)$")
defT.location = locat
defT.comment = "" --comment
--defT.comment = "" --comment
defT.argsT = argsArr
if self.get_manuals(defT) then
defT.manual = true
@@ -462,7 +553,7 @@ local function ADDnonUDT(FP)
defT2.retref = nil
defsT[t.cimguiname][#defsT[t.cimguiname] + 1] = defT2
defsT[t.cimguiname][t.signature.."nonUDT"] = defT2
table.insert(newcdefs,{stname=t.stname,funcname=t.funcname,args=args,argsc=argscsinpars,signature=t.signature.."nonUDT",cimguiname=t.cimguiname,call_args=call_args,ret =t.ret,comment=comment})
table.insert(newcdefs,{stname=t.stname,funcname=t.funcname,args=args,argsc=argscsinpars,signature=t.signature.."nonUDT",cimguiname=t.cimguiname,call_args=call_args,ret =t.ret})
--converting to Simple type----------------------------------------------------
local defT3 = {}
--first strings
@@ -483,7 +574,7 @@ local function ADDnonUDT(FP)
defT3.retref = nil
defsT[t.cimguiname][#defsT[t.cimguiname] + 1] = defT3
defsT[t.cimguiname][t.signature.."nonUDT2"] = defT3
table.insert(newcdefs,{stname=t.stname,funcname=t.funcname,args=args,argsc=argscsinpars,signature=t.signature.."nonUDT2",cimguiname=t.cimguiname,call_args=call_args,ret =t.ret,comment=comment})
table.insert(newcdefs,{stname=t.stname,funcname=t.funcname,args=args,argsc=argscsinpars,signature=t.signature.."nonUDT2",cimguiname=t.cimguiname,call_args=call_args,ret =t.ret})
end
end
--end
@@ -511,9 +602,13 @@ local function ADDdestructors(FP)
for j,cons in ipairs(defT) do
cons.constructor = true
end
assert(defT[1].stname==defT[1].funcname)
if(defT[1].stname~=defT[1].funcname) then
print(defT[1].stname, defT[1].funcname)
error"names should be equal"
end
local def = {}
def.stname = defT[1].stname
def.templated = defT[1].templated
def.ret = "void"
def.ov_cimguiname = def.stname.."_destroy"
def.cimguiname = def.ov_cimguiname
@@ -587,6 +682,7 @@ function M.Parser()
par.embeded_structs = {}
par.inerstructs = {}
par.templates = {}
par.typenames = {}
par.typedefs_dict = {}
par.cname_overloads = {}
par.manuals = {}
@@ -612,6 +708,9 @@ function M.Parser()
self:parseItems()
self:parseFunctions()
self:compute_overloads()
self:gen_structs_and_enums()
self:compute_templated()
ADDdestructors(self)
end
function par:parseItems()
--typedefs dictionary
@@ -643,7 +742,8 @@ function M.Parser()
printItems(items)
end
par.parseFunction = parseFunction
--get all function definitions and template structs
function par:parseFunctions()
for i,it in ipairs(itemsarr) do
if it.re_name == "function_re" or it.re_name == "functionD_re" then
@@ -658,8 +758,14 @@ function M.Parser()
end
end
elseif it.re_name == "struct_re" then
--check template struct
local typename = it.item:match("%s*template%s*<%s*typename%s*(%S+)%s*>")
local nsp = it.item:match("%b{}"):sub(2,-2)
local stname = it.item:match("struct%s+(%S+)")
if typename then -- it is a struct template
self.typenames = self.typenames or {}
self.typenames[stname] = typename
end
local nspparr,itemsnsp = parseItems(nsp)
for insp,itnsp in ipairs(nspparr) do
if itnsp.re_name == "function_re" or itnsp.re_name == "functionD_re" then
@@ -723,10 +829,11 @@ function M.Parser()
return table.concat(outtab,""),stname,outtab
end
function par:gen_structs_and_enums()
local outtab = {}
local outtab = {}
local outtabpre = {}
local typedefs_table = {}
self.inerstructs = {}
--first typedefs
for i,it in ipairs(itemsarr) do
if it.re_name == "typedef_re" or it.re_name == "functypedef_re" or it.re_name == "vardef_re" then
@@ -745,7 +852,8 @@ function M.Parser()
table.insert(outtab,it.item)
elseif it.re_name == "struct_re" then
local cleanst,structname = self:clean_struct(it.item)
if structname then
--if not void stname or templated
if structname and not self.typenames[structname] then
table.insert(outtab,cleanst)
table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n")
self.typedefs_dict[structname]="struct "..structname
@@ -785,6 +893,9 @@ function M.Parser()
local typen,rest = line:match("%s*([^,]+)%s(%S+[,;])")
--local template_type = typen:match("/%*<(.+)>%*/")
--if template_type then typen = typen:match("(.+)/%*") end
if not typen then -- Lets try Type*name
typen,rest = line:match("([^,]+%*)(%S+[,;])")
end
local template_type
for k,v in pairs(self.templates) do
template_type = typen:match(k.."_(.+)")
@@ -825,7 +936,8 @@ function M.Parser()
end
elseif it.re_name == "struct_re" then
local cleanst,structname,strtab = self:clean_struct(it.item)
if structname then --not empty struc
--if not void stname or templated
if structname and not self.typenames[structname] then
outtab.structs[structname] = {}
for j=3,#strtab-1 do
self:parse_struct_line(strtab[j],outtab.structs[structname])
@@ -949,9 +1061,113 @@ function M.Parser()
table.insert(strt,string.format("%d overloaded",numoverloaded))
AdjustArguments(self)
ADDnonUDT(self)
ADDdestructors(self)
--ADDdestructors(self)
self.overloadstxt = table.concat(strt,"\n")
end
local function typename_gsub(cad,typename,tname)
local str,n = "",0
if tname:match"%*" then
str,n = cad:gsub("(const%s+)("..typename..")", tname.." %1")
end
if n==0 then
str,n = cad:gsub("(const%s+)("..typename..")(%s*%*)", tname.." %1%3")
end
if n==0 then
str,n = cad:gsub("([^_%w])("..typename..")([^_%w])", "%1"..tname.."%3")
end
if n==0 then
str,n = cad:gsub("([^_%w])("..typename..")$", "%1"..tname)
end
if n==0 then
str,n = cad:gsub("^("..typename..")(%s*%*)", tname.."%2")
end
return str
end
function par:compute_templated()
local defsT = self.defsT
local newcdefs = {}
for numcdef,t in ipairs(self.funcdefs) do
if t.cimguiname then
local cimf = defsT[t.cimguiname]
local defT = cimf[t.signature]
if defT.templated then
local templates = self.templates[defT.stname]
local typename = self.typenames[defT.stname]
for tname,tnamestr in pairs(templates) do
--local tnamestr = typetoStr(tname)
local stname = defT.stname .. "_" .. tnamestr
local cimguiname = t.cimguiname:gsub(defT.stname,stname)
local ov_cimguiname = defT.ov_cimguiname:gsub(defT.stname,stname)
local signature = defT.signature:gsub(typename, tname)
local ret
if defT.ret then
--ret = defT.ret:gsub(typename, tname)
ret = typename_gsub(defT.ret, typename, tname)
end
local args = defT.args:gsub(defT.stname,stname)
args = typename_gsub(args, typename, tname)
local argsT = {}
for i,ar in ipairs(defT.argsT) do
argsT[i] = {}
for k,v in pairs(ar) do
if k=="type" then
v = v:gsub(defT.stname,stname)
v = typename_gsub(v, typename, tname)
end
argsT[i][k]=v
end
end
-----------reconstruct args
--if(#argsT==0 and not defT.constructor) then M.prtable(defT) end
--if is const function make self const
if #argsT>0 and signature:match"const$" then
argsT[1].type = "const "..argsT[1].type
end
args = "("
for i=1,#argsT-1 do
local ar = argsT[i]
args = args .. ar.type .. " " ..ar.name .. ","
end
local ar = argsT[#argsT]
if ar then args = args .. ar.type .. " " ..ar.name .. ")"
else args = args .. ")" end
args = args:gsub("&","")
------------------------------
defTnew = {}
defTnew.cimguiname = cimguiname
defTnew.ov_cimguiname = ov_cimguiname
defTnew.signature = signature
defTnew.ret = ret
defTnew.retref = defT.retref
defTnew.templatedgen = true
defTnew.call_args = defT.call_args
defTnew.stname = stname
local funcname = defT.funcname
if funcname == defT.stname then --is constructor
funcname = stname
end
defTnew.funcname = funcname
defTnew.args = args
defTnew.argsT = argsT
defTnew.defaults = {}
--print(cimguiname,ov_cimguiname, signature , ret)
defsT[cimguiname] = defsT[cimguiname] or {}
defsT[cimguiname][#defsT[cimguiname] + 1] = defTnew
defsT[cimguiname][signature] = defTnew
table.insert(newcdefs,{stname=stname,funcname=t.funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =t.ret})
end
end -- templated
end --cimguiname
end
for i,v in ipairs(newcdefs) do
table.insert(self.funcdefs,v)
end
end
return par
end

View File

@@ -10,7 +10,7 @@
:: impl_definitions.lua for implementation function definitions
:: set your PATH if necessary for LuaJIT or Lua5.1 or luajit with: (for example)
:: set PATH=%PATH%;C:\luaGL;C:\mingw32\bin;
set PATH=%PATH%;C:\luaGL;C:\mingw32\bin;
:: set PATH=%PATH%;C:\luaGL;C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin;
:: set PATH=%PATH%;C:\luaGL\sources\luajit-master\luajit-master\bin\mingw32;C:\mingw32\bin;
::process files

View File

@@ -602,7 +602,7 @@ local function func_parser()
and not line:match(functype_re)
then
--if line:match(functype_re) then print("ft",line) end
if stname~="ImVector"
if stname~="ImVectorNO"
--and stname~="GlyphRangesBuilder" and stname~="CustomRect" and stname~="TextRange" and stname~="Pair"
and not line:match("operator") then
@@ -993,7 +993,7 @@ local function gen_structs_and_enums_table(cdefs)
end
if line=="" or line:match("^{") then
break
elseif structnames[#structnames] ~="ImVector" then --avoid ImVector
elseif structnames[#structnames] ~="ImVectorNO" then --avoid ImVector
--local functype_re = "^%s*[%w%s%*]+(%(%*)[%w_]+(%)%([^%(%)]*%))"
local functype_re = "^%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)"
local functype_reex = "^(%s*[%w%s%*]+%(%*)([%w_]+)(%)%([^%(%)]*%))"
@@ -1111,7 +1111,7 @@ local function gen_structs_and_enums(cdefs,templates)
local structbegin = line:match(struct_re)
if structbegin then
structnames[#structnames + 1] = structbegin
if #structnames < 2 and structbegin~= "ImVector" then --not inner and not ImVector
if #structnames < 2 and structbegin~= "ImVectorNO" then --not inner and not ImVector
table.insert(outtab,linecom.."\n")
break
end

View File

@@ -230,12 +230,14 @@ local function func_header_generate(FP)
table.insert(outtab,"#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n")
for _,t in ipairs(FP.funcdefs) do
if t.cimguiname then
local cimf = FP.defsT[t.cimguiname]
local def = cimf[t.signature]
assert(def,t.signature..t.cimguiname)
local manual = FP.get_manuals(def)
if not manual then
if not manual and not def.templated then
local addcoment = def.comment or ""
local empty = def.args:match("^%(%)") --no args
if def.constructor then
@@ -244,6 +246,7 @@ local function func_header_generate(FP)
elseif def.destructor then
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname..def.args..";"..addcoment.."\n")
else --not constructor
if def.stname == "" then --ImGui namespace or top level
table.insert(outtab,"CIMGUI_API "..def.ret.." ".. def.ov_cimguiname ..(empty and "(void)" or def.args)..";"..addcoment.."\n")
else
@@ -260,6 +263,8 @@ local function func_header_generate(FP)
cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line
return cfuncsstr
end
local function ImGui_f_implementation(outtab,def)
local ptret = def.retref and "&" or ""
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..def.ov_cimguiname..def.args.."\n")
@@ -334,7 +339,7 @@ local function func_implementation(FP)
local def = cimf[t.signature]
assert(def)
local manual = FP.get_manuals(def)
if not manual then
if not manual and not def.templated then
if def.constructor then
assert(def.stname ~= "","constructor without struct")
local empty = def.args:match("^%(%)") --no args
@@ -439,11 +444,34 @@ local function generate_templates(code,templates)
end
--generate cimgui.cpp cimgui.h
local function cimgui_generation(parser)
cpp2ffi.prtable(parser.templates)
cpp2ffi.prtable(parser.typenames)
-- clean ImVector:contains() for not applicable types
local clean_f = {}
for k,v in pairs(parser.defsT) do
if k:match"ImVector" and k:match"contains" then
--cpp2ffi.prtable(k,v)
local stname = v[1].stname
if not(stname:match"float" or stname:match"int" or stname:match"char") then
parser.defsT[k] = nil
--delete also from funcdefs
for i,t in ipairs(parser.funcdefs) do
if t.cimguiname == k then
table.remove(parser.funcdefs, i)
break
end
end
end
end
end
--------------------------------------------------
local hstrfile = read_data"./cimgui_template.h"
local outpre,outpost = parser:gen_structs_and_enums()
--parser.templates get completely defined here
--cpp2ffi.prtable(parser.templates)
local outtab = {}
generate_templates(outtab,parser.templates)
local cstructsstr = outpre..table.concat(outtab,"")..outpost
@@ -508,15 +536,20 @@ if not pipe then
error("could not execute gcc "..err)
end
--local file,err = io.open("output_compiler.txt","w")
--if not file then error(err) end
local iterator = (HAVE_COMPILER and cpp2ffi.location) or filelines
for line in iterator(pipe,{"imgui"},{}) do
parser1:insert(line)
--file:write(line)
end
--file:close()
pipe:close()
parser1:do_parse()
--table.sort(parser1.funcdefs, function(a,b) return a.cimguiname < b.cimguiname end)
--parser1:dump_alltypes()
--parser1:printItems()
@@ -530,6 +563,10 @@ save_data("./output/definitions.lua",serializeTableF(parser1.defsT))
----------save struct and enums lua table in structs_and_enums.lua for using in bindings
local structs_and_enums_table = parser1:gen_structs_and_enums_table()
--correct Pair union member
structs_and_enums_table["structs"]["Pair"][2]["name"] = ""
structs_and_enums_table["structs"]["Pair"][2]["type"] = structs_and_enums_table["structs"]["Pair"][2]["type"] .. "}"
-----------------------
save_data("./output/structs_and_enums.lua",serializeTableF(structs_and_enums_table))
save_data("./output/typedefs_dict.lua",serializeTableF(parser1.typedefs_dict))

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,10 @@
typedef struct SDL_Window SDL_Window;
typedef struct GLFWwindow GLFWwindow;
struct GLFWwindow;
struct SDL_Window;
typedef union SDL_Event SDL_Event;
CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks);
typedef union SDL_Event SDL_Event;CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks);
CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks);
CIMGUI_API void ImGui_ImplGlfw_Shutdown();
CIMGUI_API void ImGui_ImplGlfw_NewFrame();

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -15,10 +15,9 @@
"argsoriginal": "(GLFWwindow* window,unsigned int c)",
"call_args": "(window,c)",
"cimguiname": "ImGui_ImplGlfw_CharCallback",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplGlfw_CharCallback",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_CharCallback",
"ret": "void",
"signature": "(GLFWwindow*,unsigned int)",
"stname": ""
@@ -40,10 +39,9 @@
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
"call_args": "(window,install_callbacks)",
"cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplGlfw_InitForOpenGL",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
"ret": "bool",
"signature": "(GLFWwindow*,bool)",
"stname": ""
@@ -65,10 +63,9 @@
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
"call_args": "(window,install_callbacks)",
"cimguiname": "ImGui_ImplGlfw_InitForVulkan",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplGlfw_InitForVulkan",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_InitForVulkan",
"ret": "bool",
"signature": "(GLFWwindow*,bool)",
"stname": ""
@@ -102,10 +99,9 @@
"argsoriginal": "(GLFWwindow* window,int key,int scancode,int action,int mods)",
"call_args": "(window,key,scancode,action,mods)",
"cimguiname": "ImGui_ImplGlfw_KeyCallback",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplGlfw_KeyCallback",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_KeyCallback",
"ret": "void",
"signature": "(GLFWwindow*,int,int,int,int)",
"stname": ""
@@ -135,10 +131,9 @@
"argsoriginal": "(GLFWwindow* window,int button,int action,int mods)",
"call_args": "(window,button,action,mods)",
"cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplGlfw_MouseButtonCallback",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
"ret": "void",
"signature": "(GLFWwindow*,int,int,int)",
"stname": ""
@@ -151,10 +146,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplGlfw_NewFrame",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplGlfw_NewFrame",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_NewFrame",
"ret": "void",
"signature": "()",
"stname": ""
@@ -180,10 +174,9 @@
"argsoriginal": "(GLFWwindow* window,double xoffset,double yoffset)",
"call_args": "(window,xoffset,yoffset)",
"cimguiname": "ImGui_ImplGlfw_ScrollCallback",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplGlfw_ScrollCallback",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_ScrollCallback",
"ret": "void",
"signature": "(GLFWwindow*,double,double)",
"stname": ""
@@ -196,10 +189,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplGlfw_Shutdown",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplGlfw_Shutdown",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_Shutdown",
"ret": "void",
"signature": "()",
"stname": ""
@@ -212,10 +204,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"ret": "bool",
"signature": "()",
"stname": ""
@@ -228,10 +219,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_CreateFontsTexture",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture",
"ret": "bool",
"signature": "()",
"stname": ""
@@ -244,10 +234,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"ret": "void",
"signature": "()",
"stname": ""
@@ -260,10 +249,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
"ret": "void",
"signature": "()",
"stname": ""
@@ -276,10 +264,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL2_Init",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_Init",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_Init",
"ret": "bool",
"signature": "()",
"stname": ""
@@ -292,10 +279,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL2_NewFrame",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_NewFrame",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame",
"ret": "void",
"signature": "()",
"stname": ""
@@ -313,10 +299,9 @@
"argsoriginal": "(ImDrawData* draw_data)",
"call_args": "(draw_data)",
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_RenderDrawData",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
"ret": "void",
"signature": "(ImDrawData*)",
"stname": ""
@@ -329,10 +314,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL2_Shutdown",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_Shutdown",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown",
"ret": "void",
"signature": "()",
"stname": ""
@@ -345,10 +329,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"ret": "bool",
"signature": "()",
"stname": ""
@@ -361,10 +344,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_CreateFontsTexture",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture",
"ret": "bool",
"signature": "()",
"stname": ""
@@ -377,10 +359,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"ret": "void",
"signature": "()",
"stname": ""
@@ -393,10 +374,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
"ret": "void",
"signature": "()",
"stname": ""
@@ -414,12 +394,11 @@
"argsoriginal": "(const char* glsl_version=NULL)",
"call_args": "(glsl_version)",
"cimguiname": "ImGui_ImplOpenGL3_Init",
"comment": "",
"defaults": {
"glsl_version": "NULL"
},
"funcname": "ImGui_ImplOpenGL3_Init",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_Init",
"ret": "bool",
"signature": "(const char*)",
"stname": ""
@@ -432,10 +411,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL3_NewFrame",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_NewFrame",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_NewFrame",
"ret": "void",
"signature": "()",
"stname": ""
@@ -453,10 +431,9 @@
"argsoriginal": "(ImDrawData* draw_data)",
"call_args": "(draw_data)",
"cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_RenderDrawData",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
"ret": "void",
"signature": "(ImDrawData*)",
"stname": ""
@@ -469,10 +446,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplOpenGL3_Shutdown",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_Shutdown",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_Shutdown",
"ret": "void",
"signature": "()",
"stname": ""
@@ -494,10 +470,9 @@
"argsoriginal": "(SDL_Window* window,void* sdl_gl_context)",
"call_args": "(window,sdl_gl_context)",
"cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplSDL2_InitForOpenGL",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
"ret": "bool",
"signature": "(SDL_Window*,void*)",
"stname": ""
@@ -515,10 +490,9 @@
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"cimguiname": "ImGui_ImplSDL2_InitForVulkan",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplSDL2_InitForVulkan",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_InitForVulkan",
"ret": "bool",
"signature": "(SDL_Window*)",
"stname": ""
@@ -536,10 +510,9 @@
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"cimguiname": "ImGui_ImplSDL2_NewFrame",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplSDL2_NewFrame",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_NewFrame",
"ret": "void",
"signature": "(SDL_Window*)",
"stname": ""
@@ -557,10 +530,9 @@
"argsoriginal": "(const SDL_Event* event)",
"call_args": "(event)",
"cimguiname": "ImGui_ImplSDL2_ProcessEvent",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplSDL2_ProcessEvent",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_ProcessEvent",
"ret": "bool",
"signature": "(const SDL_Event*)",
"stname": ""
@@ -573,10 +545,9 @@
"argsoriginal": "()",
"call_args": "()",
"cimguiname": "ImGui_ImplSDL2_Shutdown",
"comment": "",
"defaults": [],
"funcname": "ImGui_ImplSDL2_Shutdown",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_Shutdown",
"ret": "void",
"signature": "()",
"stname": ""

View File

@@ -12,10 +12,9 @@ defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2]["type"] = "unsigned int"
defs["ImGui_ImplGlfw_CharCallback"][1]["argsoriginal"] = "(GLFWwindow* window,unsigned int c)"
defs["ImGui_ImplGlfw_CharCallback"][1]["call_args"] = "(window,c)"
defs["ImGui_ImplGlfw_CharCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_CharCallback"
defs["ImGui_ImplGlfw_CharCallback"][1]["comment"] = ""
defs["ImGui_ImplGlfw_CharCallback"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_CharCallback"][1]["funcname"] = "ImGui_ImplGlfw_CharCallback"
defs["ImGui_ImplGlfw_CharCallback"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_CharCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_CharCallback"
defs["ImGui_ImplGlfw_CharCallback"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_CharCallback"][1]["signature"] = "(GLFWwindow*,unsigned int)"
defs["ImGui_ImplGlfw_CharCallback"][1]["stname"] = ""
@@ -33,10 +32,9 @@ defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2]["type"] = "bool"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["call_args"] = "(window,install_callbacks)"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForOpenGL"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["comment"] = ""
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["funcname"] = "ImGui_ImplGlfw_InitForOpenGL"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InitForOpenGL"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["ret"] = "bool"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["signature"] = "(GLFWwindow*,bool)"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["stname"] = ""
@@ -54,10 +52,9 @@ defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2]["type"] = "bool"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["call_args"] = "(window,install_callbacks)"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForVulkan"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["comment"] = ""
defs["ImGui_ImplGlfw_InitForVulkan"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_InitForVulkan"][1]["funcname"] = "ImGui_ImplGlfw_InitForVulkan"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InitForVulkan"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["ret"] = "bool"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["signature"] = "(GLFWwindow*,bool)"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["stname"] = ""
@@ -84,10 +81,9 @@ defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5]["type"] = "int"
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int key,int scancode,int action,int mods)"
defs["ImGui_ImplGlfw_KeyCallback"][1]["call_args"] = "(window,key,scancode,action,mods)"
defs["ImGui_ImplGlfw_KeyCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_KeyCallback"
defs["ImGui_ImplGlfw_KeyCallback"][1]["comment"] = ""
defs["ImGui_ImplGlfw_KeyCallback"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_KeyCallback"][1]["funcname"] = "ImGui_ImplGlfw_KeyCallback"
defs["ImGui_ImplGlfw_KeyCallback"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_KeyCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_KeyCallback"
defs["ImGui_ImplGlfw_KeyCallback"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_KeyCallback"][1]["signature"] = "(GLFWwindow*,int,int,int,int)"
defs["ImGui_ImplGlfw_KeyCallback"][1]["stname"] = ""
@@ -111,10 +107,9 @@ defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4]["type"] = "int"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int button,int action,int mods)"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["call_args"] = "(window,button,action,mods)"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_MouseButtonCallback"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["comment"] = ""
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["funcname"] = "ImGui_ImplGlfw_MouseButtonCallback"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_MouseButtonCallback"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["signature"] = "(GLFWwindow*,int,int,int)"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["stname"] = ""
@@ -126,10 +121,9 @@ defs["ImGui_ImplGlfw_NewFrame"][1]["argsT"] = {}
defs["ImGui_ImplGlfw_NewFrame"][1]["argsoriginal"] = "()"
defs["ImGui_ImplGlfw_NewFrame"][1]["call_args"] = "()"
defs["ImGui_ImplGlfw_NewFrame"][1]["cimguiname"] = "ImGui_ImplGlfw_NewFrame"
defs["ImGui_ImplGlfw_NewFrame"][1]["comment"] = ""
defs["ImGui_ImplGlfw_NewFrame"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_NewFrame"][1]["funcname"] = "ImGui_ImplGlfw_NewFrame"
defs["ImGui_ImplGlfw_NewFrame"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_NewFrame"
defs["ImGui_ImplGlfw_NewFrame"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_NewFrame"][1]["signature"] = "()"
defs["ImGui_ImplGlfw_NewFrame"][1]["stname"] = ""
@@ -150,10 +144,9 @@ defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3]["type"] = "double"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsoriginal"] = "(GLFWwindow* window,double xoffset,double yoffset)"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["call_args"] = "(window,xoffset,yoffset)"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_ScrollCallback"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["comment"] = ""
defs["ImGui_ImplGlfw_ScrollCallback"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_ScrollCallback"][1]["funcname"] = "ImGui_ImplGlfw_ScrollCallback"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_ScrollCallback"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["signature"] = "(GLFWwindow*,double,double)"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["stname"] = ""
@@ -165,10 +158,9 @@ defs["ImGui_ImplGlfw_Shutdown"][1]["argsT"] = {}
defs["ImGui_ImplGlfw_Shutdown"][1]["argsoriginal"] = "()"
defs["ImGui_ImplGlfw_Shutdown"][1]["call_args"] = "()"
defs["ImGui_ImplGlfw_Shutdown"][1]["cimguiname"] = "ImGui_ImplGlfw_Shutdown"
defs["ImGui_ImplGlfw_Shutdown"][1]["comment"] = ""
defs["ImGui_ImplGlfw_Shutdown"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_Shutdown"][1]["funcname"] = "ImGui_ImplGlfw_Shutdown"
defs["ImGui_ImplGlfw_Shutdown"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_Shutdown"
defs["ImGui_ImplGlfw_Shutdown"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_Shutdown"][1]["signature"] = "()"
defs["ImGui_ImplGlfw_Shutdown"][1]["stname"] = ""
@@ -180,10 +172,9 @@ defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["comment"] = ""
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["stname"] = ""
@@ -195,10 +186,9 @@ defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL2_CreateFontsTexture"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["comment"] = ""
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateFontsTexture"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_CreateFontsTexture"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["stname"] = ""
@@ -210,10 +200,9 @@ defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["comment"] = ""
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["stname"] = ""
@@ -225,10 +214,9 @@ defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["comment"] = ""
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["stname"] = ""
@@ -240,10 +228,9 @@ defs["ImGui_ImplOpenGL2_Init"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL2_Init"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL2_Init"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL2_Init"
defs["ImGui_ImplOpenGL2_Init"][1]["comment"] = ""
defs["ImGui_ImplOpenGL2_Init"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_Init"][1]["funcname"] = "ImGui_ImplOpenGL2_Init"
defs["ImGui_ImplOpenGL2_Init"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_Init"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_Init"
defs["ImGui_ImplOpenGL2_Init"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL2_Init"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL2_Init"][1]["stname"] = ""
@@ -255,10 +242,9 @@ defs["ImGui_ImplOpenGL2_NewFrame"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL2_NewFrame"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["cimguiname"] = "ImGui_ImplOpenGL2_NewFrame"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["comment"] = ""
defs["ImGui_ImplOpenGL2_NewFrame"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL2_NewFrame"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_NewFrame"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["stname"] = ""
@@ -273,10 +259,9 @@ defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1]["type"] = "ImDrawData*"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["call_args"] = "(draw_data)"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["cimguiname"] = "ImGui_ImplOpenGL2_RenderDrawData"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["comment"] = ""
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL2_RenderDrawData"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_RenderDrawData"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["signature"] = "(ImDrawData*)"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["stname"] = ""
@@ -288,10 +273,9 @@ defs["ImGui_ImplOpenGL2_Shutdown"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL2_Shutdown"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["cimguiname"] = "ImGui_ImplOpenGL2_Shutdown"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["comment"] = ""
defs["ImGui_ImplOpenGL2_Shutdown"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL2_Shutdown"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_Shutdown"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["stname"] = ""
@@ -303,10 +287,9 @@ defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["comment"] = ""
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["stname"] = ""
@@ -318,10 +301,9 @@ defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL3_CreateFontsTexture"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["comment"] = ""
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateFontsTexture"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_CreateFontsTexture"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["stname"] = ""
@@ -333,10 +315,9 @@ defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["comment"] = ""
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["stname"] = ""
@@ -348,10 +329,9 @@ defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["comment"] = ""
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["stname"] = ""
@@ -366,11 +346,10 @@ defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["type"] = "const char*"
defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=NULL)"
defs["ImGui_ImplOpenGL3_Init"][1]["call_args"] = "(glsl_version)"
defs["ImGui_ImplOpenGL3_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Init"
defs["ImGui_ImplOpenGL3_Init"][1]["comment"] = ""
defs["ImGui_ImplOpenGL3_Init"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_Init"][1]["defaults"]["glsl_version"] = "NULL"
defs["ImGui_ImplOpenGL3_Init"][1]["funcname"] = "ImGui_ImplOpenGL3_Init"
defs["ImGui_ImplOpenGL3_Init"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_Init"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_Init"
defs["ImGui_ImplOpenGL3_Init"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL3_Init"][1]["signature"] = "(const char*)"
defs["ImGui_ImplOpenGL3_Init"][1]["stname"] = ""
@@ -382,10 +361,9 @@ defs["ImGui_ImplOpenGL3_NewFrame"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL3_NewFrame"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["cimguiname"] = "ImGui_ImplOpenGL3_NewFrame"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["comment"] = ""
defs["ImGui_ImplOpenGL3_NewFrame"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL3_NewFrame"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_NewFrame"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["stname"] = ""
@@ -400,10 +378,9 @@ defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1]["type"] = "ImDrawData*"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["call_args"] = "(draw_data)"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["cimguiname"] = "ImGui_ImplOpenGL3_RenderDrawData"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["comment"] = ""
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL3_RenderDrawData"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_RenderDrawData"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["signature"] = "(ImDrawData*)"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["stname"] = ""
@@ -415,10 +392,9 @@ defs["ImGui_ImplOpenGL3_Shutdown"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL3_Shutdown"][1]["argsoriginal"] = "()"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Shutdown"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["comment"] = ""
defs["ImGui_ImplOpenGL3_Shutdown"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL3_Shutdown"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_Shutdown"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["signature"] = "()"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["stname"] = ""
@@ -436,10 +412,9 @@ defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2]["type"] = "void*"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsoriginal"] = "(SDL_Window* window,void* sdl_gl_context)"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["call_args"] = "(window,sdl_gl_context)"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForOpenGL"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["comment"] = ""
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["funcname"] = "ImGui_ImplSDL2_InitForOpenGL"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForOpenGL"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["ret"] = "bool"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["signature"] = "(SDL_Window*,void*)"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["stname"] = ""
@@ -454,10 +429,9 @@ defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1]["type"] = "SDL_Window*"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsoriginal"] = "(SDL_Window* window)"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["call_args"] = "(window)"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForVulkan"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["comment"] = ""
defs["ImGui_ImplSDL2_InitForVulkan"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_InitForVulkan"][1]["funcname"] = "ImGui_ImplSDL2_InitForVulkan"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForVulkan"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["ret"] = "bool"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["signature"] = "(SDL_Window*)"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["stname"] = ""
@@ -472,10 +446,9 @@ defs["ImGui_ImplSDL2_NewFrame"][1]["argsT"][1]["type"] = "SDL_Window*"
defs["ImGui_ImplSDL2_NewFrame"][1]["argsoriginal"] = "(SDL_Window* window)"
defs["ImGui_ImplSDL2_NewFrame"][1]["call_args"] = "(window)"
defs["ImGui_ImplSDL2_NewFrame"][1]["cimguiname"] = "ImGui_ImplSDL2_NewFrame"
defs["ImGui_ImplSDL2_NewFrame"][1]["comment"] = ""
defs["ImGui_ImplSDL2_NewFrame"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_NewFrame"][1]["funcname"] = "ImGui_ImplSDL2_NewFrame"
defs["ImGui_ImplSDL2_NewFrame"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_NewFrame"
defs["ImGui_ImplSDL2_NewFrame"][1]["ret"] = "void"
defs["ImGui_ImplSDL2_NewFrame"][1]["signature"] = "(SDL_Window*)"
defs["ImGui_ImplSDL2_NewFrame"][1]["stname"] = ""
@@ -490,10 +463,9 @@ defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1]["type"] = "const SDL_Event*"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsoriginal"] = "(const SDL_Event* event)"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["call_args"] = "(event)"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["cimguiname"] = "ImGui_ImplSDL2_ProcessEvent"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["comment"] = ""
defs["ImGui_ImplSDL2_ProcessEvent"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_ProcessEvent"][1]["funcname"] = "ImGui_ImplSDL2_ProcessEvent"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_ProcessEvent"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["ret"] = "bool"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["signature"] = "(const SDL_Event*)"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["stname"] = ""
@@ -505,10 +477,9 @@ defs["ImGui_ImplSDL2_Shutdown"][1]["argsT"] = {}
defs["ImGui_ImplSDL2_Shutdown"][1]["argsoriginal"] = "()"
defs["ImGui_ImplSDL2_Shutdown"][1]["call_args"] = "()"
defs["ImGui_ImplSDL2_Shutdown"][1]["cimguiname"] = "ImGui_ImplSDL2_Shutdown"
defs["ImGui_ImplSDL2_Shutdown"][1]["comment"] = ""
defs["ImGui_ImplSDL2_Shutdown"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_Shutdown"][1]["funcname"] = "ImGui_ImplSDL2_Shutdown"
defs["ImGui_ImplSDL2_Shutdown"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_Shutdown"
defs["ImGui_ImplSDL2_Shutdown"][1]["ret"] = "void"
defs["ImGui_ImplSDL2_Shutdown"][1]["signature"] = "()"
defs["ImGui_ImplSDL2_Shutdown"][1]["stname"] = ""

View File

@@ -1,8 +1,7 @@
----------------overloadings---------------------------
igCombo 3
1 bool igCombo (const char*,int*,const char* const[],int,int)
2 bool igComboStr (const char*,int*,const char*,int)
3 bool igComboFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
ImVector_resize 2
1 void ImVector_resize (int)
2 void ImVector_resizeT (int,const T)
ImVec4_ImVec4 2
1 nil ImVec4_ImVec4 ()
2 nil ImVec4_ImVec4Float (float,float,float,float)
@@ -11,64 +10,31 @@ igValue 4
2 void igValueInt (const char*,int)
3 void igValueUint (const char*,unsigned int)
4 void igValueFloat (const char*,float,const char*)
igPushStyleVar 2
1 void igPushStyleVarFloat (ImGuiStyleVar,float)
2 void igPushStyleVarVec2 (ImGuiStyleVar,const ImVec2)
igIsRectVisible 2
1 bool igIsRectVisible (const ImVec2)
2 bool igIsRectVisibleVec2 (const ImVec2,const ImVec2)
igRadioButton 2
1 bool igRadioButtonBool (const char*,bool)
2 bool igRadioButtonIntPtr (const char*,int*,int)
igSetWindowSize 2
1 void igSetWindowSizeVec2 (const ImVec2,ImGuiCond)
2 void igSetWindowSizeStr (const char*,const ImVec2,ImGuiCond)
igSetWindowFocus 2
1 void igSetWindowFocus ()
2 void igSetWindowFocusStr (const char*)
igSetWindowCollapsed 2
1 void igSetWindowCollapsedBool (bool,ImGuiCond)
2 void igSetWindowCollapsedStr (const char*,bool,ImGuiCond)
igPlotLines 2
1 void igPlotLines (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
2 void igPlotLinesFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
ImVec2_ImVec2 2
1 nil ImVec2_ImVec2 ()
2 nil ImVec2_ImVec2Float (float,float)
ImVector_back 2
1 T* ImVector_back ()
2 const T* ImVector_back_const ()const
igPlotHistogram 2
1 void igPlotHistogramFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
2 void igPlotHistogramFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
igTreeNodeExV 2
1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list)
2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list)
igPushStyleColor 2
1 void igPushStyleColorU32 (ImGuiCol,ImU32)
2 void igPushStyleColor (ImGuiCol,const ImVec4)
igGetID 3
1 ImGuiID igGetIDStr (const char*)
2 ImGuiID igGetIDRange (const char*,const char*)
3 ImGuiID igGetIDPtr (const void*)
TextRange_TextRange 2
1 nil TextRange_TextRange ()
2 nil TextRange_TextRangeStr (const char*,const char*)
igListBoxHeader 2
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
2 bool igListBoxHeaderInt (const char*,int,int)
igSetWindowPos 2
1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond)
2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond)
igBeginChild 2
1 bool igBeginChild (const char*,const ImVec2,bool,ImGuiWindowFlags)
2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags)
igTreePush 2
1 void igTreePushStr (const char*)
2 void igTreePushPtr (const void*)
ImDrawList_AddText 2
1 void ImDrawList_AddText (const ImVec2,ImU32,const char*,const char*)
2 void ImDrawList_AddTextFontPtr (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)
igSelectable 2
1 bool igSelectable (const char*,bool,ImGuiSelectableFlags,const ImVec2)
2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
igListBox 2
1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int)
2 bool igListBoxFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
igPushID 4
1 void igPushIDStr (const char*)
2 void igPushIDRange (const char*,const char*)
@@ -78,9 +44,70 @@ Pair_Pair 3
1 nil Pair_PairInt (ImGuiID,int)
2 nil Pair_PairFloat (ImGuiID,float)
3 nil Pair_PairPtr (ImGuiID,void*)
igSetWindowPos 2
1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond)
2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond)
TextRange_TextRange 2
1 nil TextRange_TextRange ()
2 nil TextRange_TextRangeStr (const char*,const char*)
igGetColorU32 3
1 ImU32 igGetColorU32 (ImGuiCol,float)
2 ImU32 igGetColorU32Vec4 (const ImVec4)
3 ImU32 igGetColorU32U32 (ImU32)
igTreeNode 3
1 bool igTreeNodeStr (const char*)
2 bool igTreeNodeStrStr (const char*,const char*,...)
3 bool igTreeNodePtr (const void*,const char*,...)
igCombo 3
1 bool igCombo (const char*,int*,const char* const[],int,int)
2 bool igComboStr (const char*,int*,const char*,int)
3 bool igComboFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
ImVector_erase 2
1 T* ImVector_erase (const T*)
2 T* ImVector_eraseTPtr (const T*,const T*)
ImDrawList_AddText 2
1 void ImDrawList_AddText (const ImVec2,ImU32,const char*,const char*)
2 void ImDrawList_AddTextFontPtr (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)
igPushStyleVar 2
1 void igPushStyleVarFloat (ImGuiStyleVar,float)
2 void igPushStyleVarVec2 (ImGuiStyleVar,const ImVec2)
igSetWindowFocus 2
1 void igSetWindowFocus ()
2 void igSetWindowFocusStr (const char*)
ImVector_end 2
1 T* ImVector_end ()
2 const T* ImVector_end_const ()const
igSetWindowSize 2
1 void igSetWindowSizeVec2 (const ImVec2,ImGuiCond)
2 void igSetWindowSizeStr (const char*,const ImVec2,ImGuiCond)
ImVector_ImVector 2
1 nil ImVector_ImVector ()
2 nil ImVector_ImVectorVector (const ImVector)
igSetWindowCollapsed 2
1 void igSetWindowCollapsedBool (bool,ImGuiCond)
2 void igSetWindowCollapsedStr (const char*,bool,ImGuiCond)
igPlotLines 2
1 void igPlotLines (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
2 void igPlotLinesFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
igPushStyleColor 2
1 void igPushStyleColorU32 (ImGuiCol,ImU32)
2 void igPushStyleColor (ImGuiCol,const ImVec4)
igTreeNodeExV 2
1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list)
2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list)
igListBox 2
1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int)
2 bool igListBoxFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
igTreePush 2
1 void igTreePushStr (const char*)
2 void igTreePushPtr (const void*)
igListBoxHeader 2
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
2 bool igListBoxHeaderInt (const char*,int,int)
igTreeNodeEx 3
1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags)
2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...)
3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...)
ImVector_front 2
1 T* ImVector_front ()
2 const T* ImVector_front_const ()const
ImColor_ImColor 5
1 nil ImColor_ImColor ()
2 nil ImColor_ImColorInt (int,int,int,int)
@@ -90,22 +117,16 @@ ImColor_ImColor 5
igCollapsingHeader 2
1 bool igCollapsingHeader (const char*,ImGuiTreeNodeFlags)
2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags)
ImVector_begin 2
1 T* ImVector_begin ()
2 const T* ImVector_begin_const ()const
igSelectable 2
1 bool igSelectable (const char*,bool,ImGuiSelectableFlags,const ImVec2)
2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
igMenuItem 2
1 bool igMenuItemBool (const char*,const char*,bool,bool)
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
igTreeNodeEx 3
1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags)
2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...)
3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...)
igGetColorU32 3
1 ImU32 igGetColorU32 (ImGuiCol,float)
2 ImU32 igGetColorU32Vec4 (const ImVec4)
3 ImU32 igGetColorU32U32 (ImU32)
igTreeNode 3
1 bool igTreeNodeStr (const char*)
2 bool igTreeNodeStrStr (const char*,const char*,...)
3 bool igTreeNodePtr (const void*,const char*,...)
igTreeNodeV 2
1 bool igTreeNodeVStr (const char*,const char*,va_list)
2 bool igTreeNodeVPtr (const void*,const char*,va_list)
77 overloaded
91 overloaded

View File

@@ -62,6 +62,11 @@
"calc_value": 2,
"name": "ImDrawListFlags_AntiAliasedFill",
"value": "1 << 1"
},
{
"calc_value": 4,
"name": "ImDrawListFlags_AllowVtxOffset",
"value": "1 << 2"
}
],
"ImFontAtlasFlags_": [
@@ -101,6 +106,11 @@
"calc_value": 4,
"name": "ImGuiBackendFlags_HasSetMousePos",
"value": "1 << 2"
},
{
"calc_value": 8,
"name": "ImGuiBackendFlags_RendererHasVtxOffset",
"value": "1 << 3"
}
],
"ImGuiCol_": [
@@ -271,58 +281,83 @@
},
{
"calc_value": 33,
"name": "ImGuiCol_PlotLines",
"name": "ImGuiCol_Tab",
"value": 33
},
{
"calc_value": 34,
"name": "ImGuiCol_PlotLinesHovered",
"name": "ImGuiCol_TabHovered",
"value": 34
},
{
"calc_value": 35,
"name": "ImGuiCol_PlotHistogram",
"name": "ImGuiCol_TabActive",
"value": 35
},
{
"calc_value": 36,
"name": "ImGuiCol_PlotHistogramHovered",
"name": "ImGuiCol_TabUnfocused",
"value": 36
},
{
"calc_value": 37,
"name": "ImGuiCol_TextSelectedBg",
"name": "ImGuiCol_TabUnfocusedActive",
"value": 37
},
{
"calc_value": 38,
"name": "ImGuiCol_DragDropTarget",
"name": "ImGuiCol_PlotLines",
"value": 38
},
{
"calc_value": 39,
"name": "ImGuiCol_NavHighlight",
"name": "ImGuiCol_PlotLinesHovered",
"value": 39
},
{
"calc_value": 40,
"name": "ImGuiCol_NavWindowingHighlight",
"name": "ImGuiCol_PlotHistogram",
"value": 40
},
{
"calc_value": 41,
"name": "ImGuiCol_NavWindowingDimBg",
"name": "ImGuiCol_PlotHistogramHovered",
"value": 41
},
{
"calc_value": 42,
"name": "ImGuiCol_ModalWindowDimBg",
"name": "ImGuiCol_TextSelectedBg",
"value": 42
},
{
"calc_value": 43,
"name": "ImGuiCol_COUNT",
"name": "ImGuiCol_DragDropTarget",
"value": 43
},
{
"calc_value": 44,
"name": "ImGuiCol_NavHighlight",
"value": 44
},
{
"calc_value": 45,
"name": "ImGuiCol_NavWindowingHighlight",
"value": 45
},
{
"calc_value": 46,
"name": "ImGuiCol_NavWindowingDimBg",
"value": 46
},
{
"calc_value": 47,
"name": "ImGuiCol_ModalWindowDimBg",
"value": 47
},
{
"calc_value": 48,
"name": "ImGuiCol_COUNT",
"value": 48
}
],
"ImGuiColorEditFlags_": [
@@ -398,17 +433,17 @@
},
{
"calc_value": 1048576,
"name": "ImGuiColorEditFlags_RGB",
"name": "ImGuiColorEditFlags_DisplayRGB",
"value": "1 << 20"
},
{
"calc_value": 2097152,
"name": "ImGuiColorEditFlags_HSV",
"name": "ImGuiColorEditFlags_DisplayHSV",
"value": "1 << 21"
},
{
"calc_value": 4194304,
"name": "ImGuiColorEditFlags_HEX",
"name": "ImGuiColorEditFlags_DisplayHex",
"value": "1 << 22"
},
{
@@ -431,10 +466,25 @@
"name": "ImGuiColorEditFlags_PickerHueWheel",
"value": "1 << 26"
},
{
"calc_value": 134217728,
"name": "ImGuiColorEditFlags_InputRGB",
"value": "1 << 27"
},
{
"calc_value": 268435456,
"name": "ImGuiColorEditFlags_InputHSV",
"value": "1 << 28"
},
{
"calc_value": 177209344,
"name": "ImGuiColorEditFlags__OptionsDefault",
"value": "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_DisplayRGB|ImGuiColorEditFlags_InputRGB|ImGuiColorEditFlags_PickerHueBar"
},
{
"calc_value": 7340032,
"name": "ImGuiColorEditFlags__InputsMask",
"value": "ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX"
"name": "ImGuiColorEditFlags__DisplayMask",
"value": "ImGuiColorEditFlags_DisplayRGB|ImGuiColorEditFlags_DisplayHSV|ImGuiColorEditFlags_DisplayHex"
},
{
"calc_value": 25165824,
@@ -447,9 +497,9 @@
"value": "ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"
},
{
"calc_value": 42991616,
"name": "ImGuiColorEditFlags__OptionsDefault",
"value": "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar"
"calc_value": 402653184,
"name": "ImGuiColorEditFlags__InputMask",
"value": "ImGuiColorEditFlags_InputRGB|ImGuiColorEditFlags_InputHSV"
}
],
"ImGuiComboFlags_": [
@@ -571,38 +621,58 @@
"ImGuiDataType_": [
{
"calc_value": 0,
"name": "ImGuiDataType_S32",
"name": "ImGuiDataType_S8",
"value": 0
},
{
"calc_value": 1,
"name": "ImGuiDataType_U32",
"name": "ImGuiDataType_U8",
"value": 1
},
{
"calc_value": 2,
"name": "ImGuiDataType_S64",
"name": "ImGuiDataType_S16",
"value": 2
},
{
"calc_value": 3,
"name": "ImGuiDataType_U64",
"name": "ImGuiDataType_U16",
"value": 3
},
{
"calc_value": 4,
"name": "ImGuiDataType_Float",
"name": "ImGuiDataType_S32",
"value": 4
},
{
"calc_value": 5,
"name": "ImGuiDataType_Double",
"name": "ImGuiDataType_U32",
"value": 5
},
{
"calc_value": 6,
"name": "ImGuiDataType_COUNT",
"name": "ImGuiDataType_S64",
"value": 6
},
{
"calc_value": 7,
"name": "ImGuiDataType_U64",
"value": 7
},
{
"calc_value": 8,
"name": "ImGuiDataType_Float",
"value": 8
},
{
"calc_value": 9,
"name": "ImGuiDataType_Double",
"value": 9
},
{
"calc_value": 10,
"name": "ImGuiDataType_COUNT",
"value": 10
}
],
"ImGuiDir_": [
@@ -878,6 +948,11 @@
"calc_value": 1048576,
"name": "ImGuiInputTextFlags_Multiline",
"value": "1 << 20"
},
{
"calc_value": 2097152,
"name": "ImGuiInputTextFlags_NoMarkEdited",
"value": "1 << 21"
}
],
"ImGuiKey_": [
@@ -1132,29 +1207,34 @@
},
{
"calc_value": 17,
"name": "ImGuiNavInput_KeyLeft_",
"name": "ImGuiNavInput_KeyTab_",
"value": 17
},
{
"calc_value": 18,
"name": "ImGuiNavInput_KeyRight_",
"name": "ImGuiNavInput_KeyLeft_",
"value": 18
},
{
"calc_value": 19,
"name": "ImGuiNavInput_KeyUp_",
"name": "ImGuiNavInput_KeyRight_",
"value": 19
},
{
"calc_value": 20,
"name": "ImGuiNavInput_KeyDown_",
"name": "ImGuiNavInput_KeyUp_",
"value": 20
},
{
"calc_value": 21,
"name": "ImGuiNavInput_COUNT",
"name": "ImGuiNavInput_KeyDown_",
"value": 21
},
{
"calc_value": 22,
"name": "ImGuiNavInput_COUNT",
"value": 22
},
{
"calc_value": 16,
"name": "ImGuiNavInput_InternalStart_",
@@ -1291,13 +1371,107 @@
},
{
"calc_value": 20,
"name": "ImGuiStyleVar_ButtonTextAlign",
"name": "ImGuiStyleVar_TabRounding",
"value": 20
},
{
"calc_value": 21,
"name": "ImGuiStyleVar_COUNT",
"name": "ImGuiStyleVar_ButtonTextAlign",
"value": 21
},
{
"calc_value": 22,
"name": "ImGuiStyleVar_SelectableTextAlign",
"value": 22
},
{
"calc_value": 23,
"name": "ImGuiStyleVar_COUNT",
"value": 23
}
],
"ImGuiTabBarFlags_": [
{
"calc_value": 0,
"name": "ImGuiTabBarFlags_None",
"value": "0"
},
{
"calc_value": 1,
"name": "ImGuiTabBarFlags_Reorderable",
"value": "1 << 0"
},
{
"calc_value": 2,
"name": "ImGuiTabBarFlags_AutoSelectNewTabs",
"value": "1 << 1"
},
{
"calc_value": 4,
"name": "ImGuiTabBarFlags_TabListPopupButton",
"value": "1 << 2"
},
{
"calc_value": 8,
"name": "ImGuiTabBarFlags_NoCloseWithMiddleMouseButton",
"value": "1 << 3"
},
{
"calc_value": 16,
"name": "ImGuiTabBarFlags_NoTabListScrollingButtons",
"value": "1 << 4"
},
{
"calc_value": 32,
"name": "ImGuiTabBarFlags_NoTooltip",
"value": "1 << 5"
},
{
"calc_value": 64,
"name": "ImGuiTabBarFlags_FittingPolicyResizeDown",
"value": "1 << 6"
},
{
"calc_value": 128,
"name": "ImGuiTabBarFlags_FittingPolicyScroll",
"value": "1 << 7"
},
{
"calc_value": 192,
"name": "ImGuiTabBarFlags_FittingPolicyMask_",
"value": "ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll"
},
{
"calc_value": 64,
"name": "ImGuiTabBarFlags_FittingPolicyDefault_",
"value": "ImGuiTabBarFlags_FittingPolicyResizeDown"
}
],
"ImGuiTabItemFlags_": [
{
"calc_value": 0,
"name": "ImGuiTabItemFlags_None",
"value": "0"
},
{
"calc_value": 1,
"name": "ImGuiTabItemFlags_UnsavedDocument",
"value": "1 << 0"
},
{
"calc_value": 2,
"name": "ImGuiTabItemFlags_SetSelected",
"value": "1 << 1"
},
{
"calc_value": 4,
"name": "ImGuiTabItemFlags_NoCloseWithMiddleMouseButton",
"value": "1 << 2"
},
{
"calc_value": 8,
"name": "ImGuiTabItemFlags_NoPushId",
"value": "1 << 3"
}
],
"ImGuiTreeNodeFlags_": [
@@ -1473,6 +1647,11 @@
"name": "ImGuiWindowFlags_NoNavFocus",
"value": "1 << 19"
},
{
"calc_value": 1048576,
"name": "ImGuiWindowFlags_UnsavedDocument",
"value": "1 << 20"
},
{
"calc_value": 786432,
"name": "ImGuiWindowFlags_NoNav",
@@ -1555,13 +1734,6 @@
"type": "ImFont*"
}
],
"GlyphRangesBuilder": [
{
"name": "UsedChars",
"template_type": "unsigned char",
"type": "ImVector_unsigned_char"
}
],
"ImColor": [
{
"name": "Value",
@@ -1570,12 +1742,12 @@
],
"ImDrawChannel": [
{
"name": "CmdBuffer",
"name": "_CmdBuffer",
"template_type": "ImDrawCmd",
"type": "ImVector_ImDrawCmd"
},
{
"name": "IdxBuffer",
"name": "_IdxBuffer",
"template_type": "ImDrawIdx",
"type": "ImVector_ImDrawIdx"
}
@@ -1593,6 +1765,14 @@
"name": "TextureId",
"type": "ImTextureID"
},
{
"name": "VtxOffset",
"type": "unsigned int"
},
{
"name": "IdxOffset",
"type": "unsigned int"
},
{
"name": "UserCallback",
"type": "ImDrawCallback"
@@ -1630,6 +1810,10 @@
{
"name": "DisplaySize",
"type": "ImVec2"
},
{
"name": "FramebufferScale",
"type": "ImVec2"
}
],
"ImDrawList": [
@@ -1660,6 +1844,10 @@
"name": "_OwnerName",
"type": "const char*"
},
{
"name": "_VtxCurrentOffset",
"type": "unsigned int"
},
{
"name": "_VtxCurrentIdx",
"type": "unsigned int"
@@ -1688,11 +1876,17 @@
"type": "ImVector_ImVec2"
},
{
"name": "_ChannelsCurrent",
"name": "_Splitter",
"type": "ImDrawListSplitter"
}
],
"ImDrawListSplitter": [
{
"name": "_Current",
"type": "int"
},
{
"name": "_ChannelsCount",
"name": "_Count",
"type": "int"
},
{
@@ -1716,56 +1910,56 @@
}
],
"ImFont": [
{
"name": "FontSize",
"type": "float"
},
{
"name": "Scale",
"type": "float"
},
{
"name": "DisplayOffset",
"type": "ImVec2"
},
{
"name": "Glyphs",
"template_type": "ImFontGlyph",
"type": "ImVector_ImFontGlyph"
},
{
"name": "IndexAdvanceX",
"template_type": "float",
"type": "ImVector_float"
},
{
"name": "FallbackAdvanceX",
"type": "float"
},
{
"name": "FontSize",
"type": "float"
},
{
"name": "IndexLookup",
"template_type": "ImWchar",
"type": "ImVector_ImWchar"
},
{
"name": "Glyphs",
"template_type": "ImFontGlyph",
"type": "ImVector_ImFontGlyph"
},
{
"name": "FallbackGlyph",
"type": "const ImFontGlyph*"
},
{
"name": "FallbackAdvanceX",
"type": "float"
"name": "DisplayOffset",
"type": "ImVec2"
},
{
"name": "FallbackChar",
"type": "ImWchar"
"name": "ContainerAtlas",
"type": "ImFontAtlas*"
},
{
"name": "ConfigData",
"type": "const ImFontConfig*"
},
{
"name": "ConfigDataCount",
"type": "short"
},
{
"name": "ConfigData",
"type": "ImFontConfig*"
"name": "FallbackChar",
"type": "ImWchar"
},
{
"name": "ContainerAtlas",
"type": "ImFontAtlas*"
"name": "Scale",
"type": "float"
},
{
"name": "Ascent",
@@ -1775,13 +1969,13 @@
"name": "Descent",
"type": "float"
},
{
"name": "DirtyLookupTables",
"type": "bool"
},
{
"name": "MetricsTotalSurface",
"type": "int"
},
{
"name": "DirtyLookupTables",
"type": "bool"
}
],
"ImFontAtlas": [
@@ -1967,6 +2161,13 @@
"type": "float"
}
],
"ImFontGlyphRangesBuilder": [
{
"name": "UsedChars",
"template_type": "ImU32",
"type": "ImVector_ImU32"
}
],
"ImGuiIO": [
{
"name": "ConfigFlags",
@@ -2045,14 +2246,6 @@
"name": "DisplayFramebufferScale",
"type": "ImVec2"
},
{
"name": "DisplayVisibleMin",
"type": "ImVec2"
},
{
"name": "DisplayVisibleMax",
"type": "ImVec2"
},
{
"name": "MouseDrawCursor",
"type": "bool"
@@ -2066,7 +2259,11 @@
"type": "bool"
},
{
"name": "ConfigResizeWindowsFromEdges",
"name": "ConfigWindowsResizeFromEdges",
"type": "bool"
},
{
"name": "ConfigWindowsMoveFromTitleBarOnly",
"type": "bool"
},
{
@@ -2077,6 +2274,18 @@
"name": "BackendRendererName",
"type": "const char*"
},
{
"name": "BackendPlatformUserData",
"type": "void*"
},
{
"name": "BackendRendererUserData",
"type": "void*"
},
{
"name": "BackendLanguageUserData",
"type": "void*"
},
{
"name": "GetClipboardTextFn",
"type": "const char*(*)(void* user_data)"
@@ -2139,14 +2348,9 @@
"size": 512,
"type": "bool"
},
{
"name": "InputCharacters[16+1]",
"size": 17,
"type": "ImWchar"
},
{
"name": "NavInputs[ImGuiNavInput_COUNT]",
"size": 21,
"size": 22,
"type": "float"
},
{
@@ -2239,6 +2443,11 @@
"size": 5,
"type": "bool"
},
{
"name": "MouseDownWasDoubleClick[5]",
"size": 5,
"type": "bool"
},
{
"name": "MouseDownDuration[5]",
"size": 5,
@@ -2271,13 +2480,18 @@
},
{
"name": "NavInputsDownDuration[ImGuiNavInput_COUNT]",
"size": 21,
"size": 22,
"type": "float"
},
{
"name": "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]",
"size": 21,
"size": 22,
"type": "float"
},
{
"name": "InputQueueCharacters",
"template_type": "ImWchar",
"type": "ImVector_ImWchar"
}
],
"ImGuiInputTextCallbackData": [
@@ -2447,6 +2661,10 @@
"name": "WindowTitleAlign",
"type": "ImVec2"
},
{
"name": "WindowMenuButtonPosition",
"type": "ImGuiDir"
},
{
"name": "ChildRounding",
"type": "float"
@@ -2511,10 +2729,22 @@
"name": "GrabRounding",
"type": "float"
},
{
"name": "TabRounding",
"type": "float"
},
{
"name": "TabBorderSize",
"type": "float"
},
{
"name": "ButtonTextAlign",
"type": "ImVec2"
},
{
"name": "SelectableTextAlign",
"type": "ImVec2"
},
{
"name": "DisplayWindowPadding",
"type": "ImVec2"
@@ -2541,7 +2771,7 @@
},
{
"name": "Colors[ImGuiCol_COUNT]",
"size": 43,
"size": 48,
"type": "ImVec4"
}
],
@@ -2596,15 +2826,14 @@
"type": "float"
}
],
"ImVector": [],
"Pair": [
{
"name": "key",
"type": "ImGuiID"
},
{
"name": "}",
"type": "union { int val_i; float val_f; void* val_p;"
"name": "",
"type": "union { int val_i; float val_f; void* val_p;}"
}
],
"TextRange": [

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,5 @@
{
"CustomRect": "struct CustomRect",
"GlyphRangesBuilder": "struct GlyphRangesBuilder",
"ImColor": "struct ImColor",
"ImDrawCallback": "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);",
"ImDrawChannel": "struct ImDrawChannel",
@@ -11,12 +10,14 @@
"ImDrawList": "struct ImDrawList",
"ImDrawListFlags": "int",
"ImDrawListSharedData": "struct ImDrawListSharedData",
"ImDrawListSplitter": "struct ImDrawListSplitter",
"ImDrawVert": "struct ImDrawVert",
"ImFont": "struct ImFont",
"ImFontAtlas": "struct ImFontAtlas",
"ImFontAtlasFlags": "int",
"ImFontConfig": "struct ImFontConfig",
"ImFontGlyph": "struct ImFontGlyph",
"ImFontGlyphRangesBuilder": "struct ImFontGlyphRangesBuilder",
"ImGuiBackendFlags": "int",
"ImGuiCol": "int",
"ImGuiColorEditFlags": "int",
@@ -47,15 +48,21 @@
"ImGuiStorage": "struct ImGuiStorage",
"ImGuiStyle": "struct ImGuiStyle",
"ImGuiStyleVar": "int",
"ImGuiTabBarFlags": "int",
"ImGuiTabItemFlags": "int",
"ImGuiTextBuffer": "struct ImGuiTextBuffer",
"ImGuiTextFilter": "struct ImGuiTextFilter",
"ImGuiTreeNodeFlags": "int",
"ImGuiWindowFlags": "int",
"ImS16": "signed short",
"ImS32": "signed int",
"ImS64": "int64_t",
"ImS8": "signed char",
"ImTextureID": "void*",
"ImU16": "unsigned short",
"ImU32": "unsigned int",
"ImU64": "uint64_t",
"ImU8": "unsigned char",
"ImVec2": "struct ImVec2",
"ImVec4": "struct ImVec4",
"ImWchar": "unsigned short",

View File

@@ -1,6 +1,5 @@
local defs = {}
defs["CustomRect"] = "struct CustomRect"
defs["GlyphRangesBuilder"] = "struct GlyphRangesBuilder"
defs["ImColor"] = "struct ImColor"
defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);"
defs["ImDrawChannel"] = "struct ImDrawChannel"
@@ -11,12 +10,14 @@ defs["ImDrawIdx"] = "unsigned short"
defs["ImDrawList"] = "struct ImDrawList"
defs["ImDrawListFlags"] = "int"
defs["ImDrawListSharedData"] = "struct ImDrawListSharedData"
defs["ImDrawListSplitter"] = "struct ImDrawListSplitter"
defs["ImDrawVert"] = "struct ImDrawVert"
defs["ImFont"] = "struct ImFont"
defs["ImFontAtlas"] = "struct ImFontAtlas"
defs["ImFontAtlasFlags"] = "int"
defs["ImFontConfig"] = "struct ImFontConfig"
defs["ImFontGlyph"] = "struct ImFontGlyph"
defs["ImFontGlyphRangesBuilder"] = "struct ImFontGlyphRangesBuilder"
defs["ImGuiBackendFlags"] = "int"
defs["ImGuiCol"] = "int"
defs["ImGuiColorEditFlags"] = "int"
@@ -47,15 +48,21 @@ defs["ImGuiSizeCallbackData"] = "struct ImGuiSizeCallbackData"
defs["ImGuiStorage"] = "struct ImGuiStorage"
defs["ImGuiStyle"] = "struct ImGuiStyle"
defs["ImGuiStyleVar"] = "int"
defs["ImGuiTabBarFlags"] = "int"
defs["ImGuiTabItemFlags"] = "int"
defs["ImGuiTextBuffer"] = "struct ImGuiTextBuffer"
defs["ImGuiTextFilter"] = "struct ImGuiTextFilter"
defs["ImGuiTreeNodeFlags"] = "int"
defs["ImGuiWindowFlags"] = "int"
defs["ImS16"] = "signed short"
defs["ImS32"] = "signed int"
defs["ImS64"] = "int64_t"
defs["ImS8"] = "signed char"
defs["ImTextureID"] = "void*"
defs["ImU16"] = "unsigned short"
defs["ImU32"] = "unsigned int"
defs["ImU64"] = "uint64_t"
defs["ImU8"] = "unsigned char"
defs["ImVec2"] = "struct ImVec2"
defs["ImVec4"] = "struct ImVec4"
defs["ImWchar"] = "unsigned short"

2
imgui

Submodule imgui updated: 801645d350...2da1c66d15

View File

@@ -1,6 +1,6 @@
set PATH=%PATH%;C:\mingw32\bin;
::set PATH=%PATH%;C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin;
:: set PATH=%PATH%;C:\mingw32\bin;
set PATH=%PATH%;C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin;
::gcc -std=c99 -DCIMGUI_DEFINE_ENUMS_AND_STRUCTS cimgui.h
::gcc -DCIMGUI_DEFINE_ENUMS_AND_STRUCTS cimgui.h
gcc -DCIMGUI_DEFINE_ENUMS_AND_STRUCTS cimguitest.c
gcc -std=c99 -Wall -Wpedantic -DCIMGUI_DEFINE_ENUMS_AND_STRUCTS cimguitest.c
cmd /k

View File

@@ -1,5 +1,6 @@
#include "../cimgui.h"
void main(void)
int main(void)
{
return 0;
}