Compare commits

..

28 Commits
1.72 ... 1.74

Author SHA1 Message Date
sonoro1234
d9e1d9a80d drop cimgui_internal.h generation 2019-12-02 10:50:47 +01:00
sonoro1234
4d7a7ac09f cimgui_internal.h generation 2019-11-28 11:59:25 +01:00
sonoro1234
8096fb69fe pull imgui correction for unnamed argument 2019-11-27 15:02:40 +01:00
Victor Bombi
97cfb930e0 Merge pull request #110 from cimgui/internal
more preparation for imgui_internal inclusion, main change replace en…
2019-11-27 12:35:57 +01:00
sonoro1234
549e3cc8f8 more preparation for imgui_internal inclusion, main change replace enum with typedef enum 2019-11-27 12:31:16 +01:00
sonoro1234
3a7d0d46f8 pull ImGui 1.74 and generation 2019-11-26 10:02:00 +01:00
sonoro1234
e3cbc0119e generator.lua: preparation of imgui_internal inclusion 2019-11-26 09:56:37 +01:00
sonoro1234
7c405d3a38 cpp2ffi: add order table 2019-11-26 09:55:30 +01:00
sonoro1234
a310379820 generator.lua: use namespace in function generation, parseImGuiHeader as function 2019-11-21 13:14:41 +01:00
sonoro1234
e53a7beaeb cimgui_template: include imgui_internal.h before cimgui.h 2019-11-21 13:12:39 +01:00
sonoro1234
e7c5c6b9a1 cpp2ffi:better function return detection 2019-11-21 13:11:19 +01:00
Victor Bombi
c09dc063b0 Merge pull request #107 from rokups/workflows
github actions build script
Thanks @rokups and @lmariscal for the work done!!
2019-11-06 10:33:26 +01:00
Rokas Kupstys
e3136bb882 CI tall luajit and add bindings generation step. 2019-11-06 11:00:05 +02:00
Rokas Kupstys
59583ea35a Implement weekly builds using github actions. Based on a script from @nimgl - thanks! 2019-11-05 09:53:49 +02:00
Victor Bombi
c05aa00083 Merge pull request #104 from s-ol/no-stdcpp
Compile without exception support to link without stdc++
2019-10-21 15:41:10 +02:00
s-ol
75f2167111 compile without exception support to link without stdc++ 2019-10-17 23:31:45 +02:00
sonoro1234
bc5f64b2c2 add colon left out in ImVector_ImWchar_destroy manual declaration 2019-09-29 12:39:50 +02:00
sonoro1234
7cafceccae Add ImVector_ImWchar_destroy manual function 2019-09-27 12:31:42 +02:00
sonoro1234
1c65ee2bdc pull imgui 1.73 2019-09-25 12:44:17 +02:00
sonoro1234
0f5aa16fe8 drop ImVector functions 2019-09-25 12:39:51 +02:00
Victor Bombi
cde83f9fe8 Merge pull request #102 from lmariscal/ci
Update CMake to a modern module system and create simple test
2019-08-01 18:41:43 +02:00
sonoro1234
eefd229b68 readme: use cimgui travis account 2019-08-01 18:37:28 +02:00
Leonardo Mariscal
df61f2c552 Add Windows to travis CI 2019-08-01 07:59:37 -05:00
sonoro1234
c0d75f6f8d pull imgui 1.72b 2019-08-01 12:23:17 +02:00
Leonardo Mariscal
14e8be9af1 Update CMake to a more modern module management system and create simple test based on imgui null example 2019-07-31 19:37:51 -05:00
Victor Bombi
ccf494d1c3 Merge pull request #101 from AODQ/master
adds generator shell script
2019-07-31 10:13:05 +02:00
aodq
8c817de195 adds generator shell script 2019-07-30 23:15:39 -04:00
sonoro1234
8f3ab64917 Do with ImGuiStoragePair what was done with Pair (unnamed union correction) 2019-07-29 12:42:50 +02:00
26 changed files with 1511 additions and 25575 deletions

76
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,76 @@
name: Build
on:
push: {}
pull_request: {}
schedule:
- cron: '0 9 * * 1'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- name: Install Dependencies
shell: bash
env:
GITHUB_OS: ${{ matrix.os }}
run: |
if [ "$GITHUB_OS" == "macOS-latest" ];
then
brew install luajit
elif [ "$GITHUB_OS" == "ubuntu-latest" ];
then
sudo apt-get install -y luajit
elif [ "$GITHUB_OS" == "windows-latest" ];
then
vcpkg install luajit
fi
- name: Download Submodules
run: |
git submodule update --init --recursive
if: github.event_name != 'schedule'
- name: Download Latest ImGui
shell: bash
run: |
rm -rf imgui
git clone https://github.com/ocornut/imgui.git
if: github.event_name == 'schedule'
- name: Generate Bindings
shell: bash
run: |
export PATH=$PATH:/C/vcpkg/packages/luajit_x86-windows/tools/:/C/vcpkg/packages/luajit_x86-windows/bin/
cd ./generator
bash ./generator.sh
- name: CMake
run: |
mkdir cmake-build
cd cmake-build
cmake -DCIMGUI_TEST=1 ..
- name: Build
working-directory: cmake-build
run: |
cmake --build .
- name: Test
shell: bash
env:
GITHUB_OS: ${{ matrix.os }}
working-directory: cmake-build
run: |
if [ "$GITHUB_OS" == "windows-latest" ];
then
./Debug/cimgui_test.exe
else
./cimgui_test
fi

5
.gitignore vendored
View File

@@ -32,7 +32,10 @@ cimgui/cimgui.sdf
cimgui/cimgui.v12.suo
cimgui/Release/
.idea
CMakeLists.txt
cimgui/.vs/
cimgui/cimgui.vcxproj.user
cimgui/x64/
# Test / Build
bld/
build/

View File

@@ -1,11 +1,32 @@
language: cpp
dist: trusty
os:
- linux
- osx
- windows
compiler:
- gcc
- clang
env:
- MSBUILD_PATH="c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
script:
make
- mkdir bld
- cd bld
- cmake -D CIMGUI_TEST=1 ..
- |
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
export PATH=$MSBUILD_PATH:$PATH
MSBuild.exe cimgui.sln
else
make
fi
- |
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
./Debug/cimgui_test.exe
else
./cimgui_test
fi

View File

@@ -1,20 +1,15 @@
Project(cimgui)
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.1)
project(cimgui)
#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)
file(GLOB IMGUI_SOURCES
cimgui.cpp
imgui/imgui.cpp
imgui/imgui_draw.cpp
imgui/imgui_demo.cpp
imgui/imgui_widgets.cpp
)
set(IMGUI_STATIC "no" CACHE STRING "Build as a static library")
@@ -25,12 +20,27 @@ else (IMGUI_STATIC)
add_library(cimgui SHARED ${IMGUI_SOURCES})
endif (IMGUI_STATIC)
target_link_libraries(cimgui ${IMGUI_LIBRARIES})
target_compile_definitions(cimgui PUBLIC IMGUI_DISABLE_OBSOLETE_FUNCTIONS=1)
if (WIN32)
target_compile_definitions(cimgui PUBLIC IMGUI_IMPL_API="extern \"C\" __declspec\(dllexport\)")
else (WIN32)
target_compile_definitions(cimgui PUBLIC IMGUI_IMPL_API="extern \"C\" ")
endif (WIN32)
target_include_directories(cimgui PUBLIC ${CMAKE_SOURCE_DIR})
target_include_directories(cimgui PUBLIC ${CMAKE_SOURCE_DIR}/imgui)
set_target_properties(cimgui PROPERTIES PREFIX "")
#install
install(TARGETS cimgui
RUNTIME DESTINATION .
LIBRARY DESTINATION .
ARCHIVE DESTINATION .
)
RUNTIME DESTINATION .
LIBRARY DESTINATION .
ARCHIVE DESTINATION .
)
#test
set(CIMGUI_TEST "no" CACHE STRING "Enable compilation of a test unit based on imgui null")
if (CIMGUI_TEST)
add_subdirectory(test)
endif ()

View File

@@ -8,7 +8,7 @@ OBJS += ./imgui/imgui_draw.o
OBJS += ./imgui/imgui_demo.o
OBJS += ./imgui/imgui_widgets.o
CXXFLAGS=-O2
CXXFLAGS=-O2 -fno-exceptions -fno-rtti
UNAME_S := $(shell uname -s)

View File

