mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 20:08:31 +01:00
Compare commits
101 Commits
v1.62.0-be
...
v1.65.5
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1789ec81fe | ||
![]() |
aca412fe7a | ||
![]() |
7a54d1276d | ||
![]() |
97113ef7ad | ||
![]() |
2a4dcaf2a2 | ||
![]() |
5a9a20d139 | ||
![]() |
7ee838ae2d | ||
![]() |
3091435042 | ||
![]() |
804acdcecd | ||
![]() |
51f02dca4d | ||
![]() |
84a9656889 | ||
![]() |
553df3da32 | ||
![]() |
04d4a19beb | ||
![]() |
3b9c53b2a2 | ||
![]() |
6f9e3db1d1 | ||
![]() |
d3eb876266 | ||
![]() |
3efb1001aa | ||
![]() |
a91c611bca | ||
![]() |
5b7abe8b4d | ||
![]() |
812af400f1 | ||
![]() |
2d3cf59b21 | ||
![]() |
e7eb9c511b | ||
![]() |
2759a8ed4d | ||
![]() |
073f438467 | ||
![]() |
f7856b27b0 | ||
![]() |
99c7d7cfdf | ||
![]() |
31871f9975 | ||
![]() |
c487b0266e | ||
![]() |
3b386799e4 | ||
![]() |
52a693a96c | ||
![]() |
a0cb8aff23 | ||
![]() |
d704b33196 | ||
![]() |
9738a5816e | ||
![]() |
327e3236ae | ||
![]() |
259dc4afc8 | ||
![]() |
54118273ff | ||
![]() |
e8ac6079b5 | ||
![]() |
a2c1665e31 | ||
![]() |
bba07596a6 | ||
![]() |
e99f8dc918 | ||
![]() |
6ceba86ff6 | ||
![]() |
2023d29fc9 | ||
![]() |
552a5f5cf2 | ||
![]() |
f1b55d57e5 | ||
![]() |
d7e8b142d0 | ||
![]() |
9ae5a207f6 | ||
![]() |
9846ee640f | ||
![]() |
1bf9256998 | ||
![]() |
c8ff56e0b0 | ||
![]() |
1c88ef9c37 | ||
![]() |
cf82b3a356 | ||
![]() |
56d6cbfd38 | ||
![]() |
d863cbe3b4 | ||
![]() |
4a0e927c23 | ||
![]() |
3d232c5369 | ||
![]() |
e721909a97 | ||
![]() |
15c711e4f4 | ||
![]() |
96f24d52a5 | ||
![]() |
f0dd5bc5f8 | ||
![]() |
c06facb80a | ||
![]() |
9e6f792b74 | ||
![]() |
f323beede6 | ||
![]() |
8508f7b0ff | ||
![]() |
23b51b499a | ||
![]() |
60b7ab90ff | ||
![]() |
69ac20dd7c | ||
![]() |
44d1d8c190 | ||
![]() |
006fc575fa | ||
![]() |
c0a30cff81 | ||
![]() |
cd98bfd9b4 | ||
![]() |
5f9a7b58bf | ||
![]() |
1bb1d061be | ||
![]() |
6bce915abb | ||
![]() |
a0eab2686f | ||
![]() |
d45f3594ce | ||
![]() |
7afdf07cbb | ||
![]() |
d47cbcb44a | ||
![]() |
fc01fa6486 | ||
![]() |
b5150cc1ac | ||
![]() |
07d6c6897a | ||
![]() |
444b30c2cb | ||
![]() |
a190ec10f4 | ||
![]() |
f4a4369392 | ||
![]() |
395ab5108e | ||
![]() |
af67beb082 | ||
![]() |
4b1ae5a6c5 | ||
![]() |
1a5752271c | ||
![]() |
960c4daa70 | ||
![]() |
031bfe5dcc | ||
![]() |
963e5fcf82 | ||
![]() |
edf209e09e | ||
![]() |
ac4a2f13c0 | ||
![]() |
1c61237dbf | ||
![]() |
726816cb6a | ||
![]() |
ed4e178a85 | ||
![]() |
70eb52f582 | ||
![]() |
9694c710b7 | ||
![]() |
ce4ac9dfcf | ||
![]() |
7f688bf409 | ||
![]() |
423fc1c532 | ||
![]() |
1a5e261a8e |
@@ -8,5 +8,4 @@ compiler:
|
||||
- clang
|
||||
|
||||
script:
|
||||
- make -C cimgui
|
||||
- $CC cimgui.h # Make sure we can include in a plain C compiler
|
||||
make
|
||||
|
30
CMakeLists.txt
Normal file
30
CMakeLists.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
Project(cimgui)
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
#general settings
|
||||
include_directories(imgui)
|
||||
add_definitions("-DIMGUI_DISABLE_OBSOLETE_FUNCTIONS=1")
|
||||
|
||||
include_directories(.)
|
||||
set(IMGUI_SOURCES ./cimgui.cpp ./imgui/imgui.cpp ./imgui/imgui_draw.cpp ./imgui/imgui_demo.cpp ./imgui/imgui_widgets.cpp)
|
||||
|
||||
set(IMGUI_LIBRARIES )
|
||||
|
||||
if (WIN32)
|
||||
add_definitions("-DIMGUI_IMPL_API=extern \"C\" __declspec\(dllexport\)")
|
||||
else(WIN32)
|
||||
add_definitions("-DIMGUI_IMPL_API=extern \"C\" ")
|
||||
endif(WIN32)
|
||||
|
||||
|
||||
#add library and link
|
||||
add_library(cimgui SHARED ${IMGUI_SOURCES})
|
||||
target_link_libraries(cimgui ${IMGUI_LIBRARIES})
|
||||
set_target_properties(cimgui PROPERTIES PREFIX "")
|
||||
|
||||
#install
|
||||
install(TARGETS cimgui
|
||||
RUNTIME DESTINATION .
|
||||
LIBRARY DESTINATION .
|
||||
#ARCHIVE DESTINATION lib
|
||||
)
|
19
Makefile
19
Makefile
@@ -1,11 +1,14 @@
|
||||
#
|
||||
# Cross Platform Makefile
|
||||
# Compatible with Ubuntu 14.04.1 and Mac OS X
|
||||
# Compatible with Ubuntu 14.04.1 and macOS
|
||||
|
||||
OBJS = cimgui.o
|
||||
OBJS += ../imgui/imgui.o
|
||||
OBJS += ../imgui/imgui_draw.o
|
||||
OBJS += ../imgui/imgui_demo.o
|
||||
OBJS += ./imgui/imgui.o
|
||||
OBJS += ./imgui/imgui_draw.o
|
||||
OBJS += ./imgui/imgui_demo.o
|
||||
OBJS += ./imgui/imgui_widgets.o
|
||||
|
||||
CXXFLAGS=-O2
|
||||
|
||||
UNAME_S := $(shell uname -s)
|
||||
|
||||
@@ -13,17 +16,17 @@ ifeq ($(UNAME_S), Linux) #LINUX
|
||||
ECHO_MESSAGE = "Linux"
|
||||
|
||||
OUTPUTNAME = cimgui.so
|
||||
CXXFLAGS = -I../../
|
||||
CXXFLAGS += -I./imgui/
|
||||
CXXFLAGS += -Wall
|
||||
CXXFLAGS += -shared -fPIC
|
||||
CFLAGS = $(CXXFLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(UNAME_S), Darwin) #APPLE
|
||||
ECHO_MESSAGE = "Mac OS X"
|
||||
ECHO_MESSAGE = "macOS"
|
||||
|
||||
OUTPUTNAME = cimgui.dylib
|
||||
CXXFLAGS = -I/usr/local/include
|
||||
CXXFLAGS += -I/usr/local/include
|
||||
CXXFLAGS += -Wall
|
||||
LINKFLAGS = -dynamiclib
|
||||
CFLAGS = $(CXXFLAGS)
|
||||
@@ -33,7 +36,7 @@ ifeq ($(OS), Windows_NT)
|
||||
ECHO_MESSAGE = "Windows"
|
||||
|
||||
OUTPUTNAME = cimgui.dll
|
||||
CXXFLAGS = -I../../
|
||||
CXXFLAGS += -I./imgui/
|
||||
CXXFLAGS += -Wall
|
||||
CXXFLAGS += -shared
|
||||
LINKFLAGS = -limm32
|
||||
|
74
README.md
74
README.md
@@ -1,36 +1,78 @@
|
||||
# cimgui [](https://travis-ci.org/Extrawurst/cimgui)
|
||||
# cimgui [](https://travis-ci.org/sonoro1234/cimgui)
|
||||
|
||||

|
||||
|
||||
This is a thin c-api wrapper programmatically generated for the excellent C++ intermediate gui [imgui](https://github.com/ocornut/imgui).
|
||||
All functions are programmatically wrapped except contructors, destructors and ImVector.(Unless someone find a use case for them)
|
||||
Generated files are: cimgui.cpp, cimgui.h for C compilation. Also for helping in bindings creation, definitions.lua with function definitions information and structs_and_enums.lua.
|
||||
This library is intended as a intermediate layer to be able to use imgui from other languages that can interface with C (like D - see [D-binding](https://github.com/Extrawurst/DerelictImgui))
|
||||
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 constructors, destructors and `ImVector`. (Unless someone find a use case for them)
|
||||
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))
|
||||
|
||||
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.62 of imgui](https://github.com/ocornut/imgui/tree/v1.62)
|
||||
* 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/sonoro1234/cimgui/blob/cimgui_auto_implementations/generator/generator.lua#L40). Until the comunity finish with defining this table tag will be 1.62beta. Current overloaded function names can be found in (https://github.com/sonoro1234/cimgui/tree/cimgui_auto_implementations/generator/generated/overloads.txt)
|
||||
* currently this wrapper is based on version [1.65 of Dear ImGui]
|
||||
* 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#L40). Current overloaded function names can be found in (https://github.com/cimgui/cimgui/blob/master/generator/output/overloads.txt)
|
||||
|
||||
# auto binding generation
|
||||
# compilation
|
||||
|
||||
* update imgui folder to the version you desire.
|
||||
* run imgui/generator/generator.bat (or make a .sh version and please PR) with gcc and Lua on your PATH.
|
||||
* build as shown in https://github.com/sonoro1234/LuaJIT-ImGui/tree/master_auto_implementations/build
|
||||
* generate binding as done in https://github.com/sonoro1234/LuaJIT-ImGui/blob/master_auto_implementations/lua/build.bat
|
||||
* clone
|
||||
* git clone --recursive https://github.com/cimgui/cimgui.git
|
||||
* git submodule update
|
||||
* compile
|
||||
* using makefile on linux/macOS/mingw (Or use CMake to generate project)
|
||||
* or as in https://github.com/sonoro1234/LuaJIT-ImGui/tree/master_auto_implementations/build
|
||||
|
||||
# using generator
|
||||
|
||||
* 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.
|
||||
* 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
|
||||
* with your prefered language you can use the lua or json files generated as in:
|
||||
* https://github.com/sonoro1234/LuaJIT-ImGui/blob/master_auto_implementations/lua/build.bat (with lua code generation in https://github.com/sonoro1234/LuaJIT-ImGui/blob/master_auto_implementations/lua/class_gen.lua)
|
||||
* https://github.com/mellinoe/ImGui.NET/tree/autogen/src/CodeGenerator
|
||||
### 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)
|
||||
* 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)
|
||||
* call_args : a string with the argument names separated by commas
|
||||
* args : the same as above but with types
|
||||
* ret : the return type
|
||||
* argsT : an array of collections (each one with type: argument type and name: the argument name)
|
||||
* defaults : a collection in which key is argument name and value is the default value.
|
||||
* manual : will be true if this function is hand-written (not generated)
|
||||
* 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:
|
||||
* under key enums we get the enums collection in which each key is the enum tagname and the value is an array of the ordered values represented as a collection with keys
|
||||
* name : the name of this enum value
|
||||
* value : the C string
|
||||
* calc_value : the numeric value corresponding to value
|
||||
* under key structs we get the structs collection in which the key is the struct name and the value is an array of the struct members. Each one given as a collection with keys
|
||||
* type : the type of the struct member
|
||||
* template_type : if type has a template argument (as ImVector) here will be
|
||||
* name : the name of the struct member
|
||||
# usage
|
||||
|
||||
* clone
|
||||
* make using makefile on linux/osx
|
||||
* use whatever method is in ImGui c++ namespace in the original [imgui.h](https://github.com/ocornut/imgui/blob/master/imgui.h) by prepending `ig`
|
||||
* methods have the same parameter list and return values (where possible)
|
||||
* functions that belong to a struct have an extra first argument with a pointer to the struct.
|
||||
* where a function returns UDT (user defined type) by value some compilers complain so another function with the name `function_name_nonUDT` is generated accepting a pointer to the UDT type as the first argument. (or second argument if it is a struct function)
|
||||
* also is generated `function_name_nonUDT2` which instead of returning the UDT type returns a simple version (without functions) called `UDTType_Simple` (`ImVec2_Simple` for `ImVec2`)
|
||||
|
||||
# example bindings based on cimgui
|
||||
|
||||
* [DerelictImgui](https://github.com/Extrawurst/DerelictImgui)
|
||||
* [ImGui.NET](https://github.com/mellinoe/ImGui.NET)
|
||||
* [ImGuiCS](https://github.com/0x0ade/ImGuiCS)
|
||||
* [ImGuiCS](https://github.com/conatuscreative/ImGuiCS)
|
||||
* [imgui-rs](https://github.com/Gekkio/imgui-rs)
|
||||
* [imgui-pas](https://github.com/dpethes/imgui-pas)
|
||||
* [odin-dear_imgui](https://github.com/ThisDrunkDane/odin-dear_imgui)
|
||||
* [odin-imgui](https://github.com/ThisDrunkDane/odin-imgui)
|
||||
* [LuaJIT-imgui](https://github.com/sonoro1234/LuaJIT-ImGui)
|
||||
|
@@ -1,9 +1,34 @@
|
||||
|
||||
#include "../imgui/imgui.h"
|
||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||
//based on imgui.h file version "1.65" from Dear ImGui https://github.com/ocornut/imgui
|
||||
#include "./imgui/imgui.h"
|
||||
#include "cimgui.h"
|
||||
|
||||
#include "../imgui/imgui_internal.h"
|
||||
#include "./imgui/imgui_internal.h"
|
||||
|
||||
CIMGUI_API ImVec2* ImVec2_ImVec2(void)
|
||||
{
|
||||
return IM_NEW(ImVec2)();
|
||||
}
|
||||
CIMGUI_API void ImVec2_destroy(ImVec2* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImVec2* ImVec2_ImVec2Float(float _x,float _y)
|
||||
{
|
||||
return IM_NEW(ImVec2)(_x,_y);
|
||||
}
|
||||
CIMGUI_API ImVec4* ImVec4_ImVec4(void)
|
||||
{
|
||||
return IM_NEW(ImVec4)();
|
||||
}
|
||||
CIMGUI_API void ImVec4_destroy(ImVec4* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImVec4* ImVec4_ImVec4Float(float _x,float _y,float _z,float _w)
|
||||
{
|
||||
return IM_NEW(ImVec4)(_x,_y,_z,_w);
|
||||
}
|
||||
CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas)
|
||||
{
|
||||
return ImGui::CreateContext(shared_font_atlas);
|
||||
@@ -476,7 +501,7 @@ CIMGUI_API ImGuiID igGetIDStr(const char* str_id)
|
||||
{
|
||||
return ImGui::GetID(str_id);
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end)
|
||||
CIMGUI_API ImGuiID igGetIDRange(const char* str_id_begin,const char* str_id_end)
|
||||
{
|
||||
return ImGui::GetID(str_id_begin,str_id_end);
|
||||
}
|
||||
@@ -594,22 +619,6 @@ CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button)
|
||||
{
|
||||
return ImGui::RadioButton(label,v,v_button);
|
||||
}
|
||||
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
|
||||
{
|
||||
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
|
||||
}
|
||||
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
|
||||
{
|
||||
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
|
||||
}
|
||||
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
|
||||
{
|
||||
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
|
||||
}
|
||||
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
|
||||
{
|
||||
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
|
||||
}
|
||||
CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay)
|
||||
{
|
||||
return ImGui::ProgressBar(fraction,size_arg,overlay);
|
||||
@@ -686,58 +695,6 @@ CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,
|
||||
{
|
||||
return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power);
|
||||
}
|
||||
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)
|
||||
{
|
||||
return ImGui::InputText(label,buf,buf_size,flags,callback,user_data);
|
||||
}
|
||||
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)
|
||||
{
|
||||
return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat2(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat3(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat4(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt(label,v,step,step_fast,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt2(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt3(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt4(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power)
|
||||
{
|
||||
return ImGui::SliderFloat(label,v,v_min,v_max,format,power);
|
||||
@@ -794,6 +751,58 @@ CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataTyp
|
||||
{
|
||||
return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power);
|
||||
}
|
||||
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
|
||||
{
|
||||
return ImGui::InputText(label,buf,buf_size,flags,callback,user_data);
|
||||
}
|
||||
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
|
||||
{
|
||||
return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat2(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat3(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat4(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt(label,v,step,step_fast,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt2(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt3(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt4(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags)
|
||||
{
|
||||
return ImGui::ColorEdit3(label,col,flags);
|
||||
@@ -826,15 +835,17 @@ CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::TreeNodeV(str_id,fmt,args);
|
||||
bool ret = ImGui::TreeNodeV(str_id,fmt,args);
|
||||
va_end(args);
|
||||
return ret;
|
||||
}
|
||||
CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::TreeNodeV(ptr_id,fmt,args);
|
||||
bool ret = ImGui::TreeNodeV(ptr_id,fmt,args);
|
||||
va_end(args);
|
||||
return ret;
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args)
|
||||
{
|
||||
@@ -852,15 +863,17 @@ CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,c
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::TreeNodeExV(str_id,flags,fmt,args);
|
||||
bool ret = ImGui::TreeNodeExV(str_id,flags,fmt,args);
|
||||
va_end(args);
|
||||
return ret;
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::TreeNodeExV(ptr_id,flags,fmt,args);
|
||||
bool ret = ImGui::TreeNodeExV(ptr_id,flags,fmt,args);
|
||||
va_end(args);
|
||||
return ret;
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)
|
||||
{
|
||||
@@ -930,6 +943,22 @@ CIMGUI_API void igListBoxFooter()
|
||||
{
|
||||
return ImGui::ListBoxFooter();
|
||||
}
|
||||
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
|
||||
{
|
||||
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
|
||||
}
|
||||
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
|
||||
{
|
||||
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
|
||||
}
|
||||
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
|
||||
{
|
||||
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
|
||||
}
|
||||
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
|
||||
{
|
||||
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
|
||||
}
|
||||
CIMGUI_API void igValueBool(const char* prefix,bool b)
|
||||
{
|
||||
return ImGui::Value(prefix,b);
|
||||
@@ -946,25 +975,6 @@ CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format
|
||||
{
|
||||
return ImGui::Value(prefix,v,float_format);
|
||||
}
|
||||
CIMGUI_API void igBeginTooltip()
|
||||
{
|
||||
return ImGui::BeginTooltip();
|
||||
}
|
||||
CIMGUI_API void igEndTooltip()
|
||||
{
|
||||
return ImGui::EndTooltip();
|
||||
}
|
||||
CIMGUI_API void igSetTooltip(const char* fmt,...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::SetTooltipV(fmt,args);
|
||||
va_end(args);
|
||||
}
|
||||
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
|
||||
{
|
||||
return ImGui::SetTooltipV(fmt,args);
|
||||
}
|
||||
CIMGUI_API bool igBeginMainMenuBar()
|
||||
{
|
||||
return ImGui::BeginMainMenuBar();
|
||||
@@ -997,6 +1007,25 @@ CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p
|
||||
{
|
||||
return ImGui::MenuItem(label,shortcut,p_selected,enabled);
|
||||
}
|
||||
CIMGUI_API void igBeginTooltip()
|
||||
{
|
||||
return ImGui::BeginTooltip();
|
||||
}
|
||||
CIMGUI_API void igEndTooltip()
|
||||
{
|
||||
return ImGui::EndTooltip();
|
||||
}
|
||||
CIMGUI_API void igSetTooltip(const char* fmt,...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::SetTooltipV(fmt,args);
|
||||
va_end(args);
|
||||
}
|
||||
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
|
||||
{
|
||||
return ImGui::SetTooltipV(fmt,args);
|
||||
}
|
||||
CIMGUI_API void igOpenPopup(const char* str_id)
|
||||
{
|
||||
return ImGui::OpenPopup(str_id);
|
||||
@@ -1149,13 +1178,17 @@ CIMGUI_API bool igIsItemVisible()
|
||||
{
|
||||
return ImGui::IsItemVisible();
|
||||
}
|
||||
CIMGUI_API bool igIsItemEdited()
|
||||
{
|
||||
return ImGui::IsItemEdited();
|
||||
}
|
||||
CIMGUI_API bool igIsItemDeactivated()
|
||||
{
|
||||
return ImGui::IsItemDeactivated();
|
||||
}
|
||||
CIMGUI_API bool igIsItemDeactivatedAfterChange()
|
||||
CIMGUI_API bool igIsItemDeactivatedAfterEdit()
|
||||
{
|
||||
return ImGui::IsItemDeactivatedAfterChange();
|
||||
return ImGui::IsItemDeactivatedAfterEdit();
|
||||
}
|
||||
CIMGUI_API bool igIsAnyItemHovered()
|
||||
{
|
||||
@@ -1193,7 +1226,7 @@ CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max)
|
||||
{
|
||||
return ImGui::IsRectVisible(rect_min,rect_max);
|
||||
}
|
||||
CIMGUI_API float igGetTime()
|
||||
CIMGUI_API double igGetTime()
|
||||
{
|
||||
return ImGui::GetTime();
|
||||
}
|
||||
@@ -1245,14 +1278,6 @@ CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in)
|
||||
{
|
||||
return ImGui::ColorConvertFloat4ToU32(in);
|
||||
}
|
||||
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v)
|
||||
{
|
||||
return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v);
|
||||
}
|
||||
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b)
|
||||
{
|
||||
return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b);
|
||||
}
|
||||
CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key)
|
||||
{
|
||||
return ImGui::GetKeyIndex(imgui_key);
|
||||
@@ -1373,6 +1398,14 @@ CIMGUI_API void igMemFree(void* ptr)
|
||||
{
|
||||
return ImGui::MemFree(ptr);
|
||||
}
|
||||
CIMGUI_API ImGuiStyle* ImGuiStyle_ImGuiStyle(void)
|
||||
{
|
||||
return IM_NEW(ImGuiStyle)();
|
||||
}
|
||||
CIMGUI_API void ImGuiStyle_destroy(ImGuiStyle* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor)
|
||||
{
|
||||
return self->ScaleAllSizes(scale_factor);
|
||||
@@ -1385,37 +1418,29 @@ CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_ch
|
||||
{
|
||||
return self->AddInputCharactersUTF8(utf8_chars);
|
||||
}
|
||||
CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self)
|
||||
CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self)
|
||||
{
|
||||
return self->ClearInputCharacters();
|
||||
}
|
||||
CIMGUI_API const char* TextRange_begin(TextRange* self)
|
||||
CIMGUI_API ImGuiIO* ImGuiIO_ImGuiIO(void)
|
||||
{
|
||||
return self->begin();
|
||||
return IM_NEW(ImGuiIO)();
|
||||
}
|
||||
CIMGUI_API const char* TextRange_end(TextRange* self)
|
||||
CIMGUI_API void ImGuiIO_destroy(ImGuiIO* self)
|
||||
{
|
||||
return self->end();
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API bool TextRange_empty(TextRange* self)
|
||||
CIMGUI_API ImGuiOnceUponAFrame* ImGuiOnceUponAFrame_ImGuiOnceUponAFrame(void)
|
||||
{
|
||||
return self->empty();
|
||||
return IM_NEW(ImGuiOnceUponAFrame)();
|
||||
}
|
||||
CIMGUI_API char TextRange_front(TextRange* self)
|
||||
CIMGUI_API void ImGuiOnceUponAFrame_destroy(ImGuiOnceUponAFrame* self)
|
||||
{
|
||||
return self->front();
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API bool TextRange_is_blank(TextRange* self,char c)
|
||||
CIMGUI_API ImGuiTextFilter* ImGuiTextFilter_ImGuiTextFilter(const char* default_filter)
|
||||
{
|
||||
return self->is_blank(c);
|
||||
}
|
||||
CIMGUI_API void TextRange_trim_blanks(TextRange* self)
|
||||
{
|
||||
return self->trim_blanks();
|
||||
}
|
||||
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out)
|
||||
{
|
||||
return self->split(separator,out);
|
||||
return IM_NEW(ImGuiTextFilter)(default_filter);
|
||||
}
|
||||
CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width)
|
||||
{
|
||||
@@ -1437,6 +1462,42 @@ CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self)
|
||||
{
|
||||
return self->IsActive();
|
||||
}
|
||||
CIMGUI_API TextRange* TextRange_TextRange(void)
|
||||
{
|
||||
return IM_NEW(TextRange)();
|
||||
}
|
||||
CIMGUI_API void TextRange_destroy(TextRange* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API TextRange* TextRange_TextRangeStr(const char* _b,const char* _e)
|
||||
{
|
||||
return IM_NEW(TextRange)(_b,_e);
|
||||
}
|
||||
CIMGUI_API const char* TextRange_begin(TextRange* self)
|
||||
{
|
||||
return self->begin();
|
||||
}
|
||||
CIMGUI_API const char* TextRange_end(TextRange* self)
|
||||
{
|
||||
return self->end();
|
||||
}
|
||||
CIMGUI_API bool TextRange_empty(TextRange* self)
|
||||
{
|
||||
return self->empty();
|
||||
}
|
||||
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out)
|
||||
{
|
||||
return self->split(separator,out);
|
||||
}
|
||||
CIMGUI_API ImGuiTextBuffer* ImGuiTextBuffer_ImGuiTextBuffer(void)
|
||||
{
|
||||
return IM_NEW(ImGuiTextBuffer)();
|
||||
}
|
||||
CIMGUI_API void ImGuiTextBuffer_destroy(ImGuiTextBuffer* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self)
|
||||
{
|
||||
return self->begin();
|
||||
@@ -1469,6 +1530,18 @@ CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,v
|
||||
{
|
||||
return self->appendfv(fmt,args);
|
||||
}
|
||||
CIMGUI_API Pair* Pair_PairInt(ImGuiID _key,int _val_i)
|
||||
{
|
||||
return IM_NEW(Pair)(_key,_val_i);
|
||||
}
|
||||
CIMGUI_API Pair* Pair_PairFloat(ImGuiID _key,float _val_f)
|
||||
{
|
||||
return IM_NEW(Pair)(_key,_val_f);
|
||||
}
|
||||
CIMGUI_API Pair* Pair_PairPtr(ImGuiID _key,void* _val_p)
|
||||
{
|
||||
return IM_NEW(Pair)(_key,_val_p);
|
||||
}
|
||||
CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self)
|
||||
{
|
||||
return self->Clear();
|
||||
@@ -1529,18 +1602,34 @@ CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self)
|
||||
{
|
||||
return self->BuildSortByKey();
|
||||
}
|
||||
CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count)
|
||||
CIMGUI_API ImGuiInputTextCallbackData* ImGuiInputTextCallbackData_ImGuiInputTextCallbackData(void)
|
||||
{
|
||||
return IM_NEW(ImGuiInputTextCallbackData)();
|
||||
}
|
||||
CIMGUI_API void ImGuiInputTextCallbackData_destroy(ImGuiInputTextCallbackData* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count)
|
||||
{
|
||||
return self->DeleteChars(pos,bytes_count);
|
||||
}
|
||||
CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end)
|
||||
CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end)
|
||||
{
|
||||
return self->InsertChars(pos,text,text_end);
|
||||
}
|
||||
CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self)
|
||||
CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self)
|
||||
{
|
||||
return self->HasSelection();
|
||||
}
|
||||
CIMGUI_API ImGuiPayload* ImGuiPayload_ImGuiPayload(void)
|
||||
{
|
||||
return IM_NEW(ImGuiPayload)();
|
||||
}
|
||||
CIMGUI_API void ImGuiPayload_destroy(ImGuiPayload* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self)
|
||||
{
|
||||
return self->Clear();
|
||||
@@ -1557,7 +1646,31 @@ CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self)
|
||||
{
|
||||
return self->IsDelivery();
|
||||
}
|
||||
CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a)
|
||||
CIMGUI_API ImColor* ImColor_ImColor(void)
|
||||
{
|
||||
return IM_NEW(ImColor)();
|
||||
}
|
||||
CIMGUI_API void ImColor_destroy(ImColor* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImColor* ImColor_ImColorInt(int r,int g,int b,int a)
|
||||
{
|
||||
return IM_NEW(ImColor)(r,g,b,a);
|
||||
}
|
||||
CIMGUI_API ImColor* ImColor_ImColorU32(ImU32 rgba)
|
||||
{
|
||||
return IM_NEW(ImColor)(rgba);
|
||||
}
|
||||
CIMGUI_API ImColor* ImColor_ImColorFloat(float r,float g,float b,float a)
|
||||
{
|
||||
return IM_NEW(ImColor)(r,g,b,a);
|
||||
}
|
||||
CIMGUI_API ImColor* ImColor_ImColorVec4(const ImVec4 col)
|
||||
{
|
||||
return IM_NEW(ImColor)(col);
|
||||
}
|
||||
CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a)
|
||||
{
|
||||
return self->SetHSV(h,s,v,a);
|
||||
}
|
||||
@@ -1565,6 +1678,10 @@ CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a)
|
||||
{
|
||||
return self->HSV(h,s,v,a);
|
||||
}
|
||||
CIMGUI_API ImGuiListClipper* ImGuiListClipper_ImGuiListClipper(int items_count,float items_height)
|
||||
{
|
||||
return IM_NEW(ImGuiListClipper)(items_count,items_height);
|
||||
}
|
||||
CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self)
|
||||
{
|
||||
return self->Step();
|
||||
@@ -1577,6 +1694,18 @@ CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self)
|
||||
{
|
||||
return self->End();
|
||||
}
|
||||
CIMGUI_API ImDrawCmd* ImDrawCmd_ImDrawCmd(void)
|
||||
{
|
||||
return IM_NEW(ImDrawCmd)();
|
||||
}
|
||||
CIMGUI_API void ImDrawCmd_destroy(ImDrawCmd* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImDrawList* ImDrawList_ImDrawList(const ImDrawListSharedData* shared_data)
|
||||
{
|
||||
return IM_NEW(ImDrawList)(shared_data);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)
|
||||
{
|
||||
return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect);
|
||||
@@ -1597,11 +1726,11 @@ CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self)
|
||||
{
|
||||
return self->PopTextureID();
|
||||
}
|
||||
CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self)
|
||||
CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self)
|
||||
{
|
||||
return self->GetClipRectMin();
|
||||
}
|
||||
CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self)
|
||||
CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self)
|
||||
{
|
||||
return self->GetClipRectMax();
|
||||
}
|
||||
@@ -1677,23 +1806,23 @@ CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,con
|
||||
{
|
||||
return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self)
|
||||
CIMGUI_API void ImDrawList_PathClear(ImDrawList* self)
|
||||
{
|
||||
return self->PathClear();
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos)
|
||||
CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos)
|
||||
{
|
||||
return self->PathLineTo(pos);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos)
|
||||
CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos)
|
||||
{
|
||||
return self->PathLineToMergeDuplicate(pos);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col)
|
||||
CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col)
|
||||
{
|
||||
return self->PathFillConvex(col);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness)
|
||||
CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness)
|
||||
{
|
||||
return self->PathStroke(col,closed,thickness);
|
||||
}
|
||||
@@ -1761,15 +1890,15 @@ CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVe
|
||||
{
|
||||
return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)
|
||||
CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)
|
||||
{
|
||||
return self->PrimWriteVtx(pos,uv,col);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx)
|
||||
CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx)
|
||||
{
|
||||
return self->PrimWriteIdx(idx);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)
|
||||
CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)
|
||||
{
|
||||
return self->PrimVtx(pos,uv,col);
|
||||
}
|
||||
@@ -1781,6 +1910,14 @@ CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self)
|
||||
{
|
||||
return self->UpdateTextureID();
|
||||
}
|
||||
CIMGUI_API ImDrawData* ImDrawData_ImDrawData(void)
|
||||
{
|
||||
return IM_NEW(ImDrawData)();
|
||||
}
|
||||
CIMGUI_API void ImDrawData_destroy(ImDrawData* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImDrawData_Clear(ImDrawData* self)
|
||||
{
|
||||
return self->Clear();
|
||||
@@ -1793,6 +1930,22 @@ CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc)
|
||||
{
|
||||
return self->ScaleClipRects(sc);
|
||||
}
|
||||
CIMGUI_API ImFontConfig* ImFontConfig_ImFontConfig(void)
|
||||
{
|
||||
return IM_NEW(ImFontConfig)();
|
||||
}
|
||||
CIMGUI_API void ImFontConfig_destroy(ImFontConfig* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImFontAtlas* ImFontAtlas_ImFontAtlas(void)
|
||||
{
|
||||
return IM_NEW(ImFontAtlas)();
|
||||
}
|
||||
CIMGUI_API void ImFontAtlas_destroy(ImFontAtlas* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg)
|
||||
{
|
||||
return self->AddFont(font_cfg);
|
||||
@@ -1881,6 +2034,14 @@ CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self)
|
||||
{
|
||||
return self->GetGlyphRangesThai();
|
||||
}
|
||||
CIMGUI_API GlyphRangesBuilder* GlyphRangesBuilder_GlyphRangesBuilder(void)
|
||||
{
|
||||
return IM_NEW(GlyphRangesBuilder)();
|
||||
}
|
||||
CIMGUI_API void GlyphRangesBuilder_destroy(GlyphRangesBuilder* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n)
|
||||
{
|
||||
return self->GetBit(n);
|
||||
@@ -1905,6 +2066,14 @@ CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector
|
||||
{
|
||||
return self->BuildRanges(out_ranges);
|
||||
}
|
||||
CIMGUI_API CustomRect* CustomRect_CustomRect(void)
|
||||
{
|
||||
return IM_NEW(CustomRect)();
|
||||
}
|
||||
CIMGUI_API void CustomRect_destroy(CustomRect* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API bool CustomRect_IsPacked(CustomRect* self)
|
||||
{
|
||||
return self->IsPacked();
|
||||
@@ -1929,6 +2098,14 @@ CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCu
|
||||
{
|
||||
return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill);
|
||||
}
|
||||
CIMGUI_API ImFont* ImFont_ImFont(void)
|
||||
{
|
||||
return IM_NEW(ImFont)();
|
||||
}
|
||||
CIMGUI_API void ImFont_destroy(ImFont* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImFont_ClearOutputData(ImFont* self)
|
||||
{
|
||||
return self->ClearOutputData();
|
||||
@@ -1989,6 +2166,227 @@ CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool ov
|
||||
{
|
||||
return self->AddRemapChar(dst,src,overwrite_dst);
|
||||
}
|
||||
CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowPos();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetWindowPos();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowSize();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetWindowSize();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetContentRegionMax();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetContentRegionMax();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetContentRegionAvail();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetContentRegionAvail();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowContentRegionMin();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetWindowContentRegionMin();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowContentRegionMax();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetWindowContentRegionMax();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetFontTexUvWhitePixel();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetFontTexUvWhitePixel();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorPos();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetCursorPos();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorStartPos();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetCursorStartPos();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorScreenPos();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetCursorScreenPos();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetItemRectMin();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetItemRectMin();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetItemRectMax();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetItemRectMax();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetItemRectSize();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetItemRectSize();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
|
||||
{
|
||||
*pOut = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
|
||||
{
|
||||
ImVec2 ret = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in)
|
||||
{
|
||||
*pOut = ImGui::ColorConvertU32ToFloat4(in);
|
||||
}
|
||||
CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in)
|
||||
{
|
||||
ImVec4 ret = ImGui::ColorConvertU32ToFloat4(in);
|
||||
ImVec4_Simple ret2 = ImVec4ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetMousePos();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetMousePos();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetMousePosOnOpeningCurrentPopup();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetMousePosOnOpeningCurrentPopup();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold)
|
||||
{
|
||||
*pOut = ImGui::GetMouseDragDelta(button,lock_threshold);
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold)
|
||||
{
|
||||
ImVec2 ret = ImGui::GetMouseDragDelta(button,lock_threshold);
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a)
|
||||
{
|
||||
*pOut = self->HSV(h,s,v,a);
|
||||
}
|
||||
CIMGUI_API ImColor_Simple ImColor_HSV_nonUDT2(ImColor* self,float h,float s,float v,float a)
|
||||
{
|
||||
ImColor ret = self->HSV(h,s,v,a);
|
||||
ImColor_Simple ret2 = ImColorToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut)
|
||||
{
|
||||
*pOut = self->GetClipRectMin();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMin_nonUDT2(ImDrawList* self)
|
||||
{
|
||||
ImVec2 ret = self->GetClipRectMin();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut)
|
||||
{
|
||||
*pOut = self->GetClipRectMax();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self)
|
||||
{
|
||||
ImVec2 ret = self->GetClipRectMax();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)
|
||||
{
|
||||
*pOut = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining);
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple ImFont_CalcTextSizeA_nonUDT2(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)
|
||||
{
|
||||
ImVec2 ret = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining);
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/////////////////////////////manual written functions
|
||||
@@ -2009,11 +2407,34 @@ CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const ch
|
||||
buffer->appendfv(fmt, args);
|
||||
va_end(args);
|
||||
}
|
||||
CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config)
|
||||
{
|
||||
*config = ImFontConfig();
|
||||
}
|
||||
|
||||
CIMGUI_API float igGET_FLT_MAX()
|
||||
{
|
||||
return FLT_MAX;
|
||||
}
|
||||
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,float *out_s,float *out_v)
|
||||
{
|
||||
ImGui::ColorConvertRGBtoHSV(r,g,b,*out_h,*out_s,*out_v);
|
||||
}
|
||||
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b)
|
||||
{
|
||||
ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
|
||||
}
|
||||
|
||||
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>();
|
||||
}
|
||||
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p)
|
||||
{
|
||||
p->~ImVector<ImWchar>();
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,12 @@
|
||||
|
||||
#include "../imgui/imgui.h"
|
||||
#include "./imgui/imgui.h"
|
||||
#include "cimgui.h"
|
||||
|
||||
#include "../imgui/imgui_internal.h"
|
||||
#include "./imgui/imgui_internal.h"
|
||||
|
||||
#include "auto_funcs.cpp"
|
||||
|
||||
|
||||
/////////////////////////////manual written functions
|
||||
CIMGUI_API void igLogText(CONST char *fmt, ...)
|
||||
{
|
||||
@@ -24,11 +25,34 @@ CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const ch
|
||||
buffer->appendfv(fmt, args);
|
||||
va_end(args);
|
||||
}
|
||||
CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config)
|
||||
{
|
||||
*config = ImFontConfig();
|
||||
}
|
||||
|
||||
CIMGUI_API float igGET_FLT_MAX()
|
||||
{
|
||||
return FLT_MAX;
|
||||
}
|
||||
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,float *out_s,float *out_v)
|
||||
{
|
||||
ImGui::ColorConvertRGBtoHSV(r,g,b,*out_h,*out_s,*out_v);
|
||||
}
|
||||
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b)
|
||||
{
|
||||
ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
|
||||
}
|
||||
|
||||
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>();
|
||||
}
|
||||
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p)
|
||||
{
|
||||
p->~ImVector<ImWchar>();
|
||||
}
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#if defined _WIN32 || defined __CYGWIN__
|
||||
#ifdef CIMGUI_NO_EXPORT
|
||||
#define API
|
||||
@@ -29,11 +29,14 @@
|
||||
#ifdef _MSC_VER
|
||||
typedef unsigned __int64 ImU64;
|
||||
#else
|
||||
typedef unsigned long long ImU64;
|
||||
//typedef unsigned long long ImU64;
|
||||
#endif
|
||||
|
||||
//struct GLFWwindow;
|
||||
//struct SDL_Window;
|
||||
//UDT stuff
|
||||
typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple;
|
||||
typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple;
|
||||
typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple;
|
||||
|
||||
|
||||
#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
#include "imgui_structs.h"
|
||||
@@ -41,6 +44,28 @@ typedef unsigned long long ImU64;
|
||||
struct GLFWwindow;
|
||||
struct SDL_Window;
|
||||
typedef union SDL_Event SDL_Event;
|
||||
inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec)
|
||||
{
|
||||
ImVec2_Simple result;
|
||||
result.x = vec.x;
|
||||
result.y = vec.y;
|
||||
return result;
|
||||
}
|
||||
inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec)
|
||||
{
|
||||
ImVec4_Simple result;
|
||||
result.x = vec.x;
|
||||
result.y = vec.y;
|
||||
result.z = vec.z;
|
||||
result.w = vec.w;
|
||||
return result;
|
||||
}
|
||||
inline ImColor_Simple ImColorToSimple(ImColor col)
|
||||
{
|
||||
ImColor_Simple result;
|
||||
result.Value = ImVec4ToSimple(col.Value);
|
||||
return result;
|
||||
}
|
||||
#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
|
||||
#include "auto_funcs.h"
|
||||
@@ -50,8 +75,17 @@ typedef union SDL_Event SDL_Event;
|
||||
CIMGUI_API void igLogText(CONST char *fmt, ...);
|
||||
//no appendfV
|
||||
CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...);
|
||||
CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config);
|
||||
//for getting FLT_MAX in bindings
|
||||
CIMGUI_API float igGET_FLT_MAX();
|
||||
//not const args from & to *
|
||||
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,float *out_s,float *out_v);
|
||||
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);
|
||||
|
||||
|
||||
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,8 +1,8 @@
|
||||
:: this script must be executed in this directory
|
||||
:: all the output goes to generated folder
|
||||
:: all the output goes to generator/output folder
|
||||
:: .cpp and .h files:
|
||||
:: cimgui.h and cimgui.cpp generated without preprocess
|
||||
:: cimgui_auto.h and cimgui_auto.cpp with gcc preprocess
|
||||
:: cimgui.h and cimgui.cpp with gcc preprocess
|
||||
:: cimgui_nopreprocess.h and cimgui_nopreprocess.cpp generated without preprocess
|
||||
:: cimgui_impl.h with implementation function cdefs
|
||||
:: lua and json files:
|
||||
:: definitions.lua for function definitions
|
||||
@@ -10,15 +10,13 @@
|
||||
:: 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
|
||||
:: arg[1..n] name of implementations to generate
|
||||
luajit.exe ./generator.lua glfw opengl3 opengl2 sdl
|
||||
|
||||
::copy cimgui.h and cimgui.cpp
|
||||
copy .\generated\cimgui_auto.h ..\cimgui_auto.h
|
||||
copy .\generated\cimgui_auto.cpp ..\cimgui_auto.cpp
|
||||
:: arg[1] compiler name gcc, clang, cl or nocompiler
|
||||
:: arg[2..n] name of implementations to generate
|
||||
luajit ./generator.lua gcc glfw opengl3 opengl2 sdl
|
||||
|
||||
::leave console open
|
||||
cmd /k
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,9 +1,34 @@
|
||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||
//based on imgui.h file version "1.65" from Dear ImGui https://github.com/ocornut/imgui
|
||||
#include "./imgui/imgui.h"
|
||||
#include "cimgui.h"
|
||||
|
||||
#include "../imgui/imgui.h"
|
||||
#include "cimgui_auto.h"
|
||||
|
||||
#include "../imgui/imgui_internal.h"
|
||||
#include "./imgui/imgui_internal.h"
|
||||
|
||||
CIMGUI_API ImVec2* ImVec2_ImVec2(void)
|
||||
{
|
||||
return IM_NEW(ImVec2)();
|
||||
}
|
||||
CIMGUI_API void ImVec2_destroy(ImVec2* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImVec2* ImVec2_ImVec2Float(float _x,float _y)
|
||||
{
|
||||
return IM_NEW(ImVec2)(_x,_y);
|
||||
}
|
||||
CIMGUI_API ImVec4* ImVec4_ImVec4(void)
|
||||
{
|
||||
return IM_NEW(ImVec4)();
|
||||
}
|
||||
CIMGUI_API void ImVec4_destroy(ImVec4* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImVec4* ImVec4_ImVec4Float(float _x,float _y,float _z,float _w)
|
||||
{
|
||||
return IM_NEW(ImVec4)(_x,_y,_z,_w);
|
||||
}
|
||||
CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas)
|
||||
{
|
||||
return ImGui::CreateContext(shared_font_atlas);
|
||||
@@ -476,7 +501,7 @@ CIMGUI_API ImGuiID igGetIDStr(const char* str_id)
|
||||
{
|
||||
return ImGui::GetID(str_id);
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetIDStrStr(const char* str_id_begin,const char* str_id_end)
|
||||
CIMGUI_API ImGuiID igGetIDRange(const char* str_id_begin,const char* str_id_end)
|
||||
{
|
||||
return ImGui::GetID(str_id_begin,str_id_end);
|
||||
}
|
||||
@@ -594,22 +619,6 @@ CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button)
|
||||
{
|
||||
return ImGui::RadioButton(label,v,v_button);
|
||||
}
|
||||
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
|
||||
{
|
||||
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
|
||||
}
|
||||
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
|
||||
{
|
||||
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
|
||||
}
|
||||
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
|
||||
{
|
||||
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
|
||||
}
|
||||
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
|
||||
{
|
||||
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
|
||||
}
|
||||
CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay)
|
||||
{
|
||||
return ImGui::ProgressBar(fraction,size_arg,overlay);
|
||||
@@ -686,58 +695,6 @@ CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,
|
||||
{
|
||||
return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power);
|
||||
}
|
||||
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)
|
||||
{
|
||||
return ImGui::InputText(label,buf,buf_size,flags,callback,user_data);
|
||||
}
|
||||
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)
|
||||
{
|
||||
return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat2(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat3(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat4(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt(label,v,step,step_fast,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt2(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt3(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt4(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power)
|
||||
{
|
||||
return ImGui::SliderFloat(label,v,v_min,v_max,format,power);
|
||||
@@ -794,6 +751,58 @@ CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataTyp
|
||||
{
|
||||
return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power);
|
||||
}
|
||||
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
|
||||
{
|
||||
return ImGui::InputText(label,buf,buf_size,flags,callback,user_data);
|
||||
}
|
||||
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
|
||||
{
|
||||
return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat2(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat3(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputFloat4(label,v,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt(label,v,step,step_fast,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt2(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt3(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputInt4(label,v,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
|
||||
{
|
||||
return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags);
|
||||
}
|
||||
CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags)
|
||||
{
|
||||
return ImGui::ColorEdit3(label,col,flags);
|
||||
@@ -826,15 +835,17 @@ CIMGUI_API bool igTreeNodeStrStr(const char* str_id,const char* fmt,...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::TreeNodeV(str_id,fmt,args);
|
||||
bool ret = ImGui::TreeNodeV(str_id,fmt,args);
|
||||
va_end(args);
|
||||
return ret;
|
||||
}
|
||||
CIMGUI_API bool igTreeNodePtr(const void* ptr_id,const char* fmt,...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::TreeNodeV(ptr_id,fmt,args);
|
||||
bool ret = ImGui::TreeNodeV(ptr_id,fmt,args);
|
||||
va_end(args);
|
||||
return ret;
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeVStr(const char* str_id,const char* fmt,va_list args)
|
||||
{
|
||||
@@ -852,15 +863,17 @@ CIMGUI_API bool igTreeNodeExStrStr(const char* str_id,ImGuiTreeNodeFlags flags,c
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::TreeNodeExV(str_id,flags,fmt,args);
|
||||
bool ret = ImGui::TreeNodeExV(str_id,flags,fmt,args);
|
||||
va_end(args);
|
||||
return ret;
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeExPtr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::TreeNodeExV(ptr_id,flags,fmt,args);
|
||||
bool ret = ImGui::TreeNodeExV(ptr_id,flags,fmt,args);
|
||||
va_end(args);
|
||||
return ret;
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeExVStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args)
|
||||
{
|
||||
@@ -930,6 +943,22 @@ CIMGUI_API void igListBoxFooter()
|
||||
{
|
||||
return ImGui::ListBoxFooter();
|
||||
}
|
||||
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
|
||||
{
|
||||
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
|
||||
}
|
||||
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
|
||||
{
|
||||
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
|
||||
}
|
||||
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
|
||||
{
|
||||
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
|
||||
}
|
||||
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
|
||||
{
|
||||
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
|
||||
}
|
||||
CIMGUI_API void igValueBool(const char* prefix,bool b)
|
||||
{
|
||||
return ImGui::Value(prefix,b);
|
||||
@@ -946,25 +975,6 @@ CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format
|
||||
{
|
||||
return ImGui::Value(prefix,v,float_format);
|
||||
}
|
||||
CIMGUI_API void igBeginTooltip()
|
||||
{
|
||||
return ImGui::BeginTooltip();
|
||||
}
|
||||
CIMGUI_API void igEndTooltip()
|
||||
{
|
||||
return ImGui::EndTooltip();
|
||||
}
|
||||
CIMGUI_API void igSetTooltip(const char* fmt,...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::SetTooltipV(fmt,args);
|
||||
va_end(args);
|
||||
}
|
||||
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
|
||||
{
|
||||
return ImGui::SetTooltipV(fmt,args);
|
||||
}
|
||||
CIMGUI_API bool igBeginMainMenuBar()
|
||||
{
|
||||
return ImGui::BeginMainMenuBar();
|
||||
@@ -997,6 +1007,25 @@ CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p
|
||||
{
|
||||
return ImGui::MenuItem(label,shortcut,p_selected,enabled);
|
||||
}
|
||||
CIMGUI_API void igBeginTooltip()
|
||||
{
|
||||
return ImGui::BeginTooltip();
|
||||
}
|
||||
CIMGUI_API void igEndTooltip()
|
||||
{
|
||||
return ImGui::EndTooltip();
|
||||
}
|
||||
CIMGUI_API void igSetTooltip(const char* fmt,...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
ImGui::SetTooltipV(fmt,args);
|
||||
va_end(args);
|
||||
}
|
||||
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
|
||||
{
|
||||
return ImGui::SetTooltipV(fmt,args);
|
||||
}
|
||||
CIMGUI_API void igOpenPopup(const char* str_id)
|
||||
{
|
||||
return ImGui::OpenPopup(str_id);
|
||||
@@ -1149,13 +1178,17 @@ CIMGUI_API bool igIsItemVisible()
|
||||
{
|
||||
return ImGui::IsItemVisible();
|
||||
}
|
||||
CIMGUI_API bool igIsItemEdited()
|
||||
{
|
||||
return ImGui::IsItemEdited();
|
||||
}
|
||||
CIMGUI_API bool igIsItemDeactivated()
|
||||
{
|
||||
return ImGui::IsItemDeactivated();
|
||||
}
|
||||
CIMGUI_API bool igIsItemDeactivatedAfterChange()
|
||||
CIMGUI_API bool igIsItemDeactivatedAfterEdit()
|
||||
{
|
||||
return ImGui::IsItemDeactivatedAfterChange();
|
||||
return ImGui::IsItemDeactivatedAfterEdit();
|
||||
}
|
||||
CIMGUI_API bool igIsAnyItemHovered()
|
||||
{
|
||||
@@ -1193,7 +1226,7 @@ CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max)
|
||||
{
|
||||
return ImGui::IsRectVisible(rect_min,rect_max);
|
||||
}
|
||||
CIMGUI_API float igGetTime()
|
||||
CIMGUI_API double igGetTime()
|
||||
{
|
||||
return ImGui::GetTime();
|
||||
}
|
||||
@@ -1245,14 +1278,6 @@ CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in)
|
||||
{
|
||||
return ImGui::ColorConvertFloat4ToU32(in);
|
||||
}
|
||||
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v)
|
||||
{
|
||||
return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v);
|
||||
}
|
||||
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b)
|
||||
{
|
||||
return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b);
|
||||
}
|
||||
CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key)
|
||||
{
|
||||
return ImGui::GetKeyIndex(imgui_key);
|
||||
@@ -1373,6 +1398,14 @@ CIMGUI_API void igMemFree(void* ptr)
|
||||
{
|
||||
return ImGui::MemFree(ptr);
|
||||
}
|
||||
CIMGUI_API ImGuiStyle* ImGuiStyle_ImGuiStyle(void)
|
||||
{
|
||||
return IM_NEW(ImGuiStyle)();
|
||||
}
|
||||
CIMGUI_API void ImGuiStyle_destroy(ImGuiStyle* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor)
|
||||
{
|
||||
return self->ScaleAllSizes(scale_factor);
|
||||
@@ -1385,37 +1418,29 @@ CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_ch
|
||||
{
|
||||
return self->AddInputCharactersUTF8(utf8_chars);
|
||||
}
|
||||
CIMGUI_API inline void ImGuiIO_ClearInputCharacters(ImGuiIO* self)
|
||||
CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self)
|
||||
{
|
||||
return self->ClearInputCharacters();
|
||||
}
|
||||
CIMGUI_API const char* TextRange_begin(TextRange* self)
|
||||
CIMGUI_API ImGuiIO* ImGuiIO_ImGuiIO(void)
|
||||
{
|
||||
return self->begin();
|
||||
return IM_NEW(ImGuiIO)();
|
||||
}
|
||||
CIMGUI_API const char* TextRange_end(TextRange* self)
|
||||
CIMGUI_API void ImGuiIO_destroy(ImGuiIO* self)
|
||||
{
|
||||
return self->end();
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API bool TextRange_empty(TextRange* self)
|
||||
CIMGUI_API ImGuiOnceUponAFrame* ImGuiOnceUponAFrame_ImGuiOnceUponAFrame(void)
|
||||
{
|
||||
return self->empty();
|
||||
return IM_NEW(ImGuiOnceUponAFrame)();
|
||||
}
|
||||
CIMGUI_API char TextRange_front(TextRange* self)
|
||||
CIMGUI_API void ImGuiOnceUponAFrame_destroy(ImGuiOnceUponAFrame* self)
|
||||
{
|
||||
return self->front();
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API bool TextRange_is_blank(TextRange* self,char c)
|
||||
CIMGUI_API ImGuiTextFilter* ImGuiTextFilter_ImGuiTextFilter(const char* default_filter)
|
||||
{
|
||||
return self->is_blank(c);
|
||||
}
|
||||
CIMGUI_API void TextRange_trim_blanks(TextRange* self)
|
||||
{
|
||||
return self->trim_blanks();
|
||||
}
|
||||
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out)
|
||||
{
|
||||
return self->split(separator,out);
|
||||
return IM_NEW(ImGuiTextFilter)(default_filter);
|
||||
}
|
||||
CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width)
|
||||
{
|
||||
@@ -1437,6 +1462,42 @@ CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self)
|
||||
{
|
||||
return self->IsActive();
|
||||
}
|
||||
CIMGUI_API TextRange* TextRange_TextRange(void)
|
||||
{
|
||||
return IM_NEW(TextRange)();
|
||||
}
|
||||
CIMGUI_API void TextRange_destroy(TextRange* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API TextRange* TextRange_TextRangeStr(const char* _b,const char* _e)
|
||||
{
|
||||
return IM_NEW(TextRange)(_b,_e);
|
||||
}
|
||||
CIMGUI_API const char* TextRange_begin(TextRange* self)
|
||||
{
|
||||
return self->begin();
|
||||
}
|
||||
CIMGUI_API const char* TextRange_end(TextRange* self)
|
||||
{
|
||||
return self->end();
|
||||
}
|
||||
CIMGUI_API bool TextRange_empty(TextRange* self)
|
||||
{
|
||||
return self->empty();
|
||||
}
|
||||
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out)
|
||||
{
|
||||
return self->split(separator,out);
|
||||
}
|
||||
CIMGUI_API ImGuiTextBuffer* ImGuiTextBuffer_ImGuiTextBuffer(void)
|
||||
{
|
||||
return IM_NEW(ImGuiTextBuffer)();
|
||||
}
|
||||
CIMGUI_API void ImGuiTextBuffer_destroy(ImGuiTextBuffer* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self)
|
||||
{
|
||||
return self->begin();
|
||||
@@ -1469,6 +1530,18 @@ CIMGUI_API void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,v
|
||||
{
|
||||
return self->appendfv(fmt,args);
|
||||
}
|
||||
CIMGUI_API Pair* Pair_PairInt(ImGuiID _key,int _val_i)
|
||||
{
|
||||
return IM_NEW(Pair)(_key,_val_i);
|
||||
}
|
||||
CIMGUI_API Pair* Pair_PairFloat(ImGuiID _key,float _val_f)
|
||||
{
|
||||
return IM_NEW(Pair)(_key,_val_f);
|
||||
}
|
||||
CIMGUI_API Pair* Pair_PairPtr(ImGuiID _key,void* _val_p)
|
||||
{
|
||||
return IM_NEW(Pair)(_key,_val_p);
|
||||
}
|
||||
CIMGUI_API void ImGuiStorage_Clear(ImGuiStorage* self)
|
||||
{
|
||||
return self->Clear();
|
||||
@@ -1529,18 +1602,34 @@ CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self)
|
||||
{
|
||||
return self->BuildSortByKey();
|
||||
}
|
||||
CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count)
|
||||
CIMGUI_API ImGuiInputTextCallbackData* ImGuiInputTextCallbackData_ImGuiInputTextCallbackData(void)
|
||||
{
|
||||
return IM_NEW(ImGuiInputTextCallbackData)();
|
||||
}
|
||||
CIMGUI_API void ImGuiInputTextCallbackData_destroy(ImGuiInputTextCallbackData* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count)
|
||||
{
|
||||
return self->DeleteChars(pos,bytes_count);
|
||||
}
|
||||
CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end)
|
||||
CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end)
|
||||
{
|
||||
return self->InsertChars(pos,text,text_end);
|
||||
}
|
||||
CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self)
|
||||
CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self)
|
||||
{
|
||||
return self->HasSelection();
|
||||
}
|
||||
CIMGUI_API ImGuiPayload* ImGuiPayload_ImGuiPayload(void)
|
||||
{
|
||||
return IM_NEW(ImGuiPayload)();
|
||||
}
|
||||
CIMGUI_API void ImGuiPayload_destroy(ImGuiPayload* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self)
|
||||
{
|
||||
return self->Clear();
|
||||
@@ -1557,7 +1646,31 @@ CIMGUI_API bool ImGuiPayload_IsDelivery(ImGuiPayload* self)
|
||||
{
|
||||
return self->IsDelivery();
|
||||
}
|
||||
CIMGUI_API inline void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a)
|
||||
CIMGUI_API ImColor* ImColor_ImColor(void)
|
||||
{
|
||||
return IM_NEW(ImColor)();
|
||||
}
|
||||
CIMGUI_API void ImColor_destroy(ImColor* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImColor* ImColor_ImColorInt(int r,int g,int b,int a)
|
||||
{
|
||||
return IM_NEW(ImColor)(r,g,b,a);
|
||||
}
|
||||
CIMGUI_API ImColor* ImColor_ImColorU32(ImU32 rgba)
|
||||
{
|
||||
return IM_NEW(ImColor)(rgba);
|
||||
}
|
||||
CIMGUI_API ImColor* ImColor_ImColorFloat(float r,float g,float b,float a)
|
||||
{
|
||||
return IM_NEW(ImColor)(r,g,b,a);
|
||||
}
|
||||
CIMGUI_API ImColor* ImColor_ImColorVec4(const ImVec4 col)
|
||||
{
|
||||
return IM_NEW(ImColor)(col);
|
||||
}
|
||||
CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a)
|
||||
{
|
||||
return self->SetHSV(h,s,v,a);
|
||||
}
|
||||
@@ -1565,6 +1678,10 @@ CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a)
|
||||
{
|
||||
return self->HSV(h,s,v,a);
|
||||
}
|
||||
CIMGUI_API ImGuiListClipper* ImGuiListClipper_ImGuiListClipper(int items_count,float items_height)
|
||||
{
|
||||
return IM_NEW(ImGuiListClipper)(items_count,items_height);
|
||||
}
|
||||
CIMGUI_API bool ImGuiListClipper_Step(ImGuiListClipper* self)
|
||||
{
|
||||
return self->Step();
|
||||
@@ -1577,6 +1694,18 @@ CIMGUI_API void ImGuiListClipper_End(ImGuiListClipper* self)
|
||||
{
|
||||
return self->End();
|
||||
}
|
||||
CIMGUI_API ImDrawCmd* ImDrawCmd_ImDrawCmd(void)
|
||||
{
|
||||
return IM_NEW(ImDrawCmd)();
|
||||
}
|
||||
CIMGUI_API void ImDrawCmd_destroy(ImDrawCmd* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImDrawList* ImDrawList_ImDrawList(const ImDrawListSharedData* shared_data)
|
||||
{
|
||||
return IM_NEW(ImDrawList)(shared_data);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_PushClipRect(ImDrawList* self,ImVec2 clip_rect_min,ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)
|
||||
{
|
||||
return self->PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect);
|
||||
@@ -1597,11 +1726,11 @@ CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self)
|
||||
{
|
||||
return self->PopTextureID();
|
||||
}
|
||||
CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self)
|
||||
CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self)
|
||||
{
|
||||
return self->GetClipRectMin();
|
||||
}
|
||||
CIMGUI_API inline ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self)
|
||||
CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self)
|
||||
{
|
||||
return self->GetClipRectMax();
|
||||
}
|
||||
@@ -1677,23 +1806,23 @@ CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,con
|
||||
{
|
||||
return self->AddBezierCurve(pos0,cp0,cp1,pos1,col,thickness,num_segments);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PathClear(ImDrawList* self)
|
||||
CIMGUI_API void ImDrawList_PathClear(ImDrawList* self)
|
||||
{
|
||||
return self->PathClear();
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos)
|
||||
CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos)
|
||||
{
|
||||
return self->PathLineTo(pos);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos)
|
||||
CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos)
|
||||
{
|
||||
return self->PathLineToMergeDuplicate(pos);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col)
|
||||
CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col)
|
||||
{
|
||||
return self->PathFillConvex(col);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness)
|
||||
CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness)
|
||||
{
|
||||
return self->PathStroke(col,closed,thickness);
|
||||
}
|
||||
@@ -1761,15 +1890,15 @@ CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVe
|
||||
{
|
||||
return self->PrimQuadUV(a,b,c,d,uv_a,uv_b,uv_c,uv_d,col);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)
|
||||
CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)
|
||||
{
|
||||
return self->PrimWriteVtx(pos,uv,col);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx)
|
||||
CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx)
|
||||
{
|
||||
return self->PrimWriteIdx(idx);
|
||||
}
|
||||
CIMGUI_API inline void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)
|
||||
CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col)
|
||||
{
|
||||
return self->PrimVtx(pos,uv,col);
|
||||
}
|
||||
@@ -1781,6 +1910,14 @@ CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self)
|
||||
{
|
||||
return self->UpdateTextureID();
|
||||
}
|
||||
CIMGUI_API ImDrawData* ImDrawData_ImDrawData(void)
|
||||
{
|
||||
return IM_NEW(ImDrawData)();
|
||||
}
|
||||
CIMGUI_API void ImDrawData_destroy(ImDrawData* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImDrawData_Clear(ImDrawData* self)
|
||||
{
|
||||
return self->Clear();
|
||||
@@ -1793,6 +1930,22 @@ CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc)
|
||||
{
|
||||
return self->ScaleClipRects(sc);
|
||||
}
|
||||
CIMGUI_API ImFontConfig* ImFontConfig_ImFontConfig(void)
|
||||
{
|
||||
return IM_NEW(ImFontConfig)();
|
||||
}
|
||||
CIMGUI_API void ImFontConfig_destroy(ImFontConfig* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImFontAtlas* ImFontAtlas_ImFontAtlas(void)
|
||||
{
|
||||
return IM_NEW(ImFontAtlas)();
|
||||
}
|
||||
CIMGUI_API void ImFontAtlas_destroy(ImFontAtlas* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg)
|
||||
{
|
||||
return self->AddFont(font_cfg);
|
||||
@@ -1881,6 +2034,14 @@ CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self)
|
||||
{
|
||||
return self->GetGlyphRangesThai();
|
||||
}
|
||||
CIMGUI_API GlyphRangesBuilder* GlyphRangesBuilder_GlyphRangesBuilder(void)
|
||||
{
|
||||
return IM_NEW(GlyphRangesBuilder)();
|
||||
}
|
||||
CIMGUI_API void GlyphRangesBuilder_destroy(GlyphRangesBuilder* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n)
|
||||
{
|
||||
return self->GetBit(n);
|
||||
@@ -1905,6 +2066,14 @@ CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector
|
||||
{
|
||||
return self->BuildRanges(out_ranges);
|
||||
}
|
||||
CIMGUI_API CustomRect* CustomRect_CustomRect(void)
|
||||
{
|
||||
return IM_NEW(CustomRect)();
|
||||
}
|
||||
CIMGUI_API void CustomRect_destroy(CustomRect* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API bool CustomRect_IsPacked(CustomRect* self)
|
||||
{
|
||||
return self->IsPacked();
|
||||
@@ -1929,6 +2098,14 @@ CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCu
|
||||
{
|
||||
return self->GetMouseCursorTexData(cursor,out_offset,out_size,out_uv_border,out_uv_fill);
|
||||
}
|
||||
CIMGUI_API ImFont* ImFont_ImFont(void)
|
||||
{
|
||||
return IM_NEW(ImFont)();
|
||||
}
|
||||
CIMGUI_API void ImFont_destroy(ImFont* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImFont_ClearOutputData(ImFont* self)
|
||||
{
|
||||
return self->ClearOutputData();
|
||||
@@ -1989,6 +2166,227 @@ CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool ov
|
||||
{
|
||||
return self->AddRemapChar(dst,src,overwrite_dst);
|
||||
}
|
||||
CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowPos();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetWindowPos();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowSize();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetWindowSize();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetContentRegionMax();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetContentRegionMax();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetContentRegionAvail();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetContentRegionAvail();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowContentRegionMin();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetWindowContentRegionMin();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowContentRegionMax();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetWindowContentRegionMax();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetFontTexUvWhitePixel();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetFontTexUvWhitePixel();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorPos();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetCursorPos();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorStartPos();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetCursorStartPos();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorScreenPos();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetCursorScreenPos();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetItemRectMin();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetItemRectMin();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetItemRectMax();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetItemRectMax();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetItemRectSize();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetItemRectSize();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
|
||||
{
|
||||
*pOut = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
|
||||
{
|
||||
ImVec2 ret = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in)
|
||||
{
|
||||
*pOut = ImGui::ColorConvertU32ToFloat4(in);
|
||||
}
|
||||
CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in)
|
||||
{
|
||||
ImVec4 ret = ImGui::ColorConvertU32ToFloat4(in);
|
||||
ImVec4_Simple ret2 = ImVec4ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetMousePos();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetMousePos();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetMousePosOnOpeningCurrentPopup();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2()
|
||||
{
|
||||
ImVec2 ret = ImGui::GetMousePosOnOpeningCurrentPopup();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold)
|
||||
{
|
||||
*pOut = ImGui::GetMouseDragDelta(button,lock_threshold);
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold)
|
||||
{
|
||||
ImVec2 ret = ImGui::GetMouseDragDelta(button,lock_threshold);
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a)
|
||||
{
|
||||
*pOut = self->HSV(h,s,v,a);
|
||||
}
|
||||
CIMGUI_API ImColor_Simple ImColor_HSV_nonUDT2(ImColor* self,float h,float s,float v,float a)
|
||||
{
|
||||
ImColor ret = self->HSV(h,s,v,a);
|
||||
ImColor_Simple ret2 = ImColorToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut)
|
||||
{
|
||||
*pOut = self->GetClipRectMin();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMin_nonUDT2(ImDrawList* self)
|
||||
{
|
||||
ImVec2 ret = self->GetClipRectMin();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut)
|
||||
{
|
||||
*pOut = self->GetClipRectMax();
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self)
|
||||
{
|
||||
ImVec2 ret = self->GetClipRectMax();
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)
|
||||
{
|
||||
*pOut = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining);
|
||||
}
|
||||
CIMGUI_API ImVec2_Simple ImFont_CalcTextSizeA_nonUDT2(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)
|
||||
{
|
||||
ImVec2 ret = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining);
|
||||
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
|
||||
return ret2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/////////////////////////////manual written functions
|
||||
@@ -2009,11 +2407,34 @@ CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const ch
|
||||
buffer->appendfv(fmt, args);
|
||||
va_end(args);
|
||||
}
|
||||
CIMGUI_API void ImFontConfig_DefaultConstructor(ImFontConfig *config)
|
||||
{
|
||||
*config = ImFontConfig();
|
||||
}
|
||||
|
||||
CIMGUI_API float igGET_FLT_MAX()
|
||||
{
|
||||
return FLT_MAX;
|
||||
}
|
||||
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,float *out_s,float *out_v)
|
||||
{
|
||||
ImGui::ColorConvertRGBtoHSV(r,g,b,*out_h,*out_s,*out_v);
|
||||
}
|
||||
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b)
|
||||
{
|
||||
ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
|
||||
}
|
||||
|
||||
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>();
|
||||
}
|
||||
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p)
|
||||
{
|
||||
p->~ImVector<ImWchar>();
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
struct GLFWwindow;
|
||||
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);
|
1
generator/output/definitions.json
Normal file
1
generator/output/definitions.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
1
generator/output/impl_definitions.json
Normal file
1
generator/output/impl_definitions.json
Normal file
File diff suppressed because one or more lines are too long
@@ -4,10 +4,11 @@ defs["ImGui_ImplOpenGL3_NewFrame"][1] = {}
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL3_NewFrame"
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["location"] = "imgui_impl_opengl3"
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL3_NewFrame"][1]["signature"] = "()"
|
||||
@@ -18,10 +19,11 @@ defs["ImGui_ImplSDL2_Shutdown"][1] = {}
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["funcname"] = "ImGui_ImplSDL2_Shutdown"
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["args"] = "()"
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["comment"] = ""
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["comment"] = ""
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["location"] = "imgui_impl_sdl"
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL2_Shutdown"][1]["signature"] = "()"
|
||||
@@ -32,10 +34,26 @@ defs["ImGui_ImplGlfw_KeyCallback"][1] = {}
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["funcname"] = "ImGui_ImplGlfw_KeyCallback"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["args"] = "(GLFWwindow* window,int key,int scancode,int action,int mods)"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["call_args"] = "(window,key,scancode,action,mods)"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int key,int scancode,int action,int mods)"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["stname"] = ""
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1]["type"] = "GLFWwindow*"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2] = {}
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2]["type"] = "int"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][2]["name"] = "key"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3] = {}
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3]["type"] = "int"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][3]["name"] = "scancode"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4] = {}
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4]["type"] = "int"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][4]["name"] = "action"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5] = {}
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5]["type"] = "int"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["argsT"][5]["name"] = "mods"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["location"] = "imgui_impl_glfw"
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplGlfw_KeyCallback"][1]["signature"] = "(GLFWwindow*,int,int,int,int)"
|
||||
@@ -46,10 +64,17 @@ defs["ImGui_ImplGlfw_InitForVulkan"][1] = {}
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["funcname"] = "ImGui_ImplGlfw_InitForVulkan"
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)"
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["call_args"] = "(window,install_callbacks)"
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)"
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["stname"] = ""
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1]["type"] = "GLFWwindow*"
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2] = {}
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2]["type"] = "bool"
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["argsT"][2]["name"] = "install_callbacks"
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["location"] = "imgui_impl_glfw"
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplGlfw_InitForVulkan"][1]["signature"] = "(GLFWwindow*,bool)"
|
||||
@@ -60,10 +85,14 @@ defs["ImGui_ImplSDL2_NewFrame"][1] = {}
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["funcname"] = "ImGui_ImplSDL2_NewFrame"
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["args"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["comment"] = ""
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["call_args"] = "(window)"
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["argsoriginal"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["comment"] = ""
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["argsT"][1]["type"] = "SDL_Window*"
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["location"] = "imgui_impl_sdl"
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL2_NewFrame"][1]["signature"] = "(SDL_Window*)"
|
||||
@@ -74,10 +103,14 @@ defs["ImGui_ImplSDL2_InitForVulkan"][1] = {}
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["funcname"] = "ImGui_ImplSDL2_InitForVulkan"
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["args"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["comment"] = ""
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["call_args"] = "(window)"
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsoriginal"] = "(SDL_Window* window)"
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["comment"] = ""
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1]["type"] = "SDL_Window*"
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["location"] = "imgui_impl_sdl"
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL2_InitForVulkan"][1]["signature"] = "(SDL_Window*)"
|
||||
@@ -88,10 +121,20 @@ defs["ImGui_ImplGlfw_ScrollCallback"][1] = {}
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["funcname"] = "ImGui_ImplGlfw_ScrollCallback"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["args"] = "(GLFWwindow* window,double xoffset,double yoffset)"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["call_args"] = "(window,xoffset,yoffset)"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsoriginal"] = "(GLFWwindow* window,double xoffset,double yoffset)"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["stname"] = ""
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1]["type"] = "GLFWwindow*"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2] = {}
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2]["type"] = "double"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][2]["name"] = "xoffset"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3] = {}
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3]["type"] = "double"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["argsT"][3]["name"] = "yoffset"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["location"] = "imgui_impl_glfw"
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplGlfw_ScrollCallback"][1]["signature"] = "(GLFWwindow*,double,double)"
|
||||
@@ -102,12 +145,17 @@ defs["ImGui_ImplOpenGL3_Init"][1] = {}
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["funcname"] = "ImGui_ImplOpenGL3_Init"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["args"] = "(const char* glsl_version)"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["call_args"] = "(glsl_version)"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=\"#version 150\")"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["call_args"] = "(glsl_version)"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=NULL)"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["type"] = "const char*"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["name"] = "glsl_version"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["location"] = "imgui_impl_opengl3"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["defaults"]["glsl_version"] = "NULL"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["signature"] = "(const char*)"
|
||||
defs["ImGui_ImplOpenGL3_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Init"
|
||||
defs["ImGui_ImplOpenGL3_Init"]["(const char*)"] = defs["ImGui_ImplOpenGL3_Init"][1]
|
||||
@@ -116,10 +164,17 @@ defs["ImGui_ImplSDL2_InitForOpenGL"][1] = {}
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["funcname"] = "ImGui_ImplSDL2_InitForOpenGL"
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["args"] = "(SDL_Window* window,void* sdl_gl_context)"
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["comment"] = ""
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["call_args"] = "(window,sdl_gl_context)"
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsoriginal"] = "(SDL_Window* window,void* sdl_gl_context)"
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["comment"] = ""
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1]["type"] = "SDL_Window*"
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2] = {}
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2]["type"] = "void*"
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["argsT"][2]["name"] = "sdl_gl_context"
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["location"] = "imgui_impl_sdl"
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["signature"] = "(SDL_Window*,void*)"
|
||||
@@ -130,10 +185,17 @@ defs["ImGui_ImplGlfw_InitForOpenGL"][1] = {}
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["funcname"] = "ImGui_ImplGlfw_InitForOpenGL"
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["args"] = "(GLFWwindow* window,bool install_callbacks)"
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["call_args"] = "(window,install_callbacks)"
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsoriginal"] = "(GLFWwindow* window,bool install_callbacks)"
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["stname"] = ""
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1]["type"] = "GLFWwindow*"
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2] = {}
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2]["type"] = "bool"
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["argsT"][2]["name"] = "install_callbacks"
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["location"] = "imgui_impl_glfw"
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["signature"] = "(GLFWwindow*,bool)"
|
||||
@@ -144,10 +206,11 @@ defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1] = {}
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects"
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl2"
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["signature"] = "()"
|
||||
@@ -158,10 +221,11 @@ defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1] = {}
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture"
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl2"
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["signature"] = "()"
|
||||
@@ -172,10 +236,11 @@ defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1] = {}
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects"
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl2"
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["signature"] = "()"
|
||||
@@ -186,10 +251,11 @@ defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1] = {}
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateFontsTexture"
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl3"
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["signature"] = "()"
|
||||
@@ -200,10 +266,11 @@ defs["ImGui_ImplGlfw_Shutdown"][1] = {}
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["funcname"] = "ImGui_ImplGlfw_Shutdown"
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["args"] = "()"
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["stname"] = ""
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["location"] = "imgui_impl_glfw"
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplGlfw_Shutdown"][1]["signature"] = "()"
|
||||
@@ -214,10 +281,14 @@ defs["ImGui_ImplOpenGL2_RenderDrawData"][1] = {}
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL2_RenderDrawData"
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["args"] = "(ImDrawData* draw_data)"
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["call_args"] = "(draw_data)"
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)"
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1]["type"] = "ImDrawData*"
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["argsT"][1]["name"] = "draw_data"
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["location"] = "imgui_impl_opengl2"
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["signature"] = "(ImDrawData*)"
|
||||
@@ -228,10 +299,11 @@ defs["ImGui_ImplOpenGL2_NewFrame"][1] = {}
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL2_NewFrame"
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["location"] = "imgui_impl_opengl2"
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL2_NewFrame"][1]["signature"] = "()"
|
||||
@@ -242,10 +314,11 @@ defs["ImGui_ImplOpenGL2_Shutdown"][1] = {}
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL2_Shutdown"
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["location"] = "imgui_impl_opengl2"
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL2_Shutdown"][1]["signature"] = "()"
|
||||
@@ -256,10 +329,11 @@ defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1] = {}
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects"
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl3"
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["signature"] = "()"
|
||||
@@ -270,10 +344,11 @@ defs["ImGui_ImplGlfw_NewFrame"][1] = {}
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["funcname"] = "ImGui_ImplGlfw_NewFrame"
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["args"] = "()"
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["stname"] = ""
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["location"] = "imgui_impl_glfw"
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplGlfw_NewFrame"][1]["signature"] = "()"
|
||||
@@ -284,10 +359,11 @@ defs["ImGui_ImplOpenGL3_Shutdown"][1] = {}
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL3_Shutdown"
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["location"] = "imgui_impl_opengl3"
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL3_Shutdown"][1]["signature"] = "()"
|
||||
@@ -298,10 +374,11 @@ defs["ImGui_ImplOpenGL2_Init"][1] = {}
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["funcname"] = "ImGui_ImplOpenGL2_Init"
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["location"] = "imgui_impl_opengl2"
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL2_Init"][1]["signature"] = "()"
|
||||
@@ -312,10 +389,14 @@ defs["ImGui_ImplSDL2_ProcessEvent"][1] = {}
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["funcname"] = "ImGui_ImplSDL2_ProcessEvent"
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["args"] = "(SDL_Event* event)"
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["comment"] = ""
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["call_args"] = "(event)"
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsoriginal"] = "(SDL_Event* event)"
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["stname"] = ""
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["comment"] = ""
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1]["type"] = "SDL_Event*"
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["argsT"][1]["name"] = "event"
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["location"] = "imgui_impl_sdl"
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplSDL2_ProcessEvent"][1]["signature"] = "(SDL_Event*)"
|
||||
@@ -326,10 +407,23 @@ defs["ImGui_ImplGlfw_MouseButtonCallback"][1] = {}
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["funcname"] = "ImGui_ImplGlfw_MouseButtonCallback"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["args"] = "(GLFWwindow* window,int button,int action,int mods)"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["call_args"] = "(window,button,action,mods)"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsoriginal"] = "(GLFWwindow* window,int button,int action,int mods)"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["stname"] = ""
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1]["type"] = "GLFWwindow*"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2] = {}
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2]["type"] = "int"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][2]["name"] = "button"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3] = {}
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3]["type"] = "int"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][3]["name"] = "action"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4] = {}
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4]["type"] = "int"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["argsT"][4]["name"] = "mods"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["location"] = "imgui_impl_glfw"
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["signature"] = "(GLFWwindow*,int,int,int)"
|
||||
@@ -340,10 +434,11 @@ defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1] = {}
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateFontsTexture"
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl2"
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["signature"] = "()"
|
||||
@@ -354,10 +449,11 @@ defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1] = {}
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture"
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl3"
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["signature"] = "()"
|
||||
@@ -368,10 +464,17 @@ defs["ImGui_ImplGlfw_CharCallback"][1] = {}
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["funcname"] = "ImGui_ImplGlfw_CharCallback"
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["args"] = "(GLFWwindow* window,unsigned int c)"
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["call_args"] = "(window,c)"
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["argsoriginal"] = "(GLFWwindow* window,unsigned int c)"
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["stname"] = ""
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["comment"] = ""
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1]["type"] = "GLFWwindow*"
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][1]["name"] = "window"
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2] = {}
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2]["type"] = "unsigned int"
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["argsT"][2]["name"] = "c"
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["location"] = "imgui_impl_glfw"
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplGlfw_CharCallback"][1]["signature"] = "(GLFWwindow*,unsigned int)"
|
||||
@@ -382,10 +485,14 @@ defs["ImGui_ImplOpenGL3_RenderDrawData"][1] = {}
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL3_RenderDrawData"
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["args"] = "(ImDrawData* draw_data)"
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ret"] = "void"
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["call_args"] = "(draw_data)"
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsoriginal"] = "(ImDrawData* draw_data)"
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1] = {}
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1]["type"] = "ImDrawData*"
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["argsT"][1]["name"] = "draw_data"
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["location"] = "imgui_impl_opengl3"
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["signature"] = "(ImDrawData*)"
|
||||
@@ -396,10 +503,11 @@ defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1] = {}
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects"
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ret"] = "bool"
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["call_args"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["argsoriginal"] = "()"
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["stname"] = ""
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["comment"] = ""
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["argsT"] = {}
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl3"
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["defaults"] = {}
|
||||
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["signature"] = "()"
|
@@ -38,16 +38,22 @@ igPlotHistogram 2
|
||||
igTreeNodeExV 2
|
||||
1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list)
|
||||
2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list)
|
||||
igMenuItem 2
|
||||
1 bool igMenuItemBool (const char*,const char*,bool,bool)
|
||||
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
|
||||
igGetID 3
|
||||
1 ImGuiID igGetIDStr (const char*)
|
||||
2 ImGuiID igGetIDStrStr (const char*,const char*)
|
||||
2 ImGuiID igGetIDRange (const char*,const char*)
|
||||
3 ImGuiID igGetIDPtr (const void*)
|
||||
igListBoxHeader 2
|
||||
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
|
||||
2 bool igListBoxHeaderInt (const char*,int,int)
|
||||
igTreePush 2
|
||||
1 void igTreePushStr (const char*)
|
||||
2 void igTreePushPtr (const void*)
|
||||
igBeginChild 2
|
||||
1 bool igBeginChild (const char*,const ImVec2,bool,ImGuiWindowFlags)
|
||||
2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags)
|
||||
igSetWindowFocus 2
|
||||
1 void igSetWindowFocus ()
|
||||
2 void igSetWindowFocusStr (const char*)
|
||||
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*)
|
||||
@@ -66,16 +72,12 @@ Pair_Pair 3
|
||||
1 nil Pair_PairInt (ImGuiID,int)
|
||||
2 nil Pair_PairFloat (ImGuiID,float)
|
||||
3 nil Pair_PairPtr (ImGuiID,void*)
|
||||
igTreePush 2
|
||||
1 void igTreePushStr (const char*)
|
||||
2 void igTreePushPtr (const void*)
|
||||
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)
|
||||
igSetWindowFocus 2
|
||||
1 void igSetWindowFocus ()
|
||||
2 void igSetWindowFocusStr (const char*)
|
||||
ImColor_ImColor 5
|
||||
1 nil ImColor_ImColor ()
|
||||
2 nil ImColor_ImColorInt (int,int,int,int)
|
||||
@@ -88,12 +90,10 @@ igPushStyleColor 2
|
||||
igCollapsingHeader 2
|
||||
1 bool igCollapsingHeader (const char*,ImGuiTreeNodeFlags)
|
||||
2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags)
|
||||
igListBoxHeader 2
|
||||
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
|
||||
2 bool igListBoxHeaderInt (const char*,int,int)
|
||||
igMenuItem 2
|
||||
1 bool igMenuItemBool (const char*,const char*,bool,bool)
|
||||
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
|
||||
igGetColorU32 3
|
||||
1 ImU32 igGetColorU32 (ImGuiCol,float)
|
||||
2 ImU32 igGetColorU32Vec4 (const ImVec4)
|
||||
3 ImU32 igGetColorU32U32 (ImU32)
|
||||
igSetWindowPos 2
|
||||
1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond)
|
||||
2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond)
|
1
generator/output/structs_and_enums.json
Normal file
1
generator/output/structs_and_enums.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
1
generator/output/typedefs_dict.json
Normal file
1
generator/output/typedefs_dict.json
Normal file
@@ -0,0 +1 @@
|
||||
{"ImGuiColumnsFlags":"int","ImFontConfig":"struct ImFontConfig","ImS32":"signed int","ImGuiTreeNodeFlags":"int","ImGuiFocusedFlags":"int","ImGuiHoveredFlags":"int","ImU64":"uint64_t","ImGuiID":"unsigned int","ImGuiStyle":"struct ImGuiStyle","ImDrawData":"struct ImDrawData","ImDrawListFlags":"int","ImGuiBackendFlags":"int","ImGuiMouseCursor":"int","ImDrawListSharedData":"struct ImDrawListSharedData","ImGuiStyleVar":"int","ImGuiDir":"int","ImFontAtlas":"struct ImFontAtlas","ImGuiCol":"int","ImGuiOnceUponAFrame":"struct ImGuiOnceUponAFrame","value_type":"T","iterator":"value_type*","ImGuiTextFilter":"struct ImGuiTextFilter","ImDrawIdx":"unsigned short","ImGuiComboFlags":"int","ImDrawCornerFlags":"int","ImWchar":"unsigned short","const_iterator":"const value_type*","ImDrawVert":"struct ImDrawVert","GlyphRangesBuilder":"struct GlyphRangesBuilder","ImVec4":"struct ImVec4","ImGuiSizeCallback":"void(*)(ImGuiSizeCallbackData* data);","ImGuiConfigFlags":"int","ImGuiTextBuffer":"struct ImGuiTextBuffer","ImGuiContext":"struct ImGuiContext","ImColor":"struct ImColor","ImGuiInputTextCallback":"int(*)(ImGuiInputTextCallbackData *data);","ImVec2":"struct ImVec2","ImFontGlyph":"struct ImFontGlyph","ImGuiWindowFlags":"int","Pair":"struct Pair","ImGuiKey":"int","ImGuiInputTextFlags":"int","ImGuiListClipper":"struct ImGuiListClipper","ImGuiDataType":"int","ImDrawChannel":"struct ImDrawChannel","ImGuiIO":"struct ImGuiIO","ImGuiStorage":"struct ImGuiStorage","ImGuiCond":"int","ImU32":"unsigned int","ImGuiNavInput":"int","ImGuiColorEditFlags":"int","ImFont":"struct ImFont","ImGuiSelectableFlags":"int","ImDrawCallback":"void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);","ImTextureID":"void*","ImDrawList":"struct ImDrawList","TextRange":"struct TextRange","CustomRect":"struct CustomRect","ImFontAtlasFlags":"int","ImGuiInputTextCallbackData":"struct ImGuiInputTextCallbackData","ImDrawCmd":"struct ImDrawCmd","ImGuiSizeCallbackData":"struct ImGuiSizeCallbackData","ImS64":"int64_t","ImGuiDragDropFlags":"int","ImGuiPayload":"struct ImGuiPayload"}
|
68
generator/output/typedefs_dict.lua
Normal file
68
generator/output/typedefs_dict.lua
Normal file
@@ -0,0 +1,68 @@
|
||||
local defs = {}
|
||||
defs["ImGuiColumnsFlags"] = "int"
|
||||
defs["ImFontConfig"] = "struct ImFontConfig"
|
||||
defs["ImS32"] = "signed int"
|
||||
defs["ImGuiTreeNodeFlags"] = "int"
|
||||
defs["ImGuiFocusedFlags"] = "int"
|
||||
defs["ImGuiHoveredFlags"] = "int"
|
||||
defs["ImU64"] = "uint64_t"
|
||||
defs["ImGuiID"] = "unsigned int"
|
||||
defs["ImGuiStyle"] = "struct ImGuiStyle"
|
||||
defs["ImDrawData"] = "struct ImDrawData"
|
||||
defs["ImDrawListFlags"] = "int"
|
||||
defs["ImGuiBackendFlags"] = "int"
|
||||
defs["ImGuiMouseCursor"] = "int"
|
||||
defs["ImDrawListSharedData"] = "struct ImDrawListSharedData"
|
||||
defs["ImGuiStyleVar"] = "int"
|
||||
defs["ImGuiDir"] = "int"
|
||||
defs["ImFontAtlas"] = "struct ImFontAtlas"
|
||||
defs["ImGuiCol"] = "int"
|
||||
defs["ImGuiOnceUponAFrame"] = "struct ImGuiOnceUponAFrame"
|
||||
defs["value_type"] = "T"
|
||||
defs["iterator"] = "value_type*"
|
||||
defs["ImGuiTextFilter"] = "struct ImGuiTextFilter"
|
||||
defs["ImDrawIdx"] = "unsigned short"
|
||||
defs["ImGuiComboFlags"] = "int"
|
||||
defs["ImDrawCornerFlags"] = "int"
|
||||
defs["ImWchar"] = "unsigned short"
|
||||
defs["const_iterator"] = "const value_type*"
|
||||
defs["ImDrawVert"] = "struct ImDrawVert"
|
||||
defs["GlyphRangesBuilder"] = "struct GlyphRangesBuilder"
|
||||
defs["ImVec4"] = "struct ImVec4"
|
||||
defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);"
|
||||
defs["ImGuiConfigFlags"] = "int"
|
||||
defs["ImGuiTextBuffer"] = "struct ImGuiTextBuffer"
|
||||
defs["ImGuiContext"] = "struct ImGuiContext"
|
||||
defs["ImColor"] = "struct ImColor"
|
||||
defs["ImGuiInputTextCallback"] = "int(*)(ImGuiInputTextCallbackData *data);"
|
||||
defs["ImVec2"] = "struct ImVec2"
|
||||
defs["ImFontGlyph"] = "struct ImFontGlyph"
|
||||
defs["ImGuiWindowFlags"] = "int"
|
||||
defs["Pair"] = "struct Pair"
|
||||
defs["ImGuiKey"] = "int"
|
||||
defs["ImGuiInputTextFlags"] = "int"
|
||||
defs["ImGuiListClipper"] = "struct ImGuiListClipper"
|
||||
defs["ImGuiDataType"] = "int"
|
||||
defs["ImDrawChannel"] = "struct ImDrawChannel"
|
||||
defs["ImGuiIO"] = "struct ImGuiIO"
|
||||
defs["ImGuiStorage"] = "struct ImGuiStorage"
|
||||
defs["ImGuiCond"] = "int"
|
||||
defs["ImU32"] = "unsigned int"
|
||||
defs["ImGuiNavInput"] = "int"
|
||||
defs["ImGuiColorEditFlags"] = "int"
|
||||
defs["ImFont"] = "struct ImFont"
|
||||
defs["ImGuiSelectableFlags"] = "int"
|
||||
defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);"
|
||||
defs["ImTextureID"] = "void*"
|
||||
defs["ImDrawList"] = "struct ImDrawList"
|
||||
defs["TextRange"] = "struct TextRange"
|
||||
defs["CustomRect"] = "struct CustomRect"
|
||||
defs["ImFontAtlasFlags"] = "int"
|
||||
defs["ImGuiInputTextCallbackData"] = "struct ImGuiInputTextCallbackData"
|
||||
defs["ImDrawCmd"] = "struct ImDrawCmd"
|
||||
defs["ImGuiSizeCallbackData"] = "struct ImGuiSizeCallbackData"
|
||||
defs["ImS64"] = "int64_t"
|
||||
defs["ImGuiDragDropFlags"] = "int"
|
||||
defs["ImGuiPayload"] = "struct ImGuiPayload"
|
||||
|
||||
return defs
|
2
imgui
2
imgui
Submodule imgui updated: 00418d13e3...e0cab5664a
Reference in New Issue
Block a user