@@ -1,4 +1,4 @@
# cimgui [![Build Status](https://travis-ci.org/sonoro1234/cimgui.svg?branch=master)](https://travis-ci.org/sonoro1234/cimgui)
# cimgui [![Build Status](https://travis-ci.org/cimgui/cimgui.svg?branch=master)](https://travis-ci.org/cimgui/cimgui)
This is a thin c-api wrapper programmatically generated for the excellent C++ immediate mode gui [Dear ImGui](https://github.com/ocornut/imgui).
@@ -11,7 +11,7 @@ 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.72 of Dear ImGui]
* currently this wrapper is based on version [1.74 of Dear ImGui]
* only functions, structs and enums from imgui.h are wrapped.
* if you are interested in imgui implementations you should look LuaJIT-ImGui project.
* overloaded function names try to be the most compatible with traditional cimgui names. So all naming is algorithmic except for those names that were in conflict with widely used cimgui names and were thus coded in a table (https://github.com/cimgui/cimgui/blob/master/generator/generator.lua#L58). Current overloaded function names can be found in (https://github.com/cimgui/cimgui/blob/master/generator/output/overloads.txt)
@@ -31,7 +31,7 @@ Notes:
* you will need LuaJIT (https://github.com/LuaJIT/LuaJIT.git better 2.1 branch) or precompiled for linux/macOS/windows in https://luapower.com/luajit/download
* you can use also a C++ compiler for doing preprocessing: gcc (In windows MinGW-W64-builds for example), clang or cl (MSVC) or not use a compiler (experimental nocompiler option) at all. (this repo was done with gcc)
* update `imgui` folder to the version you desire.
* edit `generator/generator.bat` (or make a .sh version and please PR) to choose between gcc, clang, cl or nocompiler. Run it with gcc, clang or cl and LuaJIT on your PATH.
* edit `generator/generator.bat` on windows, or `generator/generator.sh` on linux, 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

2114
cimgui.cpp

File diff suppressed because it is too large Load Diff

680
cimgui.h
View File

@@ -1,5 +1,5 @@
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
//based on imgui.h file version "1.72" from Dear ImGui https://github.com/ocornut/imgui
//based on imgui.h file version "1.74" from Dear ImGui https://github.com/ocornut/imgui
#ifndef CIMGUI_INCLUDED
#define CIMGUI_INCLUDED
#include <stdio.h>
@@ -134,7 +134,8 @@ typedef unsigned int ImU32;
typedef int64_t ImS64;
typedef uint64_t ImU64;
typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd);
typedef unsigned short ImDrawIdx;typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector;
typedef unsigned short ImDrawIdx;
typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector;
typedef struct ImVector_float {int Size;int Capacity;float* Data;} ImVector_float;
typedef struct ImVector_ImWchar {int Size;int Capacity;ImWchar* Data;} ImVector_ImWchar;
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
@@ -161,8 +162,7 @@ struct ImVec4
{
float x, y, z, w;
};
enum ImGuiWindowFlags_
{
typedef enum {
ImGuiWindowFlags_None = 0,
ImGuiWindowFlags_NoTitleBar = 1 << 0,
ImGuiWindowFlags_NoResize = 1 << 1,
@@ -193,9 +193,8 @@ enum ImGuiWindowFlags_
ImGuiWindowFlags_Popup = 1 << 26,
ImGuiWindowFlags_Modal = 1 << 27,
ImGuiWindowFlags_ChildMenu = 1 << 28
};
enum ImGuiInputTextFlags_
{
}ImGuiWindowFlags_;
typedef enum {
ImGuiInputTextFlags_None = 0,
ImGuiInputTextFlags_CharsDecimal = 1 << 0,
ImGuiInputTextFlags_CharsHexadecimal = 1 << 1,
@@ -218,9 +217,8 @@ enum ImGuiInputTextFlags_
ImGuiInputTextFlags_CallbackResize = 1 << 18,
ImGuiInputTextFlags_Multiline = 1 << 20,
ImGuiInputTextFlags_NoMarkEdited = 1 << 21
};
enum ImGuiTreeNodeFlags_
{
}ImGuiInputTextFlags_;
typedef enum {
ImGuiTreeNodeFlags_None = 0,
ImGuiTreeNodeFlags_Selected = 1 << 0,
ImGuiTreeNodeFlags_Framed = 1 << 1,
@@ -233,19 +231,20 @@ enum ImGuiTreeNodeFlags_
ImGuiTreeNodeFlags_Leaf = 1 << 8,
ImGuiTreeNodeFlags_Bullet = 1 << 9,
ImGuiTreeNodeFlags_FramePadding = 1 << 10,
ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11,
ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12,
ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13,
ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog
};
enum ImGuiSelectableFlags_
{
}ImGuiTreeNodeFlags_;
typedef enum {
ImGuiSelectableFlags_None = 0,
ImGuiSelectableFlags_DontClosePopups = 1 << 0,
ImGuiSelectableFlags_SpanAllColumns = 1 << 1,
ImGuiSelectableFlags_AllowDoubleClick = 1 << 2,
ImGuiSelectableFlags_Disabled = 1 << 3
};
enum ImGuiComboFlags_
{
ImGuiSelectableFlags_Disabled = 1 << 3,
ImGuiSelectableFlags_AllowItemOverlap = 1 << 4
}ImGuiSelectableFlags_;
typedef enum {
ImGuiComboFlags_None = 0,
ImGuiComboFlags_PopupAlignLeft = 1 << 0,
ImGuiComboFlags_HeightSmall = 1 << 1,
@@ -255,9 +254,8 @@ enum ImGuiComboFlags_
ImGuiComboFlags_NoArrowButton = 1 << 5,
ImGuiComboFlags_NoPreview = 1 << 6,
ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest
};
enum ImGuiTabBarFlags_
{
}ImGuiComboFlags_;
typedef enum {
ImGuiTabBarFlags_None = 0,
ImGuiTabBarFlags_Reorderable = 1 << 0,
ImGuiTabBarFlags_AutoSelectNewTabs = 1 << 1,
@@ -269,25 +267,22 @@ enum ImGuiTabBarFlags_
ImGuiTabBarFlags_FittingPolicyScroll = 1 << 7,
ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll,
ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown
};
enum ImGuiTabItemFlags_
{
}ImGuiTabBarFlags_;
typedef enum {
ImGuiTabItemFlags_None = 0,
ImGuiTabItemFlags_UnsavedDocument = 1 << 0,
ImGuiTabItemFlags_SetSelected = 1 << 1,
ImGuiTabItemFlags_NoCloseWithMiddleMouseButton = 1 << 2,
ImGuiTabItemFlags_NoPushId = 1 << 3
};
enum ImGuiFocusedFlags_
{
}ImGuiTabItemFlags_;
typedef enum {
ImGuiFocusedFlags_None = 0,
ImGuiFocusedFlags_ChildWindows = 1 << 0,
ImGuiFocusedFlags_RootWindow = 1 << 1,
ImGuiFocusedFlags_AnyWindow = 1 << 2,
ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows
};
enum ImGuiHoveredFlags_
{
}ImGuiFocusedFlags_;
typedef enum {
ImGuiHoveredFlags_None = 0,
ImGuiHoveredFlags_ChildWindows = 1 << 0,
ImGuiHoveredFlags_RootWindow = 1 << 1,
@@ -298,9 +293,8 @@ enum ImGuiHoveredFlags_
ImGuiHoveredFlags_AllowWhenDisabled = 1 << 7,
ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped,
ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows
};
enum ImGuiDragDropFlags_
{
}ImGuiHoveredFlags_;
typedef enum {
ImGuiDragDropFlags_None = 0,
ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0,
ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1,
@@ -312,9 +306,8 @@ enum ImGuiDragDropFlags_
ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11,
ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12,
ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect
};
enum ImGuiDataType_
{
}ImGuiDragDropFlags_;
typedef enum {
ImGuiDataType_S8,
ImGuiDataType_U8,
ImGuiDataType_S16,
@@ -326,18 +319,16 @@ enum ImGuiDataType_
ImGuiDataType_Float,
ImGuiDataType_Double,
ImGuiDataType_COUNT
};
enum ImGuiDir_
{
}ImGuiDataType_;
typedef enum {
ImGuiDir_None = -1,
ImGuiDir_Left = 0,
ImGuiDir_Right = 1,
ImGuiDir_Up = 2,
ImGuiDir_Down = 3,
ImGuiDir_COUNT
};
enum ImGuiKey_
{
}ImGuiDir_;
typedef enum {
ImGuiKey_Tab,
ImGuiKey_LeftArrow,
ImGuiKey_RightArrow,
@@ -361,9 +352,8 @@ enum ImGuiKey_
ImGuiKey_Y,
ImGuiKey_Z,
ImGuiKey_COUNT
};
enum ImGuiNavInput_
{
}ImGuiKey_;
typedef enum {
ImGuiNavInput_Activate,
ImGuiNavInput_Cancel,
ImGuiNavInput_Input,
@@ -381,16 +371,14 @@ enum ImGuiNavInput_
ImGuiNavInput_TweakSlow,
ImGuiNavInput_TweakFast,
ImGuiNavInput_KeyMenu_,
ImGuiNavInput_KeyTab_,
ImGuiNavInput_KeyLeft_,
ImGuiNavInput_KeyRight_,
ImGuiNavInput_KeyUp_,
ImGuiNavInput_KeyDown_,
ImGuiNavInput_COUNT,
ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_
};
enum ImGuiConfigFlags_
{
}ImGuiNavInput_;
typedef enum {
ImGuiConfigFlags_None = 0,
ImGuiConfigFlags_NavEnableKeyboard = 1 << 0,
ImGuiConfigFlags_NavEnableGamepad = 1 << 1,
@@ -400,17 +388,15 @@ enum ImGuiConfigFlags_
ImGuiConfigFlags_NoMouseCursorChange = 1 << 5,
ImGuiConfigFlags_IsSRGB = 1 << 20,
ImGuiConfigFlags_IsTouchScreen = 1 << 21
};
enum ImGuiBackendFlags_
{
}ImGuiConfigFlags_;
typedef enum {
ImGuiBackendFlags_None = 0,
ImGuiBackendFlags_HasGamepad = 1 << 0,
ImGuiBackendFlags_HasMouseCursors = 1 << 1,
ImGuiBackendFlags_HasSetMousePos = 1 << 2,
ImGuiBackendFlags_RendererHasVtxOffset = 1 << 3
};
enum ImGuiCol_
{
}ImGuiBackendFlags_;
typedef enum {
ImGuiCol_Text,
ImGuiCol_TextDisabled,
ImGuiCol_WindowBg,
@@ -460,9 +446,8 @@ enum ImGuiCol_
ImGuiCol_NavWindowingDimBg,
ImGuiCol_ModalWindowDimBg,
ImGuiCol_COUNT
};
enum ImGuiStyleVar_
{
}ImGuiCol_;
typedef enum {
ImGuiStyleVar_Alpha,
ImGuiStyleVar_WindowPadding,
ImGuiStyleVar_WindowRounding,
@@ -487,9 +472,8 @@ enum ImGuiStyleVar_
ImGuiStyleVar_ButtonTextAlign,
ImGuiStyleVar_SelectableTextAlign,
ImGuiStyleVar_COUNT
};
enum ImGuiColorEditFlags_
{
}ImGuiStyleVar_;
typedef enum {
ImGuiColorEditFlags_None = 0,
ImGuiColorEditFlags_NoAlpha = 1 << 1,
ImGuiColorEditFlags_NoPicker = 1 << 2,
@@ -518,9 +502,8 @@ enum ImGuiColorEditFlags_
ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float,
ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar,
ImGuiColorEditFlags__InputMask = ImGuiColorEditFlags_InputRGB|ImGuiColorEditFlags_InputHSV
};
enum ImGuiMouseCursor_
{
}ImGuiColorEditFlags_;
typedef enum {
ImGuiMouseCursor_None = -1,
ImGuiMouseCursor_Arrow = 0,
ImGuiMouseCursor_TextInput,
@@ -531,14 +514,13 @@ enum ImGuiMouseCursor_
ImGuiMouseCursor_ResizeNWSE,
ImGuiMouseCursor_Hand,
ImGuiMouseCursor_COUNT
};
enum ImGuiCond_
{
}ImGuiMouseCursor_;
typedef enum {
ImGuiCond_Always = 1 << 0,
ImGuiCond_Once = 1 << 1,
ImGuiCond_FirstUseEver = 1 << 2,
ImGuiCond_Appearing = 1 << 3
};
}ImGuiCond_;
struct ImGuiStyle
{
float Alpha;
@@ -603,6 +585,7 @@ struct ImGuiIO
bool ConfigInputTextCursorBlink;
bool ConfigWindowsResizeFromEdges;
bool ConfigWindowsMoveFromTitleBarOnly;
float ConfigWindowsMemoryCompactTimer;
const char* BackendPlatformName;
const char* BackendRendererName;
void* BackendPlatformUserData;
@@ -744,8 +727,7 @@ struct ImDrawListSplitter
int _Count;
ImVector_ImDrawChannel _Channels;
};
enum ImDrawCornerFlags_
{
typedef enum {
ImDrawCornerFlags_None = 0,
ImDrawCornerFlags_TopLeft = 1 << 0,
ImDrawCornerFlags_TopRight = 1 << 1,
@@ -756,14 +738,13 @@ enum ImDrawCornerFlags_
ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft,
ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight,
ImDrawCornerFlags_All = 0xF
};
enum ImDrawListFlags_
{
}ImDrawCornerFlags_;
typedef enum {
ImDrawListFlags_None = 0,
ImDrawListFlags_AntiAliasedLines = 1 << 0,
ImDrawListFlags_AntiAliasedFill = 1 << 1,
ImDrawListFlags_AllowVtxOffset = 1 << 2
};
}ImDrawListFlags_;
struct ImDrawList
{
ImVector_ImDrawCmd CmdBuffer;
@@ -810,6 +791,7 @@ struct ImFontConfig
bool MergeMode;
unsigned int RasterizerFlags;
float RasterizerMultiply;
ImWchar EllipsisChar;
char Name[40];
ImFont* DstFont;
};
@@ -833,12 +815,11 @@ struct ImFontAtlasCustomRect
ImVec2 GlyphOffset;
ImFont* Font;
};
enum ImFontAtlasFlags_
{
typedef enum {
ImFontAtlasFlags_None = 0,
ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0,
ImFontAtlasFlags_NoMouseCursors = 1 << 1
};
}ImFontAtlasFlags_;
struct ImFontAtlas
{
bool Locked;
@@ -870,6 +851,7 @@ struct ImFont
const ImFontConfig* ConfigData;
short ConfigDataCount;
ImWchar FallbackChar;
ImWchar EllipsisChar;
float Scale;
float Ascent, Descent;
int MetricsTotalSurface;
@@ -1103,8 +1085,8 @@ CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,in
CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format);
CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format);
CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max);
CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power);
CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power);
CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* p_data,float v_speed,const void* p_min,const void* p_max,const char* format,float power);
CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,float v_speed,const void* p_min,const void* p_max,const char* format,float power);
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power);
CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power);
CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power);
@@ -1114,11 +1096,11 @@ CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const c
CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format);
CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format);
CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format);
CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power);
CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power);
CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,float power);
CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_min,const void* p_max,const char* format,float power);
CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power);
CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format);
CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power);
CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,float power);
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* 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);
CIMGUI_API bool igInputTextWithHint(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
@@ -1131,8 +1113,8 @@ CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags flags
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags flags);
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags flags);
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags flags);
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags 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 flags);
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* p_data,const void* p_step,const void* p_step_fast,const char* format,ImGuiInputTextFlags flags);
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_step,const void* p_step_fast,const char* format,ImGuiInputTextFlags flags);
CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags);
CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags);
CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags);
@@ -1171,10 +1153,10 @@ CIMGUI_API void igValueBool(const char* prefix,bool b);
CIMGUI_API void igValueInt(const char* prefix,int v);
CIMGUI_API void igValueUint(const char* prefix,unsigned int v);
CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format);
CIMGUI_API bool igBeginMainMenuBar(void);
CIMGUI_API void igEndMainMenuBar(void);
CIMGUI_API bool igBeginMenuBar(void);
CIMGUI_API void igEndMenuBar(void);
CIMGUI_API bool igBeginMainMenuBar(void);
CIMGUI_API void igEndMainMenuBar(void);
CIMGUI_API bool igBeginMenu(const char* label,bool enabled);
CIMGUI_API void igEndMenu(void);
CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled);
@@ -1231,6 +1213,7 @@ CIMGUI_API bool igIsItemEdited(void);
CIMGUI_API bool igIsItemActivated(void);
CIMGUI_API bool igIsItemDeactivated(void);
CIMGUI_API bool igIsItemDeactivatedAfterEdit(void);
CIMGUI_API bool igIsItemToggledOpen(void);
CIMGUI_API bool igIsAnyItemHovered(void);
CIMGUI_API bool igIsAnyItemActive(void);
CIMGUI_API bool igIsAnyItemFocused(void);
@@ -1378,31 +1361,31 @@ CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id
CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self);
CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self);
CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self);
CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners,float thickness);
CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners);
CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left);
CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col);
CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col);
CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness);
CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments);
CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners,float thickness);
CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners);
CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left);
CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col);
CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col);
CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments,float thickness);
CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments);
CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end);
CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect);
CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col);
CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col);
CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners);
CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col,bool closed,float thickness);
CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col);
CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments);
CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p_min,const ImVec2 p_max,const ImVec2 uv_min,const ImVec2 uv_max,ImU32 col);
CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,const ImVec2 uv1,const ImVec2 uv2,const ImVec2 uv3,const ImVec2 uv4,ImU32 col);
CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p_min,const ImVec2 p_max,const ImVec2 uv_min,const ImVec2 uv_max,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners);
CIMGUI_API void ImDrawList_PathClear(ImDrawList* self);
CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos);
CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos);
CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col);
CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness);
CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments);
CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12);
CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 center,float radius,float a_min,float a_max,int num_segments);
CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 center,float radius,int a_min_of_12,int a_max_of_12);
CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments);
CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,ImDrawCornerFlags rounding_corners);
CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data);
@@ -1532,502 +1515,6 @@ CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImVec2 *pOut,ImDrawList* self);
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self);
CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImVec2 *pOut,ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** 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);
CIMGUI_API ImVector_float* ImVector_float_ImVector_float(void);
CIMGUI_API void ImVector_float_destroy(ImVector_float* self);
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_ImVector_ImWchar(void);
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* self);
CIMGUI_API ImVector_ImDrawVert* ImVector_ImDrawVert_ImVector_ImDrawVert(void);
CIMGUI_API void ImVector_ImDrawVert_destroy(ImVector_ImDrawVert* self);
CIMGUI_API ImVector_ImFontGlyph* ImVector_ImFontGlyph_ImVector_ImFontGlyph(void);
CIMGUI_API void ImVector_ImFontGlyph_destroy(ImVector_ImFontGlyph* self);
CIMGUI_API ImVector_ImGuiTextRange* ImVector_ImGuiTextRange_ImVector_ImGuiTextRange(void);
CIMGUI_API void ImVector_ImGuiTextRange_destroy(ImVector_ImGuiTextRange* self);
CIMGUI_API ImVector_ImGuiStoragePair* ImVector_ImGuiStoragePair_ImVector_ImGuiStoragePair(void);
CIMGUI_API void ImVector_ImGuiStoragePair_destroy(ImVector_ImGuiStoragePair* self);
CIMGUI_API ImVector_ImDrawChannel* ImVector_ImDrawChannel_ImVector_ImDrawChannel(void);
CIMGUI_API void ImVector_ImDrawChannel_destroy(ImVector_ImDrawChannel* self);
CIMGUI_API ImVector_char* ImVector_char_ImVector_char(void);
CIMGUI_API void ImVector_char_destroy(ImVector_char* self);
CIMGUI_API ImVector_ImU32* ImVector_ImU32_ImVector_ImU32(void);
CIMGUI_API void ImVector_ImU32_destroy(ImVector_ImU32* self);
CIMGUI_API ImVector_ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_ImVector_ImFontAtlasCustomRect(void);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_destroy(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImVector_ImTextureID* ImVector_ImTextureID_ImVector_ImTextureID(void);
CIMGUI_API void ImVector_ImTextureID_destroy(ImVector_ImTextureID* self);
CIMGUI_API ImVector_ImFontConfig* ImVector_ImFontConfig_ImVector_ImFontConfig(void);
CIMGUI_API void ImVector_ImFontConfig_destroy(ImVector_ImFontConfig* self);
CIMGUI_API ImVector_ImFontPtr* ImVector_ImFontPtr_ImVector_ImFontPtr(void);
CIMGUI_API void ImVector_ImFontPtr_destroy(ImVector_ImFontPtr* self);
CIMGUI_API ImVector_ImDrawCmd* ImVector_ImDrawCmd_ImVector_ImDrawCmd(void);
CIMGUI_API void ImVector_ImDrawCmd_destroy(ImVector_ImDrawCmd* self);
CIMGUI_API ImVector_ImVec4* ImVector_ImVec4_ImVector_ImVec4(void);
CIMGUI_API void ImVector_ImVec4_destroy(ImVector_ImVec4* self);
CIMGUI_API ImVector_ImDrawIdx* ImVector_ImDrawIdx_ImVector_ImDrawIdx(void);
CIMGUI_API void ImVector_ImDrawIdx_destroy(ImVector_ImDrawIdx* self);
CIMGUI_API ImVector_ImVec2* ImVector_ImVec2_ImVector_ImVec2(void);
CIMGUI_API void ImVector_ImVec2_destroy(ImVector_ImVec2* self);
CIMGUI_API ImVector_float* ImVector_float_ImVector_floatVector(const ImVector_float src);
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_ImVector_ImWcharVector(const ImVector_ImWchar src);
CIMGUI_API ImVector_ImDrawVert* ImVector_ImDrawVert_ImVector_ImDrawVertVector(const ImVector_ImDrawVert src);
CIMGUI_API ImVector_ImFontGlyph* ImVector_ImFontGlyph_ImVector_ImFontGlyphVector(const ImVector_ImFontGlyph src);
CIMGUI_API ImVector_ImGuiTextRange* ImVector_ImGuiTextRange_ImVector_ImGuiTextRangeVector(const ImVector_ImGuiTextRange src);
CIMGUI_API ImVector_ImGuiStoragePair* ImVector_ImGuiStoragePair_ImVector_ImGuiStoragePairVector(const ImVector_ImGuiStoragePair src);
CIMGUI_API ImVector_ImDrawChannel* ImVector_ImDrawChannel_ImVector_ImDrawChannelVector(const ImVector_ImDrawChannel src);
CIMGUI_API ImVector_char* ImVector_char_ImVector_charVector(const ImVector_char src);
CIMGUI_API ImVector_ImU32* ImVector_ImU32_ImVector_ImU32Vector(const ImVector_ImU32 src);
CIMGUI_API ImVector_ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_ImVector_ImFontAtlasCustomRectVector(const ImVector_ImFontAtlasCustomRect src);
CIMGUI_API ImVector_ImTextureID* ImVector_ImTextureID_ImVector_ImTextureIDVector(const ImVector_ImTextureID src);
CIMGUI_API ImVector_ImFontConfig* ImVector_ImFontConfig_ImVector_ImFontConfigVector(const ImVector_ImFontConfig src);
CIMGUI_API ImVector_ImFontPtr* ImVector_ImFontPtr_ImVector_ImFontPtrVector(const ImVector_ImFontPtr src);
CIMGUI_API ImVector_ImDrawCmd* ImVector_ImDrawCmd_ImVector_ImDrawCmdVector(const ImVector_ImDrawCmd src);
CIMGUI_API ImVector_ImVec4* ImVector_ImVec4_ImVector_ImVec4Vector(const ImVector_ImVec4 src);
CIMGUI_API ImVector_ImDrawIdx* ImVector_ImDrawIdx_ImVector_ImDrawIdxVector(const ImVector_ImDrawIdx src);
CIMGUI_API ImVector_ImVec2* ImVector_ImVec2_ImVector_ImVec2Vector(const ImVector_ImVec2 src);
CIMGUI_API bool ImVector_float_empty(const ImVector_float* self);
CIMGUI_API bool ImVector_ImWchar_empty(const ImVector_ImWchar* self);
CIMGUI_API bool ImVector_ImDrawVert_empty(const ImVector_ImDrawVert* self);
CIMGUI_API bool ImVector_ImFontGlyph_empty(const ImVector_ImFontGlyph* self);
CIMGUI_API bool ImVector_ImGuiTextRange_empty(const ImVector_ImGuiTextRange* self);
CIMGUI_API bool ImVector_ImGuiStoragePair_empty(const ImVector_ImGuiStoragePair* self);
CIMGUI_API bool ImVector_ImDrawChannel_empty(const ImVector_ImDrawChannel* self);
CIMGUI_API bool ImVector_char_empty(const ImVector_char* self);
CIMGUI_API bool ImVector_ImU32_empty(const ImVector_ImU32* self);
CIMGUI_API bool ImVector_ImFontAtlasCustomRect_empty(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API bool ImVector_ImTextureID_empty(const ImVector_ImTextureID* self);
CIMGUI_API bool ImVector_ImFontConfig_empty(const ImVector_ImFontConfig* self);
CIMGUI_API bool ImVector_ImFontPtr_empty(const ImVector_ImFontPtr* self);
CIMGUI_API bool ImVector_ImDrawCmd_empty(const ImVector_ImDrawCmd* self);
CIMGUI_API bool ImVector_ImVec4_empty(const ImVector_ImVec4* self);
CIMGUI_API bool ImVector_ImDrawIdx_empty(const ImVector_ImDrawIdx* self);
CIMGUI_API bool ImVector_ImVec2_empty(const ImVector_ImVec2* self);
CIMGUI_API int ImVector_float_size(const ImVector_float* self);
CIMGUI_API int ImVector_ImWchar_size(const ImVector_ImWchar* self);
CIMGUI_API int ImVector_ImDrawVert_size(const ImVector_ImDrawVert* self);
CIMGUI_API int ImVector_ImFontGlyph_size(const ImVector_ImFontGlyph* self);
CIMGUI_API int ImVector_ImGuiTextRange_size(const ImVector_ImGuiTextRange* self);
CIMGUI_API int ImVector_ImGuiStoragePair_size(const ImVector_ImGuiStoragePair* self);
CIMGUI_API int ImVector_ImDrawChannel_size(const ImVector_ImDrawChannel* self);
CIMGUI_API int ImVector_char_size(const ImVector_char* self);
CIMGUI_API int ImVector_ImU32_size(const ImVector_ImU32* self);
CIMGUI_API int ImVector_ImFontAtlasCustomRect_size(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API int ImVector_ImTextureID_size(const ImVector_ImTextureID* self);
CIMGUI_API int ImVector_ImFontConfig_size(const ImVector_ImFontConfig* self);
CIMGUI_API int ImVector_ImFontPtr_size(const ImVector_ImFontPtr* self);
CIMGUI_API int ImVector_ImDrawCmd_size(const ImVector_ImDrawCmd* self);
CIMGUI_API int ImVector_ImVec4_size(const ImVector_ImVec4* self);
CIMGUI_API int ImVector_ImDrawIdx_size(const ImVector_ImDrawIdx* self);
CIMGUI_API int ImVector_ImVec2_size(const ImVector_ImVec2* self);
CIMGUI_API int ImVector_float_size_in_bytes(const ImVector_float* self);
CIMGUI_API int ImVector_ImWchar_size_in_bytes(const ImVector_ImWchar* self);
CIMGUI_API int ImVector_ImDrawVert_size_in_bytes(const ImVector_ImDrawVert* self);
CIMGUI_API int ImVector_ImFontGlyph_size_in_bytes(const ImVector_ImFontGlyph* self);
CIMGUI_API int ImVector_ImGuiTextRange_size_in_bytes(const ImVector_ImGuiTextRange* self);
CIMGUI_API int ImVector_ImGuiStoragePair_size_in_bytes(const ImVector_ImGuiStoragePair* self);
CIMGUI_API int ImVector_ImDrawChannel_size_in_bytes(const ImVector_ImDrawChannel* self);
CIMGUI_API int ImVector_char_size_in_bytes(const ImVector_char* self);
CIMGUI_API int ImVector_ImU32_size_in_bytes(const ImVector_ImU32* self);
CIMGUI_API int ImVector_ImFontAtlasCustomRect_size_in_bytes(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API int ImVector_ImTextureID_size_in_bytes(const ImVector_ImTextureID* self);
CIMGUI_API int ImVector_ImFontConfig_size_in_bytes(const ImVector_ImFontConfig* self);
CIMGUI_API int ImVector_ImFontPtr_size_in_bytes(const ImVector_ImFontPtr* self);
CIMGUI_API int ImVector_ImDrawCmd_size_in_bytes(const ImVector_ImDrawCmd* self);
CIMGUI_API int ImVector_ImVec4_size_in_bytes(const ImVector_ImVec4* self);
CIMGUI_API int ImVector_ImDrawIdx_size_in_bytes(const ImVector_ImDrawIdx* self);
CIMGUI_API int ImVector_ImVec2_size_in_bytes(const ImVector_ImVec2* self);
CIMGUI_API int ImVector_float_capacity(const ImVector_float* self);
CIMGUI_API int ImVector_ImWchar_capacity(const ImVector_ImWchar* self);
CIMGUI_API int ImVector_ImDrawVert_capacity(const ImVector_ImDrawVert* self);
CIMGUI_API int ImVector_ImFontGlyph_capacity(const ImVector_ImFontGlyph* self);
CIMGUI_API int ImVector_ImGuiTextRange_capacity(const ImVector_ImGuiTextRange* self);
CIMGUI_API int ImVector_ImGuiStoragePair_capacity(const ImVector_ImGuiStoragePair* self);
CIMGUI_API int ImVector_ImDrawChannel_capacity(const ImVector_ImDrawChannel* self);
CIMGUI_API int ImVector_char_capacity(const ImVector_char* self);
CIMGUI_API int ImVector_ImU32_capacity(const ImVector_ImU32* self);
CIMGUI_API int ImVector_ImFontAtlasCustomRect_capacity(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API int ImVector_ImTextureID_capacity(const ImVector_ImTextureID* self);
CIMGUI_API int ImVector_ImFontConfig_capacity(const ImVector_ImFontConfig* self);
CIMGUI_API int ImVector_ImFontPtr_capacity(const ImVector_ImFontPtr* self);
CIMGUI_API int ImVector_ImDrawCmd_capacity(const ImVector_ImDrawCmd* self);
CIMGUI_API int ImVector_ImVec4_capacity(const ImVector_ImVec4* self);
CIMGUI_API int ImVector_ImDrawIdx_capacity(const ImVector_ImDrawIdx* self);
CIMGUI_API int ImVector_ImVec2_capacity(const ImVector_ImVec2* self);
CIMGUI_API void ImVector_float_clear(ImVector_float* self);
CIMGUI_API void ImVector_ImWchar_clear(ImVector_ImWchar* self);
CIMGUI_API void ImVector_ImDrawVert_clear(ImVector_ImDrawVert* self);
CIMGUI_API void ImVector_ImFontGlyph_clear(ImVector_ImFontGlyph* self);
CIMGUI_API void ImVector_ImGuiTextRange_clear(ImVector_ImGuiTextRange* self);
CIMGUI_API void ImVector_ImGuiStoragePair_clear(ImVector_ImGuiStoragePair* self);
CIMGUI_API void ImVector_ImDrawChannel_clear(ImVector_ImDrawChannel* self);
CIMGUI_API void ImVector_char_clear(ImVector_char* self);
CIMGUI_API void ImVector_ImU32_clear(ImVector_ImU32* self);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_clear(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API void ImVector_ImTextureID_clear(ImVector_ImTextureID* self);
CIMGUI_API void ImVector_ImFontConfig_clear(ImVector_ImFontConfig* self);
CIMGUI_API void ImVector_ImFontPtr_clear(ImVector_ImFontPtr* self);
CIMGUI_API void ImVector_ImDrawCmd_clear(ImVector_ImDrawCmd* self);
CIMGUI_API void ImVector_ImVec4_clear(ImVector_ImVec4* self);
CIMGUI_API void ImVector_ImDrawIdx_clear(ImVector_ImDrawIdx* self);
CIMGUI_API void ImVector_ImVec2_clear(ImVector_ImVec2* self);
CIMGUI_API float* ImVector_float_begin(ImVector_float* self);
CIMGUI_API ImWchar* ImVector_ImWchar_begin(ImVector_ImWchar* self);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_begin(ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_begin(ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_begin(ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_begin(ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_begin(ImVector_ImDrawChannel* self);
CIMGUI_API char* ImVector_char_begin(ImVector_char* self);
CIMGUI_API ImU32* ImVector_ImU32_begin(ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_begin(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID* ImVector_ImTextureID_begin(ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_begin(ImVector_ImFontConfig* self);
CIMGUI_API ImFont** ImVector_ImFontPtr_begin(ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_begin(ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4* ImVector_ImVec4_begin(ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_begin(ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2* ImVector_ImVec2_begin(ImVector_ImVec2* self);
CIMGUI_API float const * ImVector_float_begin_const(const ImVector_float* self);
CIMGUI_API ImWchar const * ImVector_ImWchar_begin_const(const ImVector_ImWchar* self);
CIMGUI_API ImDrawVert const * ImVector_ImDrawVert_begin_const(const ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph const * ImVector_ImFontGlyph_begin_const(const ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange const * ImVector_ImGuiTextRange_begin_const(const ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair const * ImVector_ImGuiStoragePair_begin_const(const ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel const * ImVector_ImDrawChannel_begin_const(const ImVector_ImDrawChannel* self);
CIMGUI_API char const * ImVector_char_begin_const(const ImVector_char* self);
CIMGUI_API ImU32 const * ImVector_ImU32_begin_const(const ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect const * ImVector_ImFontAtlasCustomRect_begin_const(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID const * ImVector_ImTextureID_begin_const(const ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig const * ImVector_ImFontConfig_begin_const(const ImVector_ImFontConfig* self);
CIMGUI_API ImFont* const * ImVector_ImFontPtr_begin_const(const ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd const * ImVector_ImDrawCmd_begin_const(const ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4 const * ImVector_ImVec4_begin_const(const ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx const * ImVector_ImDrawIdx_begin_const(const ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2 const * ImVector_ImVec2_begin_const(const ImVector_ImVec2* self);
CIMGUI_API float* ImVector_float_end(ImVector_float* self);
CIMGUI_API ImWchar* ImVector_ImWchar_end(ImVector_ImWchar* self);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_end(ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_end(ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_end(ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_end(ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_end(ImVector_ImDrawChannel* self);
CIMGUI_API char* ImVector_char_end(ImVector_char* self);
CIMGUI_API ImU32* ImVector_ImU32_end(ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_end(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID* ImVector_ImTextureID_end(ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_end(ImVector_ImFontConfig* self);
CIMGUI_API ImFont** ImVector_ImFontPtr_end(ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_end(ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4* ImVector_ImVec4_end(ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_end(ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2* ImVector_ImVec2_end(ImVector_ImVec2* self);
CIMGUI_API float const * ImVector_float_end_const(const ImVector_float* self);
CIMGUI_API ImWchar const * ImVector_ImWchar_end_const(const ImVector_ImWchar* self);
CIMGUI_API ImDrawVert const * ImVector_ImDrawVert_end_const(const ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph const * ImVector_ImFontGlyph_end_const(const ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange const * ImVector_ImGuiTextRange_end_const(const ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair const * ImVector_ImGuiStoragePair_end_const(const ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel const * ImVector_ImDrawChannel_end_const(const ImVector_ImDrawChannel* self);
CIMGUI_API char const * ImVector_char_end_const(const ImVector_char* self);
CIMGUI_API ImU32 const * ImVector_ImU32_end_const(const ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect const * ImVector_ImFontAtlasCustomRect_end_const(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID const * ImVector_ImTextureID_end_const(const ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig const * ImVector_ImFontConfig_end_const(const ImVector_ImFontConfig* self);
CIMGUI_API ImFont* const * ImVector_ImFontPtr_end_const(const ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd const * ImVector_ImDrawCmd_end_const(const ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4 const * ImVector_ImVec4_end_const(const ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx const * ImVector_ImDrawIdx_end_const(const ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2 const * ImVector_ImVec2_end_const(const ImVector_ImVec2* self);
CIMGUI_API float* ImVector_float_front(ImVector_float* self);
CIMGUI_API ImWchar* ImVector_ImWchar_front(ImVector_ImWchar* self);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_front(ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_front(ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_front(ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_front(ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_front(ImVector_ImDrawChannel* self);
CIMGUI_API char* ImVector_char_front(ImVector_char* self);
CIMGUI_API ImU32* ImVector_ImU32_front(ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_front(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID* ImVector_ImTextureID_front(ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_front(ImVector_ImFontConfig* self);
CIMGUI_API ImFont** ImVector_ImFontPtr_front(ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_front(ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4* ImVector_ImVec4_front(ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_front(ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2* ImVector_ImVec2_front(ImVector_ImVec2* self);
CIMGUI_API float const * ImVector_float_front_const(const ImVector_float* self);
CIMGUI_API ImWchar const * ImVector_ImWchar_front_const(const ImVector_ImWchar* self);
CIMGUI_API ImDrawVert const * ImVector_ImDrawVert_front_const(const ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph const * ImVector_ImFontGlyph_front_const(const ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange const * ImVector_ImGuiTextRange_front_const(const ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair const * ImVector_ImGuiStoragePair_front_const(const ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel const * ImVector_ImDrawChannel_front_const(const ImVector_ImDrawChannel* self);
CIMGUI_API char const * ImVector_char_front_const(const ImVector_char* self);
CIMGUI_API ImU32 const * ImVector_ImU32_front_const(const ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect const * ImVector_ImFontAtlasCustomRect_front_const(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID const * ImVector_ImTextureID_front_const(const ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig const * ImVector_ImFontConfig_front_const(const ImVector_ImFontConfig* self);
CIMGUI_API ImFont* const * ImVector_ImFontPtr_front_const(const ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd const * ImVector_ImDrawCmd_front_const(const ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4 const * ImVector_ImVec4_front_const(const ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx const * ImVector_ImDrawIdx_front_const(const ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2 const * ImVector_ImVec2_front_const(const ImVector_ImVec2* self);
CIMGUI_API float* ImVector_float_back(ImVector_float* self);
CIMGUI_API ImWchar* ImVector_ImWchar_back(ImVector_ImWchar* self);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_back(ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_back(ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_back(ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_back(ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_back(ImVector_ImDrawChannel* self);
CIMGUI_API char* ImVector_char_back(ImVector_char* self);
CIMGUI_API ImU32* ImVector_ImU32_back(ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_back(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID* ImVector_ImTextureID_back(ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_back(ImVector_ImFontConfig* self);
CIMGUI_API ImFont** ImVector_ImFontPtr_back(ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_back(ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4* ImVector_ImVec4_back(ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_back(ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2* ImVector_ImVec2_back(ImVector_ImVec2* self);
CIMGUI_API float const * ImVector_float_back_const(const ImVector_float* self);
CIMGUI_API ImWchar const * ImVector_ImWchar_back_const(const ImVector_ImWchar* self);
CIMGUI_API ImDrawVert const * ImVector_ImDrawVert_back_const(const ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph const * ImVector_ImFontGlyph_back_const(const ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange const * ImVector_ImGuiTextRange_back_const(const ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair const * ImVector_ImGuiStoragePair_back_const(const ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel const * ImVector_ImDrawChannel_back_const(const ImVector_ImDrawChannel* self);
CIMGUI_API char const * ImVector_char_back_const(const ImVector_char* self);
CIMGUI_API ImU32 const * ImVector_ImU32_back_const(const ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect const * ImVector_ImFontAtlasCustomRect_back_const(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID const * ImVector_ImTextureID_back_const(const ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig const * ImVector_ImFontConfig_back_const(const ImVector_ImFontConfig* self);
CIMGUI_API ImFont* const * ImVector_ImFontPtr_back_const(const ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd const * ImVector_ImDrawCmd_back_const(const ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4 const * ImVector_ImVec4_back_const(const ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx const * ImVector_ImDrawIdx_back_const(const ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2 const * ImVector_ImVec2_back_const(const ImVector_ImVec2* self);
CIMGUI_API void ImVector_float_swap(ImVector_float* self,ImVector_float rhs);
CIMGUI_API void ImVector_ImWchar_swap(ImVector_ImWchar* self,ImVector_ImWchar rhs);
CIMGUI_API void ImVector_ImDrawVert_swap(ImVector_ImDrawVert* self,ImVector_ImDrawVert rhs);
CIMGUI_API void ImVector_ImFontGlyph_swap(ImVector_ImFontGlyph* self,ImVector_ImFontGlyph rhs);
CIMGUI_API void ImVector_ImGuiTextRange_swap(ImVector_ImGuiTextRange* self,ImVector_ImGuiTextRange rhs);
CIMGUI_API void ImVector_ImGuiStoragePair_swap(ImVector_ImGuiStoragePair* self,ImVector_ImGuiStoragePair rhs);
CIMGUI_API void ImVector_ImDrawChannel_swap(ImVector_ImDrawChannel* self,ImVector_ImDrawChannel rhs);
CIMGUI_API void ImVector_char_swap(ImVector_char* self,ImVector_char rhs);
CIMGUI_API void ImVector_ImU32_swap(ImVector_ImU32* self,ImVector_ImU32 rhs);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_swap(ImVector_ImFontAtlasCustomRect* self,ImVector_ImFontAtlasCustomRect rhs);
CIMGUI_API void ImVector_ImTextureID_swap(ImVector_ImTextureID* self,ImVector_ImTextureID rhs);
CIMGUI_API void ImVector_ImFontConfig_swap(ImVector_ImFontConfig* self,ImVector_ImFontConfig rhs);
CIMGUI_API void ImVector_ImFontPtr_swap(ImVector_ImFontPtr* self,ImVector_ImFontPtr rhs);
CIMGUI_API void ImVector_ImDrawCmd_swap(ImVector_ImDrawCmd* self,ImVector_ImDrawCmd rhs);
CIMGUI_API void ImVector_ImVec4_swap(ImVector_ImVec4* self,ImVector_ImVec4 rhs);
CIMGUI_API void ImVector_ImDrawIdx_swap(ImVector_ImDrawIdx* self,ImVector_ImDrawIdx rhs);
CIMGUI_API void ImVector_ImVec2_swap(ImVector_ImVec2* self,ImVector_ImVec2 rhs);
CIMGUI_API int ImVector_float__grow_capacity(const ImVector_float* self,int sz);
CIMGUI_API int ImVector_ImWchar__grow_capacity(const ImVector_ImWchar* self,int sz);
CIMGUI_API int ImVector_ImDrawVert__grow_capacity(const ImVector_ImDrawVert* self,int sz);
CIMGUI_API int ImVector_ImFontGlyph__grow_capacity(const ImVector_ImFontGlyph* self,int sz);
CIMGUI_API int ImVector_ImGuiTextRange__grow_capacity(const ImVector_ImGuiTextRange* self,int sz);
CIMGUI_API int ImVector_ImGuiStoragePair__grow_capacity(const ImVector_ImGuiStoragePair* self,int sz);
CIMGUI_API int ImVector_ImDrawChannel__grow_capacity(const ImVector_ImDrawChannel* self,int sz);
CIMGUI_API int ImVector_char__grow_capacity(const ImVector_char* self,int sz);
CIMGUI_API int ImVector_ImU32__grow_capacity(const ImVector_ImU32* self,int sz);
CIMGUI_API int ImVector_ImFontAtlasCustomRect__grow_capacity(const ImVector_ImFontAtlasCustomRect* self,int sz);
CIMGUI_API int ImVector_ImTextureID__grow_capacity(const ImVector_ImTextureID* self,int sz);
CIMGUI_API int ImVector_ImFontConfig__grow_capacity(const ImVector_ImFontConfig* self,int sz);
CIMGUI_API int ImVector_ImFontPtr__grow_capacity(const ImVector_ImFontPtr* self,int sz);
CIMGUI_API int ImVector_ImDrawCmd__grow_capacity(const ImVector_ImDrawCmd* self,int sz);
CIMGUI_API int ImVector_ImVec4__grow_capacity(const ImVector_ImVec4* self,int sz);
CIMGUI_API int ImVector_ImDrawIdx__grow_capacity(const ImVector_ImDrawIdx* self,int sz);
CIMGUI_API int ImVector_ImVec2__grow_capacity(const ImVector_ImVec2* self,int sz);
CIMGUI_API void ImVector_float_resize(ImVector_float* self,int new_size);
CIMGUI_API void ImVector_ImWchar_resize(ImVector_ImWchar* self,int new_size);
CIMGUI_API void ImVector_ImDrawVert_resize(ImVector_ImDrawVert* self,int new_size);
CIMGUI_API void ImVector_ImFontGlyph_resize(ImVector_ImFontGlyph* self,int new_size);
CIMGUI_API void ImVector_ImGuiTextRange_resize(ImVector_ImGuiTextRange* self,int new_size);
CIMGUI_API void ImVector_ImGuiStoragePair_resize(ImVector_ImGuiStoragePair* self,int new_size);
CIMGUI_API void ImVector_ImDrawChannel_resize(ImVector_ImDrawChannel* self,int new_size);
CIMGUI_API void ImVector_char_resize(ImVector_char* self,int new_size);
CIMGUI_API void ImVector_ImU32_resize(ImVector_ImU32* self,int new_size);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_resize(ImVector_ImFontAtlasCustomRect* self,int new_size);
CIMGUI_API void ImVector_ImTextureID_resize(ImVector_ImTextureID* self,int new_size);
CIMGUI_API void ImVector_ImFontConfig_resize(ImVector_ImFontConfig* self,int new_size);
CIMGUI_API void ImVector_ImFontPtr_resize(ImVector_ImFontPtr* self,int new_size);
CIMGUI_API void ImVector_ImDrawCmd_resize(ImVector_ImDrawCmd* self,int new_size);
CIMGUI_API void ImVector_ImVec4_resize(ImVector_ImVec4* self,int new_size);
CIMGUI_API void ImVector_ImDrawIdx_resize(ImVector_ImDrawIdx* self,int new_size);
CIMGUI_API void ImVector_ImVec2_resize(ImVector_ImVec2* self,int new_size);
CIMGUI_API void ImVector_float_resizeT(ImVector_float* self,int new_size,const float v);
CIMGUI_API void ImVector_ImWchar_resizeT(ImVector_ImWchar* self,int new_size,const ImWchar v);
CIMGUI_API void ImVector_ImDrawVert_resizeT(ImVector_ImDrawVert* self,int new_size,const ImDrawVert v);
CIMGUI_API void ImVector_ImFontGlyph_resizeT(ImVector_ImFontGlyph* self,int new_size,const ImFontGlyph v);
CIMGUI_API void ImVector_ImGuiTextRange_resizeT(ImVector_ImGuiTextRange* self,int new_size,const ImGuiTextRange v);
CIMGUI_API void ImVector_ImGuiStoragePair_resizeT(ImVector_ImGuiStoragePair* self,int new_size,const ImGuiStoragePair v);
CIMGUI_API void ImVector_ImDrawChannel_resizeT(ImVector_ImDrawChannel* self,int new_size,const ImDrawChannel v);
CIMGUI_API void ImVector_char_resizeT(ImVector_char* self,int new_size,const char v);
CIMGUI_API void ImVector_ImU32_resizeT(ImVector_ImU32* self,int new_size,const ImU32 v);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_resizeT(ImVector_ImFontAtlasCustomRect* self,int new_size,const ImFontAtlasCustomRect v);
CIMGUI_API void ImVector_ImTextureID_resizeT(ImVector_ImTextureID* self,int new_size,const ImTextureID v);
CIMGUI_API void ImVector_ImFontConfig_resizeT(ImVector_ImFontConfig* self,int new_size,const ImFontConfig v);
CIMGUI_API void ImVector_ImFontPtr_resizeT(ImVector_ImFontPtr* self,int new_size,ImFont* const v);
CIMGUI_API void ImVector_ImDrawCmd_resizeT(ImVector_ImDrawCmd* self,int new_size,const ImDrawCmd v);
CIMGUI_API void ImVector_ImVec4_resizeT(ImVector_ImVec4* self,int new_size,const ImVec4 v);
CIMGUI_API void ImVector_ImDrawIdx_resizeT(ImVector_ImDrawIdx* self,int new_size,const ImDrawIdx v);
CIMGUI_API void ImVector_ImVec2_resizeT(ImVector_ImVec2* self,int new_size,const ImVec2 v);
CIMGUI_API void ImVector_float_reserve(ImVector_float* self,int new_capacity);
CIMGUI_API void ImVector_ImWchar_reserve(ImVector_ImWchar* self,int new_capacity);
CIMGUI_API void ImVector_ImDrawVert_reserve(ImVector_ImDrawVert* self,int new_capacity);
CIMGUI_API void ImVector_ImFontGlyph_reserve(ImVector_ImFontGlyph* self,int new_capacity);
CIMGUI_API void ImVector_ImGuiTextRange_reserve(ImVector_ImGuiTextRange* self,int new_capacity);
CIMGUI_API void ImVector_ImGuiStoragePair_reserve(ImVector_ImGuiStoragePair* self,int new_capacity);
CIMGUI_API void ImVector_ImDrawChannel_reserve(ImVector_ImDrawChannel* self,int new_capacity);
CIMGUI_API void ImVector_char_reserve(ImVector_char* self,int new_capacity);
CIMGUI_API void ImVector_ImU32_reserve(ImVector_ImU32* self,int new_capacity);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_reserve(ImVector_ImFontAtlasCustomRect* self,int new_capacity);
CIMGUI_API void ImVector_ImTextureID_reserve(ImVector_ImTextureID* self,int new_capacity);
CIMGUI_API void ImVector_ImFontConfig_reserve(ImVector_ImFontConfig* self,int new_capacity);
CIMGUI_API void ImVector_ImFontPtr_reserve(ImVector_ImFontPtr* self,int new_capacity);
CIMGUI_API void ImVector_ImDrawCmd_reserve(ImVector_ImDrawCmd* self,int new_capacity);
CIMGUI_API void ImVector_ImVec4_reserve(ImVector_ImVec4* self,int new_capacity);
CIMGUI_API void ImVector_ImDrawIdx_reserve(ImVector_ImDrawIdx* self,int new_capacity);
CIMGUI_API void ImVector_ImVec2_reserve(ImVector_ImVec2* self,int new_capacity);
CIMGUI_API void ImVector_float_push_back(ImVector_float* self,const float v);
CIMGUI_API void ImVector_ImWchar_push_back(ImVector_ImWchar* self,const ImWchar v);
CIMGUI_API void ImVector_ImDrawVert_push_back(ImVector_ImDrawVert* self,const ImDrawVert v);
CIMGUI_API void ImVector_ImFontGlyph_push_back(ImVector_ImFontGlyph* self,const ImFontGlyph v);
CIMGUI_API void ImVector_ImGuiTextRange_push_back(ImVector_ImGuiTextRange* self,const ImGuiTextRange v);
CIMGUI_API void ImVector_ImGuiStoragePair_push_back(ImVector_ImGuiStoragePair* self,const ImGuiStoragePair v);
CIMGUI_API void ImVector_ImDrawChannel_push_back(ImVector_ImDrawChannel* self,const ImDrawChannel v);
CIMGUI_API void ImVector_char_push_back(ImVector_char* self,const char v);
CIMGUI_API void ImVector_ImU32_push_back(ImVector_ImU32* self,const ImU32 v);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_push_back(ImVector_ImFontAtlasCustomRect* self,const ImFontAtlasCustomRect v);
CIMGUI_API void ImVector_ImTextureID_push_back(ImVector_ImTextureID* self,const ImTextureID v);
CIMGUI_API void ImVector_ImFontConfig_push_back(ImVector_ImFontConfig* self,const ImFontConfig v);
CIMGUI_API void ImVector_ImFontPtr_push_back(ImVector_ImFontPtr* self,ImFont* const v);
CIMGUI_API void ImVector_ImDrawCmd_push_back(ImVector_ImDrawCmd* self,const ImDrawCmd v);
CIMGUI_API void ImVector_ImVec4_push_back(ImVector_ImVec4* self,const ImVec4 v);
CIMGUI_API void ImVector_ImDrawIdx_push_back(ImVector_ImDrawIdx* self,const ImDrawIdx v);
CIMGUI_API void ImVector_ImVec2_push_back(ImVector_ImVec2* self,const ImVec2 v);
CIMGUI_API void ImVector_float_pop_back(ImVector_float* self);
CIMGUI_API void ImVector_ImWchar_pop_back(ImVector_ImWchar* self);
CIMGUI_API void ImVector_ImDrawVert_pop_back(ImVector_ImDrawVert* self);
CIMGUI_API void ImVector_ImFontGlyph_pop_back(ImVector_ImFontGlyph* self);
CIMGUI_API void ImVector_ImGuiTextRange_pop_back(ImVector_ImGuiTextRange* self);
CIMGUI_API void ImVector_ImGuiStoragePair_pop_back(ImVector_ImGuiStoragePair* self);
CIMGUI_API void ImVector_ImDrawChannel_pop_back(ImVector_ImDrawChannel* self);
CIMGUI_API void ImVector_char_pop_back(ImVector_char* self);
CIMGUI_API void ImVector_ImU32_pop_back(ImVector_ImU32* self);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_pop_back(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API void ImVector_ImTextureID_pop_back(ImVector_ImTextureID* self);
CIMGUI_API void ImVector_ImFontConfig_pop_back(ImVector_ImFontConfig* self);
CIMGUI_API void ImVector_ImFontPtr_pop_back(ImVector_ImFontPtr* self);
CIMGUI_API void ImVector_ImDrawCmd_pop_back(ImVector_ImDrawCmd* self);
CIMGUI_API void ImVector_ImVec4_pop_back(ImVector_ImVec4* self);
CIMGUI_API void ImVector_ImDrawIdx_pop_back(ImVector_ImDrawIdx* self);
CIMGUI_API void ImVector_ImVec2_pop_back(ImVector_ImVec2* self);
CIMGUI_API void ImVector_float_push_front(ImVector_float* self,const float v);
CIMGUI_API void ImVector_ImWchar_push_front(ImVector_ImWchar* self,const ImWchar v);
CIMGUI_API void ImVector_ImDrawVert_push_front(ImVector_ImDrawVert* self,const ImDrawVert v);
CIMGUI_API void ImVector_ImFontGlyph_push_front(ImVector_ImFontGlyph* self,const ImFontGlyph v);
CIMGUI_API void ImVector_ImGuiTextRange_push_front(ImVector_ImGuiTextRange* self,const ImGuiTextRange v);
CIMGUI_API void ImVector_ImGuiStoragePair_push_front(ImVector_ImGuiStoragePair* self,const ImGuiStoragePair v);
CIMGUI_API void ImVector_ImDrawChannel_push_front(ImVector_ImDrawChannel* self,const ImDrawChannel v);
CIMGUI_API void ImVector_char_push_front(ImVector_char* self,const char v);
CIMGUI_API void ImVector_ImU32_push_front(ImVector_ImU32* self,const ImU32 v);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_push_front(ImVector_ImFontAtlasCustomRect* self,const ImFontAtlasCustomRect v);
CIMGUI_API void ImVector_ImTextureID_push_front(ImVector_ImTextureID* self,const ImTextureID v);
CIMGUI_API void ImVector_ImFontConfig_push_front(ImVector_ImFontConfig* self,const ImFontConfig v);
CIMGUI_API void ImVector_ImFontPtr_push_front(ImVector_ImFontPtr* self,ImFont* const v);
CIMGUI_API void ImVector_ImDrawCmd_push_front(ImVector_ImDrawCmd* self,const ImDrawCmd v);
CIMGUI_API void ImVector_ImVec4_push_front(ImVector_ImVec4* self,const ImVec4 v);
CIMGUI_API void ImVector_ImDrawIdx_push_front(ImVector_ImDrawIdx* self,const ImDrawIdx v);
CIMGUI_API void ImVector_ImVec2_push_front(ImVector_ImVec2* self,const ImVec2 v);
CIMGUI_API float* ImVector_float_erase(ImVector_float* self,float const * it);
CIMGUI_API ImWchar* ImVector_ImWchar_erase(ImVector_ImWchar* self,ImWchar const * it);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_erase(ImVector_ImDrawVert* self,ImDrawVert const * it);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_erase(ImVector_ImFontGlyph* self,ImFontGlyph const * it);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_erase(ImVector_ImGuiTextRange* self,ImGuiTextRange const * it);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_erase(ImVector_ImGuiStoragePair* self,ImGuiStoragePair const * it);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_erase(ImVector_ImDrawChannel* self,ImDrawChannel const * it);
CIMGUI_API char* ImVector_char_erase(ImVector_char* self,char const * it);
CIMGUI_API ImU32* ImVector_ImU32_erase(ImVector_ImU32* self,ImU32 const * it);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_erase(ImVector_ImFontAtlasCustomRect* self,ImFontAtlasCustomRect const * it);
CIMGUI_API ImTextureID* ImVector_ImTextureID_erase(ImVector_ImTextureID* self,ImTextureID const * it);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_erase(ImVector_ImFontConfig* self,ImFontConfig const * it);
CIMGUI_API ImFont** ImVector_ImFontPtr_erase(ImVector_ImFontPtr* self,ImFont* const * it);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_erase(ImVector_ImDrawCmd* self,ImDrawCmd const * it);
CIMGUI_API ImVec4* ImVector_ImVec4_erase(ImVector_ImVec4* self,ImVec4 const * it);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_erase(ImVector_ImDrawIdx* self,ImDrawIdx const * it);
CIMGUI_API ImVec2* ImVector_ImVec2_erase(ImVector_ImVec2* self,ImVec2 const * it);
CIMGUI_API float* ImVector_float_eraseTPtr(ImVector_float* self,float const * it,float const * it_last);
CIMGUI_API ImWchar* ImVector_ImWchar_eraseTPtr(ImVector_ImWchar* self,ImWchar const * it,ImWchar const * it_last);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_eraseTPtr(ImVector_ImDrawVert* self,ImDrawVert const * it,ImDrawVert const * it_last);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_eraseTPtr(ImVector_ImFontGlyph* self,ImFontGlyph const * it,ImFontGlyph const * it_last);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_eraseTPtr(ImVector_ImGuiTextRange* self,ImGuiTextRange const * it,ImGuiTextRange const * it_last);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_eraseTPtr(ImVector_ImGuiStoragePair* self,ImGuiStoragePair const * it,ImGuiStoragePair const * it_last);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_eraseTPtr(ImVector_ImDrawChannel* self,ImDrawChannel const * it,ImDrawChannel const * it_last);
CIMGUI_API char* ImVector_char_eraseTPtr(ImVector_char* self,char const * it,char const * it_last);
CIMGUI_API ImU32* ImVector_ImU32_eraseTPtr(ImVector_ImU32* self,ImU32 const * it,ImU32 const * it_last);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_eraseTPtr(ImVector_ImFontAtlasCustomRect* self,ImFontAtlasCustomRect const * it,ImFontAtlasCustomRect const * it_last);
CIMGUI_API ImTextureID* ImVector_ImTextureID_eraseTPtr(ImVector_ImTextureID* self,ImTextureID const * it,ImTextureID const * it_last);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_eraseTPtr(ImVector_ImFontConfig* self,ImFontConfig const * it,ImFontConfig const * it_last);
CIMGUI_API ImFont** ImVector_ImFontPtr_eraseTPtr(ImVector_ImFontPtr* self,ImFont* const * it,ImFont* const * it_last);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_eraseTPtr(ImVector_ImDrawCmd* self,ImDrawCmd const * it,ImDrawCmd const * it_last);
CIMGUI_API ImVec4* ImVector_ImVec4_eraseTPtr(ImVector_ImVec4* self,ImVec4 const * it,ImVec4 const * it_last);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_eraseTPtr(ImVector_ImDrawIdx* self,ImDrawIdx const * it,ImDrawIdx const * it_last);
CIMGUI_API ImVec2* ImVector_ImVec2_eraseTPtr(ImVector_ImVec2* self,ImVec2 const * it,ImVec2 const * it_last);
CIMGUI_API float* ImVector_float_erase_unsorted(ImVector_float* self,float const * it);
CIMGUI_API ImWchar* ImVector_ImWchar_erase_unsorted(ImVector_ImWchar* self,ImWchar const * it);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_erase_unsorted(ImVector_ImDrawVert* self,ImDrawVert const * it);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_erase_unsorted(ImVector_ImFontGlyph* self,ImFontGlyph const * it);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_erase_unsorted(ImVector_ImGuiTextRange* self,ImGuiTextRange const * it);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_erase_unsorted(ImVector_ImGuiStoragePair* self,ImGuiStoragePair const * it);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_erase_unsorted(ImVector_ImDrawChannel* self,ImDrawChannel const * it);
CIMGUI_API char* ImVector_char_erase_unsorted(ImVector_char* self,char const * it);
CIMGUI_API ImU32* ImVector_ImU32_erase_unsorted(ImVector_ImU32* self,ImU32 const * it);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_erase_unsorted(ImVector_ImFontAtlasCustomRect* self,ImFontAtlasCustomRect const * it);
CIMGUI_API ImTextureID* ImVector_ImTextureID_erase_unsorted(ImVector_ImTextureID* self,ImTextureID const * it);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_erase_unsorted(ImVector_ImFontConfig* self,ImFontConfig const * it);
CIMGUI_API ImFont** ImVector_ImFontPtr_erase_unsorted(ImVector_ImFontPtr* self,ImFont* const * it);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_erase_unsorted(ImVector_ImDrawCmd* self,ImDrawCmd const * it);
CIMGUI_API ImVec4* ImVector_ImVec4_erase_unsorted(ImVector_ImVec4* self,ImVec4 const * it);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_erase_unsorted(ImVector_ImDrawIdx* self,ImDrawIdx const * it);
CIMGUI_API ImVec2* ImVector_ImVec2_erase_unsorted(ImVector_ImVec2* self,ImVec2 const * it);
CIMGUI_API float* ImVector_float_insert(ImVector_float* self,float const * it,const float v);
CIMGUI_API ImWchar* ImVector_ImWchar_insert(ImVector_ImWchar* self,ImWchar const * it,const ImWchar v);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_insert(ImVector_ImDrawVert* self,ImDrawVert const * it,const ImDrawVert v);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_insert(ImVector_ImFontGlyph* self,ImFontGlyph const * it,const ImFontGlyph v);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_insert(ImVector_ImGuiTextRange* self,ImGuiTextRange const * it,const ImGuiTextRange v);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_insert(ImVector_ImGuiStoragePair* self,ImGuiStoragePair const * it,const ImGuiStoragePair v);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_insert(ImVector_ImDrawChannel* self,ImDrawChannel const * it,const ImDrawChannel v);
CIMGUI_API char* ImVector_char_insert(ImVector_char* self,char const * it,const char v);
CIMGUI_API ImU32* ImVector_ImU32_insert(ImVector_ImU32* self,ImU32 const * it,const ImU32 v);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_insert(ImVector_ImFontAtlasCustomRect* self,ImFontAtlasCustomRect const * it,const ImFontAtlasCustomRect v);
CIMGUI_API ImTextureID* ImVector_ImTextureID_insert(ImVector_ImTextureID* self,ImTextureID const * it,const ImTextureID v);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_insert(ImVector_ImFontConfig* self,ImFontConfig const * it,const ImFontConfig v);
CIMGUI_API ImFont** ImVector_ImFontPtr_insert(ImVector_ImFontPtr* self,ImFont* const * it,ImFont* const v);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_insert(ImVector_ImDrawCmd* self,ImDrawCmd const * it,const ImDrawCmd v);
CIMGUI_API ImVec4* ImVector_ImVec4_insert(ImVector_ImVec4* self,ImVec4 const * it,const ImVec4 v);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_insert(ImVector_ImDrawIdx* self,ImDrawIdx const * it,const ImDrawIdx v);
CIMGUI_API ImVec2* ImVector_ImVec2_insert(ImVector_ImVec2* self,ImVec2 const * it,const ImVec2 v);
CIMGUI_API bool ImVector_float_contains(const ImVector_float* self,const float v);
CIMGUI_API bool ImVector_ImWchar_contains(const ImVector_ImWchar* self,const ImWchar v);
CIMGUI_API bool ImVector_char_contains(const ImVector_char* self,const char v);
CIMGUI_API int ImVector_float_index_from_ptr(const ImVector_float* self,float const * it);
CIMGUI_API int ImVector_ImWchar_index_from_ptr(const ImVector_ImWchar* self,ImWchar const * it);
CIMGUI_API int ImVector_ImDrawVert_index_from_ptr(const ImVector_ImDrawVert* self,ImDrawVert const * it);
CIMGUI_API int ImVector_ImFontGlyph_index_from_ptr(const ImVector_ImFontGlyph* self,ImFontGlyph const * it);
CIMGUI_API int ImVector_ImGuiTextRange_index_from_ptr(const ImVector_ImGuiTextRange* self,ImGuiTextRange const * it);
CIMGUI_API int ImVector_ImGuiStoragePair_index_from_ptr(const ImVector_ImGuiStoragePair* self,ImGuiStoragePair const * it);
CIMGUI_API int ImVector_ImDrawChannel_index_from_ptr(const ImVector_ImDrawChannel* self,ImDrawChannel const * it);
CIMGUI_API int ImVector_char_index_from_ptr(const ImVector_char* self,char const * it);
CIMGUI_API int ImVector_ImU32_index_from_ptr(const ImVector_ImU32* self,ImU32 const * it);
CIMGUI_API int ImVector_ImFontAtlasCustomRect_index_from_ptr(const ImVector_ImFontAtlasCustomRect* self,ImFontAtlasCustomRect const * it);
CIMGUI_API int ImVector_ImTextureID_index_from_ptr(const ImVector_ImTextureID* self,ImTextureID const * it);
CIMGUI_API int ImVector_ImFontConfig_index_from_ptr(const ImVector_ImFontConfig* self,ImFontConfig const * it);
CIMGUI_API int ImVector_ImFontPtr_index_from_ptr(const ImVector_ImFontPtr* self,ImFont* const * it);
CIMGUI_API int ImVector_ImDrawCmd_index_from_ptr(const ImVector_ImDrawCmd* self,ImDrawCmd const * it);
CIMGUI_API int ImVector_ImVec4_index_from_ptr(const ImVector_ImVec4* self,ImVec4 const * it);
CIMGUI_API int ImVector_ImDrawIdx_index_from_ptr(const ImVector_ImDrawIdx* self,ImDrawIdx const * it);
CIMGUI_API int ImVector_ImVec2_index_from_ptr(const ImVector_ImVec2* self,ImVec2 const * it);
/////////////////////////hand written functions
@@ -2042,6 +1529,7 @@ CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,floa
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b);
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create();
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* self);
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
#endif //CIMGUI_INCLUDED

View File

@@ -1,8 +1,9 @@
#include "./imgui/imgui.h"
#include "./imgui/imgui_internal.h"
#include "cimgui.h"
#include "./imgui/imgui_internal.h"
#include "auto_funcs.cpp"
@@ -44,6 +45,11 @@ CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create()
return IM_NEW(ImVector<ImWchar>) ();
}
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p)
{
IM_PLACEMENT_NEW(p) ImVector<ImWchar>();

View File

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

View File

@@ -104,7 +104,7 @@ local function strip(cad)
return cad:gsub("^%s*(.-)%s*$","%1") --remove initial and final spaces
end
local function strip_end(cad)
return cad:gsub("^(.-)%s*$","%1") --remove initial and final spaces
return cad:gsub("^(.-)%s*$","%1") --remove final spaces
end
local function clean_spaces(cad)
cad = strip(cad)
@@ -342,7 +342,7 @@ local function parseFunction(self,stname,lineorig,namespace)
--skip template
if line:match("template") then return end
local ret = line:match("([^%(%)]+[%*%s])%s?~?[_%w]+%b()")
local ret = line:match("([^%(%):,]+[%*%s])%s?~?[_%w]+%b()")
--local funcname, args = line:match("(~?[_%w]+)%s*(%b())")
local funcname, args, extraconst = line:match("(~?[_%w]+)%s*(%b())(.*)")
extraconst = extraconst:match("const")
@@ -630,6 +630,7 @@ end
--only basic ending
local c_types = {
["bool"]=true,
["char"]=true,
["int"]=true,
["float"]=true,
@@ -641,6 +642,7 @@ local c_types = {
["size_t"]=true,
["ptrdiff_t"]=true,
}
M.c_types = c_types
local function check_arg_detection(fdefs,typedefs)
print"-----------------check arg detection---------------------------"
for k,defT in pairs(fdefs) do
@@ -709,7 +711,7 @@ function M.Parser()
self:parseFunctions()
self:compute_overloads()
self:gen_structs_and_enums()
self:compute_templated()
--self:compute_templated()
ADDdestructors(self)
end
function par:parseItems()
@@ -808,6 +810,7 @@ function M.Parser()
--local ttype,template = it.item:match("([^%s,%(%)]+)%s*<(.+)>")
local ttype,template = it.item:match"([^%s,%(%)]+)%s*<(.+)>"
if template then
--if template=="T" then print("T found in---------");print(stru) end
local te = template:gsub("%s","_")
te = te:gsub("%*","Ptr")
self.templates[ttype] = self.templates[ttype] or {}
@@ -817,6 +820,8 @@ function M.Parser()
end
--clean mutable
it2 = it2:gsub("mutable","")
--clean namespaces
it2 = it2:gsub("%w+::","")
--skip static variables
if not (it.re_name == "vardef_re" and it2:match"static") then
table.insert(outtab,it2)
@@ -847,10 +852,26 @@ function M.Parser()
end
end
end
--get structs in namespace
for i,it in ipairs(itemsarr) do
if it.re_name == "namespace_re" then
local nsp = it.item:match("%b{}"):sub(2,-2)
local namespace = it.item:match("namespace%s+(%S+)")
local nspparr,itemsnsp = parseItems(nsp)
for insp,itnsp in ipairs(nspparr) do
if itnsp.re_name == "struct_re" then --or itnsp.re_name == "functionD_re" then
--print("in mamespace",itnsp.item,namespace)
table.insert(outtab,itnsp.item)
end
end
end
end
--then structs and enums
for i,it in ipairs(itemsarr) do
if it.re_name == "enum_re" then
table.insert(outtab,it.item)
local enumname, enumbody = it.item:match"^%s*enum%s+([^%s;{}]+)[%s\n\r]*(%b{})"
--print("enum is:",enumname, enumbody)
table.insert(outtab,"\ntypedef enum ".. enumbody..enumname..";")
elseif it.re_name == "struct_re" then
local cleanst,structname = self:clean_struct(it.item)
--if not void stname or templated
@@ -913,15 +934,44 @@ function M.Parser()
end
function par:gen_structs_and_enums_table()
local outtab = {enums={},structs={}}
local outtabpre = {}
local typedefs_table = {}
self.typedefs_table = {}
self.vardefs = {}
self.inerstructs = {}
self.order = {}
--first typedefs
for i,it in ipairs(itemsarr) do
if it.re_name == "typedef_re" then --or it.re_name == "functypedef_re" or it.re_name == "vardef_re" then
local typedefdef,typedefname = it.item:match"typedef(.+)%s([^%s;]+);$"
typedefname = strip(typedefname)
self.typedefs_table[typedefname] = strip(typedefdef)
self.order[typedefname] = i
-- add typedef after struct name
-- if it.re_name == "vardef_re" and it.item:match"struct" then
-- local stname = it.item:match("struct%s*(%S+)%s*;")
-- table.insert(typedefs_table,"typedef struct "..stname.." "..stname..";\n")
-- self.typedefs_dict[stname]="struct "..stname
-- end
end
end
--vardefs
for i,it in ipairs(itemsarr) do
if it.re_name == "vardef_re" then
local stname = it.item:match"struct%s(%S+)$"
if stname then
stname = strip(stname)
self.vardefs[stname] = true
self.order[stname] = i
end
end
end
--then structs and enums
for i,it in ipairs(itemsarr) do
if it.re_name == "enum_re" then
local enumname = it.item:match"^%s*enum%s+([^%s;{}]+)"
outtab.enums[enumname] = {}
self.order[enumname] = i
local inner = strip_end(it.item:match("%b{}"):sub(2,-2))
local enumarr = str_split(inner,",")
for j,line in ipairs(enumarr) do
@@ -941,6 +991,7 @@ function M.Parser()
--M.prtable(cleanst,structname,strtab)
if structname and not self.typenames[structname] then
outtab.structs[structname] = {}
self.order[structname]=i
for j=3,#strtab-1 do
self:parse_struct_line(strtab[j],outtab.structs[structname])
end

View File

@@ -220,6 +220,7 @@ local function func_header_generate(FP)
for k,v in pairs(FP.embeded_structs) do
table.insert(outtab,"typedef "..v.." "..k..";\n")
end
for ttype,v in pairs(FP.templates) do
for ttypein,_ in pairs(v) do
local te = ttypein:gsub("%s","_")
@@ -269,14 +270,15 @@ local function ImGui_f_implementation(outtab,def)
local ptret = def.retref and "&" or ""
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..def.ov_cimguiname..def.args.."\n")
table.insert(outtab,"{\n")
local namespace = def.namespace and def.namespace.."::" or ""
if def.isvararg then
local call_args = def.call_args:gsub("%.%.%.","args")
table.insert(outtab," va_list args;\n")
table.insert(outtab," va_start(args, fmt);\n")
if def.ret~="void" then
table.insert(outtab," "..def.ret.." ret = ImGui::"..def.funcname.."V"..call_args..";\n")
table.insert(outtab," "..def.ret.." ret = "..namespace..def.funcname.."V"..call_args..";\n")
else
table.insert(outtab," ImGui::"..def.funcname.."V"..call_args..";\n")
table.insert(outtab," "..namespace..def.funcname.."V"..call_args..";\n")
end
table.insert(outtab," va_end(args);\n")
if def.ret~="void" then
@@ -284,14 +286,14 @@ local function ImGui_f_implementation(outtab,def)
end
elseif def.nonUDT then
if def.nonUDT == 1 then
table.insert(outtab," *pOut = ImGui::"..def.funcname..def.call_args..";\n")
table.insert(outtab," *pOut = "..namespace..def.funcname..def.call_args..";\n")
else --nonUDT==2
table.insert(outtab," "..def.retorig.." ret = ImGui::"..def.funcname..def.call_args..";\n")
table.insert(outtab," "..def.retorig.." ret = "..namespace..def.funcname..def.call_args..";\n")
table.insert(outtab," "..def.ret.." ret2 = "..def.retorig.."ToSimple(ret);\n")
table.insert(outtab," return ret2;\n")
end
else --standard ImGui
table.insert(outtab," return "..ptret.."ImGui::"..def.funcname..def.call_args..";\n")
table.insert(outtab," return "..ptret..namespace..def.funcname..def.call_args..";\n")
end
table.insert(outtab,"}\n")
end
@@ -431,21 +433,32 @@ local serializeTableF = cpp2ffi.serializeTableF
----------custom ImVector templates
local function generate_templates(code,templates)
table.insert(code,[[typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector;]].."\n")
table.insert(code,"\n"..[[typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector;]].."\n")
for ttype,v in pairs(templates) do
--local te = k:gsub("%s","_")
--te = te:gsub("%*","Ptr")
if ttype == "ImVector" then
for te,newte in pairs(v) do
table.insert(code,"typedef struct ImVector_"..newte.." {int Size;int Capacity;"..te.."* Data;} ImVector_"..newte..";\n")
end
for te,newte in pairs(v) do
table.insert(code,"typedef struct ImVector_"..newte.." {int Size;int Capacity;"..te.."* Data;} ImVector_"..newte..";\n")
end
elseif ttype == "ImPool" then
--declare ImGuiStorage
for te,newte in pairs(v) do
table.insert(code,"typedef struct ImVector_"..newte.." {int Size;int Capacity;"..te.."* Data;} ImVector_"..newte..";\n")
table.insert(code,"typedef struct ImPool_"..newte.." {ImVector_"..te.." Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;} ImPool_"..newte..";\n")
end
elseif ttype == "ImChunkStream" then
for te,newte in pairs(v) do
table.insert(code,"typedef struct ImVector_"..newte.." {int Size;int Capacity;"..te.."* Data;} ImVector_"..newte..";\n")
table.insert(code,"typedef struct ImChunkStream_"..newte.." {ImVector_"..te.." Buf;} ImChunkStream_"..newte..";\n")
end
end
end
end
--generate cimgui.cpp cimgui.h
local function cimgui_generation(parser)
cpp2ffi.prtable(parser.templates)
cpp2ffi.prtable(parser.typenames)
--[[
-- clean ImVector:contains() for not applicable types
local clean_f = {}
for k,v in pairs(parser.defsT) do
@@ -464,17 +477,19 @@ local function cimgui_generation(parser)
end
end
end
--]]
--------------------------------------------------
local hstrfile = read_data"./cimgui_template.h"
local outpre,outpost = parser:gen_structs_and_enums()
--parser.templates get completely defined here
--cpp2ffi.prtable(parser.templates)
parser.templates.ImVector.T = nil
cpp2ffi.prtable(parser.templates)
cpp2ffi.prtable(parser.typenames)
local outtab = {}
generate_templates(outtab,parser.templates)
local cstructsstr = outpre..table.concat(outtab,"")..outpost
local cstructsstr = outpre..table.concat(outtab,"")..outpost..(extra or "")
hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],cstructsstr)
local cfuncsstr = func_header_generate(parser)
@@ -512,46 +527,141 @@ if HAVE_COMPILER then
gdefines = get_defines{"IMGUI_VERSION","FLT_MAX"}
end
--funtion for parsing imgui headers
local function parseImGuiHeader(header,names)
--prepare parser
local parser = cpp2ffi.Parser()
parser.getCname = function(stname,funcname)
local pre = (stname == "") and "ig" or stname.."_"
return pre..funcname
end
parser.cname_overloads = cimgui_overloads
parser.manuals = cimgui_manuals
parser.UDTs = {"ImVec2","ImVec4","ImColor"}
local pipe,err
if HAVE_COMPILER then
pipe,err = io.popen(CPRE..header,"r")
else
pipe,err = io.open(header,"r")
end
if not pipe then
error("could not execute gcc "..err)
end
local iterator = (HAVE_COMPILER and cpp2ffi.location) or filelines
local tableo = {}
for line,loca,loca2 in iterator(pipe,names,{}) do
parser:insert(line)
--table.insert(tableo,line)
--print(loca,loca2)
end
--cpp2ffi.save_data("cdefs1.lua",table.concat(tableo))
pipe:close()
return parser
end
--generation
print("------------------generation with "..COMPILER.."------------------------")
local typedefs_dict2
--prepare parser
local parser1 = cpp2ffi.Parser()
parser1.getCname = function(stname,funcname)
local pre = (stname == "") and "ig" or stname.."_"
return pre..funcname
end
parser1.cname_overloads = cimgui_overloads
parser1.manuals = cimgui_manuals
parser1.UDTs = {"ImVec2","ImVec4","ImColor"}
local pipe,err
if HAVE_COMPILER then
pipe,err = io.popen(CPRE..[[../imgui/imgui.h]],"r")
else
pipe,err = io.open([[../imgui/imgui.h]],"r")
end
if not pipe then
error("could not execute gcc "..err)
end
--local file,err = io.open("output_compiler.txt","w")
--if not file then error(err) end
local iterator = (HAVE_COMPILER and cpp2ffi.location) or filelines
for line in iterator(pipe,{"imgui"},{}) do
parser1:insert(line)
--file:write(line)
end
--file:close()
pipe:close()
--local parser1 = parseImGuiHeader([[headers.h]],{[[imgui]],[[imgui_internal]],[[imstb_textedit]]})
local parser1 = parseImGuiHeader([[../imgui/imgui.h]],{[[imgui]]})
parser1:do_parse()
--table.sort(parser1.funcdefs, function(a,b) return a.cimguiname < b.cimguiname end)
--parser1:dump_alltypes()
--parser1:printItems()
---------- generate cimgui_internal.h
--[=[
local parser1i = parseImGuiHeader([[../imgui/imgui_internal.h]],{[[imgui_internal]],[[imstb_textedit]]})
parser1i:do_parse()
local outpre,outpost = parser1i:gen_structs_and_enums()
--avoid T
parser1i.templates.ImVector.T = nil
for k,v in pairs(parser1i.templates.ImVector) do
if parser1.templates.ImVector[k] then parser1i.templates.ImVector[k]=nil end
end
local outtab = {}
generate_templates(outtab,parser1i.templates)
--drop first
table.remove(outtab,1)
local cstructsstr = outpre..table.concat(outtab,"")..outpost..(extra or "")
local cfuncsstr = func_header_generate(parser1i)
save_data("./output/cimgui_internal.h",cimgui_header,"#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n",cstructsstr,"\n#endif\n")--,cfuncsstr)
copyfile("./output/cimgui_internal.h", "../cimgui_internal.h")
--]=]
----------- add only ImGuiContext from imgui_internal.h to parser1
--[=[
local parser1i = parseImGuiHeader([[../imgui/imgui_internal.h]],{[[imgui_internal]],[[imstb_textedit]]})
parser1i:do_parse()
local p1isten = parser1i:gen_structs_and_enums_table()
--parser1i:printItems()
print"typedefs_table---------------------------"
cpp2ffi.prtable(parser1i.typedefs_table)
print"typedefs_table end---------------------------"
local needed = {ImGuiContext = {type = "ImGuiContext", kind = "structs", order = parser1i.order["ImGuiContext"]}}
local seen = {}
local function RecurseNeeded(Ini,IniKind,level)
--if level > 5 then return end
if seen[Ini] then return end
seen[Ini] = true
print("RecurseNeeded",Ini,IniKind,level)
for i,v in ipairs(p1isten[IniKind][Ini]) do
--if not v.type then print("nil type in",Ini,IniKind) end
--dont want pointers
local type = v.type:match"([^%*]+)"
--ImVector out
if type:match"ImVector_" then type=type:match"ImVector_(.+)" end
local kind = p1isten.enums[type] and "enums" or p1isten.structs[type] and "structs" or nil
if kind=="structs" then
if not needed[type] then RecurseNeeded(type,kind,level+1) end
needed[type] = {type = type, kind = kind, order = parser1i.order[type]}
elseif kind=="enums" then
needed[type] = {type = type, kind = kind, order = parser1i.order[type]}
elseif parser1i.typedefs_table[type] then
needed[type] = {type = type, kind = "typedef", order = parser1i.order[type]}
elseif parser1i.vardefs[type] then
needed[type] = {type = type, kind = "vardef", order = parser1i.order[type]}
elseif not cpp2ffi.c_types[type] then
print("RecurseNeded failed",type)
--error"failed recurse"
end
end
end
RecurseNeeded("ImGuiContext","structs",0)
local ordered_needed = {}
for k,v in pairs(needed) do
table.insert(ordered_needed,v)
end
table.sort(ordered_needed, function(a,b) return a.order < b.order end)
print"needed are-----------------------"
for i,vv in ipairs(ordered_needed) do
print(vv.order,vv.type,vv.kind)
local v = parser1i.itemsarr[vv.order]
--if v.item:match"^[%s\n\r]*struct%s*ImGuiContext" then
if vv.kind=="structs" then
--add enum keyword where necessary
--print"setting enum keyword------------------------"
local newitem = ""
for line in v.item:gmatch("([^\n]+)") do
local typen = line:match"^%s*(%S+)"
if p1isten.enums[typen] then
print("add enum",typen)
newitem = newitem.."\nenum"..line
else
newitem = newitem.."\n"..line
end
end
v.item = newitem
end
table.insert(parser1.itemsarr,v)
end
--]=]
----------------------
save_data("./output/overloads.txt",parser1.overloadstxt)
cimgui_generation(parser1)
@@ -568,16 +678,23 @@ if structs_and_enums_table["structs"]["Pair"] then
structs_and_enums_table["structs"]["Pair"][2]["name"] = ""
structs_and_enums_table["structs"]["Pair"][2]["type"] = structs_and_enums_table["structs"]["Pair"][2]["type"] .. "}"
end
-- 1.72 and after
if structs_and_enums_table["structs"]["ImGuiStoragePair"] then
structs_and_enums_table["structs"]["ImGuiStoragePair"][2]["name"] = ""
structs_and_enums_table["structs"]["ImGuiStoragePair"][2]["type"] = structs_and_enums_table["structs"]["ImGuiStoragePair"][2]["type"] .. "}"
end
-----------------------
save_data("./output/structs_and_enums.lua",serializeTableF(structs_and_enums_table))
save_data("./output/typedefs_dict.lua",serializeTableF(parser1.typedefs_dict))
--check every function has ov_cimguiname
-- for k,v in pairs(parser1.defsT) do
-- for _,def in ipairs(v) do
-- assert(def.ov_cimguiname)
-- end
-- end
--=================================Now implementations
local parser2

17
generator/generator.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/sh
# this script must be executed in this directory
# all the output goes to generator/output folder
# .cpp and .h files:
# 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
# structs_and_enums.lua with struct and enum information-definitions
# impl_definitions.lua for implementation function definitions
#process files
# 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

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
//based on imgui.h file version "1.72" from Dear ImGui https://github.com/ocornut/imgui
//based on imgui.h file version "1.74" from Dear ImGui https://github.com/ocornut/imgui
#ifndef CIMGUI_INCLUDED
#define CIMGUI_INCLUDED
#include <stdio.h>
@@ -134,7 +134,8 @@ typedef unsigned int ImU32;
typedef int64_t ImS64;
typedef uint64_t ImU64;
typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd);
typedef unsigned short ImDrawIdx;typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector;
typedef unsigned short ImDrawIdx;
typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector;
typedef struct ImVector_float {int Size;int Capacity;float* Data;} ImVector_float;
typedef struct ImVector_ImWchar {int Size;int Capacity;ImWchar* Data;} ImVector_ImWchar;
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
@@ -161,8 +162,7 @@ struct ImVec4
{
float x, y, z, w;
};
enum ImGuiWindowFlags_
{
typedef enum {
ImGuiWindowFlags_None = 0,
ImGuiWindowFlags_NoTitleBar = 1 << 0,
ImGuiWindowFlags_NoResize = 1 << 1,
@@ -193,9 +193,8 @@ enum ImGuiWindowFlags_
ImGuiWindowFlags_Popup = 1 << 26,
ImGuiWindowFlags_Modal = 1 << 27,
ImGuiWindowFlags_ChildMenu = 1 << 28
};
enum ImGuiInputTextFlags_
{
}ImGuiWindowFlags_;
typedef enum {
ImGuiInputTextFlags_None = 0,
ImGuiInputTextFlags_CharsDecimal = 1 << 0,
ImGuiInputTextFlags_CharsHexadecimal = 1 << 1,
@@ -218,9 +217,8 @@ enum ImGuiInputTextFlags_
ImGuiInputTextFlags_CallbackResize = 1 << 18,
ImGuiInputTextFlags_Multiline = 1 << 20,
ImGuiInputTextFlags_NoMarkEdited = 1 << 21
};
enum ImGuiTreeNodeFlags_
{
}ImGuiInputTextFlags_;
typedef enum {
ImGuiTreeNodeFlags_None = 0,
ImGuiTreeNodeFlags_Selected = 1 << 0,
ImGuiTreeNodeFlags_Framed = 1 << 1,
@@ -233,19 +231,20 @@ enum ImGuiTreeNodeFlags_
ImGuiTreeNodeFlags_Leaf = 1 << 8,
ImGuiTreeNodeFlags_Bullet = 1 << 9,
ImGuiTreeNodeFlags_FramePadding = 1 << 10,
ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11,
ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12,
ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13,
ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog
};
enum ImGuiSelectableFlags_
{
}ImGuiTreeNodeFlags_;
typedef enum {
ImGuiSelectableFlags_None = 0,
ImGuiSelectableFlags_DontClosePopups = 1 << 0,
ImGuiSelectableFlags_SpanAllColumns = 1 << 1,
ImGuiSelectableFlags_AllowDoubleClick = 1 << 2,
ImGuiSelectableFlags_Disabled = 1 << 3
};
enum ImGuiComboFlags_
{
ImGuiSelectableFlags_Disabled = 1 << 3,
ImGuiSelectableFlags_AllowItemOverlap = 1 << 4
}ImGuiSelectableFlags_;
typedef enum {
ImGuiComboFlags_None = 0,
ImGuiComboFlags_PopupAlignLeft = 1 << 0,
ImGuiComboFlags_HeightSmall = 1 << 1,
@@ -255,9 +254,8 @@ enum ImGuiComboFlags_
ImGuiComboFlags_NoArrowButton = 1 << 5,
ImGuiComboFlags_NoPreview = 1 << 6,
ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest
};
enum ImGuiTabBarFlags_
{
}ImGuiComboFlags_;
typedef enum {
ImGuiTabBarFlags_None = 0,
ImGuiTabBarFlags_Reorderable = 1 << 0,
ImGuiTabBarFlags_AutoSelectNewTabs = 1 << 1,
@@ -269,25 +267,22 @@ enum ImGuiTabBarFlags_
ImGuiTabBarFlags_FittingPolicyScroll = 1 << 7,
ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll,
ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown
};
enum ImGuiTabItemFlags_
{
}ImGuiTabBarFlags_;
typedef enum {
ImGuiTabItemFlags_None = 0,
ImGuiTabItemFlags_UnsavedDocument = 1 << 0,
ImGuiTabItemFlags_SetSelected = 1 << 1,
ImGuiTabItemFlags_NoCloseWithMiddleMouseButton = 1 << 2,
ImGuiTabItemFlags_NoPushId = 1 << 3
};
enum ImGuiFocusedFlags_
{
}ImGuiTabItemFlags_;
typedef enum {
ImGuiFocusedFlags_None = 0,
ImGuiFocusedFlags_ChildWindows = 1 << 0,
ImGuiFocusedFlags_RootWindow = 1 << 1,
ImGuiFocusedFlags_AnyWindow = 1 << 2,
ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows
};
enum ImGuiHoveredFlags_
{
}ImGuiFocusedFlags_;
typedef enum {
ImGuiHoveredFlags_None = 0,
ImGuiHoveredFlags_ChildWindows = 1 << 0,
ImGuiHoveredFlags_RootWindow = 1 << 1,
@@ -298,9 +293,8 @@ enum ImGuiHoveredFlags_
ImGuiHoveredFlags_AllowWhenDisabled = 1 << 7,
ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped,
ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows
};
enum ImGuiDragDropFlags_
{
}ImGuiHoveredFlags_;
typedef enum {
ImGuiDragDropFlags_None = 0,
ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0,
ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1,
@@ -312,9 +306,8 @@ enum ImGuiDragDropFlags_
ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11,
ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12,
ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect
};
enum ImGuiDataType_
{
}ImGuiDragDropFlags_;
typedef enum {
ImGuiDataType_S8,
ImGuiDataType_U8,
ImGuiDataType_S16,
@@ -326,18 +319,16 @@ enum ImGuiDataType_
ImGuiDataType_Float,
ImGuiDataType_Double,
ImGuiDataType_COUNT
};
enum ImGuiDir_
{
}ImGuiDataType_;
typedef enum {
ImGuiDir_None = -1,
ImGuiDir_Left = 0,
ImGuiDir_Right = 1,
ImGuiDir_Up = 2,
ImGuiDir_Down = 3,
ImGuiDir_COUNT
};
enum ImGuiKey_
{
}ImGuiDir_;
typedef enum {
ImGuiKey_Tab,
ImGuiKey_LeftArrow,
ImGuiKey_RightArrow,
@@ -361,9 +352,8 @@ enum ImGuiKey_
ImGuiKey_Y,
ImGuiKey_Z,
ImGuiKey_COUNT
};
enum ImGuiNavInput_
{
}ImGuiKey_;
typedef enum {
ImGuiNavInput_Activate,
ImGuiNavInput_Cancel,
ImGuiNavInput_Input,
@@ -381,16 +371,14 @@ enum ImGuiNavInput_
ImGuiNavInput_TweakSlow,
ImGuiNavInput_TweakFast,
ImGuiNavInput_KeyMenu_,
ImGuiNavInput_KeyTab_,
ImGuiNavInput_KeyLeft_,
ImGuiNavInput_KeyRight_,
ImGuiNavInput_KeyUp_,
ImGuiNavInput_KeyDown_,
ImGuiNavInput_COUNT,
ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_
};
enum ImGuiConfigFlags_
{
}ImGuiNavInput_;
typedef enum {
ImGuiConfigFlags_None = 0,
ImGuiConfigFlags_NavEnableKeyboard = 1 << 0,
ImGuiConfigFlags_NavEnableGamepad = 1 << 1,
@@ -400,17 +388,15 @@ enum ImGuiConfigFlags_
ImGuiConfigFlags_NoMouseCursorChange = 1 << 5,
ImGuiConfigFlags_IsSRGB = 1 << 20,
ImGuiConfigFlags_IsTouchScreen = 1 << 21
};
enum ImGuiBackendFlags_
{
}ImGuiConfigFlags_;
typedef enum {
ImGuiBackendFlags_None = 0,
ImGuiBackendFlags_HasGamepad = 1 << 0,
ImGuiBackendFlags_HasMouseCursors = 1 << 1,
ImGuiBackendFlags_HasSetMousePos = 1 << 2,
ImGuiBackendFlags_RendererHasVtxOffset = 1 << 3
};
enum ImGuiCol_
{
}ImGuiBackendFlags_;
typedef enum {
ImGuiCol_Text,
ImGuiCol_TextDisabled,
ImGuiCol_WindowBg,
@@ -460,9 +446,8 @@ enum ImGuiCol_
ImGuiCol_NavWindowingDimBg,
ImGuiCol_ModalWindowDimBg,
ImGuiCol_COUNT
};
enum ImGuiStyleVar_
{
}ImGuiCol_;
typedef enum {
ImGuiStyleVar_Alpha,
ImGuiStyleVar_WindowPadding,
ImGuiStyleVar_WindowRounding,
@@ -487,9 +472,8 @@ enum ImGuiStyleVar_
ImGuiStyleVar_ButtonTextAlign,
ImGuiStyleVar_SelectableTextAlign,
ImGuiStyleVar_COUNT
};
enum ImGuiColorEditFlags_
{
}ImGuiStyleVar_;
typedef enum {
ImGuiColorEditFlags_None = 0,
ImGuiColorEditFlags_NoAlpha = 1 << 1,
ImGuiColorEditFlags_NoPicker = 1 << 2,
@@ -518,9 +502,8 @@ enum ImGuiColorEditFlags_
ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float,
ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar,
ImGuiColorEditFlags__InputMask = ImGuiColorEditFlags_InputRGB|ImGuiColorEditFlags_InputHSV
};
enum ImGuiMouseCursor_
{
}ImGuiColorEditFlags_;
typedef enum {
ImGuiMouseCursor_None = -1,
ImGuiMouseCursor_Arrow = 0,
ImGuiMouseCursor_TextInput,
@@ -531,14 +514,13 @@ enum ImGuiMouseCursor_
ImGuiMouseCursor_ResizeNWSE,
ImGuiMouseCursor_Hand,
ImGuiMouseCursor_COUNT
};
enum ImGuiCond_
{
}ImGuiMouseCursor_;
typedef enum {
ImGuiCond_Always = 1 << 0,
ImGuiCond_Once = 1 << 1,
ImGuiCond_FirstUseEver = 1 << 2,
ImGuiCond_Appearing = 1 << 3
};
}ImGuiCond_;
struct ImGuiStyle
{
float Alpha;
@@ -603,6 +585,7 @@ struct ImGuiIO
bool ConfigInputTextCursorBlink;
bool ConfigWindowsResizeFromEdges;
bool ConfigWindowsMoveFromTitleBarOnly;
float ConfigWindowsMemoryCompactTimer;
const char* BackendPlatformName;
const char* BackendRendererName;
void* BackendPlatformUserData;
@@ -744,8 +727,7 @@ struct ImDrawListSplitter
int _Count;
ImVector_ImDrawChannel _Channels;
};
enum ImDrawCornerFlags_
{
typedef enum {
ImDrawCornerFlags_None = 0,
ImDrawCornerFlags_TopLeft = 1 << 0,
ImDrawCornerFlags_TopRight = 1 << 1,
@@ -756,14 +738,13 @@ enum ImDrawCornerFlags_
ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft,
ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight,
ImDrawCornerFlags_All = 0xF
};
enum ImDrawListFlags_
{
}ImDrawCornerFlags_;
typedef enum {
ImDrawListFlags_None = 0,
ImDrawListFlags_AntiAliasedLines = 1 << 0,
ImDrawListFlags_AntiAliasedFill = 1 << 1,
ImDrawListFlags_AllowVtxOffset = 1 << 2
};
}ImDrawListFlags_;
struct ImDrawList
{
ImVector_ImDrawCmd CmdBuffer;
@@ -810,6 +791,7 @@ struct ImFontConfig
bool MergeMode;
unsigned int RasterizerFlags;
float RasterizerMultiply;
ImWchar EllipsisChar;
char Name[40];
ImFont* DstFont;
};
@@ -833,12 +815,11 @@ struct ImFontAtlasCustomRect
ImVec2 GlyphOffset;
ImFont* Font;
};
enum ImFontAtlasFlags_
{
typedef enum {
ImFontAtlasFlags_None = 0,
ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0,
ImFontAtlasFlags_NoMouseCursors = 1 << 1
};
}ImFontAtlasFlags_;
struct ImFontAtlas
{
bool Locked;
@@ -870,6 +851,7 @@ struct ImFont
const ImFontConfig* ConfigData;
short ConfigDataCount;
ImWchar FallbackChar;
ImWchar EllipsisChar;
float Scale;
float Ascent, Descent;
int MetricsTotalSurface;
@@ -1103,8 +1085,8 @@ CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,in
CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format);
CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format);
CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max);
CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* v,float v_speed,const void* v_min,const void* v_max,const char* format,float power);
CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,int components,float v_speed,const void* v_min,const void* v_max,const char* format,float power);
CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* p_data,float v_speed,const void* p_min,const void* p_max,const char* format,float power);
CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,float v_speed,const void* p_min,const void* p_max,const char* format,float power);
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power);
CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power);
CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power);
@@ -1114,11 +1096,11 @@ CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const c
CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format);
CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format);
CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format);
CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power);
CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* v_min,const void* v_max,const char* format,float power);
CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,float power);
CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_min,const void* p_max,const char* format,float power);
CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power);
CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format);
CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power);
CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,float power);
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* 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);
CIMGUI_API bool igInputTextWithHint(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
@@ -1131,8 +1113,8 @@ CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags flags
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags flags);
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags flags);
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags flags);
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags 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 flags);
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* p_data,const void* p_step,const void* p_step_fast,const char* format,ImGuiInputTextFlags flags);
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_step,const void* p_step_fast,const char* format,ImGuiInputTextFlags flags);
CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags);
CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags);
CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags);
@@ -1171,10 +1153,10 @@ CIMGUI_API void igValueBool(const char* prefix,bool b);
CIMGUI_API void igValueInt(const char* prefix,int v);
CIMGUI_API void igValueUint(const char* prefix,unsigned int v);
CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format);
CIMGUI_API bool igBeginMainMenuBar(void);
CIMGUI_API void igEndMainMenuBar(void);
CIMGUI_API bool igBeginMenuBar(void);
CIMGUI_API void igEndMenuBar(void);
CIMGUI_API bool igBeginMainMenuBar(void);
CIMGUI_API void igEndMainMenuBar(void);
CIMGUI_API bool igBeginMenu(const char* label,bool enabled);
CIMGUI_API void igEndMenu(void);
CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled);
@@ -1231,6 +1213,7 @@ CIMGUI_API bool igIsItemEdited(void);
CIMGUI_API bool igIsItemActivated(void);
CIMGUI_API bool igIsItemDeactivated(void);
CIMGUI_API bool igIsItemDeactivatedAfterEdit(void);
CIMGUI_API bool igIsItemToggledOpen(void);
CIMGUI_API bool igIsAnyItemHovered(void);
CIMGUI_API bool igIsAnyItemActive(void);
CIMGUI_API bool igIsAnyItemFocused(void);
@@ -1378,31 +1361,31 @@ CIMGUI_API void ImDrawList_PushTextureID(ImDrawList* self,ImTextureID texture_id
CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self);
CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self);
CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self);
CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners,float thickness);
CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners);
CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left);
CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,ImU32 col);
CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 a,const ImVec2 b,const ImVec2 c,ImU32 col);
CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments,float thickness);
CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 centre,float radius,ImU32 col,int num_segments);
CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners,float thickness);
CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners);
CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2 p_min,const ImVec2 p_max,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left);
CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,ImU32 col);
CIMGUI_API void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,ImU32 col);
CIMGUI_API void ImDrawList_AddCircle(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments,float thickness);
CIMGUI_API void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2 center,float radius,ImU32 col,int num_segments);
CIMGUI_API void ImDrawList_AddText(ImDrawList* self,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end);
CIMGUI_API void ImDrawList_AddTextFontPtr(ImDrawList* self,const ImFont* font,float font_size,const ImVec2 pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect);
CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col);
CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 d,const ImVec2 uv_a,const ImVec2 uv_b,const ImVec2 uv_c,const ImVec2 uv_d,ImU32 col);
CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 a,const ImVec2 b,const ImVec2 uv_a,const ImVec2 uv_b,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners);
CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col,bool closed,float thickness);
CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2* points,int num_points,ImU32 col);
CIMGUI_API void ImDrawList_AddBezierCurve(ImDrawList* self,const ImVec2 pos0,const ImVec2 cp0,const ImVec2 cp1,const ImVec2 pos1,ImU32 col,float thickness,int num_segments);
CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p_min,const ImVec2 p_max,const ImVec2 uv_min,const ImVec2 uv_max,ImU32 col);
CIMGUI_API void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,const ImVec2 p4,const ImVec2 uv1,const ImVec2 uv2,const ImVec2 uv3,const ImVec2 uv4,ImU32 col);
CIMGUI_API void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureID user_texture_id,const ImVec2 p_min,const ImVec2 p_max,const ImVec2 uv_min,const ImVec2 uv_max,ImU32 col,float rounding,ImDrawCornerFlags rounding_corners);
CIMGUI_API void ImDrawList_PathClear(ImDrawList* self);
CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2 pos);
CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2 pos);
CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col);
CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,bool closed,float thickness);
CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 centre,float radius,float a_min,float a_max,int num_segments);
CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 centre,float radius,int a_min_of_12,int a_max_of_12);
CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2 center,float radius,float a_min,float a_max,int num_segments);
CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2 center,float radius,int a_min_of_12,int a_max_of_12);
CIMGUI_API void ImDrawList_PathBezierCurveTo(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,const ImVec2 p3,int num_segments);
CIMGUI_API void ImDrawList_PathRect(ImDrawList* self,const ImVec2 rect_min,const ImVec2 rect_max,float rounding,ImDrawCornerFlags rounding_corners);
CIMGUI_API void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* callback_data);
@@ -1532,502 +1515,6 @@ CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImVec2 *pOut,ImDrawList* self);
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self);
CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImVec2 *pOut,ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** 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);
CIMGUI_API ImVector_float* ImVector_float_ImVector_float(void);
CIMGUI_API void ImVector_float_destroy(ImVector_float* self);
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_ImVector_ImWchar(void);
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* self);
CIMGUI_API ImVector_ImDrawVert* ImVector_ImDrawVert_ImVector_ImDrawVert(void);
CIMGUI_API void ImVector_ImDrawVert_destroy(ImVector_ImDrawVert* self);
CIMGUI_API ImVector_ImFontGlyph* ImVector_ImFontGlyph_ImVector_ImFontGlyph(void);
CIMGUI_API void ImVector_ImFontGlyph_destroy(ImVector_ImFontGlyph* self);
CIMGUI_API ImVector_ImGuiTextRange* ImVector_ImGuiTextRange_ImVector_ImGuiTextRange(void);
CIMGUI_API void ImVector_ImGuiTextRange_destroy(ImVector_ImGuiTextRange* self);
CIMGUI_API ImVector_ImGuiStoragePair* ImVector_ImGuiStoragePair_ImVector_ImGuiStoragePair(void);
CIMGUI_API void ImVector_ImGuiStoragePair_destroy(ImVector_ImGuiStoragePair* self);
CIMGUI_API ImVector_ImDrawChannel* ImVector_ImDrawChannel_ImVector_ImDrawChannel(void);
CIMGUI_API void ImVector_ImDrawChannel_destroy(ImVector_ImDrawChannel* self);
CIMGUI_API ImVector_char* ImVector_char_ImVector_char(void);
CIMGUI_API void ImVector_char_destroy(ImVector_char* self);
CIMGUI_API ImVector_ImU32* ImVector_ImU32_ImVector_ImU32(void);
CIMGUI_API void ImVector_ImU32_destroy(ImVector_ImU32* self);
CIMGUI_API ImVector_ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_ImVector_ImFontAtlasCustomRect(void);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_destroy(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImVector_ImTextureID* ImVector_ImTextureID_ImVector_ImTextureID(void);
CIMGUI_API void ImVector_ImTextureID_destroy(ImVector_ImTextureID* self);
CIMGUI_API ImVector_ImFontConfig* ImVector_ImFontConfig_ImVector_ImFontConfig(void);
CIMGUI_API void ImVector_ImFontConfig_destroy(ImVector_ImFontConfig* self);
CIMGUI_API ImVector_ImFontPtr* ImVector_ImFontPtr_ImVector_ImFontPtr(void);
CIMGUI_API void ImVector_ImFontPtr_destroy(ImVector_ImFontPtr* self);
CIMGUI_API ImVector_ImDrawCmd* ImVector_ImDrawCmd_ImVector_ImDrawCmd(void);
CIMGUI_API void ImVector_ImDrawCmd_destroy(ImVector_ImDrawCmd* self);
CIMGUI_API ImVector_ImVec4* ImVector_ImVec4_ImVector_ImVec4(void);
CIMGUI_API void ImVector_ImVec4_destroy(ImVector_ImVec4* self);
CIMGUI_API ImVector_ImDrawIdx* ImVector_ImDrawIdx_ImVector_ImDrawIdx(void);
CIMGUI_API void ImVector_ImDrawIdx_destroy(ImVector_ImDrawIdx* self);
CIMGUI_API ImVector_ImVec2* ImVector_ImVec2_ImVector_ImVec2(void);
CIMGUI_API void ImVector_ImVec2_destroy(ImVector_ImVec2* self);
CIMGUI_API ImVector_float* ImVector_float_ImVector_floatVector(const ImVector_float src);
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_ImVector_ImWcharVector(const ImVector_ImWchar src);
CIMGUI_API ImVector_ImDrawVert* ImVector_ImDrawVert_ImVector_ImDrawVertVector(const ImVector_ImDrawVert src);
CIMGUI_API ImVector_ImFontGlyph* ImVector_ImFontGlyph_ImVector_ImFontGlyphVector(const ImVector_ImFontGlyph src);
CIMGUI_API ImVector_ImGuiTextRange* ImVector_ImGuiTextRange_ImVector_ImGuiTextRangeVector(const ImVector_ImGuiTextRange src);
CIMGUI_API ImVector_ImGuiStoragePair* ImVector_ImGuiStoragePair_ImVector_ImGuiStoragePairVector(const ImVector_ImGuiStoragePair src);
CIMGUI_API ImVector_ImDrawChannel* ImVector_ImDrawChannel_ImVector_ImDrawChannelVector(const ImVector_ImDrawChannel src);
CIMGUI_API ImVector_char* ImVector_char_ImVector_charVector(const ImVector_char src);
CIMGUI_API ImVector_ImU32* ImVector_ImU32_ImVector_ImU32Vector(const ImVector_ImU32 src);
CIMGUI_API ImVector_ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_ImVector_ImFontAtlasCustomRectVector(const ImVector_ImFontAtlasCustomRect src);
CIMGUI_API ImVector_ImTextureID* ImVector_ImTextureID_ImVector_ImTextureIDVector(const ImVector_ImTextureID src);
CIMGUI_API ImVector_ImFontConfig* ImVector_ImFontConfig_ImVector_ImFontConfigVector(const ImVector_ImFontConfig src);
CIMGUI_API ImVector_ImFontPtr* ImVector_ImFontPtr_ImVector_ImFontPtrVector(const ImVector_ImFontPtr src);
CIMGUI_API ImVector_ImDrawCmd* ImVector_ImDrawCmd_ImVector_ImDrawCmdVector(const ImVector_ImDrawCmd src);
CIMGUI_API ImVector_ImVec4* ImVector_ImVec4_ImVector_ImVec4Vector(const ImVector_ImVec4 src);
CIMGUI_API ImVector_ImDrawIdx* ImVector_ImDrawIdx_ImVector_ImDrawIdxVector(const ImVector_ImDrawIdx src);
CIMGUI_API ImVector_ImVec2* ImVector_ImVec2_ImVector_ImVec2Vector(const ImVector_ImVec2 src);
CIMGUI_API bool ImVector_float_empty(const ImVector_float* self);
CIMGUI_API bool ImVector_ImWchar_empty(const ImVector_ImWchar* self);
CIMGUI_API bool ImVector_ImDrawVert_empty(const ImVector_ImDrawVert* self);
CIMGUI_API bool ImVector_ImFontGlyph_empty(const ImVector_ImFontGlyph* self);
CIMGUI_API bool ImVector_ImGuiTextRange_empty(const ImVector_ImGuiTextRange* self);
CIMGUI_API bool ImVector_ImGuiStoragePair_empty(const ImVector_ImGuiStoragePair* self);
CIMGUI_API bool ImVector_ImDrawChannel_empty(const ImVector_ImDrawChannel* self);
CIMGUI_API bool ImVector_char_empty(const ImVector_char* self);
CIMGUI_API bool ImVector_ImU32_empty(const ImVector_ImU32* self);
CIMGUI_API bool ImVector_ImFontAtlasCustomRect_empty(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API bool ImVector_ImTextureID_empty(const ImVector_ImTextureID* self);
CIMGUI_API bool ImVector_ImFontConfig_empty(const ImVector_ImFontConfig* self);
CIMGUI_API bool ImVector_ImFontPtr_empty(const ImVector_ImFontPtr* self);
CIMGUI_API bool ImVector_ImDrawCmd_empty(const ImVector_ImDrawCmd* self);
CIMGUI_API bool ImVector_ImVec4_empty(const ImVector_ImVec4* self);
CIMGUI_API bool ImVector_ImDrawIdx_empty(const ImVector_ImDrawIdx* self);
CIMGUI_API bool ImVector_ImVec2_empty(const ImVector_ImVec2* self);
CIMGUI_API int ImVector_float_size(const ImVector_float* self);
CIMGUI_API int ImVector_ImWchar_size(const ImVector_ImWchar* self);
CIMGUI_API int ImVector_ImDrawVert_size(const ImVector_ImDrawVert* self);
CIMGUI_API int ImVector_ImFontGlyph_size(const ImVector_ImFontGlyph* self);
CIMGUI_API int ImVector_ImGuiTextRange_size(const ImVector_ImGuiTextRange* self);
CIMGUI_API int ImVector_ImGuiStoragePair_size(const ImVector_ImGuiStoragePair* self);
CIMGUI_API int ImVector_ImDrawChannel_size(const ImVector_ImDrawChannel* self);
CIMGUI_API int ImVector_char_size(const ImVector_char* self);
CIMGUI_API int ImVector_ImU32_size(const ImVector_ImU32* self);
CIMGUI_API int ImVector_ImFontAtlasCustomRect_size(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API int ImVector_ImTextureID_size(const ImVector_ImTextureID* self);
CIMGUI_API int ImVector_ImFontConfig_size(const ImVector_ImFontConfig* self);
CIMGUI_API int ImVector_ImFontPtr_size(const ImVector_ImFontPtr* self);
CIMGUI_API int ImVector_ImDrawCmd_size(const ImVector_ImDrawCmd* self);
CIMGUI_API int ImVector_ImVec4_size(const ImVector_ImVec4* self);
CIMGUI_API int ImVector_ImDrawIdx_size(const ImVector_ImDrawIdx* self);
CIMGUI_API int ImVector_ImVec2_size(const ImVector_ImVec2* self);
CIMGUI_API int ImVector_float_size_in_bytes(const ImVector_float* self);
CIMGUI_API int ImVector_ImWchar_size_in_bytes(const ImVector_ImWchar* self);
CIMGUI_API int ImVector_ImDrawVert_size_in_bytes(const ImVector_ImDrawVert* self);
CIMGUI_API int ImVector_ImFontGlyph_size_in_bytes(const ImVector_ImFontGlyph* self);
CIMGUI_API int ImVector_ImGuiTextRange_size_in_bytes(const ImVector_ImGuiTextRange* self);
CIMGUI_API int ImVector_ImGuiStoragePair_size_in_bytes(const ImVector_ImGuiStoragePair* self);
CIMGUI_API int ImVector_ImDrawChannel_size_in_bytes(const ImVector_ImDrawChannel* self);
CIMGUI_API int ImVector_char_size_in_bytes(const ImVector_char* self);
CIMGUI_API int ImVector_ImU32_size_in_bytes(const ImVector_ImU32* self);
CIMGUI_API int ImVector_ImFontAtlasCustomRect_size_in_bytes(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API int ImVector_ImTextureID_size_in_bytes(const ImVector_ImTextureID* self);
CIMGUI_API int ImVector_ImFontConfig_size_in_bytes(const ImVector_ImFontConfig* self);
CIMGUI_API int ImVector_ImFontPtr_size_in_bytes(const ImVector_ImFontPtr* self);
CIMGUI_API int ImVector_ImDrawCmd_size_in_bytes(const ImVector_ImDrawCmd* self);
CIMGUI_API int ImVector_ImVec4_size_in_bytes(const ImVector_ImVec4* self);
CIMGUI_API int ImVector_ImDrawIdx_size_in_bytes(const ImVector_ImDrawIdx* self);
CIMGUI_API int ImVector_ImVec2_size_in_bytes(const ImVector_ImVec2* self);
CIMGUI_API int ImVector_float_capacity(const ImVector_float* self);
CIMGUI_API int ImVector_ImWchar_capacity(const ImVector_ImWchar* self);
CIMGUI_API int ImVector_ImDrawVert_capacity(const ImVector_ImDrawVert* self);
CIMGUI_API int ImVector_ImFontGlyph_capacity(const ImVector_ImFontGlyph* self);
CIMGUI_API int ImVector_ImGuiTextRange_capacity(const ImVector_ImGuiTextRange* self);
CIMGUI_API int ImVector_ImGuiStoragePair_capacity(const ImVector_ImGuiStoragePair* self);
CIMGUI_API int ImVector_ImDrawChannel_capacity(const ImVector_ImDrawChannel* self);
CIMGUI_API int ImVector_char_capacity(const ImVector_char* self);
CIMGUI_API int ImVector_ImU32_capacity(const ImVector_ImU32* self);
CIMGUI_API int ImVector_ImFontAtlasCustomRect_capacity(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API int ImVector_ImTextureID_capacity(const ImVector_ImTextureID* self);
CIMGUI_API int ImVector_ImFontConfig_capacity(const ImVector_ImFontConfig* self);
CIMGUI_API int ImVector_ImFontPtr_capacity(const ImVector_ImFontPtr* self);
CIMGUI_API int ImVector_ImDrawCmd_capacity(const ImVector_ImDrawCmd* self);
CIMGUI_API int ImVector_ImVec4_capacity(const ImVector_ImVec4* self);
CIMGUI_API int ImVector_ImDrawIdx_capacity(const ImVector_ImDrawIdx* self);
CIMGUI_API int ImVector_ImVec2_capacity(const ImVector_ImVec2* self);
CIMGUI_API void ImVector_float_clear(ImVector_float* self);
CIMGUI_API void ImVector_ImWchar_clear(ImVector_ImWchar* self);
CIMGUI_API void ImVector_ImDrawVert_clear(ImVector_ImDrawVert* self);
CIMGUI_API void ImVector_ImFontGlyph_clear(ImVector_ImFontGlyph* self);
CIMGUI_API void ImVector_ImGuiTextRange_clear(ImVector_ImGuiTextRange* self);
CIMGUI_API void ImVector_ImGuiStoragePair_clear(ImVector_ImGuiStoragePair* self);
CIMGUI_API void ImVector_ImDrawChannel_clear(ImVector_ImDrawChannel* self);
CIMGUI_API void ImVector_char_clear(ImVector_char* self);
CIMGUI_API void ImVector_ImU32_clear(ImVector_ImU32* self);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_clear(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API void ImVector_ImTextureID_clear(ImVector_ImTextureID* self);
CIMGUI_API void ImVector_ImFontConfig_clear(ImVector_ImFontConfig* self);
CIMGUI_API void ImVector_ImFontPtr_clear(ImVector_ImFontPtr* self);
CIMGUI_API void ImVector_ImDrawCmd_clear(ImVector_ImDrawCmd* self);
CIMGUI_API void ImVector_ImVec4_clear(ImVector_ImVec4* self);
CIMGUI_API void ImVector_ImDrawIdx_clear(ImVector_ImDrawIdx* self);
CIMGUI_API void ImVector_ImVec2_clear(ImVector_ImVec2* self);
CIMGUI_API float* ImVector_float_begin(ImVector_float* self);
CIMGUI_API ImWchar* ImVector_ImWchar_begin(ImVector_ImWchar* self);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_begin(ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_begin(ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_begin(ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_begin(ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_begin(ImVector_ImDrawChannel* self);
CIMGUI_API char* ImVector_char_begin(ImVector_char* self);
CIMGUI_API ImU32* ImVector_ImU32_begin(ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_begin(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID* ImVector_ImTextureID_begin(ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_begin(ImVector_ImFontConfig* self);
CIMGUI_API ImFont** ImVector_ImFontPtr_begin(ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_begin(ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4* ImVector_ImVec4_begin(ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_begin(ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2* ImVector_ImVec2_begin(ImVector_ImVec2* self);
CIMGUI_API float const * ImVector_float_begin_const(const ImVector_float* self);
CIMGUI_API ImWchar const * ImVector_ImWchar_begin_const(const ImVector_ImWchar* self);
CIMGUI_API ImDrawVert const * ImVector_ImDrawVert_begin_const(const ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph const * ImVector_ImFontGlyph_begin_const(const ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange const * ImVector_ImGuiTextRange_begin_const(const ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair const * ImVector_ImGuiStoragePair_begin_const(const ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel const * ImVector_ImDrawChannel_begin_const(const ImVector_ImDrawChannel* self);
CIMGUI_API char const * ImVector_char_begin_const(const ImVector_char* self);
CIMGUI_API ImU32 const * ImVector_ImU32_begin_const(const ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect const * ImVector_ImFontAtlasCustomRect_begin_const(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID const * ImVector_ImTextureID_begin_const(const ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig const * ImVector_ImFontConfig_begin_const(const ImVector_ImFontConfig* self);
CIMGUI_API ImFont* const * ImVector_ImFontPtr_begin_const(const ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd const * ImVector_ImDrawCmd_begin_const(const ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4 const * ImVector_ImVec4_begin_const(const ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx const * ImVector_ImDrawIdx_begin_const(const ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2 const * ImVector_ImVec2_begin_const(const ImVector_ImVec2* self);
CIMGUI_API float* ImVector_float_end(ImVector_float* self);
CIMGUI_API ImWchar* ImVector_ImWchar_end(ImVector_ImWchar* self);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_end(ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_end(ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_end(ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_end(ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_end(ImVector_ImDrawChannel* self);
CIMGUI_API char* ImVector_char_end(ImVector_char* self);
CIMGUI_API ImU32* ImVector_ImU32_end(ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_end(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID* ImVector_ImTextureID_end(ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_end(ImVector_ImFontConfig* self);
CIMGUI_API ImFont** ImVector_ImFontPtr_end(ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_end(ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4* ImVector_ImVec4_end(ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_end(ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2* ImVector_ImVec2_end(ImVector_ImVec2* self);
CIMGUI_API float const * ImVector_float_end_const(const ImVector_float* self);
CIMGUI_API ImWchar const * ImVector_ImWchar_end_const(const ImVector_ImWchar* self);
CIMGUI_API ImDrawVert const * ImVector_ImDrawVert_end_const(const ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph const * ImVector_ImFontGlyph_end_const(const ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange const * ImVector_ImGuiTextRange_end_const(const ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair const * ImVector_ImGuiStoragePair_end_const(const ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel const * ImVector_ImDrawChannel_end_const(const ImVector_ImDrawChannel* self);
CIMGUI_API char const * ImVector_char_end_const(const ImVector_char* self);
CIMGUI_API ImU32 const * ImVector_ImU32_end_const(const ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect const * ImVector_ImFontAtlasCustomRect_end_const(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID const * ImVector_ImTextureID_end_const(const ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig const * ImVector_ImFontConfig_end_const(const ImVector_ImFontConfig* self);
CIMGUI_API ImFont* const * ImVector_ImFontPtr_end_const(const ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd const * ImVector_ImDrawCmd_end_const(const ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4 const * ImVector_ImVec4_end_const(const ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx const * ImVector_ImDrawIdx_end_const(const ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2 const * ImVector_ImVec2_end_const(const ImVector_ImVec2* self);
CIMGUI_API float* ImVector_float_front(ImVector_float* self);
CIMGUI_API ImWchar* ImVector_ImWchar_front(ImVector_ImWchar* self);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_front(ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_front(ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_front(ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_front(ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_front(ImVector_ImDrawChannel* self);
CIMGUI_API char* ImVector_char_front(ImVector_char* self);
CIMGUI_API ImU32* ImVector_ImU32_front(ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_front(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID* ImVector_ImTextureID_front(ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_front(ImVector_ImFontConfig* self);
CIMGUI_API ImFont** ImVector_ImFontPtr_front(ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_front(ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4* ImVector_ImVec4_front(ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_front(ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2* ImVector_ImVec2_front(ImVector_ImVec2* self);
CIMGUI_API float const * ImVector_float_front_const(const ImVector_float* self);
CIMGUI_API ImWchar const * ImVector_ImWchar_front_const(const ImVector_ImWchar* self);
CIMGUI_API ImDrawVert const * ImVector_ImDrawVert_front_const(const ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph const * ImVector_ImFontGlyph_front_const(const ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange const * ImVector_ImGuiTextRange_front_const(const ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair const * ImVector_ImGuiStoragePair_front_const(const ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel const * ImVector_ImDrawChannel_front_const(const ImVector_ImDrawChannel* self);
CIMGUI_API char const * ImVector_char_front_const(const ImVector_char* self);
CIMGUI_API ImU32 const * ImVector_ImU32_front_const(const ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect const * ImVector_ImFontAtlasCustomRect_front_const(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID const * ImVector_ImTextureID_front_const(const ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig const * ImVector_ImFontConfig_front_const(const ImVector_ImFontConfig* self);
CIMGUI_API ImFont* const * ImVector_ImFontPtr_front_const(const ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd const * ImVector_ImDrawCmd_front_const(const ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4 const * ImVector_ImVec4_front_const(const ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx const * ImVector_ImDrawIdx_front_const(const ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2 const * ImVector_ImVec2_front_const(const ImVector_ImVec2* self);
CIMGUI_API float* ImVector_float_back(ImVector_float* self);
CIMGUI_API ImWchar* ImVector_ImWchar_back(ImVector_ImWchar* self);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_back(ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_back(ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_back(ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_back(ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_back(ImVector_ImDrawChannel* self);
CIMGUI_API char* ImVector_char_back(ImVector_char* self);
CIMGUI_API ImU32* ImVector_ImU32_back(ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_back(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID* ImVector_ImTextureID_back(ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_back(ImVector_ImFontConfig* self);
CIMGUI_API ImFont** ImVector_ImFontPtr_back(ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_back(ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4* ImVector_ImVec4_back(ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_back(ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2* ImVector_ImVec2_back(ImVector_ImVec2* self);
CIMGUI_API float const * ImVector_float_back_const(const ImVector_float* self);
CIMGUI_API ImWchar const * ImVector_ImWchar_back_const(const ImVector_ImWchar* self);
CIMGUI_API ImDrawVert const * ImVector_ImDrawVert_back_const(const ImVector_ImDrawVert* self);
CIMGUI_API ImFontGlyph const * ImVector_ImFontGlyph_back_const(const ImVector_ImFontGlyph* self);
CIMGUI_API ImGuiTextRange const * ImVector_ImGuiTextRange_back_const(const ImVector_ImGuiTextRange* self);
CIMGUI_API ImGuiStoragePair const * ImVector_ImGuiStoragePair_back_const(const ImVector_ImGuiStoragePair* self);
CIMGUI_API ImDrawChannel const * ImVector_ImDrawChannel_back_const(const ImVector_ImDrawChannel* self);
CIMGUI_API char const * ImVector_char_back_const(const ImVector_char* self);
CIMGUI_API ImU32 const * ImVector_ImU32_back_const(const ImVector_ImU32* self);
CIMGUI_API ImFontAtlasCustomRect const * ImVector_ImFontAtlasCustomRect_back_const(const ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API ImTextureID const * ImVector_ImTextureID_back_const(const ImVector_ImTextureID* self);
CIMGUI_API ImFontConfig const * ImVector_ImFontConfig_back_const(const ImVector_ImFontConfig* self);
CIMGUI_API ImFont* const * ImVector_ImFontPtr_back_const(const ImVector_ImFontPtr* self);
CIMGUI_API ImDrawCmd const * ImVector_ImDrawCmd_back_const(const ImVector_ImDrawCmd* self);
CIMGUI_API ImVec4 const * ImVector_ImVec4_back_const(const ImVector_ImVec4* self);
CIMGUI_API ImDrawIdx const * ImVector_ImDrawIdx_back_const(const ImVector_ImDrawIdx* self);
CIMGUI_API ImVec2 const * ImVector_ImVec2_back_const(const ImVector_ImVec2* self);
CIMGUI_API void ImVector_float_swap(ImVector_float* self,ImVector_float rhs);
CIMGUI_API void ImVector_ImWchar_swap(ImVector_ImWchar* self,ImVector_ImWchar rhs);
CIMGUI_API void ImVector_ImDrawVert_swap(ImVector_ImDrawVert* self,ImVector_ImDrawVert rhs);
CIMGUI_API void ImVector_ImFontGlyph_swap(ImVector_ImFontGlyph* self,ImVector_ImFontGlyph rhs);
CIMGUI_API void ImVector_ImGuiTextRange_swap(ImVector_ImGuiTextRange* self,ImVector_ImGuiTextRange rhs);
CIMGUI_API void ImVector_ImGuiStoragePair_swap(ImVector_ImGuiStoragePair* self,ImVector_ImGuiStoragePair rhs);
CIMGUI_API void ImVector_ImDrawChannel_swap(ImVector_ImDrawChannel* self,ImVector_ImDrawChannel rhs);
CIMGUI_API void ImVector_char_swap(ImVector_char* self,ImVector_char rhs);
CIMGUI_API void ImVector_ImU32_swap(ImVector_ImU32* self,ImVector_ImU32 rhs);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_swap(ImVector_ImFontAtlasCustomRect* self,ImVector_ImFontAtlasCustomRect rhs);
CIMGUI_API void ImVector_ImTextureID_swap(ImVector_ImTextureID* self,ImVector_ImTextureID rhs);
CIMGUI_API void ImVector_ImFontConfig_swap(ImVector_ImFontConfig* self,ImVector_ImFontConfig rhs);
CIMGUI_API void ImVector_ImFontPtr_swap(ImVector_ImFontPtr* self,ImVector_ImFontPtr rhs);
CIMGUI_API void ImVector_ImDrawCmd_swap(ImVector_ImDrawCmd* self,ImVector_ImDrawCmd rhs);
CIMGUI_API void ImVector_ImVec4_swap(ImVector_ImVec4* self,ImVector_ImVec4 rhs);
CIMGUI_API void ImVector_ImDrawIdx_swap(ImVector_ImDrawIdx* self,ImVector_ImDrawIdx rhs);
CIMGUI_API void ImVector_ImVec2_swap(ImVector_ImVec2* self,ImVector_ImVec2 rhs);
CIMGUI_API int ImVector_float__grow_capacity(const ImVector_float* self,int sz);
CIMGUI_API int ImVector_ImWchar__grow_capacity(const ImVector_ImWchar* self,int sz);
CIMGUI_API int ImVector_ImDrawVert__grow_capacity(const ImVector_ImDrawVert* self,int sz);
CIMGUI_API int ImVector_ImFontGlyph__grow_capacity(const ImVector_ImFontGlyph* self,int sz);
CIMGUI_API int ImVector_ImGuiTextRange__grow_capacity(const ImVector_ImGuiTextRange* self,int sz);
CIMGUI_API int ImVector_ImGuiStoragePair__grow_capacity(const ImVector_ImGuiStoragePair* self,int sz);
CIMGUI_API int ImVector_ImDrawChannel__grow_capacity(const ImVector_ImDrawChannel* self,int sz);
CIMGUI_API int ImVector_char__grow_capacity(const ImVector_char* self,int sz);
CIMGUI_API int ImVector_ImU32__grow_capacity(const ImVector_ImU32* self,int sz);
CIMGUI_API int ImVector_ImFontAtlasCustomRect__grow_capacity(const ImVector_ImFontAtlasCustomRect* self,int sz);
CIMGUI_API int ImVector_ImTextureID__grow_capacity(const ImVector_ImTextureID* self,int sz);
CIMGUI_API int ImVector_ImFontConfig__grow_capacity(const ImVector_ImFontConfig* self,int sz);
CIMGUI_API int ImVector_ImFontPtr__grow_capacity(const ImVector_ImFontPtr* self,int sz);
CIMGUI_API int ImVector_ImDrawCmd__grow_capacity(const ImVector_ImDrawCmd* self,int sz);
CIMGUI_API int ImVector_ImVec4__grow_capacity(const ImVector_ImVec4* self,int sz);
CIMGUI_API int ImVector_ImDrawIdx__grow_capacity(const ImVector_ImDrawIdx* self,int sz);
CIMGUI_API int ImVector_ImVec2__grow_capacity(const ImVector_ImVec2* self,int sz);
CIMGUI_API void ImVector_float_resize(ImVector_float* self,int new_size);
CIMGUI_API void ImVector_ImWchar_resize(ImVector_ImWchar* self,int new_size);
CIMGUI_API void ImVector_ImDrawVert_resize(ImVector_ImDrawVert* self,int new_size);
CIMGUI_API void ImVector_ImFontGlyph_resize(ImVector_ImFontGlyph* self,int new_size);
CIMGUI_API void ImVector_ImGuiTextRange_resize(ImVector_ImGuiTextRange* self,int new_size);
CIMGUI_API void ImVector_ImGuiStoragePair_resize(ImVector_ImGuiStoragePair* self,int new_size);
CIMGUI_API void ImVector_ImDrawChannel_resize(ImVector_ImDrawChannel* self,int new_size);
CIMGUI_API void ImVector_char_resize(ImVector_char* self,int new_size);
CIMGUI_API void ImVector_ImU32_resize(ImVector_ImU32* self,int new_size);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_resize(ImVector_ImFontAtlasCustomRect* self,int new_size);
CIMGUI_API void ImVector_ImTextureID_resize(ImVector_ImTextureID* self,int new_size);
CIMGUI_API void ImVector_ImFontConfig_resize(ImVector_ImFontConfig* self,int new_size);
CIMGUI_API void ImVector_ImFontPtr_resize(ImVector_ImFontPtr* self,int new_size);
CIMGUI_API void ImVector_ImDrawCmd_resize(ImVector_ImDrawCmd* self,int new_size);
CIMGUI_API void ImVector_ImVec4_resize(ImVector_ImVec4* self,int new_size);
CIMGUI_API void ImVector_ImDrawIdx_resize(ImVector_ImDrawIdx* self,int new_size);
CIMGUI_API void ImVector_ImVec2_resize(ImVector_ImVec2* self,int new_size);
CIMGUI_API void ImVector_float_resizeT(ImVector_float* self,int new_size,const float v);
CIMGUI_API void ImVector_ImWchar_resizeT(ImVector_ImWchar* self,int new_size,const ImWchar v);
CIMGUI_API void ImVector_ImDrawVert_resizeT(ImVector_ImDrawVert* self,int new_size,const ImDrawVert v);
CIMGUI_API void ImVector_ImFontGlyph_resizeT(ImVector_ImFontGlyph* self,int new_size,const ImFontGlyph v);
CIMGUI_API void ImVector_ImGuiTextRange_resizeT(ImVector_ImGuiTextRange* self,int new_size,const ImGuiTextRange v);
CIMGUI_API void ImVector_ImGuiStoragePair_resizeT(ImVector_ImGuiStoragePair* self,int new_size,const ImGuiStoragePair v);
CIMGUI_API void ImVector_ImDrawChannel_resizeT(ImVector_ImDrawChannel* self,int new_size,const ImDrawChannel v);
CIMGUI_API void ImVector_char_resizeT(ImVector_char* self,int new_size,const char v);
CIMGUI_API void ImVector_ImU32_resizeT(ImVector_ImU32* self,int new_size,const ImU32 v);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_resizeT(ImVector_ImFontAtlasCustomRect* self,int new_size,const ImFontAtlasCustomRect v);
CIMGUI_API void ImVector_ImTextureID_resizeT(ImVector_ImTextureID* self,int new_size,const ImTextureID v);
CIMGUI_API void ImVector_ImFontConfig_resizeT(ImVector_ImFontConfig* self,int new_size,const ImFontConfig v);
CIMGUI_API void ImVector_ImFontPtr_resizeT(ImVector_ImFontPtr* self,int new_size,ImFont* const v);
CIMGUI_API void ImVector_ImDrawCmd_resizeT(ImVector_ImDrawCmd* self,int new_size,const ImDrawCmd v);
CIMGUI_API void ImVector_ImVec4_resizeT(ImVector_ImVec4* self,int new_size,const ImVec4 v);
CIMGUI_API void ImVector_ImDrawIdx_resizeT(ImVector_ImDrawIdx* self,int new_size,const ImDrawIdx v);
CIMGUI_API void ImVector_ImVec2_resizeT(ImVector_ImVec2* self,int new_size,const ImVec2 v);
CIMGUI_API void ImVector_float_reserve(ImVector_float* self,int new_capacity);
CIMGUI_API void ImVector_ImWchar_reserve(ImVector_ImWchar* self,int new_capacity);
CIMGUI_API void ImVector_ImDrawVert_reserve(ImVector_ImDrawVert* self,int new_capacity);
CIMGUI_API void ImVector_ImFontGlyph_reserve(ImVector_ImFontGlyph* self,int new_capacity);
CIMGUI_API void ImVector_ImGuiTextRange_reserve(ImVector_ImGuiTextRange* self,int new_capacity);
CIMGUI_API void ImVector_ImGuiStoragePair_reserve(ImVector_ImGuiStoragePair* self,int new_capacity);
CIMGUI_API void ImVector_ImDrawChannel_reserve(ImVector_ImDrawChannel* self,int new_capacity);
CIMGUI_API void ImVector_char_reserve(ImVector_char* self,int new_capacity);
CIMGUI_API void ImVector_ImU32_reserve(ImVector_ImU32* self,int new_capacity);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_reserve(ImVector_ImFontAtlasCustomRect* self,int new_capacity);
CIMGUI_API void ImVector_ImTextureID_reserve(ImVector_ImTextureID* self,int new_capacity);
CIMGUI_API void ImVector_ImFontConfig_reserve(ImVector_ImFontConfig* self,int new_capacity);
CIMGUI_API void ImVector_ImFontPtr_reserve(ImVector_ImFontPtr* self,int new_capacity);
CIMGUI_API void ImVector_ImDrawCmd_reserve(ImVector_ImDrawCmd* self,int new_capacity);
CIMGUI_API void ImVector_ImVec4_reserve(ImVector_ImVec4* self,int new_capacity);
CIMGUI_API void ImVector_ImDrawIdx_reserve(ImVector_ImDrawIdx* self,int new_capacity);
CIMGUI_API void ImVector_ImVec2_reserve(ImVector_ImVec2* self,int new_capacity);
CIMGUI_API void ImVector_float_push_back(ImVector_float* self,const float v);
CIMGUI_API void ImVector_ImWchar_push_back(ImVector_ImWchar* self,const ImWchar v);
CIMGUI_API void ImVector_ImDrawVert_push_back(ImVector_ImDrawVert* self,const ImDrawVert v);
CIMGUI_API void ImVector_ImFontGlyph_push_back(ImVector_ImFontGlyph* self,const ImFontGlyph v);
CIMGUI_API void ImVector_ImGuiTextRange_push_back(ImVector_ImGuiTextRange* self,const ImGuiTextRange v);
CIMGUI_API void ImVector_ImGuiStoragePair_push_back(ImVector_ImGuiStoragePair* self,const ImGuiStoragePair v);
CIMGUI_API void ImVector_ImDrawChannel_push_back(ImVector_ImDrawChannel* self,const ImDrawChannel v);
CIMGUI_API void ImVector_char_push_back(ImVector_char* self,const char v);
CIMGUI_API void ImVector_ImU32_push_back(ImVector_ImU32* self,const ImU32 v);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_push_back(ImVector_ImFontAtlasCustomRect* self,const ImFontAtlasCustomRect v);
CIMGUI_API void ImVector_ImTextureID_push_back(ImVector_ImTextureID* self,const ImTextureID v);
CIMGUI_API void ImVector_ImFontConfig_push_back(ImVector_ImFontConfig* self,const ImFontConfig v);
CIMGUI_API void ImVector_ImFontPtr_push_back(ImVector_ImFontPtr* self,ImFont* const v);
CIMGUI_API void ImVector_ImDrawCmd_push_back(ImVector_ImDrawCmd* self,const ImDrawCmd v);
CIMGUI_API void ImVector_ImVec4_push_back(ImVector_ImVec4* self,const ImVec4 v);
CIMGUI_API void ImVector_ImDrawIdx_push_back(ImVector_ImDrawIdx* self,const ImDrawIdx v);
CIMGUI_API void ImVector_ImVec2_push_back(ImVector_ImVec2* self,const ImVec2 v);
CIMGUI_API void ImVector_float_pop_back(ImVector_float* self);
CIMGUI_API void ImVector_ImWchar_pop_back(ImVector_ImWchar* self);
CIMGUI_API void ImVector_ImDrawVert_pop_back(ImVector_ImDrawVert* self);
CIMGUI_API void ImVector_ImFontGlyph_pop_back(ImVector_ImFontGlyph* self);
CIMGUI_API void ImVector_ImGuiTextRange_pop_back(ImVector_ImGuiTextRange* self);
CIMGUI_API void ImVector_ImGuiStoragePair_pop_back(ImVector_ImGuiStoragePair* self);
CIMGUI_API void ImVector_ImDrawChannel_pop_back(ImVector_ImDrawChannel* self);
CIMGUI_API void ImVector_char_pop_back(ImVector_char* self);
CIMGUI_API void ImVector_ImU32_pop_back(ImVector_ImU32* self);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_pop_back(ImVector_ImFontAtlasCustomRect* self);
CIMGUI_API void ImVector_ImTextureID_pop_back(ImVector_ImTextureID* self);
CIMGUI_API void ImVector_ImFontConfig_pop_back(ImVector_ImFontConfig* self);
CIMGUI_API void ImVector_ImFontPtr_pop_back(ImVector_ImFontPtr* self);
CIMGUI_API void ImVector_ImDrawCmd_pop_back(ImVector_ImDrawCmd* self);
CIMGUI_API void ImVector_ImVec4_pop_back(ImVector_ImVec4* self);
CIMGUI_API void ImVector_ImDrawIdx_pop_back(ImVector_ImDrawIdx* self);
CIMGUI_API void ImVector_ImVec2_pop_back(ImVector_ImVec2* self);
CIMGUI_API void ImVector_float_push_front(ImVector_float* self,const float v);
CIMGUI_API void ImVector_ImWchar_push_front(ImVector_ImWchar* self,const ImWchar v);
CIMGUI_API void ImVector_ImDrawVert_push_front(ImVector_ImDrawVert* self,const ImDrawVert v);
CIMGUI_API void ImVector_ImFontGlyph_push_front(ImVector_ImFontGlyph* self,const ImFontGlyph v);
CIMGUI_API void ImVector_ImGuiTextRange_push_front(ImVector_ImGuiTextRange* self,const ImGuiTextRange v);
CIMGUI_API void ImVector_ImGuiStoragePair_push_front(ImVector_ImGuiStoragePair* self,const ImGuiStoragePair v);
CIMGUI_API void ImVector_ImDrawChannel_push_front(ImVector_ImDrawChannel* self,const ImDrawChannel v);
CIMGUI_API void ImVector_char_push_front(ImVector_char* self,const char v);
CIMGUI_API void ImVector_ImU32_push_front(ImVector_ImU32* self,const ImU32 v);
CIMGUI_API void ImVector_ImFontAtlasCustomRect_push_front(ImVector_ImFontAtlasCustomRect* self,const ImFontAtlasCustomRect v);
CIMGUI_API void ImVector_ImTextureID_push_front(ImVector_ImTextureID* self,const ImTextureID v);
CIMGUI_API void ImVector_ImFontConfig_push_front(ImVector_ImFontConfig* self,const ImFontConfig v);
CIMGUI_API void ImVector_ImFontPtr_push_front(ImVector_ImFontPtr* self,ImFont* const v);
CIMGUI_API void ImVector_ImDrawCmd_push_front(ImVector_ImDrawCmd* self,const ImDrawCmd v);
CIMGUI_API void ImVector_ImVec4_push_front(ImVector_ImVec4* self,const ImVec4 v);
CIMGUI_API void ImVector_ImDrawIdx_push_front(ImVector_ImDrawIdx* self,const ImDrawIdx v);
CIMGUI_API void ImVector_ImVec2_push_front(ImVector_ImVec2* self,const ImVec2 v);
CIMGUI_API float* ImVector_float_erase(ImVector_float* self,float const * it);
CIMGUI_API ImWchar* ImVector_ImWchar_erase(ImVector_ImWchar* self,ImWchar const * it);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_erase(ImVector_ImDrawVert* self,ImDrawVert const * it);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_erase(ImVector_ImFontGlyph* self,ImFontGlyph const * it);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_erase(ImVector_ImGuiTextRange* self,ImGuiTextRange const * it);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_erase(ImVector_ImGuiStoragePair* self,ImGuiStoragePair const * it);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_erase(ImVector_ImDrawChannel* self,ImDrawChannel const * it);
CIMGUI_API char* ImVector_char_erase(ImVector_char* self,char const * it);
CIMGUI_API ImU32* ImVector_ImU32_erase(ImVector_ImU32* self,ImU32 const * it);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_erase(ImVector_ImFontAtlasCustomRect* self,ImFontAtlasCustomRect const * it);
CIMGUI_API ImTextureID* ImVector_ImTextureID_erase(ImVector_ImTextureID* self,ImTextureID const * it);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_erase(ImVector_ImFontConfig* self,ImFontConfig const * it);
CIMGUI_API ImFont** ImVector_ImFontPtr_erase(ImVector_ImFontPtr* self,ImFont* const * it);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_erase(ImVector_ImDrawCmd* self,ImDrawCmd const * it);
CIMGUI_API ImVec4* ImVector_ImVec4_erase(ImVector_ImVec4* self,ImVec4 const * it);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_erase(ImVector_ImDrawIdx* self,ImDrawIdx const * it);
CIMGUI_API ImVec2* ImVector_ImVec2_erase(ImVector_ImVec2* self,ImVec2 const * it);
CIMGUI_API float* ImVector_float_eraseTPtr(ImVector_float* self,float const * it,float const * it_last);
CIMGUI_API ImWchar* ImVector_ImWchar_eraseTPtr(ImVector_ImWchar* self,ImWchar const * it,ImWchar const * it_last);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_eraseTPtr(ImVector_ImDrawVert* self,ImDrawVert const * it,ImDrawVert const * it_last);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_eraseTPtr(ImVector_ImFontGlyph* self,ImFontGlyph const * it,ImFontGlyph const * it_last);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_eraseTPtr(ImVector_ImGuiTextRange* self,ImGuiTextRange const * it,ImGuiTextRange const * it_last);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_eraseTPtr(ImVector_ImGuiStoragePair* self,ImGuiStoragePair const * it,ImGuiStoragePair const * it_last);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_eraseTPtr(ImVector_ImDrawChannel* self,ImDrawChannel const * it,ImDrawChannel const * it_last);
CIMGUI_API char* ImVector_char_eraseTPtr(ImVector_char* self,char const * it,char const * it_last);
CIMGUI_API ImU32* ImVector_ImU32_eraseTPtr(ImVector_ImU32* self,ImU32 const * it,ImU32 const * it_last);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_eraseTPtr(ImVector_ImFontAtlasCustomRect* self,ImFontAtlasCustomRect const * it,ImFontAtlasCustomRect const * it_last);
CIMGUI_API ImTextureID* ImVector_ImTextureID_eraseTPtr(ImVector_ImTextureID* self,ImTextureID const * it,ImTextureID const * it_last);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_eraseTPtr(ImVector_ImFontConfig* self,ImFontConfig const * it,ImFontConfig const * it_last);
CIMGUI_API ImFont** ImVector_ImFontPtr_eraseTPtr(ImVector_ImFontPtr* self,ImFont* const * it,ImFont* const * it_last);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_eraseTPtr(ImVector_ImDrawCmd* self,ImDrawCmd const * it,ImDrawCmd const * it_last);
CIMGUI_API ImVec4* ImVector_ImVec4_eraseTPtr(ImVector_ImVec4* self,ImVec4 const * it,ImVec4 const * it_last);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_eraseTPtr(ImVector_ImDrawIdx* self,ImDrawIdx const * it,ImDrawIdx const * it_last);
CIMGUI_API ImVec2* ImVector_ImVec2_eraseTPtr(ImVector_ImVec2* self,ImVec2 const * it,ImVec2 const * it_last);
CIMGUI_API float* ImVector_float_erase_unsorted(ImVector_float* self,float const * it);
CIMGUI_API ImWchar* ImVector_ImWchar_erase_unsorted(ImVector_ImWchar* self,ImWchar const * it);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_erase_unsorted(ImVector_ImDrawVert* self,ImDrawVert const * it);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_erase_unsorted(ImVector_ImFontGlyph* self,ImFontGlyph const * it);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_erase_unsorted(ImVector_ImGuiTextRange* self,ImGuiTextRange const * it);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_erase_unsorted(ImVector_ImGuiStoragePair* self,ImGuiStoragePair const * it);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_erase_unsorted(ImVector_ImDrawChannel* self,ImDrawChannel const * it);
CIMGUI_API char* ImVector_char_erase_unsorted(ImVector_char* self,char const * it);
CIMGUI_API ImU32* ImVector_ImU32_erase_unsorted(ImVector_ImU32* self,ImU32 const * it);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_erase_unsorted(ImVector_ImFontAtlasCustomRect* self,ImFontAtlasCustomRect const * it);
CIMGUI_API ImTextureID* ImVector_ImTextureID_erase_unsorted(ImVector_ImTextureID* self,ImTextureID const * it);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_erase_unsorted(ImVector_ImFontConfig* self,ImFontConfig const * it);
CIMGUI_API ImFont** ImVector_ImFontPtr_erase_unsorted(ImVector_ImFontPtr* self,ImFont* const * it);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_erase_unsorted(ImVector_ImDrawCmd* self,ImDrawCmd const * it);
CIMGUI_API ImVec4* ImVector_ImVec4_erase_unsorted(ImVector_ImVec4* self,ImVec4 const * it);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_erase_unsorted(ImVector_ImDrawIdx* self,ImDrawIdx const * it);
CIMGUI_API ImVec2* ImVector_ImVec2_erase_unsorted(ImVector_ImVec2* self,ImVec2 const * it);
CIMGUI_API float* ImVector_float_insert(ImVector_float* self,float const * it,const float v);
CIMGUI_API ImWchar* ImVector_ImWchar_insert(ImVector_ImWchar* self,ImWchar const * it,const ImWchar v);
CIMGUI_API ImDrawVert* ImVector_ImDrawVert_insert(ImVector_ImDrawVert* self,ImDrawVert const * it,const ImDrawVert v);
CIMGUI_API ImFontGlyph* ImVector_ImFontGlyph_insert(ImVector_ImFontGlyph* self,ImFontGlyph const * it,const ImFontGlyph v);
CIMGUI_API ImGuiTextRange* ImVector_ImGuiTextRange_insert(ImVector_ImGuiTextRange* self,ImGuiTextRange const * it,const ImGuiTextRange v);
CIMGUI_API ImGuiStoragePair* ImVector_ImGuiStoragePair_insert(ImVector_ImGuiStoragePair* self,ImGuiStoragePair const * it,const ImGuiStoragePair v);
CIMGUI_API ImDrawChannel* ImVector_ImDrawChannel_insert(ImVector_ImDrawChannel* self,ImDrawChannel const * it,const ImDrawChannel v);
CIMGUI_API char* ImVector_char_insert(ImVector_char* self,char const * it,const char v);
CIMGUI_API ImU32* ImVector_ImU32_insert(ImVector_ImU32* self,ImU32 const * it,const ImU32 v);
CIMGUI_API ImFontAtlasCustomRect* ImVector_ImFontAtlasCustomRect_insert(ImVector_ImFontAtlasCustomRect* self,ImFontAtlasCustomRect const * it,const ImFontAtlasCustomRect v);
CIMGUI_API ImTextureID* ImVector_ImTextureID_insert(ImVector_ImTextureID* self,ImTextureID const * it,const ImTextureID v);
CIMGUI_API ImFontConfig* ImVector_ImFontConfig_insert(ImVector_ImFontConfig* self,ImFontConfig const * it,const ImFontConfig v);
CIMGUI_API ImFont** ImVector_ImFontPtr_insert(ImVector_ImFontPtr* self,ImFont* const * it,ImFont* const v);
CIMGUI_API ImDrawCmd* ImVector_ImDrawCmd_insert(ImVector_ImDrawCmd* self,ImDrawCmd const * it,const ImDrawCmd v);
CIMGUI_API ImVec4* ImVector_ImVec4_insert(ImVector_ImVec4* self,ImVec4 const * it,const ImVec4 v);
CIMGUI_API ImDrawIdx* ImVector_ImDrawIdx_insert(ImVector_ImDrawIdx* self,ImDrawIdx const * it,const ImDrawIdx v);
CIMGUI_API ImVec2* ImVector_ImVec2_insert(ImVector_ImVec2* self,ImVec2 const * it,const ImVec2 v);
CIMGUI_API bool ImVector_float_contains(const ImVector_float* self,const float v);
CIMGUI_API bool ImVector_ImWchar_contains(const ImVector_ImWchar* self,const ImWchar v);
CIMGUI_API bool ImVector_char_contains(const ImVector_char* self,const char v);
CIMGUI_API int ImVector_float_index_from_ptr(const ImVector_float* self,float const * it);
CIMGUI_API int ImVector_ImWchar_index_from_ptr(const ImVector_ImWchar* self,ImWchar const * it);
CIMGUI_API int ImVector_ImDrawVert_index_from_ptr(const ImVector_ImDrawVert* self,ImDrawVert const * it);
CIMGUI_API int ImVector_ImFontGlyph_index_from_ptr(const ImVector_ImFontGlyph* self,ImFontGlyph const * it);
CIMGUI_API int ImVector_ImGuiTextRange_index_from_ptr(const ImVector_ImGuiTextRange* self,ImGuiTextRange const * it);
CIMGUI_API int ImVector_ImGuiStoragePair_index_from_ptr(const ImVector_ImGuiStoragePair* self,ImGuiStoragePair const * it);
CIMGUI_API int ImVector_ImDrawChannel_index_from_ptr(const ImVector_ImDrawChannel* self,ImDrawChannel const * it);
CIMGUI_API int ImVector_char_index_from_ptr(const ImVector_char* self,char const * it);
CIMGUI_API int ImVector_ImU32_index_from_ptr(const ImVector_ImU32* self,ImU32 const * it);
CIMGUI_API int ImVector_ImFontAtlasCustomRect_index_from_ptr(const ImVector_ImFontAtlasCustomRect* self,ImFontAtlasCustomRect const * it);
CIMGUI_API int ImVector_ImTextureID_index_from_ptr(const ImVector_ImTextureID* self,ImTextureID const * it);
CIMGUI_API int ImVector_ImFontConfig_index_from_ptr(const ImVector_ImFontConfig* self,ImFontConfig const * it);
CIMGUI_API int ImVector_ImFontPtr_index_from_ptr(const ImVector_ImFontPtr* self,ImFont* const * it);
CIMGUI_API int ImVector_ImDrawCmd_index_from_ptr(const ImVector_ImDrawCmd* self,ImDrawCmd const * it);
CIMGUI_API int ImVector_ImVec4_index_from_ptr(const ImVector_ImVec4* self,ImVec4 const * it);
CIMGUI_API int ImVector_ImDrawIdx_index_from_ptr(const ImVector_ImDrawIdx* self,ImDrawIdx const * it);
CIMGUI_API int ImVector_ImVec2_index_from_ptr(const ImVector_ImVec2* self,ImVec2 const * it);
/////////////////////////hand written functions
@@ -2042,6 +1529,7 @@ CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,floa
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b);
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create();
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* self);
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
#endif //CIMGUI_INCLUDED

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -79,24 +79,24 @@ igSetWindowCollapsed 2
igPlotLines 2
1 void igPlotLines (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
2 void igPlotLinesFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
igListBoxHeader 2
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
2 bool igListBoxHeaderInt (const char*,int,int)
igPushStyleColor 2
1 void igPushStyleColorU32 (ImGuiCol,ImU32)
2 void igPushStyleColor (ImGuiCol,const ImVec4)
igTreeNodeExV 2
1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list)
2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list)
igListBox 2
1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int)
2 bool igListBoxFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
ImVec2_ImVec2 2
1 nil ImVec2_ImVec2 ()
2 nil ImVec2_ImVec2Float (float,float)
igCollapsingHeader 2
1 bool igCollapsingHeader (const char*,ImGuiTreeNodeFlags)
2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags)
igTreePush 2
1 void igTreePushStr (const char*)
2 void igTreePushPtr (const void*)
igSelectable 2
1 bool igSelectable (const char*,bool,ImGuiSelectableFlags,const ImVec2)
2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
igGetColorU32 3
1 ImU32 igGetColorU32 (ImGuiCol,float)
2 ImU32 igGetColorU32Vec4 (const ImVec4)
@@ -107,26 +107,29 @@ ImColor_ImColor 5
3 nil ImColor_ImColorU32 (ImU32)
4 nil ImColor_ImColorFloat (float,float,float,float)
5 nil ImColor_ImColorVec4 (const ImVec4)
ImVec2_ImVec2 2
1 nil ImVec2_ImVec2 ()
2 nil ImVec2_ImVec2Float (float,float)
ImVector_front 2
1 T* ImVector_front ()
2 const T* ImVector_front_const ()const
ImVector_begin 2
1 T* ImVector_begin ()
2 const T* ImVector_begin_const ()const
igPushStyleColor 2
1 void igPushStyleColorU32 (ImGuiCol,ImU32)
2 void igPushStyleColor (ImGuiCol,const ImVec4)
ImVector_front 2
1 T* ImVector_front ()
2 const T* ImVector_front_const ()const
ImVector_find 2
1 T* ImVector_find (const T)
2 const T* ImVector_find_const (const T)const
igTreeNodeEx 3
1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags)
2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...)
3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...)
igSelectable 2
1 bool igSelectable (const char*,bool,ImGuiSelectableFlags,const ImVec2)
2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
igMenuItem 2
1 bool igMenuItemBool (const char*,const char*,bool,bool)
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
igListBoxHeader 2
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
2 bool igListBoxHeaderInt (const char*,int,int)
igTreeNodeV 2
1 bool igTreeNodeVStr (const char*,const char*,va_list)
2 bool igTreeNodeVPtr (const void*,const char*,va_list)
91 overloaded
93 overloaded

View File

@@ -1217,33 +1217,28 @@
},
{
"calc_value": 17,
"name": "ImGuiNavInput_KeyTab_",
"name": "ImGuiNavInput_KeyLeft_",
"value": 17
},
{
"calc_value": 18,
"name": "ImGuiNavInput_KeyLeft_",
"name": "ImGuiNavInput_KeyRight_",
"value": 18
},
{
"calc_value": 19,
"name": "ImGuiNavInput_KeyRight_",
"name": "ImGuiNavInput_KeyUp_",
"value": 19
},
{
"calc_value": 20,
"name": "ImGuiNavInput_KeyUp_",
"name": "ImGuiNavInput_KeyDown_",
"value": 20
},
{
"calc_value": 21,
"name": "ImGuiNavInput_KeyDown_",
"value": 21
},
{
"calc_value": 22,
"name": "ImGuiNavInput_COUNT",
"value": 22
"value": 21
},
{
"calc_value": 16,
@@ -1276,6 +1271,11 @@
"calc_value": 8,
"name": "ImGuiSelectableFlags_Disabled",
"value": "1 << 3"
},
{
"calc_value": 16,
"name": "ImGuiSelectableFlags_AllowItemOverlap",
"value": "1 << 4"
}
],
"ImGuiStyleVar_": [
@@ -1545,6 +1545,16 @@
"name": "ImGuiTreeNodeFlags_FramePadding",
"value": "1 << 10"
},
{
"calc_value": 2048,
"name": "ImGuiTreeNodeFlags_SpanAvailWidth",
"value": "1 << 11"
},
{
"calc_value": 4096,
"name": "ImGuiTreeNodeFlags_SpanFullWidth",
"value": "1 << 12"
},
{
"calc_value": 8192,
"name": "ImGuiTreeNodeFlags_NavLeftJumpsBackHere",
@@ -1933,6 +1943,10 @@
"name": "FallbackChar",
"type": "ImWchar"
},
{
"name": "EllipsisChar",
"type": "ImWchar"
},
{
"name": "Scale",
"type": "float"
@@ -2119,6 +2133,10 @@
"name": "RasterizerMultiply",
"type": "float"
},
{
"name": "EllipsisChar",
"type": "ImWchar"
},
{
"name": "Name[40]",
"size": 40,
@@ -2276,6 +2294,10 @@
"name": "ConfigWindowsMoveFromTitleBarOnly",
"type": "bool"
},
{
"name": "ConfigWindowsMemoryCompactTimer",
"type": "float"
},
{
"name": "BackendPlatformName",
"type": "const char*"
@@ -2360,7 +2382,7 @@
},
{
"name": "NavInputs[ImGuiNavInput_COUNT]",
"size": 22,
"size": 21,
"type": "float"
},
{
@@ -2490,12 +2512,12 @@
},
{
"name": "NavInputsDownDuration[ImGuiNavInput_COUNT]",
"size": 22,
"size": 21,
"type": "float"
},
{
"name": "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]",
"size": 22,
"size": 21,
"type": "float"
},
{
@@ -2652,8 +2674,8 @@
"type": "ImGuiID"
},
{
"name": "}",
"type": "union { int val_i; float val_f; void* val_p;"
"name": "",
"type": "union { int val_i; float val_f; void* val_p;}"
}
],
"ImGuiStyle": [

View File

@@ -964,32 +964,28 @@ defs["enums"]["ImGuiNavInput_"][17]["name"] = "ImGuiNavInput_KeyMenu_"
defs["enums"]["ImGuiNavInput_"][17]["value"] = 16
defs["enums"]["ImGuiNavInput_"][18] = {}
defs["enums"]["ImGuiNavInput_"][18]["calc_value"] = 17
defs["enums"]["ImGuiNavInput_"][18]["name"] = "ImGuiNavInput_KeyTab_"
defs["enums"]["ImGuiNavInput_"][18]["name"] = "ImGuiNavInput_KeyLeft_"
defs["enums"]["ImGuiNavInput_"][18]["value"] = 17
defs["enums"]["ImGuiNavInput_"][19] = {}
defs["enums"]["ImGuiNavInput_"][19]["calc_value"] = 18
defs["enums"]["ImGuiNavInput_"][19]["name"] = "ImGuiNavInput_KeyLeft_"
defs["enums"]["ImGuiNavInput_"][19]["name"] = "ImGuiNavInput_KeyRight_"
defs["enums"]["ImGuiNavInput_"][19]["value"] = 18
defs["enums"]["ImGuiNavInput_"][20] = {}
defs["enums"]["ImGuiNavInput_"][20]["calc_value"] = 19
defs["enums"]["ImGuiNavInput_"][20]["name"] = "ImGuiNavInput_KeyRight_"
defs["enums"]["ImGuiNavInput_"][20]["name"] = "ImGuiNavInput_KeyUp_"
defs["enums"]["ImGuiNavInput_"][20]["value"] = 19
defs["enums"]["ImGuiNavInput_"][21] = {}
defs["enums"]["ImGuiNavInput_"][21]["calc_value"] = 20
defs["enums"]["ImGuiNavInput_"][21]["name"] = "ImGuiNavInput_KeyUp_"
defs["enums"]["ImGuiNavInput_"][21]["name"] = "ImGuiNavInput_KeyDown_"
defs["enums"]["ImGuiNavInput_"][21]["value"] = 20
defs["enums"]["ImGuiNavInput_"][22] = {}
defs["enums"]["ImGuiNavInput_"][22]["calc_value"] = 21
defs["enums"]["ImGuiNavInput_"][22]["name"] = "ImGuiNavInput_KeyDown_"
defs["enums"]["ImGuiNavInput_"][22]["name"] = "ImGuiNavInput_COUNT"
defs["enums"]["ImGuiNavInput_"][22]["value"] = 21
defs["enums"]["ImGuiNavInput_"][23] = {}
defs["enums"]["ImGuiNavInput_"][23]["calc_value"] = 22
defs["enums"]["ImGuiNavInput_"][23]["name"] = "ImGuiNavInput_COUNT"
defs["enums"]["ImGuiNavInput_"][23]["value"] = 22
defs["enums"]["ImGuiNavInput_"][24] = {}
defs["enums"]["ImGuiNavInput_"][24]["calc_value"] = 16
defs["enums"]["ImGuiNavInput_"][24]["name"] = "ImGuiNavInput_InternalStart_"
defs["enums"]["ImGuiNavInput_"][24]["value"] = "ImGuiNavInput_KeyMenu_"
defs["enums"]["ImGuiNavInput_"][23]["calc_value"] = 16
defs["enums"]["ImGuiNavInput_"][23]["name"] = "ImGuiNavInput_InternalStart_"
defs["enums"]["ImGuiNavInput_"][23]["value"] = "ImGuiNavInput_KeyMenu_"
defs["enums"]["ImGuiSelectableFlags_"] = {}
defs["enums"]["ImGuiSelectableFlags_"][1] = {}
defs["enums"]["ImGuiSelectableFlags_"][1]["calc_value"] = 0
@@ -1011,6 +1007,10 @@ defs["enums"]["ImGuiSelectableFlags_"][5] = {}
defs["enums"]["ImGuiSelectableFlags_"][5]["calc_value"] = 8
defs["enums"]["ImGuiSelectableFlags_"][5]["name"] = "ImGuiSelectableFlags_Disabled"
defs["enums"]["ImGuiSelectableFlags_"][5]["value"] = "1 << 3"
defs["enums"]["ImGuiSelectableFlags_"][6] = {}
defs["enums"]["ImGuiSelectableFlags_"][6]["calc_value"] = 16
defs["enums"]["ImGuiSelectableFlags_"][6]["name"] = "ImGuiSelectableFlags_AllowItemOverlap"
defs["enums"]["ImGuiSelectableFlags_"][6]["value"] = "1 << 4"
defs["enums"]["ImGuiStyleVar_"] = {}
defs["enums"]["ImGuiStyleVar_"][1] = {}
defs["enums"]["ImGuiStyleVar_"][1]["calc_value"] = 0
@@ -1224,13 +1224,21 @@ defs["enums"]["ImGuiTreeNodeFlags_"][12]["calc_value"] = 1024
defs["enums"]["ImGuiTreeNodeFlags_"][12]["name"] = "ImGuiTreeNodeFlags_FramePadding"
defs["enums"]["ImGuiTreeNodeFlags_"][12]["value"] = "1 << 10"
defs["enums"]["ImGuiTreeNodeFlags_"][13] = {}
defs["enums"]["ImGuiTreeNodeFlags_"][13]["calc_value"] = 8192
defs["enums"]["ImGuiTreeNodeFlags_"][13]["name"] = "ImGuiTreeNodeFlags_NavLeftJumpsBackHere"
defs["enums"]["ImGuiTreeNodeFlags_"][13]["value"] = "1 << 13"
defs["enums"]["ImGuiTreeNodeFlags_"][13]["calc_value"] = 2048
defs["enums"]["ImGuiTreeNodeFlags_"][13]["name"] = "ImGuiTreeNodeFlags_SpanAvailWidth"
defs["enums"]["ImGuiTreeNodeFlags_"][13]["value"] = "1 << 11"
defs["enums"]["ImGuiTreeNodeFlags_"][14] = {}
defs["enums"]["ImGuiTreeNodeFlags_"][14]["calc_value"] = 26
defs["enums"]["ImGuiTreeNodeFlags_"][14]["name"] = "ImGuiTreeNodeFlags_CollapsingHeader"
defs["enums"]["ImGuiTreeNodeFlags_"][14]["value"] = "ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"
defs["enums"]["ImGuiTreeNodeFlags_"][14]["calc_value"] = 4096
defs["enums"]["ImGuiTreeNodeFlags_"][14]["name"] = "ImGuiTreeNodeFlags_SpanFullWidth"
defs["enums"]["ImGuiTreeNodeFlags_"][14]["value"] = "1 << 12"
defs["enums"]["ImGuiTreeNodeFlags_"][15] = {}
defs["enums"]["ImGuiTreeNodeFlags_"][15]["calc_value"] = 8192
defs["enums"]["ImGuiTreeNodeFlags_"][15]["name"] = "ImGuiTreeNodeFlags_NavLeftJumpsBackHere"
defs["enums"]["ImGuiTreeNodeFlags_"][15]["value"] = "1 << 13"
defs["enums"]["ImGuiTreeNodeFlags_"][16] = {}
defs["enums"]["ImGuiTreeNodeFlags_"][16]["calc_value"] = 26
defs["enums"]["ImGuiTreeNodeFlags_"][16]["name"] = "ImGuiTreeNodeFlags_CollapsingHeader"
defs["enums"]["ImGuiTreeNodeFlags_"][16]["value"] = "ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"
defs["enums"]["ImGuiWindowFlags_"] = {}
defs["enums"]["ImGuiWindowFlags_"][1] = {}
defs["enums"]["ImGuiWindowFlags_"][1]["calc_value"] = 0
@@ -1521,20 +1529,23 @@ defs["structs"]["ImFont"][11] = {}
defs["structs"]["ImFont"][11]["name"] = "FallbackChar"
defs["structs"]["ImFont"][11]["type"] = "ImWchar"
defs["structs"]["ImFont"][12] = {}
defs["structs"]["ImFont"][12]["name"] = "Scale"
defs["structs"]["ImFont"][12]["type"] = "float"
defs["structs"]["ImFont"][12]["name"] = "EllipsisChar"
defs["structs"]["ImFont"][12]["type"] = "ImWchar"
defs["structs"]["ImFont"][13] = {}
defs["structs"]["ImFont"][13]["name"] = "Ascent"
defs["structs"]["ImFont"][13]["name"] = "Scale"
defs["structs"]["ImFont"][13]["type"] = "float"
defs["structs"]["ImFont"][14] = {}
defs["structs"]["ImFont"][14]["name"] = "Descent"
defs["structs"]["ImFont"][14]["name"] = "Ascent"
defs["structs"]["ImFont"][14]["type"] = "float"
defs["structs"]["ImFont"][15] = {}
defs["structs"]["ImFont"][15]["name"] = "MetricsTotalSurface"
defs["structs"]["ImFont"][15]["type"] = "int"
defs["structs"]["ImFont"][15]["name"] = "Descent"
defs["structs"]["ImFont"][15]["type"] = "float"
defs["structs"]["ImFont"][16] = {}
defs["structs"]["ImFont"][16]["name"] = "DirtyLookupTables"
defs["structs"]["ImFont"][16]["type"] = "bool"
defs["structs"]["ImFont"][16]["name"] = "MetricsTotalSurface"
defs["structs"]["ImFont"][16]["type"] = "int"
defs["structs"]["ImFont"][17] = {}
defs["structs"]["ImFont"][17]["name"] = "DirtyLookupTables"
defs["structs"]["ImFont"][17]["type"] = "bool"
defs["structs"]["ImFontAtlas"] = {}
defs["structs"]["ImFontAtlas"][1] = {}
defs["structs"]["ImFontAtlas"][1]["name"] = "Locked"
@@ -1660,12 +1671,15 @@ defs["structs"]["ImFontConfig"][16] = {}
defs["structs"]["ImFontConfig"][16]["name"] = "RasterizerMultiply"
defs["structs"]["ImFontConfig"][16]["type"] = "float"
defs["structs"]["ImFontConfig"][17] = {}
defs["structs"]["ImFontConfig"][17]["name"] = "Name[40]"
defs["structs"]["ImFontConfig"][17]["size"] = 40
defs["structs"]["ImFontConfig"][17]["type"] = "char"
defs["structs"]["ImFontConfig"][17]["name"] = "EllipsisChar"
defs["structs"]["ImFontConfig"][17]["type"] = "ImWchar"
defs["structs"]["ImFontConfig"][18] = {}
defs["structs"]["ImFontConfig"][18]["name"] = "DstFont"
defs["structs"]["ImFontConfig"][18]["type"] = "ImFont*"
defs["structs"]["ImFontConfig"][18]["name"] = "Name[40]"
defs["structs"]["ImFontConfig"][18]["size"] = 40
defs["structs"]["ImFontConfig"][18]["type"] = "char"
defs["structs"]["ImFontConfig"][19] = {}
defs["structs"]["ImFontConfig"][19]["name"] = "DstFont"
defs["structs"]["ImFontConfig"][19]["type"] = "ImFont*"
defs["structs"]["ImFontGlyph"] = {}
defs["structs"]["ImFontGlyph"][1] = {}
defs["structs"]["ImFontGlyph"][1]["name"] = "Codepoint"
@@ -1777,180 +1791,183 @@ defs["structs"]["ImGuiIO"][24] = {}
defs["structs"]["ImGuiIO"][24]["name"] = "ConfigWindowsMoveFromTitleBarOnly"
defs["structs"]["ImGuiIO"][24]["type"] = "bool"
defs["structs"]["ImGuiIO"][25] = {}
defs["structs"]["ImGuiIO"][25]["name"] = "BackendPlatformName"
defs["structs"]["ImGuiIO"][25]["type"] = "const char*"
defs["structs"]["ImGuiIO"][25]["name"] = "ConfigWindowsMemoryCompactTimer"
defs["structs"]["ImGuiIO"][25]["type"] = "float"
defs["structs"]["ImGuiIO"][26] = {}
defs["structs"]["ImGuiIO"][26]["name"] = "BackendRendererName"
defs["structs"]["ImGuiIO"][26]["name"] = "BackendPlatformName"
defs["structs"]["ImGuiIO"][26]["type"] = "const char*"
defs["structs"]["ImGuiIO"][27] = {}
defs["structs"]["ImGuiIO"][27]["name"] = "BackendPlatformUserData"
defs["structs"]["ImGuiIO"][27]["type"] = "void*"
defs["structs"]["ImGuiIO"][27]["name"] = "BackendRendererName"
defs["structs"]["ImGuiIO"][27]["type"] = "const char*"
defs["structs"]["ImGuiIO"][28] = {}
defs["structs"]["ImGuiIO"][28]["name"] = "BackendRendererUserData"
defs["structs"]["ImGuiIO"][28]["name"] = "BackendPlatformUserData"
defs["structs"]["ImGuiIO"][28]["type"] = "void*"
defs["structs"]["ImGuiIO"][29] = {}
defs["structs"]["ImGuiIO"][29]["name"] = "BackendLanguageUserData"
defs["structs"]["ImGuiIO"][29]["name"] = "BackendRendererUserData"
defs["structs"]["ImGuiIO"][29]["type"] = "void*"
defs["structs"]["ImGuiIO"][30] = {}
defs["structs"]["ImGuiIO"][30]["name"] = "GetClipboardTextFn"
defs["structs"]["ImGuiIO"][30]["type"] = "const char*(*)(void* user_data)"
defs["structs"]["ImGuiIO"][30]["name"] = "BackendLanguageUserData"
defs["structs"]["ImGuiIO"][30]["type"] = "void*"
defs["structs"]["ImGuiIO"][31] = {}
defs["structs"]["ImGuiIO"][31]["name"] = "SetClipboardTextFn"
defs["structs"]["ImGuiIO"][31]["type"] = "void(*)(void* user_data,const char* text)"
defs["structs"]["ImGuiIO"][31]["name"] = "GetClipboardTextFn"
defs["structs"]["ImGuiIO"][31]["type"] = "const char*(*)(void* user_data)"
defs["structs"]["ImGuiIO"][32] = {}
defs["structs"]["ImGuiIO"][32]["name"] = "ClipboardUserData"
defs["structs"]["ImGuiIO"][32]["type"] = "void*"
defs["structs"]["ImGuiIO"][32]["name"] = "SetClipboardTextFn"
defs["structs"]["ImGuiIO"][32]["type"] = "void(*)(void* user_data,const char* text)"
defs["structs"]["ImGuiIO"][33] = {}
defs["structs"]["ImGuiIO"][33]["name"] = "ImeSetInputScreenPosFn"
defs["structs"]["ImGuiIO"][33]["type"] = "void(*)(int x,int y)"
defs["structs"]["ImGuiIO"][33]["name"] = "ClipboardUserData"
defs["structs"]["ImGuiIO"][33]["type"] = "void*"
defs["structs"]["ImGuiIO"][34] = {}
defs["structs"]["ImGuiIO"][34]["name"] = "ImeWindowHandle"
defs["structs"]["ImGuiIO"][34]["type"] = "void*"
defs["structs"]["ImGuiIO"][34]["name"] = "ImeSetInputScreenPosFn"
defs["structs"]["ImGuiIO"][34]["type"] = "void(*)(int x,int y)"
defs["structs"]["ImGuiIO"][35] = {}
defs["structs"]["ImGuiIO"][35]["name"] = "RenderDrawListsFnUnused"
defs["structs"]["ImGuiIO"][35]["name"] = "ImeWindowHandle"
defs["structs"]["ImGuiIO"][35]["type"] = "void*"
defs["structs"]["ImGuiIO"][36] = {}
defs["structs"]["ImGuiIO"][36]["name"] = "MousePos"
defs["structs"]["ImGuiIO"][36]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][36]["name"] = "RenderDrawListsFnUnused"
defs["structs"]["ImGuiIO"][36]["type"] = "void*"
defs["structs"]["ImGuiIO"][37] = {}
defs["structs"]["ImGuiIO"][37]["name"] = "MouseDown[5]"
defs["structs"]["ImGuiIO"][37]["size"] = 5
defs["structs"]["ImGuiIO"][37]["type"] = "bool"
defs["structs"]["ImGuiIO"][37]["name"] = "MousePos"
defs["structs"]["ImGuiIO"][37]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][38] = {}
defs["structs"]["ImGuiIO"][38]["name"] = "MouseWheel"
defs["structs"]["ImGuiIO"][38]["type"] = "float"
defs["structs"]["ImGuiIO"][38]["name"] = "MouseDown[5]"
defs["structs"]["ImGuiIO"][38]["size"] = 5
defs["structs"]["ImGuiIO"][38]["type"] = "bool"
defs["structs"]["ImGuiIO"][39] = {}
defs["structs"]["ImGuiIO"][39]["name"] = "MouseWheelH"
defs["structs"]["ImGuiIO"][39]["name"] = "MouseWheel"
defs["structs"]["ImGuiIO"][39]["type"] = "float"
defs["structs"]["ImGuiIO"][40] = {}
defs["structs"]["ImGuiIO"][40]["name"] = "KeyCtrl"
defs["structs"]["ImGuiIO"][40]["type"] = "bool"
defs["structs"]["ImGuiIO"][40]["name"] = "MouseWheelH"
defs["structs"]["ImGuiIO"][40]["type"] = "float"
defs["structs"]["ImGuiIO"][41] = {}
defs["structs"]["ImGuiIO"][41]["name"] = "KeyShift"
defs["structs"]["ImGuiIO"][41]["name"] = "KeyCtrl"
defs["structs"]["ImGuiIO"][41]["type"] = "bool"
defs["structs"]["ImGuiIO"][42] = {}
defs["structs"]["ImGuiIO"][42]["name"] = "KeyAlt"
defs["structs"]["ImGuiIO"][42]["name"] = "KeyShift"
defs["structs"]["ImGuiIO"][42]["type"] = "bool"
defs["structs"]["ImGuiIO"][43] = {}
defs["structs"]["ImGuiIO"][43]["name"] = "KeySuper"
defs["structs"]["ImGuiIO"][43]["name"] = "KeyAlt"
defs["structs"]["ImGuiIO"][43]["type"] = "bool"
defs["structs"]["ImGuiIO"][44] = {}
defs["structs"]["ImGuiIO"][44]["name"] = "KeysDown[512]"
defs["structs"]["ImGuiIO"][44]["size"] = 512
defs["structs"]["ImGuiIO"][44]["name"] = "KeySuper"
defs["structs"]["ImGuiIO"][44]["type"] = "bool"
defs["structs"]["ImGuiIO"][45] = {}
defs["structs"]["ImGuiIO"][45]["name"] = "NavInputs[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][45]["size"] = 22
defs["structs"]["ImGuiIO"][45]["type"] = "float"
defs["structs"]["ImGuiIO"][45]["name"] = "KeysDown[512]"
defs["structs"]["ImGuiIO"][45]["size"] = 512
defs["structs"]["ImGuiIO"][45]["type"] = "bool"
defs["structs"]["ImGuiIO"][46] = {}
defs["structs"]["ImGuiIO"][46]["name"] = "WantCaptureMouse"
defs["structs"]["ImGuiIO"][46]["type"] = "bool"
defs["structs"]["ImGuiIO"][46]["name"] = "NavInputs[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][46]["size"] = 21
defs["structs"]["ImGuiIO"][46]["type"] = "float"
defs["structs"]["ImGuiIO"][47] = {}
defs["structs"]["ImGuiIO"][47]["name"] = "WantCaptureKeyboard"
defs["structs"]["ImGuiIO"][47]["name"] = "WantCaptureMouse"
defs["structs"]["ImGuiIO"][47]["type"] = "bool"
defs["structs"]["ImGuiIO"][48] = {}
defs["structs"]["ImGuiIO"][48]["name"] = "WantTextInput"
defs["structs"]["ImGuiIO"][48]["name"] = "WantCaptureKeyboard"
defs["structs"]["ImGuiIO"][48]["type"] = "bool"
defs["structs"]["ImGuiIO"][49] = {}
defs["structs"]["ImGuiIO"][49]["name"] = "WantSetMousePos"
defs["structs"]["ImGuiIO"][49]["name"] = "WantTextInput"
defs["structs"]["ImGuiIO"][49]["type"] = "bool"
defs["structs"]["ImGuiIO"][50] = {}
defs["structs"]["ImGuiIO"][50]["name"] = "WantSaveIniSettings"
defs["structs"]["ImGuiIO"][50]["name"] = "WantSetMousePos"
defs["structs"]["ImGuiIO"][50]["type"] = "bool"
defs["structs"]["ImGuiIO"][51] = {}
defs["structs"]["ImGuiIO"][51]["name"] = "NavActive"
defs["structs"]["ImGuiIO"][51]["name"] = "WantSaveIniSettings"
defs["structs"]["ImGuiIO"][51]["type"] = "bool"
defs["structs"]["ImGuiIO"][52] = {}
defs["structs"]["ImGuiIO"][52]["name"] = "NavVisible"
defs["structs"]["ImGuiIO"][52]["name"] = "NavActive"
defs["structs"]["ImGuiIO"][52]["type"] = "bool"
defs["structs"]["ImGuiIO"][53] = {}
defs["structs"]["ImGuiIO"][53]["name"] = "Framerate"
defs["structs"]["ImGuiIO"][53]["type"] = "float"
defs["structs"]["ImGuiIO"][53]["name"] = "NavVisible"
defs["structs"]["ImGuiIO"][53]["type"] = "bool"
defs["structs"]["ImGuiIO"][54] = {}
defs["structs"]["ImGuiIO"][54]["name"] = "MetricsRenderVertices"
defs["structs"]["ImGuiIO"][54]["type"] = "int"
defs["structs"]["ImGuiIO"][54]["name"] = "Framerate"
defs["structs"]["ImGuiIO"][54]["type"] = "float"
defs["structs"]["ImGuiIO"][55] = {}
defs["structs"]["ImGuiIO"][55]["name"] = "MetricsRenderIndices"
defs["structs"]["ImGuiIO"][55]["name"] = "MetricsRenderVertices"
defs["structs"]["ImGuiIO"][55]["type"] = "int"
defs["structs"]["ImGuiIO"][56] = {}
defs["structs"]["ImGuiIO"][56]["name"] = "MetricsRenderWindows"
defs["structs"]["ImGuiIO"][56]["name"] = "MetricsRenderIndices"
defs["structs"]["ImGuiIO"][56]["type"] = "int"
defs["structs"]["ImGuiIO"][57] = {}
defs["structs"]["ImGuiIO"][57]["name"] = "MetricsActiveWindows"
defs["structs"]["ImGuiIO"][57]["name"] = "MetricsRenderWindows"
defs["structs"]["ImGuiIO"][57]["type"] = "int"
defs["structs"]["ImGuiIO"][58] = {}
defs["structs"]["ImGuiIO"][58]["name"] = "MetricsActiveAllocations"
defs["structs"]["ImGuiIO"][58]["name"] = "MetricsActiveWindows"
defs["structs"]["ImGuiIO"][58]["type"] = "int"
defs["structs"]["ImGuiIO"][59] = {}
defs["structs"]["ImGuiIO"][59]["name"] = "MouseDelta"
defs["structs"]["ImGuiIO"][59]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][59]["name"] = "MetricsActiveAllocations"
defs["structs"]["ImGuiIO"][59]["type"] = "int"
defs["structs"]["ImGuiIO"][60] = {}
defs["structs"]["ImGuiIO"][60]["name"] = "MousePosPrev"
defs["structs"]["ImGuiIO"][60]["name"] = "MouseDelta"
defs["structs"]["ImGuiIO"][60]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][61] = {}
defs["structs"]["ImGuiIO"][61]["name"] = "MouseClickedPos[5]"
defs["structs"]["ImGuiIO"][61]["size"] = 5
defs["structs"]["ImGuiIO"][61]["name"] = "MousePosPrev"
defs["structs"]["ImGuiIO"][61]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][62] = {}
defs["structs"]["ImGuiIO"][62]["name"] = "MouseClickedTime[5]"
defs["structs"]["ImGuiIO"][62]["name"] = "MouseClickedPos[5]"
defs["structs"]["ImGuiIO"][62]["size"] = 5
defs["structs"]["ImGuiIO"][62]["type"] = "double"
defs["structs"]["ImGuiIO"][62]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][63] = {}
defs["structs"]["ImGuiIO"][63]["name"] = "MouseClicked[5]"
defs["structs"]["ImGuiIO"][63]["name"] = "MouseClickedTime[5]"
defs["structs"]["ImGuiIO"][63]["size"] = 5
defs["structs"]["ImGuiIO"][63]["type"] = "bool"
defs["structs"]["ImGuiIO"][63]["type"] = "double"
defs["structs"]["ImGuiIO"][64] = {}
defs["structs"]["ImGuiIO"][64]["name"] = "MouseDoubleClicked[5]"
defs["structs"]["ImGuiIO"][64]["name"] = "MouseClicked[5]"
defs["structs"]["ImGuiIO"][64]["size"] = 5
defs["structs"]["ImGuiIO"][64]["type"] = "bool"
defs["structs"]["ImGuiIO"][65] = {}
defs["structs"]["ImGuiIO"][65]["name"] = "MouseReleased[5]"
defs["structs"]["ImGuiIO"][65]["name"] = "MouseDoubleClicked[5]"
defs["structs"]["ImGuiIO"][65]["size"] = 5
defs["structs"]["ImGuiIO"][65]["type"] = "bool"
defs["structs"]["ImGuiIO"][66] = {}
defs["structs"]["ImGuiIO"][66]["name"] = "MouseDownOwned[5]"
defs["structs"]["ImGuiIO"][66]["name"] = "MouseReleased[5]"
defs["structs"]["ImGuiIO"][66]["size"] = 5
defs["structs"]["ImGuiIO"][66]["type"] = "bool"
defs["structs"]["ImGuiIO"][67] = {}
defs["structs"]["ImGuiIO"][67]["name"] = "MouseDownWasDoubleClick[5]"
defs["structs"]["ImGuiIO"][67]["name"] = "MouseDownOwned[5]"
defs["structs"]["ImGuiIO"][67]["size"] = 5
defs["structs"]["ImGuiIO"][67]["type"] = "bool"
defs["structs"]["ImGuiIO"][68] = {}
defs["structs"]["ImGuiIO"][68]["name"] = "MouseDownDuration[5]"
defs["structs"]["ImGuiIO"][68]["name"] = "MouseDownWasDoubleClick[5]"
defs["structs"]["ImGuiIO"][68]["size"] = 5
defs["structs"]["ImGuiIO"][68]["type"] = "float"
defs["structs"]["ImGuiIO"][68]["type"] = "bool"
defs["structs"]["ImGuiIO"][69] = {}
defs["structs"]["ImGuiIO"][69]["name"] = "MouseDownDurationPrev[5]"
defs["structs"]["ImGuiIO"][69]["name"] = "MouseDownDuration[5]"
defs["structs"]["ImGuiIO"][69]["size"] = 5
defs["structs"]["ImGuiIO"][69]["type"] = "float"
defs["structs"]["ImGuiIO"][70] = {}
defs["structs"]["ImGuiIO"][70]["name"] = "MouseDragMaxDistanceAbs[5]"
defs["structs"]["ImGuiIO"][70]["name"] = "MouseDownDurationPrev[5]"
defs["structs"]["ImGuiIO"][70]["size"] = 5
defs["structs"]["ImGuiIO"][70]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][70]["type"] = "float"
defs["structs"]["ImGuiIO"][71] = {}
defs["structs"]["ImGuiIO"][71]["name"] = "MouseDragMaxDistanceSqr[5]"
defs["structs"]["ImGuiIO"][71]["name"] = "MouseDragMaxDistanceAbs[5]"
defs["structs"]["ImGuiIO"][71]["size"] = 5
defs["structs"]["ImGuiIO"][71]["type"] = "float"
defs["structs"]["ImGuiIO"][71]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][72] = {}
defs["structs"]["ImGuiIO"][72]["name"] = "KeysDownDuration[512]"
defs["structs"]["ImGuiIO"][72]["size"] = 512
defs["structs"]["ImGuiIO"][72]["name"] = "MouseDragMaxDistanceSqr[5]"
defs["structs"]["ImGuiIO"][72]["size"] = 5
defs["structs"]["ImGuiIO"][72]["type"] = "float"
defs["structs"]["ImGuiIO"][73] = {}
defs["structs"]["ImGuiIO"][73]["name"] = "KeysDownDurationPrev[512]"
defs["structs"]["ImGuiIO"][73]["name"] = "KeysDownDuration[512]"
defs["structs"]["ImGuiIO"][73]["size"] = 512
defs["structs"]["ImGuiIO"][73]["type"] = "float"
defs["structs"]["ImGuiIO"][74] = {}
defs["structs"]["ImGuiIO"][74]["name"] = "NavInputsDownDuration[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][74]["size"] = 22
defs["structs"]["ImGuiIO"][74]["name"] = "KeysDownDurationPrev[512]"
defs["structs"]["ImGuiIO"][74]["size"] = 512
defs["structs"]["ImGuiIO"][74]["type"] = "float"
defs["structs"]["ImGuiIO"][75] = {}
defs["structs"]["ImGuiIO"][75]["name"] = "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][75]["size"] = 22
defs["structs"]["ImGuiIO"][75]["name"] = "NavInputsDownDuration[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][75]["size"] = 21
defs["structs"]["ImGuiIO"][75]["type"] = "float"
defs["structs"]["ImGuiIO"][76] = {}
defs["structs"]["ImGuiIO"][76]["name"] = "InputQueueCharacters"
defs["structs"]["ImGuiIO"][76]["template_type"] = "ImWchar"
defs["structs"]["ImGuiIO"][76]["type"] = "ImVector_ImWchar"
defs["structs"]["ImGuiIO"][76]["name"] = "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][76]["size"] = 21
defs["structs"]["ImGuiIO"][76]["type"] = "float"
defs["structs"]["ImGuiIO"][77] = {}
defs["structs"]["ImGuiIO"][77]["name"] = "InputQueueCharacters"
defs["structs"]["ImGuiIO"][77]["template_type"] = "ImWchar"
defs["structs"]["ImGuiIO"][77]["type"] = "ImVector_ImWchar"
defs["structs"]["ImGuiInputTextCallbackData"] = {}
defs["structs"]["ImGuiInputTextCallbackData"][1] = {}
defs["structs"]["ImGuiInputTextCallbackData"][1]["name"] = "EventFlag"
@@ -2060,8 +2077,8 @@ defs["structs"]["ImGuiStoragePair"][1] = {}
defs["structs"]["ImGuiStoragePair"][1]["name"] = "key"
defs["structs"]["ImGuiStoragePair"][1]["type"] = "ImGuiID"
defs["structs"]["ImGuiStoragePair"][2] = {}
defs["structs"]["ImGuiStoragePair"][2]["name"] = "}"
defs["structs"]["ImGuiStoragePair"][2]["type"] = "union { int val_i; float val_f; void* val_p;"
defs["structs"]["ImGuiStoragePair"][2]["name"] = ""
defs["structs"]["ImGuiStoragePair"][2]["type"] = "union { int val_i; float val_f; void* val_p;}"
defs["structs"]["ImGuiStyle"] = {}
defs["structs"]["ImGuiStyle"][1] = {}
defs["structs"]["ImGuiStyle"][1]["name"] = "Alpha"

2
imgui

Submodule imgui updated: ecb9b1e2eb...a8092085b1

11
test/CMakeLists.txt Normal file
View File

@@ -0,0 +1,11 @@
file(GLOB CIMGUI_TEST_SOURCES
main.c
)
add_executable(cimgui_test ${CIMGUI_TEST_SOURCES})
set_target_properties(cimgui_test PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
set_property(TARGET cimgui_test PROPERTY C_STANDARD 99)
target_compile_definitions(cimgui_test PRIVATE CIMGUI_DEFINE_ENUMS_AND_STRUCTS=1)
target_link_libraries(cimgui_test PRIVATE cimgui)

41
test/main.c Normal file
View File

@@ -0,0 +1,41 @@
#include <stdio.h>
#include <assert.h>
#include "../cimgui.h"
int main(void)
{
assert(igDebugCheckVersionAndDataLayout(igGetVersion(), sizeof(ImGuiIO), sizeof(ImGuiStyle),
sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert),
sizeof(ImDrawIdx)));
printf("CreateContext() - v%s\n", igGetVersion());
igCreateContext(NULL);
ImGuiIO *io = igGetIO();
unsigned char *text_pixels = NULL;
int text_w, text_h;
ImFontAtlas_GetTexDataAsRGBA32(io->Fonts, &text_pixels, &text_w, &text_h, NULL);
for (int n = 0; n < 20; n++) {
printf("NewFrame() %d\n", n);
ImVec2 display_size;
display_size.x = 1920;
display_size.y = 1080;
io->DisplaySize = display_size;
io->DeltaTime = 1.0f / 60.0f;
igNewFrame();
static float f = 0.0f;
igText("Hello World!");
igSliderFloat("float", &f, 0.0f, 1.0f, "%.3f", 1.0f);
igText("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io->Framerate, io->Framerate);
igShowDemoWindow(NULL);
igRender();
}
printf("DestroyContext()\n");
igDestroyContext(NULL);
return 0;
}

View File

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

View File

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

View File

@@ -1,13 +0,0 @@
::set PATH=%PATH%;C:\luaGL;C:\mingw32\bin;
::gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../imgui/imgui.h > 11.txt
::set PATH=%PATH%;C:\luaGL;
::set PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\Hostx64\x64;
::ejecutar en cmd esto
::"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
::cl /P /DIMGUI_DISABLE_OBSOLETE_FUNCTIONS /DIMGUI_API="" /DIMGUI_IMPL_API="" ../imgui/imgui.h
:: > clout.txt
cl /P /DCIMGUI_DEFINE_ENUMS_AND_STRUCTS cimguitest.c
cmd /k