Compare commits

..

12 Commits

Author SHA1 Message Date
sonoro1234
833e9366de Merge branch 'docking_inter' 2024-10-01 13:05:38 +02:00
sonoro1234
652d4cbc89 pull imgui 1.91.2 and generate 2024-10-01 12:49:47 +02:00
sonoro1234
e50a65fd62 cpp2ffi: templates from classes name :: -> _ 2024-09-24 18:52:47 +02:00
sonoro1234
f276fd4ae1 cpp2ffi: initial changes for processing classes 2024-09-24 17:47:48 +02:00
sonoro1234
c06a46b0f2 cpp2ffi: get enum name from typedef enum ... 2024-09-23 10:53:32 +02:00
sonoro1234
a051fe287b constructors missed semicolon 2024-09-18 17:16:45 +02:00
sonoro1234
411924f104 script param "constructors" to add the _Construct version of constructors issue #278 2024-09-18 14:36:22 +02:00
sonoro1234
0c7f67607d cpp2ffi: get class name 2024-09-14 20:19:51 +02:00
sonoro1234
51197f420a cpp2ffi: clean namespace in typedefs issue #277 2024-09-11 11:39:05 +02:00
sonoro1234
74902e7392 Merge branch 'docking_inter' 2024-09-08 11:57:14 +02:00
sonoro1234
ed017a0704 pull imgui 1.91.1 docking and generate 2024-09-06 16:56:46 +02:00
sonoro1234
c482a65118 cpp2ffi: drop (int) from enums 2024-09-06 16:55:13 +02:00
17 changed files with 4623 additions and 4457 deletions

View File

@@ -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.91.0 of Dear ImGui with internal api]
* currently this wrapper is based on version [1.91.2 of Dear ImGui with internal api]
* only functions, structs and enums from imgui.h (an optionally imgui_internal.h) are wrapped.
* if you are interested in imgui backends you should look [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui) project.
* All naming is algorithmic except for those names that were coded in cimgui_overloads table (https://github.com/cimgui/cimgui/blob/master/generator/generator.lua#L60). In the official version this table is empty.
@@ -37,7 +37,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 need to use also a C++ compiler for doing preprocessing: gcc (In windows MinGW-W64-builds for example), clang or cl (MSVC). (this repo was done with gcc)
* update `imgui` folder to the version you desire.
* edit `generator/generator.bat` on windows, or `generator/generator.sh` on linux, to choose between gcc, clang, or cl and to choose desired backends and whether imgui_internal is generated or not, Freetype2 is used or not and comments are generated or not
* edit `generator/generator.bat` on windows, or `generator/generator.sh` on linux, to choose between gcc, clang, or cl and to choose desired backends and whether imgui_internal is generated or not, Freetype2 is used or not and comments are generated or not and if constructors are generated also with versions performing just initialization of structs provided by yourself (_Construct is added to the constructor names)
* the defaults of generator are gcc as compiler, imgui_internal included and sdl, glfw, vulkan, opengl2 and opengl3 as backends.
* edit config_generator.lua for adding includes needed by your chosen backends (vulkan needs that).
* Run generator.bat or generator.sh with gcc, clang or cl and LuaJIT on your PATH.

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.91.0" 19100 from Dear ImGui https://github.com/ocornut/imgui
//based on imgui.h file version "1.91.2" 19120 from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api
#ifdef IMGUI_ENABLE_FREETYPE
#ifndef CIMGUI_FREETYPE
@@ -63,6 +63,10 @@ CIMGUI_API ImGuiIO* igGetIO()
{
return &ImGui::GetIO();
}
CIMGUI_API ImGuiPlatformIO* igGetPlatformIO()
{
return &ImGui::GetPlatformIO();
}
CIMGUI_API ImGuiStyle* igGetStyle()
{
return &ImGui::GetStyle();
@@ -327,6 +331,14 @@ CIMGUI_API void igPushStyleVar_Vec2(ImGuiStyleVar idx,const ImVec2 val)
{
return ImGui::PushStyleVar(idx,val);
}
CIMGUI_API void igPushStyleVarX(ImGuiStyleVar idx,float val_x)
{
return ImGui::PushStyleVarX(idx,val_x);
}
CIMGUI_API void igPushStyleVarY(ImGuiStyleVar idx,float val_y)
{
return ImGui::PushStyleVarY(idx,val_y);
}
CIMGUI_API void igPopStyleVar(int count)
{
return ImGui::PopStyleVar(count);
@@ -1207,9 +1219,9 @@ CIMGUI_API void igTableSetBgColor(ImGuiTableBgTarget target,ImU32 color,int colu
{
return ImGui::TableSetBgColor(target,color,column_n);
}
CIMGUI_API void igColumns(int count,const char* id,bool border)
CIMGUI_API void igColumns(int count,const char* id,bool borders)
{
return ImGui::Columns(count,id,border);
return ImGui::Columns(count,id,borders);
}
CIMGUI_API void igNextColumn()
{
@@ -2386,6 +2398,10 @@ CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self)
{
return self->_OnChangedVtxOffset();
}
CIMGUI_API void ImDrawList__SetTextureID(ImDrawList* self,ImTextureID texture_id)
{
return self->_SetTextureID(texture_id);
}
CIMGUI_API int ImDrawList__CalcCircleAutoSegmentCount(ImDrawList* self,float radius)
{
return self->_CalcCircleAutoSegmentCount(radius);
@@ -2690,6 +2706,14 @@ CIMGUI_API void ImGuiViewport_GetWorkCenter(ImVec2 *pOut,ImGuiViewport* self)
{
*pOut = self->GetWorkCenter();
}
CIMGUI_API ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(void)
{
return IM_NEW(ImGuiPlatformIO)();
}
CIMGUI_API void ImGuiPlatformIO_destroy(ImGuiPlatformIO* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void)
{
return IM_NEW(ImGuiPlatformImeData)();
@@ -2770,9 +2794,9 @@ CIMGUI_API int igImStrlenW(const ImWchar* str)
{
return ImStrlenW(str);
}
CIMGUI_API const ImWchar* igImStrbolW(const ImWchar* buf_mid_line,const ImWchar* buf_begin)
CIMGUI_API const char* igImStrbol(const char* buf_mid_line,const char* buf_begin)
{
return ImStrbolW(buf_mid_line,buf_begin);
return ImStrbol(buf_mid_line,buf_begin);
}
CIMGUI_API char igImToUpper(char c)
{
@@ -3381,18 +3405,14 @@ CIMGUI_API void ImGuiInputTextState_ClearFreeMemory(ImGuiInputTextState* self)
{
return self->ClearFreeMemory();
}
CIMGUI_API int ImGuiInputTextState_GetUndoAvailCount(ImGuiInputTextState* self)
{
return self->GetUndoAvailCount();
}
CIMGUI_API int ImGuiInputTextState_GetRedoAvailCount(ImGuiInputTextState* self)
{
return self->GetRedoAvailCount();
}
CIMGUI_API void ImGuiInputTextState_OnKeyPressed(ImGuiInputTextState* self,int key)
{
return self->OnKeyPressed(key);
}
CIMGUI_API void ImGuiInputTextState_OnCharPressed(ImGuiInputTextState* self,unsigned int c)
{
return self->OnCharPressed(c);
}
CIMGUI_API void ImGuiInputTextState_CursorAnimReset(ImGuiInputTextState* self)
{
return self->CursorAnimReset();
@@ -3641,13 +3661,13 @@ CIMGUI_API void ImGuiViewportP_destroy(ImGuiViewportP* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImGuiViewportP_CalcWorkRectPos(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 off_min)
CIMGUI_API void ImGuiViewportP_CalcWorkRectPos(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min)
{
*pOut = self->CalcWorkRectPos(off_min);
*pOut = self->CalcWorkRectPos(inset_min);
}
CIMGUI_API void ImGuiViewportP_CalcWorkRectSize(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 off_min,const ImVec2 off_max)
CIMGUI_API void ImGuiViewportP_CalcWorkRectSize(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min,const ImVec2 inset_max)
{
*pOut = self->CalcWorkRectSize(off_min,off_max);
*pOut = self->CalcWorkRectSize(inset_min,inset_max);
}
CIMGUI_API void ImGuiViewportP_UpdateWorkRect(ImGuiViewportP* self)
{
@@ -3745,6 +3765,10 @@ CIMGUI_API ImGuiID ImGuiWindow_GetID_Int(ImGuiWindow* self,int n)
{
return self->GetID(n);
}
CIMGUI_API ImGuiID ImGuiWindow_GetIDFromPos(ImGuiWindow* self,const ImVec2 p_abs)
{
return self->GetIDFromPos(p_abs);
}
CIMGUI_API ImGuiID ImGuiWindow_GetIDFromRectangle(ImGuiWindow* self,const ImRect r_abs)
{
return self->GetIDFromRectangle(r_abs);
@@ -3909,14 +3933,14 @@ CIMGUI_API void igWindowRectRelToAbs(ImRect *pOut,ImGuiWindow* window,const ImRe
{
*pOut = ImGui::WindowRectRelToAbs(window,r);
}
CIMGUI_API void igWindowPosRelToAbs(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p)
{
*pOut = ImGui::WindowPosRelToAbs(window,p);
}
CIMGUI_API void igWindowPosAbsToRel(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p)
{
*pOut = ImGui::WindowPosAbsToRel(window,p);
}
CIMGUI_API void igWindowPosRelToAbs(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p)
{
*pOut = ImGui::WindowPosRelToAbs(window,p);
}
CIMGUI_API void igFocusWindow(ImGuiWindow* window,ImGuiFocusRequestFlags flags)
{
return ImGui::FocusWindow(window,flags);
@@ -4421,9 +4445,9 @@ CIMGUI_API bool igIsAliasKey(ImGuiKey key)
{
return ImGui::IsAliasKey(key);
}
CIMGUI_API bool igIsModKey(ImGuiKey key)
CIMGUI_API bool igIsLRModKey(ImGuiKey key)
{
return ImGui::IsModKey(key);
return ImGui::IsLRModKey(key);
}
CIMGUI_API ImGuiKeyChord igFixupKeyChord(ImGuiKeyChord key_chord)
{
@@ -4817,9 +4841,9 @@ CIMGUI_API ImGuiID igTableGetColumnResizeID(ImGuiTable* table,int column_n,int i
{
return ImGui::TableGetColumnResizeID(table,column_n,instance_no);
}
CIMGUI_API float igTableGetMaxColumnWidth(const ImGuiTable* table,int column_n)
CIMGUI_API float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n)
{
return ImGui::TableGetMaxColumnWidth(table,column_n);
return ImGui::TableCalcMaxColumnWidth(table,column_n);
}
CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n)
{
@@ -4965,9 +4989,9 @@ CIMGUI_API void igRenderTextEllipsis(ImDrawList* draw_list,const ImVec2 pos_min,
{
return ImGui::RenderTextEllipsis(draw_list,pos_min,pos_max,clip_max_x,ellipsis_max_x,text,text_end,text_size_if_known);
}
CIMGUI_API void igRenderFrame(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool border,float rounding)
CIMGUI_API void igRenderFrame(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool borders,float rounding)
{
return ImGui::RenderFrame(p_min,p_max,fill_col,border,rounding);
return ImGui::RenderFrame(p_min,p_max,fill_col,borders,rounding);
}
CIMGUI_API void igRenderFrameBorder(ImVec2 p_min,ImVec2 p_max,float rounding)
{

126
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.91.0" 19100 from Dear ImGui https://github.com/ocornut/imgui
//based on imgui.h file version "1.91.2" 19120 from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api
#ifndef CIMGUI_INCLUDED
#define CIMGUI_INCLUDED
@@ -62,6 +62,7 @@ typedef struct ImGuiListClipper ImGuiListClipper;
typedef struct ImGuiMultiSelectIO ImGuiMultiSelectIO;
typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame;
typedef struct ImGuiPayload ImGuiPayload;
typedef struct ImGuiPlatformIO ImGuiPlatformIO;
typedef struct ImGuiPlatformImeData ImGuiPlatformImeData;
typedef struct ImGuiSelectionBasicStorage ImGuiSelectionBasicStorage;
typedef struct ImGuiSelectionExternalStorage ImGuiSelectionExternalStorage;
@@ -116,6 +117,7 @@ typedef struct ImGuiTypingSelectRequest ImGuiTypingSelectRequest;
typedef struct ImGuiWindow ImGuiWindow;
typedef struct ImGuiWindowTempData ImGuiWindowTempData;
typedef struct ImGuiWindowSettings ImGuiWindowSettings;
typedef struct STB_TexteditState STB_TexteditState;
typedef unsigned int ImGuiID;
typedef signed char ImS8;
typedef unsigned char ImU8;
@@ -147,6 +149,7 @@ struct ImGuiListClipper;
struct ImGuiMultiSelectIO;
struct ImGuiOnceUponAFrame;
struct ImGuiPayload;
struct ImGuiPlatformIO;
struct ImGuiPlatformImeData;
struct ImGuiSelectionBasicStorage;
struct ImGuiSelectionExternalStorage;
@@ -247,7 +250,7 @@ typedef enum {
}ImGuiWindowFlags_;
typedef enum {
ImGuiChildFlags_None = 0,
ImGuiChildFlags_Border = 1 << 0,
ImGuiChildFlags_Borders = 1 << 0,
ImGuiChildFlags_AlwaysUseWindowPadding = 1 << 1,
ImGuiChildFlags_ResizeX = 1 << 2,
ImGuiChildFlags_ResizeY = 1 << 3,
@@ -264,6 +267,7 @@ typedef enum {
ImGuiItemFlags_NoNavDefaultFocus = 1 << 2,
ImGuiItemFlags_ButtonRepeat = 1 << 3,
ImGuiItemFlags_AutoClosePopups = 1 << 4,
ImGuiItemFlags_AllowDuplicateId = 1 << 5,
}ImGuiItemFlags_;
typedef enum {
ImGuiInputTextFlags_None = 0,
@@ -1007,6 +1011,7 @@ struct ImGuiIO
float KeyRepeatDelay;
float KeyRepeatRate;
bool ConfigDebugIsDebuggerPresent;
bool ConfigDebugHighlightIdConflicts;
bool ConfigDebugBeginReturnValueOnce;
bool ConfigDebugBeginReturnValueLoop;
bool ConfigDebugIgnoreFocusLoss;
@@ -1016,13 +1021,6 @@ struct ImGuiIO
void* BackendPlatformUserData;
void* BackendRendererUserData;
void* BackendLanguageUserData;
const char* (*GetClipboardTextFn)(void* user_data);
void (*SetClipboardTextFn)(void* user_data, const char* text);
void* ClipboardUserData;
bool (*PlatformOpenInShellFn)(ImGuiContext* ctx, const char* path);
void* PlatformOpenInShellUserData;
void (*PlatformSetImeDataFn)(ImGuiContext* ctx, ImGuiViewport* viewport, ImGuiPlatformImeData* data);
ImWchar PlatformLocaleDecimalPoint;
bool WantCaptureMouse;
bool WantCaptureKeyboard;
bool WantTextInput;
@@ -1447,6 +1445,17 @@ struct ImGuiViewport
void* PlatformHandle;
void* PlatformHandleRaw;
};
struct ImGuiPlatformIO
{
const char* (*Platform_GetClipboardTextFn)(ImGuiContext* ctx);
void (*Platform_SetClipboardTextFn)(ImGuiContext* ctx, const char* text);
void* Platform_ClipboardUserData;
bool (*Platform_OpenInShellFn)(ImGuiContext* ctx, const char* path);
void* Platform_OpenInShellUserData;
void (*Platform_SetImeDataFn)(ImGuiContext* ctx, ImGuiViewport* viewport, ImGuiPlatformImeData* data);
void* Platform_ImeUserData;
ImWchar Platform_LocaleDecimalPoint;
};
struct ImGuiPlatformImeData
{
bool WantVisible;
@@ -1514,46 +1523,6 @@ typedef int ImGuiTypingSelectFlags;
typedef int ImGuiWindowRefreshFlags;
typedef void (*ImGuiErrorLogCallback)(void* user_data, const char* fmt, ...);
extern ImGuiContext* GImGui;
typedef struct StbUndoRecord StbUndoRecord;
struct StbUndoRecord
{
int where;
int insert_length;
int delete_length;
int char_storage;
};
typedef struct StbUndoState StbUndoState;
struct StbUndoState
{
StbUndoRecord undo_rec [99];
ImWchar undo_char[999];
short undo_point, redo_point;
int undo_char_point, redo_char_point;
};
typedef struct STB_TexteditState STB_TexteditState;
struct STB_TexteditState
{
int cursor;
int select_start;
int select_end;
unsigned char insert_mode;
int row_count_per_page;
unsigned char cursor_at_end_of_line;
unsigned char initialized;
unsigned char has_preferred_x;
unsigned char single_line;
unsigned char padding1, padding2, padding3;
float preferred_x;
StbUndoState undostate;
};
typedef struct StbTexteditRow StbTexteditRow;
struct StbTexteditRow
{
float x0,x1;
float baseline_y_delta;
float ymin,ymax;
int num_chars;
};
typedef FILE* ImFileHandle;
typedef struct ImVec1 ImVec1;
struct ImVec1
@@ -1705,6 +1674,7 @@ typedef enum {
typedef enum {
ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 28,
ImGuiTreeNodeFlags_UpsideDownArrow = 1 << 29,
ImGuiTreeNodeFlags_OpenOnMask_ = ImGuiTreeNodeFlags_OpenOnDoubleClick | ImGuiTreeNodeFlags_OpenOnArrow,
}ImGuiTreeNodeFlagsPrivate_;
typedef enum {
ImGuiSeparatorFlags_None = 0,
@@ -1797,19 +1767,19 @@ struct ImGuiInputTextDeactivatedState
{
ImGuiID ID;
ImVector_char TextA;
};
}; struct STB_TexteditState;
typedef STB_TexteditState ImStbTexteditState;
struct ImGuiInputTextState
{
ImGuiContext* Ctx;
ImStbTexteditState* Stb;
ImGuiID ID;
int CurLenW, CurLenA;
ImVector_ImWchar TextW;
int CurLenA;
ImVector_char TextA;
ImVector_char InitialTextA;
bool TextAIsValid;
ImVector_char CallbackTextBackup;
int BufCapacityA;
float ScrollX;
STB_TexteditState Stb;
ImVec2 Scroll;
float CursorAnim;
bool CursorFollow;
bool SelectedAllMouseLock;
@@ -2265,10 +2235,10 @@ struct ImGuiViewportP
ImDrawList* BgFgDrawLists[2];
ImDrawData DrawDataP;
ImDrawDataBuilder DrawDataBuilder;
ImVec2 WorkOffsetMin;
ImVec2 WorkOffsetMax;
ImVec2 BuildWorkOffsetMin;
ImVec2 BuildWorkOffsetMax;
ImVec2 WorkInsetMin;
ImVec2 WorkInsetMax;
ImVec2 BuildWorkInsetMin;
ImVec2 BuildWorkInsetMax;
};
struct ImGuiWindowSettings
{
@@ -2301,8 +2271,9 @@ ImGuiLocKey_TableResetOrder=4,
ImGuiLocKey_WindowingMainMenuBar=5,
ImGuiLocKey_WindowingPopup=6,
ImGuiLocKey_WindowingUntitled=7,
ImGuiLocKey_CopyLink=8,
ImGuiLocKey_COUNT=9,
ImGuiLocKey_OpenLink_s=8,
ImGuiLocKey_CopyLink=9,
ImGuiLocKey_COUNT=10,
}ImGuiLocKey;
struct ImGuiLocEntry
{
@@ -2446,6 +2417,7 @@ struct ImGuiContext
bool Initialized;
bool FontAtlasOwnedByContext;
ImGuiIO IO;
ImGuiPlatformIO PlatformIO;
ImGuiStyle Style;
ImFont* Font;
float FontSize;
@@ -2488,9 +2460,11 @@ struct ImGuiContext
float WheelingWindowReleaseTimer;
ImVec2 WheelingWindowWheelRemainder;
ImVec2 WheelingAxisAvg;
ImGuiID DebugDrawIdConflicts;
ImGuiID DebugHookIdInfo;
ImGuiID HoveredId;
ImGuiID HoveredIdPreviousFrame;
int HoveredIdPreviousFrameItemCount;
float HoveredIdTimer;
float HoveredIdNotActiveTimer;
bool HoveredIdAllowOverlap;
@@ -2942,6 +2916,7 @@ struct ImGuiTableColumn
float MaxX;
float WidthRequest;
float WidthAuto;
float WidthMax;
float StretchWeight;
float InitStretchWeightOrWidth;
ImRect ClipRect;
@@ -3180,9 +3155,6 @@ typedef union SDL_Event SDL_Event;
#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
typedef struct ImGuiTextFilter::ImGuiTextRange ImGuiTextRange;
typedef ImStb::STB_TexteditState STB_TexteditState;
typedef ImStb::StbTexteditRow StbTexteditRow;
typedef ImStb::StbUndoRecord StbUndoRecord;
typedef ImStb::StbUndoState StbUndoState;
typedef ImChunkStream<ImGuiTableSettings> ImChunkStream_ImGuiTableSettings;
typedef ImChunkStream<ImGuiWindowSettings> ImChunkStream_ImGuiWindowSettings;
typedef ImPool<ImGuiMultiSelectState> ImPool_ImGuiMultiSelectState;
@@ -3252,6 +3224,7 @@ CIMGUI_API void igDestroyContext(ImGuiContext* ctx);
CIMGUI_API ImGuiContext* igGetCurrentContext(void);
CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx);
CIMGUI_API ImGuiIO* igGetIO(void);
CIMGUI_API ImGuiPlatformIO* igGetPlatformIO(void);
CIMGUI_API ImGuiStyle* igGetStyle(void);
CIMGUI_API void igNewFrame(void);
CIMGUI_API void igEndFrame(void);
@@ -3318,6 +3291,8 @@ CIMGUI_API void igPushStyleColor_Vec4(ImGuiCol idx,const ImVec4 col);
CIMGUI_API void igPopStyleColor(int count);
CIMGUI_API void igPushStyleVar_Float(ImGuiStyleVar idx,float val);
CIMGUI_API void igPushStyleVar_Vec2(ImGuiStyleVar idx,const ImVec2 val);
CIMGUI_API void igPushStyleVarX(ImGuiStyleVar idx,float val_x);
CIMGUI_API void igPushStyleVarY(ImGuiStyleVar idx,float val_y);
CIMGUI_API void igPopStyleVar(int count);
CIMGUI_API void igPushItemFlag(ImGuiItemFlags option,bool enabled);
CIMGUI_API void igPopItemFlag(void);
@@ -3528,7 +3503,7 @@ CIMGUI_API ImGuiTableColumnFlags igTableGetColumnFlags(int column_n);
CIMGUI_API void igTableSetColumnEnabled(int column_n,bool v);
CIMGUI_API int igTableGetHoveredColumn(void);
CIMGUI_API void igTableSetBgColor(ImGuiTableBgTarget target,ImU32 color,int column_n);
CIMGUI_API void igColumns(int count,const char* id,bool border);
CIMGUI_API void igColumns(int count,const char* id,bool borders);
CIMGUI_API void igNextColumn(void);
CIMGUI_API int igGetColumnIndex(void);
CIMGUI_API float igGetColumnWidth(int column_index);
@@ -3822,6 +3797,7 @@ CIMGUI_API void ImDrawList__TryMergeDrawCmds(ImDrawList* self);
CIMGUI_API void ImDrawList__OnChangedClipRect(ImDrawList* self);
CIMGUI_API void ImDrawList__OnChangedTextureID(ImDrawList* self);
CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self);
CIMGUI_API void ImDrawList__SetTextureID(ImDrawList* self,ImTextureID texture_id);
CIMGUI_API int ImDrawList__CalcCircleAutoSegmentCount(ImDrawList* self,float radius);
CIMGUI_API void ImDrawList__PathArcToFastEx(ImDrawList* self,const ImVec2 center,float radius,int a_min_sample,int a_max_sample,int a_step);
CIMGUI_API void ImDrawList__PathArcToN(ImDrawList* self,const ImVec2 center,float radius,float a_min,float a_max,int num_segments);
@@ -3898,6 +3874,8 @@ CIMGUI_API ImGuiViewport* ImGuiViewport_ImGuiViewport(void);
CIMGUI_API void ImGuiViewport_destroy(ImGuiViewport* self);
CIMGUI_API void ImGuiViewport_GetCenter(ImVec2 *pOut,ImGuiViewport* self);
CIMGUI_API void ImGuiViewport_GetWorkCenter(ImVec2 *pOut,ImGuiViewport* self);
CIMGUI_API ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(void);
CIMGUI_API void ImGuiPlatformIO_destroy(ImGuiPlatformIO* self);
CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void);
CIMGUI_API void ImGuiPlatformImeData_destroy(ImGuiPlatformImeData* self);
CIMGUI_API ImGuiID igImHashData(const void* data,size_t data_size,ImGuiID seed);
@@ -3918,7 +3896,7 @@ CIMGUI_API const char* igImStristr(const char* haystack,const char* haystack_end
CIMGUI_API void igImStrTrimBlanks(char* str);
CIMGUI_API const char* igImStrSkipBlank(const char* str);
CIMGUI_API int igImStrlenW(const ImWchar* str);
CIMGUI_API const ImWchar* igImStrbolW(const ImWchar* buf_mid_line,const ImWchar* buf_begin);
CIMGUI_API const char* igImStrbol(const char* buf_mid_line,const char* buf_begin);
CIMGUI_API char igImToUpper(char c);
CIMGUI_API bool igImCharIsBlankA(char c);
CIMGUI_API bool igImCharIsBlankW(unsigned int c);
@@ -4069,9 +4047,8 @@ CIMGUI_API ImGuiInputTextState* ImGuiInputTextState_ImGuiInputTextState(void);
CIMGUI_API void ImGuiInputTextState_destroy(ImGuiInputTextState* self);
CIMGUI_API void ImGuiInputTextState_ClearText(ImGuiInputTextState* self);
CIMGUI_API void ImGuiInputTextState_ClearFreeMemory(ImGuiInputTextState* self);
CIMGUI_API int ImGuiInputTextState_GetUndoAvailCount(ImGuiInputTextState* self);
CIMGUI_API int ImGuiInputTextState_GetRedoAvailCount(ImGuiInputTextState* self);
CIMGUI_API void ImGuiInputTextState_OnKeyPressed(ImGuiInputTextState* self,int key);
CIMGUI_API void ImGuiInputTextState_OnCharPressed(ImGuiInputTextState* self,unsigned int c);
CIMGUI_API void ImGuiInputTextState_CursorAnimReset(ImGuiInputTextState* self);
CIMGUI_API void ImGuiInputTextState_CursorClamp(ImGuiInputTextState* self);
CIMGUI_API bool ImGuiInputTextState_HasSelection(ImGuiInputTextState* self);
@@ -4134,8 +4111,8 @@ CIMGUI_API ImGuiMultiSelectState* ImGuiMultiSelectState_ImGuiMultiSelectState(vo
CIMGUI_API void ImGuiMultiSelectState_destroy(ImGuiMultiSelectState* self);
CIMGUI_API ImGuiViewportP* ImGuiViewportP_ImGuiViewportP(void);
CIMGUI_API void ImGuiViewportP_destroy(ImGuiViewportP* self);
CIMGUI_API void ImGuiViewportP_CalcWorkRectPos(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 off_min);
CIMGUI_API void ImGuiViewportP_CalcWorkRectSize(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 off_min,const ImVec2 off_max);
CIMGUI_API void ImGuiViewportP_CalcWorkRectPos(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min);
CIMGUI_API void ImGuiViewportP_CalcWorkRectSize(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min,const ImVec2 inset_max);
CIMGUI_API void ImGuiViewportP_UpdateWorkRect(ImGuiViewportP* self);
CIMGUI_API void ImGuiViewportP_GetMainRect(ImRect *pOut,ImGuiViewportP* self);
CIMGUI_API void ImGuiViewportP_GetWorkRect(ImRect *pOut,ImGuiViewportP* self);
@@ -4160,6 +4137,7 @@ CIMGUI_API void ImGuiWindow_destroy(ImGuiWindow* self);
CIMGUI_API ImGuiID ImGuiWindow_GetID_Str(ImGuiWindow* self,const char* str,const char* str_end);
CIMGUI_API ImGuiID ImGuiWindow_GetID_Ptr(ImGuiWindow* self,const void* ptr);
CIMGUI_API ImGuiID ImGuiWindow_GetID_Int(ImGuiWindow* self,int n);
CIMGUI_API ImGuiID ImGuiWindow_GetIDFromPos(ImGuiWindow* self,const ImVec2 p_abs);
CIMGUI_API ImGuiID ImGuiWindow_GetIDFromRectangle(ImGuiWindow* self,const ImRect r_abs);
CIMGUI_API void ImGuiWindow_Rect(ImRect *pOut,ImGuiWindow* self);
CIMGUI_API float ImGuiWindow_CalcFontSize(ImGuiWindow* self);
@@ -4201,8 +4179,8 @@ CIMGUI_API void igSetWindowHiddenAndSkipItemsForCurrentFrame(ImGuiWindow* window
CIMGUI_API void igSetWindowParentWindowForFocusRoute(ImGuiWindow* window,ImGuiWindow* parent_window);
CIMGUI_API void igWindowRectAbsToRel(ImRect *pOut,ImGuiWindow* window,const ImRect r);
CIMGUI_API void igWindowRectRelToAbs(ImRect *pOut,ImGuiWindow* window,const ImRect r);
CIMGUI_API void igWindowPosRelToAbs(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p);
CIMGUI_API void igWindowPosAbsToRel(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p);
CIMGUI_API void igWindowPosRelToAbs(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p);
CIMGUI_API void igFocusWindow(ImGuiWindow* window,ImGuiFocusRequestFlags flags);
CIMGUI_API void igFocusTopMostWindowUnderOne(ImGuiWindow* under_this_window,ImGuiWindow* ignore_window,ImGuiViewport* filter_viewport,ImGuiFocusRequestFlags flags);
CIMGUI_API void igBringWindowToFocusFront(ImGuiWindow* window);
@@ -4329,7 +4307,7 @@ CIMGUI_API bool igIsKeyboardKey(ImGuiKey key);
CIMGUI_API bool igIsGamepadKey(ImGuiKey key);
CIMGUI_API bool igIsMouseKey(ImGuiKey key);
CIMGUI_API bool igIsAliasKey(ImGuiKey key);
CIMGUI_API bool igIsModKey(ImGuiKey key);
CIMGUI_API bool igIsLRModKey(ImGuiKey key);
CIMGUI_API ImGuiKeyChord igFixupKeyChord(ImGuiKeyChord key_chord);
CIMGUI_API ImGuiKey igConvertSingleModFlagToKey(ImGuiKey key);
CIMGUI_API ImGuiKeyData* igGetKeyData_ContextPtr(ImGuiContext* ctx,ImGuiKey key);
@@ -4428,7 +4406,7 @@ CIMGUI_API void igTableEndCell(ImGuiTable* table);
CIMGUI_API void igTableGetCellBgRect(ImRect *pOut,const ImGuiTable* table,int column_n);
CIMGUI_API const char* igTableGetColumnName_TablePtr(const ImGuiTable* table,int column_n);
CIMGUI_API ImGuiID igTableGetColumnResizeID(ImGuiTable* table,int column_n,int instance_no);
CIMGUI_API float igTableGetMaxColumnWidth(const ImGuiTable* table,int column_n);
CIMGUI_API float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n);
CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n);
CIMGUI_API void igTableSetColumnWidthAutoAll(ImGuiTable* table);
CIMGUI_API void igTableRemove(ImGuiTable* table);
@@ -4465,7 +4443,7 @@ CIMGUI_API void igRenderTextWrapped(ImVec2 pos,const char* text,const char* text
CIMGUI_API void igRenderTextClipped(const ImVec2 pos_min,const ImVec2 pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2 align,const ImRect* clip_rect);
CIMGUI_API void igRenderTextClippedEx(ImDrawList* draw_list,const ImVec2 pos_min,const ImVec2 pos_max,const char* text,const char* text_end,const ImVec2* text_size_if_known,const ImVec2 align,const ImRect* clip_rect);
CIMGUI_API void igRenderTextEllipsis(ImDrawList* draw_list,const ImVec2 pos_min,const ImVec2 pos_max,float clip_max_x,float ellipsis_max_x,const char* text,const char* text_end,const ImVec2* text_size_if_known);
CIMGUI_API void igRenderFrame(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool border,float rounding);
CIMGUI_API void igRenderFrame(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool borders,float rounding);
CIMGUI_API void igRenderFrameBorder(ImVec2 p_min,ImVec2 p_max,float rounding);
CIMGUI_API void igRenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list,ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,float grid_step,ImVec2 grid_off,float rounding,ImDrawFlags flags);
CIMGUI_API void igRenderNavHighlight(const ImRect bb,ImGuiID id,ImGuiNavHighlightFlags flags);

View File

@@ -175,6 +175,7 @@ local function check_template(code)
te = te:gsub("%-","less")
te = te:gsub("%s","_")
te = te:gsub("%*","Ptr")
te = te:gsub("::","_")
code2 = code:gsub("(<[%w_%*%s]+>)([^%s%*])","%1 %2")
code2 = code2:gsub("<([^<>]-)>","_"..te)
@@ -202,6 +203,8 @@ local function parse_enum_value(value, allenums,dontpost)
if allenums[clean(value)] then return allenums[clean(value)] end
--must be several and operators
------------precedence order (hope not ())
--delete (int)
value = value:gsub("%(int%)","")
--first drop outer ()
value = value:gsub("^(%()",""):gsub("(%))$","")
assert(not value:match("[%(%)]"),value)
@@ -1287,6 +1290,14 @@ function M.Parser()
function par:parseItemsR2(txt, itparent)
local itsarr,its = parseItems(txt,self.linenumdict,itparent)
for i,it in ipairs(itsarr) do
--clean class
if it.re_name == "class_re" then
it.name = it.item:match("class%s+(%S+)")
print("cleaning class",it.name)
it.item = it.item:gsub("private:.+};$","};")
it.item = it.item:gsub("public:","")
it.item = it.item:gsub("enum%s*class","enum")
end
if not isLeaf(it.re_name) then
local inner = strip_end(it.item:match("%b{}"):sub(2,-2))
it.childs = par:parseItemsR2(inner, it)
@@ -1309,6 +1320,8 @@ function M.Parser()
end
elseif it.re_name == "namespace_re" then
it.name = it.item:match("namespace%s+(%S+)")
elseif it.re_name == "class_re" then
--it.name = it.item:match("class%s+(%S+)")
end
end
end
@@ -1335,6 +1348,7 @@ function M.Parser()
self.linenumdict = {}
local cdefs2 = {}
for i,cdef in ipairs(cdefs) do
cdef[1] = cdef[1]:gsub("enum%s*class","enum") --clean class
local cdef1 = clean_comments(cdef[1])
if self.linenumdict[cdef1] then
--print("linenumdict already defined for", cdef[1],type(self.linenumdict[cdef[1]]))
@@ -1344,7 +1358,6 @@ function M.Parser()
table.insert(self.linenumdict[cdef1],cdef[2])
end
else
--print("nuevo linenumdict es",cdef[1],cdef[2])
self.linenumdict[cdef1]=cdef[2]
end
table.insert(cdefs2,cdef[1])
@@ -1427,7 +1440,11 @@ function M.Parser()
stname,derived = inistruct:match"struct%s*([^%s:]+):(.+)"
derived = derived:match"(%S+)$"
else
stname = inistruct:match"struct%s(%S+)"
if itst.re_name == "struct_re" then
stname = inistruct:match"struct%s(%S+)"
elseif itst.re_name == "class_re" then
stname = inistruct:match"class%s(%S+)"
end
end
if derived then print(stname,"derived from",derived) end
@@ -1437,6 +1454,7 @@ function M.Parser()
stname = stru:match("%b{}%s*(%S+)%s*;")
end
local is_nested
if not stname then
is_nested = itst.parent and (itst.parent.re_name == "struct_re")
@@ -1593,6 +1611,9 @@ function M.Parser()
local tdt = self:gentemplatetypedef(ttype,template,te)
it2 = tdt..code2
elseif it2:match"%w+::" then
print("clean namespace typedef",it2)
it2 = it2:gsub("%w+::","")
end
elseif it.re_name == "functypedef_re" then
it2 = clean_functypedef(it2)
@@ -1647,6 +1668,8 @@ function M.Parser()
if it.parent.re_name == "namespace_re" then
local namespace = it.parent.item:match("namespace%s+(%S+)")
self.embeded_enums[enumname] = namespace.."::"..enumname
else
self.embeded_enums[enumname] = it.parent.name.."::"..enumname
end
end
else --unamed enum just repeat declaration
@@ -1654,7 +1677,7 @@ function M.Parser()
table.insert(outtab,cl_item)
print("unnamed enum",cl_item)
end
elseif it.re_name == "struct_re" or it.re_name == "typedef_st_re" then
elseif it.re_name == "struct_re" or it.re_name == "typedef_st_re" or it.re_name == "class_re" then
local cleanst,structname,strtab,comstab,predec = self:clean_structR1(it,true)
if not structname then print("NO NAME",cleanst,it.item) end
--if not void stname or templated
@@ -1691,7 +1714,7 @@ function M.Parser()
local stname = ""
local namespace
if it.parent then
if it.parent.re_name == "struct_re" or it.parent.re_name == "typedef_st_re" then
if it.parent.re_name == "struct_re" or it.parent.re_name == "typedef_st_re" or it.parent.re_name == "class_re" then
stname = it.parent.name
elseif it.parent.re_name == "namespace_re" then
namespace = get_parents_nameC(it) --it.parent.name
@@ -1777,7 +1800,8 @@ function M.Parser()
end
local unnamed_enum_counter = 0
local function enums_for_table(it, outtab, enumsordered)
local enumname = it.item:match"^%s*enum%s+([^%s;{}]+)"
--local enumname = it.item:match"^%s*enum%s+([^%s;{}]+)"
local enumname = it.item:match"^[^;{}]-enum%s+([^%s;{}]+)"
if not enumname then
unnamed_enum_counter = unnamed_enum_counter + 1
enumname = "unnamed"..unnamed_enum_counter
@@ -1867,7 +1891,7 @@ function M.Parser()
end
elseif it.re_name == "enum_re" then
enums_for_table(it, outtab, enumsordered)
elseif it.re_name == "struct_re" or it.re_name == "typedef_st_re" then
elseif it.re_name == "struct_re" or it.re_name == "typedef_st_re" or it.re_name == "class_re" then
local cleanst,structname,strtab,comstab = self:clean_structR1(it)
--if not void stname or templated
if not structname then print("NO NAME",cleanst,it.item) end
@@ -2414,6 +2438,12 @@ local function func_implementation(FP)
table.insert(outtab,"{\n")
table.insert(outtab," return IM_NEW("..def.stname..")"..def.call_args..";\n")
table.insert(outtab,"}\n")
if FP.CONSTRUCTORS_GENERATION then
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname.."_Construct("..def.stname.."* self"..(empty and "" or ","..def.args:sub(2,-2))..")\n")
table.insert(outtab,"{\n")
table.insert(outtab," IM_PLACEMENT_NEW(self)"..def.stname..def.call_args..";\n")
table.insert(outtab,"}\n")
end
elseif def.destructor then
local args = "("..def.stname.."* self)"
local fname = def.stname.."_destroy"
@@ -2455,7 +2485,8 @@ local function func_header_generate_structs(FP)
table_do_sorted(FP.templates,function(ttype,v)
table_do_sorted(v,function(ttypein,te)
table.insert(outtab,"typedef "..ttype.."<"..ttypein.."> "..ttype.."_"..te..";\n")
local ttype2 = ttype:gsub("::","_") --std::string
table.insert(outtab,"typedef "..ttype.."<"..ttypein.."> "..ttype2.."_"..te..";\n")
end)
end)
return outtab
@@ -2484,6 +2515,9 @@ local function func_header_generate_funcs(FP)
if def.constructor then
assert(def.stname ~= "","constructor without struct")
table.insert(outtab,"CIMGUI_API "..def.stname.."* "..def.ov_cimguiname ..(empty and "(void)" or def.args)..";"..addcoment.."\n")
if FP.CONSTRUCTORS_GENERATION then
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname.."_Construct("..def.stname.."* self"..(empty and "" or ","..def.args:sub(2,-2))..");\n")
end
elseif def.destructor then
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname..def.args..";"..addcoment.."\n")
else --not constructor

View File

@@ -16,6 +16,7 @@ set PATH=%PATH%;C:\anima;C:\mingws\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\min
::process files
:: arg[1] compiler name gcc, clang or cl
:: arg[2] options as words in one string: internal for imgui_internal generation, freetype for freetype generation, comments for comments generation, nochar to skip char* function version, noimstrv to skip imstrv
:: "constructors" adds the _Construct version of constructors
:: examples: "" "internal" "internal freetype comments"
:: arg[3..n] name of implementations to generate and/or CFLAGS (e.g. -DIMGUI_USER_CONFIG or -DIMGUI_USE_WCHAR32)
luajit ./generator.lua gcc "internal noimstrv" glfw opengl3 opengl2 sdl2 %*

View File

@@ -9,6 +9,7 @@ local COMPILER = script_args[1]
local INTERNAL_GENERATION = script_args[2]:match("internal") and true or false
local FREETYPE_GENERATION = script_args[2]:match("freetype") and true or false
local COMMENTS_GENERATION = script_args[2]:match("comments") and true or false
local CONSTRUCTORS_GENERATION = script_args[2]:match("constructors") and true or false
local NOCHAR = script_args[2]:match("nochar") and true or false
local NOIMSTRV = script_args[2]:match("noimstrv") and true or false
local IMGUI_PATH = os.getenv"IMGUI_PATH" or "../imgui"
@@ -67,6 +68,7 @@ print("HAVE_COMPILER",HAVE_COMPILER)
print("INTERNAL_GENERATION",INTERNAL_GENERATION)
print("FREETYPE_GENERATION",FREETYPE_GENERATION)
print("COMMENTS_GENERATION",COMMENTS_GENERATION)
print("CONSTRUCTORS_GENERATION",CONSTRUCTORS_GENERATION)
print("CPRE",CPRE)
--------------------------------------------------------------------------
--this table has the functions to be skipped in generation
@@ -321,6 +323,7 @@ local function parseImGuiHeader(header,names)
parser.UDTs = {"ImVec2","ImVec4","ImColor","ImRect"}
--parser.gen_template_typedef = gen_template_typedef --use auto
parser.COMMENTS_GENERATION = COMMENTS_GENERATION
parser.CONSTRUCTORS_GENERATION = CONSTRUCTORS_GENERATION
parser.NOCHAR = NOCHAR
parser.NOIMSTRV = NOIMSTRV
local defines = parser:take_lines(CPRE..header,names,COMPILER)

View File

@@ -14,6 +14,7 @@
#process files
# arg[1] compiler name gcc, clang, or cl
# arg[2] options as words in one string: internal for imgui_internal generation, freetype for freetype generation, comments for comments generation, nochar to skip char* function version, noimstrv to skip imstrv
# "constructors" adds the _Construct version of constructors
# examples: "" "internal" "internal freetype" "comments internal"
# arg[3..n] name of implementations to generate and/or CLFLAGS (e.g. -DIMGUI_USER_CONFIG or -DIMGUI_USE_WCHAR32)
#

View File

@@ -19,6 +19,7 @@ CIMGUI_API void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window,double xoffset,
CIMGUI_API void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window,int key,int scancode,int action,int mods);
CIMGUI_API void ImGui_ImplGlfw_CharCallback(GLFWwindow* window,unsigned int c);
CIMGUI_API void ImGui_ImplGlfw_MonitorCallback(GLFWmonitor* monitor,int event);
CIMGUI_API void ImGui_ImplGlfw_Sleep(int milliseconds);
#endif
#ifdef CIMGUI_USE_OPENGL3

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -372,6 +372,27 @@
"stname": ""
}
],
"ImGui_ImplGlfw_Sleep": [
{
"args": "(int milliseconds)",
"argsT": [
{
"name": "milliseconds",
"type": "int"
}
],
"argsoriginal": "(int milliseconds)",
"call_args": "(milliseconds)",
"cimguiname": "ImGui_ImplGlfw_Sleep",
"defaults": {},
"funcname": "ImGui_ImplGlfw_Sleep",
"location": "imgui_impl_glfw:61",
"ov_cimguiname": "ImGui_ImplGlfw_Sleep",
"ret": "void",
"signature": "(int)",
"stname": ""
}
],
"ImGui_ImplGlfw_WindowFocusCallback": [
{
"args": "(GLFWwindow* window,int focused)",

View File

@@ -314,6 +314,24 @@ defs["ImGui_ImplGlfw_Shutdown"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_Shutdown"][1]["signature"] = "()"
defs["ImGui_ImplGlfw_Shutdown"][1]["stname"] = ""
defs["ImGui_ImplGlfw_Shutdown"]["()"] = defs["ImGui_ImplGlfw_Shutdown"][1]
defs["ImGui_ImplGlfw_Sleep"] = {}
defs["ImGui_ImplGlfw_Sleep"][1] = {}
defs["ImGui_ImplGlfw_Sleep"][1]["args"] = "(int milliseconds)"
defs["ImGui_ImplGlfw_Sleep"][1]["argsT"] = {}
defs["ImGui_ImplGlfw_Sleep"][1]["argsT"][1] = {}
defs["ImGui_ImplGlfw_Sleep"][1]["argsT"][1]["name"] = "milliseconds"
defs["ImGui_ImplGlfw_Sleep"][1]["argsT"][1]["type"] = "int"
defs["ImGui_ImplGlfw_Sleep"][1]["argsoriginal"] = "(int milliseconds)"
defs["ImGui_ImplGlfw_Sleep"][1]["call_args"] = "(milliseconds)"
defs["ImGui_ImplGlfw_Sleep"][1]["cimguiname"] = "ImGui_ImplGlfw_Sleep"
defs["ImGui_ImplGlfw_Sleep"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_Sleep"][1]["funcname"] = "ImGui_ImplGlfw_Sleep"
defs["ImGui_ImplGlfw_Sleep"][1]["location"] = "imgui_impl_glfw:61"
defs["ImGui_ImplGlfw_Sleep"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_Sleep"
defs["ImGui_ImplGlfw_Sleep"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_Sleep"][1]["signature"] = "(int)"
defs["ImGui_ImplGlfw_Sleep"][1]["stname"] = ""
defs["ImGui_ImplGlfw_Sleep"]["(int)"] = defs["ImGui_ImplGlfw_Sleep"][1]
defs["ImGui_ImplGlfw_WindowFocusCallback"] = {}
defs["ImGui_ImplGlfw_WindowFocusCallback"][1] = {}
defs["ImGui_ImplGlfw_WindowFocusCallback"][1]["args"] = "(GLFWwindow* window,int focused)"

View File

@@ -329,7 +329,7 @@
},
{
"calc_value": 1,
"name": "ImGuiChildFlags_Border",
"name": "ImGuiChildFlags_Borders",
"value": "1 << 0"
},
{
@@ -1864,6 +1864,11 @@
"calc_value": 16,
"name": "ImGuiItemFlags_AutoClosePopups",
"value": "1 << 4"
},
{
"calc_value": 32,
"name": "ImGuiItemFlags_AllowDuplicateId",
"value": "1 << 5"
}
],
"ImGuiItemStatusFlags_": [
@@ -2820,13 +2825,18 @@
},
{
"calc_value": 8,
"name": "ImGuiLocKey_CopyLink",
"name": "ImGuiLocKey_OpenLink_s",
"value": "8"
},
{
"calc_value": 9,
"name": "ImGuiLocKey_COUNT",
"name": "ImGuiLocKey_CopyLink",
"value": "9"
},
{
"calc_value": 10,
"name": "ImGuiLocKey_COUNT",
"value": "10"
}
],
"ImGuiLogType": [
@@ -4340,6 +4350,11 @@
"calc_value": 536870912,
"name": "ImGuiTreeNodeFlags_UpsideDownArrow",
"value": "1 << 29"
},
{
"calc_value": 192,
"name": "ImGuiTreeNodeFlags_OpenOnMask_",
"value": "ImGuiTreeNodeFlags_OpenOnDoubleClick | ImGuiTreeNodeFlags_OpenOnArrow"
}
],
"ImGuiTreeNodeFlags_": [
@@ -4646,194 +4661,191 @@
"ImGuiSortDirection": "ImU8"
},
"locations": {
"ImBitVector": "imgui_internal:613",
"ImColor": "imgui:2720",
"ImDrawChannel": "imgui:2958",
"ImDrawCmd": "imgui:2917",
"ImDrawCmdHeader": "imgui:2950",
"ImDrawData": "imgui:3162",
"ImDrawDataBuilder": "imgui_internal:802",
"ImDrawFlags_": "imgui:2984",
"ImDrawList": "imgui:3022",
"ImDrawListFlags_": "imgui:3004",
"ImDrawListSharedData": "imgui_internal:778",
"ImDrawListSplitter": "imgui:2967",
"ImDrawVert": "imgui:2935",
"ImFont": "imgui:3385",
"ImFontAtlas": "imgui:3281",
"ImFontAtlasCustomRect": "imgui:3243",
"ImFontAtlasFlags_": "imgui:3256",
"ImFontBuilderIO": "imgui_internal:3662",
"ImFontConfig": "imgui:3186",
"ImFontGlyph": "imgui:3216",
"ImFontGlyphRangesBuilder": "imgui:3228",
"ImGuiActivateFlags_": "imgui_internal:1534",
"ImGuiAxis": "imgui_internal:1023",
"ImGuiBackendFlags_": "imgui:1599",
"ImGuiBoxSelectState": "imgui_internal:1717",
"ImGuiButtonFlagsPrivate_": "imgui_internal:917",
"ImGuiButtonFlags_": "imgui:1724",
"ImGuiChildFlags_": "imgui:1104",
"ImGuiCol_": "imgui:1609",
"ImGuiColorEditFlags_": "imgui:1735",
"ImGuiColorMod": "imgui_internal:1037",
"ImGuiComboFlagsPrivate_": "imgui_internal:942",
"ImGuiComboFlags_": "imgui:1241",
"ImGuiComboPreviewData": "imgui_internal:1054",
"ImGuiCond_": "imgui:1837",
"ImGuiConfigFlags_": "imgui:1582",
"ImBitVector": "imgui_internal:596",
"ImColor": "imgui:2730",
"ImDrawChannel": "imgui:2968",
"ImDrawCmd": "imgui:2927",
"ImDrawCmdHeader": "imgui:2960",
"ImDrawData": "imgui:3173",
"ImDrawDataBuilder": "imgui_internal:785",
"ImDrawFlags_": "imgui:2994",
"ImDrawList": "imgui:3032",
"ImDrawListFlags_": "imgui:3014",
"ImDrawListSharedData": "imgui_internal:761",
"ImDrawListSplitter": "imgui:2977",
"ImDrawVert": "imgui:2945",
"ImFont": "imgui:3396",
"ImFontAtlas": "imgui:3292",
"ImFontAtlasCustomRect": "imgui:3254",
"ImFontAtlasFlags_": "imgui:3267",
"ImFontBuilderIO": "imgui_internal:3669",
"ImFontConfig": "imgui:3197",
"ImFontGlyph": "imgui:3227",
"ImFontGlyphRangesBuilder": "imgui:3239",
"ImGuiActivateFlags_": "imgui_internal:1528",
"ImGuiAxis": "imgui_internal:1007",
"ImGuiBackendFlags_": "imgui:1610",
"ImGuiBoxSelectState": "imgui_internal:1711",
"ImGuiButtonFlagsPrivate_": "imgui_internal:900",
"ImGuiButtonFlags_": "imgui:1735",
"ImGuiChildFlags_": "imgui:1109",
"ImGuiCol_": "imgui:1620",
"ImGuiColorEditFlags_": "imgui:1746",
"ImGuiColorMod": "imgui_internal:1021",
"ImGuiComboFlagsPrivate_": "imgui_internal:925",
"ImGuiComboFlags_": "imgui:1252",
"ImGuiComboPreviewData": "imgui_internal:1038",
"ImGuiCond_": "imgui:1848",
"ImGuiConfigFlags_": "imgui:1593",
"ImGuiContext": "imgui_internal:1991",
"ImGuiContextHook": "imgui_internal:1976",
"ImGuiContextHookType": "imgui_internal:1974",
"ImGuiDataTypeInfo": "imgui_internal:828",
"ImGuiDataTypePrivate_": "imgui_internal:837",
"ImGuiDataTypeStorage": "imgui_internal:822",
"ImGuiDataType_": "imgui:1368",
"ImGuiDataVarInfo": "imgui_internal:814",
"ImGuiDataTypeInfo": "imgui_internal:811",
"ImGuiDataTypePrivate_": "imgui_internal:820",
"ImGuiDataTypeStorage": "imgui_internal:805",
"ImGuiDataType_": "imgui:1379",
"ImGuiDataVarInfo": "imgui_internal:797",
"ImGuiDebugAllocEntry": "imgui_internal:1911",
"ImGuiDebugAllocInfo": "imgui_internal:1918",
"ImGuiDebugLogFlags_": "imgui_internal:1893",
"ImGuiDir": "imgui:1385",
"ImGuiDragDropFlags_": "imgui:1340",
"ImGuiFocusRequestFlags_": "imgui_internal:986",
"ImGuiFocusScopeData": "imgui_internal:1614",
"ImGuiFocusedFlags_": "imgui:1288",
"ImGuiGroupData": "imgui_internal:1067",
"ImGuiHoveredFlagsPrivate_": "imgui_internal:899",
"ImGuiHoveredFlags_": "imgui:1302",
"ImGuiDir": "imgui:1396",
"ImGuiDragDropFlags_": "imgui:1351",
"ImGuiFocusRequestFlags_": "imgui_internal:970",
"ImGuiFocusScopeData": "imgui_internal:1608",
"ImGuiFocusedFlags_": "imgui:1299",
"ImGuiGroupData": "imgui_internal:1051",
"ImGuiHoveredFlagsPrivate_": "imgui_internal:882",
"ImGuiHoveredFlags_": "imgui:1313",
"ImGuiIDStackTool": "imgui_internal:1957",
"ImGuiIO": "imgui:2207",
"ImGuiInputEvent": "imgui_internal:1395",
"ImGuiInputEventAppFocused": "imgui_internal:1393",
"ImGuiInputEventKey": "imgui_internal:1391",
"ImGuiInputEventMouseButton": "imgui_internal:1390",
"ImGuiInputEventMousePos": "imgui_internal:1388",
"ImGuiInputEventMouseWheel": "imgui_internal:1389",
"ImGuiInputEventText": "imgui_internal:1392",
"ImGuiInputEventType": "imgui_internal:1365",
"ImGuiInputFlagsPrivate_": "imgui_internal:1461",
"ImGuiInputFlags_": "imgui:1547",
"ImGuiInputSource": "imgui_internal:1377",
"ImGuiInputTextCallbackData": "imgui:2421",
"ImGuiInputTextDeactivatedState": "imgui_internal:1103",
"ImGuiInputTextFlagsPrivate_": "imgui_internal:907",
"ImGuiInputTextFlags_": "imgui:1132",
"ImGuiInputTextState": "imgui_internal:1113",
"ImGuiItemFlagsPrivate_": "imgui_internal:851",
"ImGuiItemFlags_": "imgui:1120",
"ImGuiItemStatusFlags_": "imgui_internal:873",
"ImGuiKey": "imgui:1414",
"ImGuiKeyData": "imgui:2199",
"ImGuiKeyOwnerData": "imgui_internal:1448",
"ImGuiKeyRoutingData": "imgui_internal:1422",
"ImGuiKeyRoutingTable": "imgui_internal:1436",
"ImGuiLastItemData": "imgui_internal:1241",
"ImGuiLayoutType_": "imgui_internal:1007",
"ImGuiListClipper": "imgui:2628",
"ImGuiListClipperData": "imgui_internal:1518",
"ImGuiListClipperRange": "imgui_internal:1505",
"ImGuiIO": "imgui:2220",
"ImGuiInputEvent": "imgui_internal:1389",
"ImGuiInputEventAppFocused": "imgui_internal:1387",
"ImGuiInputEventKey": "imgui_internal:1385",
"ImGuiInputEventMouseButton": "imgui_internal:1384",
"ImGuiInputEventMousePos": "imgui_internal:1382",
"ImGuiInputEventMouseWheel": "imgui_internal:1383",
"ImGuiInputEventText": "imgui_internal:1386",
"ImGuiInputEventType": "imgui_internal:1359",
"ImGuiInputFlagsPrivate_": "imgui_internal:1455",
"ImGuiInputFlags_": "imgui:1558",
"ImGuiInputSource": "imgui_internal:1371",
"ImGuiInputTextCallbackData": "imgui:2431",
"ImGuiInputTextDeactivatedState": "imgui_internal:1087",
"ImGuiInputTextFlagsPrivate_": "imgui_internal:890",
"ImGuiInputTextFlags_": "imgui:1143",
"ImGuiInputTextState": "imgui_internal:1109",
"ImGuiItemFlagsPrivate_": "imgui_internal:834",
"ImGuiItemFlags_": "imgui:1130",
"ImGuiItemStatusFlags_": "imgui_internal:856",
"ImGuiKey": "imgui:1425",
"ImGuiKeyData": "imgui:2212",
"ImGuiKeyOwnerData": "imgui_internal:1442",
"ImGuiKeyRoutingData": "imgui_internal:1416",
"ImGuiKeyRoutingTable": "imgui_internal:1430",
"ImGuiLastItemData": "imgui_internal:1235",
"ImGuiLayoutType_": "imgui_internal:991",
"ImGuiListClipper": "imgui:2638",
"ImGuiListClipperData": "imgui_internal:1512",
"ImGuiListClipperRange": "imgui_internal:1499",
"ImGuiLocEntry": "imgui_internal:1882",
"ImGuiLocKey": "imgui_internal:1868",
"ImGuiLogType": "imgui_internal:1013",
"ImGuiMenuColumns": "imgui_internal:1085",
"ImGuiLocKey": "imgui_internal:1867",
"ImGuiLogType": "imgui_internal:997",
"ImGuiMenuColumns": "imgui_internal:1069",
"ImGuiMetricsConfig": "imgui_internal:1928",
"ImGuiMouseButton_": "imgui:1797",
"ImGuiMouseCursor_": "imgui:1807",
"ImGuiMouseSource": "imgui:1826",
"ImGuiMultiSelectFlags_": "imgui:2778",
"ImGuiMultiSelectIO": "imgui:2805",
"ImGuiMultiSelectState": "imgui_internal:1774",
"ImGuiMultiSelectTempData": "imgui_internal:1749",
"ImGuiNavHighlightFlags_": "imgui_internal:1559",
"ImGuiNavItemData": "imgui_internal:1597",
"ImGuiNavLayer": "imgui_internal:1589",
"ImGuiNavMoveFlags_": "imgui_internal:1567",
"ImGuiNextItemData": "imgui_internal:1221",
"ImGuiNextItemDataFlags_": "imgui_internal:1211",
"ImGuiNextWindowData": "imgui_internal:1187",
"ImGuiNextWindowDataFlags_": "imgui_internal:1171",
"ImGuiOldColumnData": "imgui_internal:1682",
"ImGuiOldColumnFlags_": "imgui_internal:1662",
"ImGuiOldColumns": "imgui_internal:1692",
"ImGuiOnceUponAFrame": "imgui:2499",
"ImGuiPayload": "imgui:2464",
"ImGuiPlatformImeData": "imgui:3483",
"ImGuiPlotType": "imgui_internal:1030",
"ImGuiPopupData": "imgui_internal:1322",
"ImGuiPopupFlags_": "imgui:1206",
"ImGuiPopupPositionPolicy": "imgui_internal:1314",
"ImGuiPtrOrIndex": "imgui_internal:1301",
"ImGuiScrollFlags_": "imgui_internal:1545",
"ImGuiSelectableFlagsPrivate_": "imgui_internal:955",
"ImGuiSelectableFlags_": "imgui:1224",
"ImGuiSelectionBasicStorage": "imgui:2851",
"ImGuiSelectionExternalStorage": "imgui:2874",
"ImGuiSelectionRequest": "imgui:2825",
"ImGuiSelectionRequestType": "imgui:2817",
"ImGuiSeparatorFlags_": "imgui_internal:975",
"ImGuiSettingsHandler": "imgui_internal:1848",
"ImGuiShrinkWidthItem": "imgui_internal:1294",
"ImGuiSizeCallbackData": "imgui:2455",
"ImGuiSliderFlagsPrivate_": "imgui_internal:948",
"ImGuiSliderFlags_": "imgui:1781",
"ImGuiSortDirection": "imgui:1396",
"ImGuiMouseButton_": "imgui:1808",
"ImGuiMouseCursor_": "imgui:1818",
"ImGuiMouseSource": "imgui:1837",
"ImGuiMultiSelectFlags_": "imgui:2788",
"ImGuiMultiSelectIO": "imgui:2815",
"ImGuiMultiSelectState": "imgui_internal:1768",
"ImGuiMultiSelectTempData": "imgui_internal:1743",
"ImGuiNavHighlightFlags_": "imgui_internal:1553",
"ImGuiNavItemData": "imgui_internal:1591",
"ImGuiNavLayer": "imgui_internal:1583",
"ImGuiNavMoveFlags_": "imgui_internal:1561",
"ImGuiNextItemData": "imgui_internal:1215",
"ImGuiNextItemDataFlags_": "imgui_internal:1205",
"ImGuiNextWindowData": "imgui_internal:1181",
"ImGuiNextWindowDataFlags_": "imgui_internal:1165",
"ImGuiOldColumnData": "imgui_internal:1676",
"ImGuiOldColumnFlags_": "imgui_internal:1656",
"ImGuiOldColumns": "imgui_internal:1686",
"ImGuiOnceUponAFrame": "imgui:2509",
"ImGuiPayload": "imgui:2474",
"ImGuiPlatformIO": "imgui:3494",
"ImGuiPlatformImeData": "imgui:3525",
"ImGuiPlotType": "imgui_internal:1014",
"ImGuiPopupData": "imgui_internal:1316",
"ImGuiPopupFlags_": "imgui:1217",
"ImGuiPopupPositionPolicy": "imgui_internal:1308",
"ImGuiPtrOrIndex": "imgui_internal:1295",
"ImGuiScrollFlags_": "imgui_internal:1539",
"ImGuiSelectableFlagsPrivate_": "imgui_internal:938",
"ImGuiSelectableFlags_": "imgui:1235",
"ImGuiSelectionBasicStorage": "imgui:2861",
"ImGuiSelectionExternalStorage": "imgui:2884",
"ImGuiSelectionRequest": "imgui:2835",
"ImGuiSelectionRequestType": "imgui:2827",
"ImGuiSeparatorFlags_": "imgui_internal:959",
"ImGuiSettingsHandler": "imgui_internal:1847",
"ImGuiShrinkWidthItem": "imgui_internal:1288",
"ImGuiSizeCallbackData": "imgui:2465",
"ImGuiSliderFlagsPrivate_": "imgui_internal:931",
"ImGuiSliderFlags_": "imgui:1792",
"ImGuiSortDirection": "imgui:1407",
"ImGuiStackLevelInfo": "imgui_internal:1945",
"ImGuiStackSizes": "imgui_internal:1268",
"ImGuiStorage": "imgui:2571",
"ImGuiStoragePair": "imgui:2554",
"ImGuiStyle": "imgui:2124",
"ImGuiStyleMod": "imgui_internal:1044",
"ImGuiStyleVar_": "imgui:1684",
"ImGuiTabBar": "imgui_internal:2759",
"ImGuiTabBarFlagsPrivate_": "imgui_internal:2724",
"ImGuiTabBarFlags_": "imgui:1256",
"ImGuiTabItem": "imgui_internal:2740",
"ImGuiTabItemFlagsPrivate_": "imgui_internal:2732",
"ImGuiTabItemFlags_": "imgui:1273",
"ImGuiTable": "imgui_internal:2904",
"ImGuiTableBgTarget_": "imgui:1978",
"ImGuiTableCellData": "imgui_internal:2872",
"ImGuiTableColumn": "imgui_internal:2813",
"ImGuiTableColumnFlags_": "imgui:1925",
"ImGuiTableColumnSettings": "imgui_internal:3051",
"ImGuiTableColumnSortSpecs": "imgui:2000",
"ImGuiTableFlags_": "imgui:1872",
"ImGuiTableHeaderData": "imgui_internal:2881",
"ImGuiTableInstanceData": "imgui_internal:2891",
"ImGuiTableRowFlags_": "imgui:1963",
"ImGuiTableSettings": "imgui_internal:3075",
"ImGuiTableSortSpecs": "imgui:1990",
"ImGuiTableTempData": "imgui_internal:3028",
"ImGuiTextBuffer": "imgui:2534",
"ImGuiTextFilter": "imgui:2507",
"ImGuiTextFlags_": "imgui_internal:993",
"ImGuiTextIndex": "imgui_internal:733",
"ImGuiTextRange": "imgui:2517",
"ImGuiTooltipFlags_": "imgui_internal:999",
"ImGuiTreeNodeFlagsPrivate_": "imgui_internal:969",
"ImGuiTreeNodeFlags_": "imgui:1171",
"ImGuiTreeNodeStackData": "imgui_internal:1260",
"ImGuiTypingSelectFlags_": "imgui_internal:1625",
"ImGuiTypingSelectRequest": "imgui_internal:1633",
"ImGuiTypingSelectState": "imgui_internal:1644",
"ImGuiViewport": "imgui:3458",
"ImGuiViewportFlags_": "imgui:3443",
"ImGuiViewportP": "imgui_internal:1802",
"ImGuiWindow": "imgui_internal:2596",
"ImGuiWindowFlags_": "imgui:1055",
"ImGuiWindowRefreshFlags_": "imgui_internal:1162",
"ImGuiWindowSettings": "imgui_internal:1834",
"ImGuiWindowStackData": "imgui_internal:1286",
"ImGuiWindowTempData": "imgui_internal:2546",
"ImRect": "imgui_internal:535",
"ImVec1": "imgui_internal:517",
"ImVec2": "imgui:286",
"ImVec2ih": "imgui_internal:525",
"ImVec4": "imgui:299",
"STB_TexteditState": "imstb_textedit:321",
"StbTexteditRow": "imstb_textedit:368",
"StbUndoRecord": "imstb_textedit:303",
"StbUndoState": "imstb_textedit:312"
"ImGuiStackSizes": "imgui_internal:1262",
"ImGuiStorage": "imgui:2581",
"ImGuiStoragePair": "imgui:2564",
"ImGuiStyle": "imgui:2135",
"ImGuiStyleMod": "imgui_internal:1028",
"ImGuiStyleVar_": "imgui:1695",
"ImGuiTabBar": "imgui_internal:2765",
"ImGuiTabBarFlagsPrivate_": "imgui_internal:2730",
"ImGuiTabBarFlags_": "imgui:1267",
"ImGuiTabItem": "imgui_internal:2746",
"ImGuiTabItemFlagsPrivate_": "imgui_internal:2738",
"ImGuiTabItemFlags_": "imgui:1284",
"ImGuiTable": "imgui_internal:2911",
"ImGuiTableBgTarget_": "imgui:1989",
"ImGuiTableCellData": "imgui_internal:2879",
"ImGuiTableColumn": "imgui_internal:2819",
"ImGuiTableColumnFlags_": "imgui:1936",
"ImGuiTableColumnSettings": "imgui_internal:3058",
"ImGuiTableColumnSortSpecs": "imgui:2011",
"ImGuiTableFlags_": "imgui:1883",
"ImGuiTableHeaderData": "imgui_internal:2888",
"ImGuiTableInstanceData": "imgui_internal:2898",
"ImGuiTableRowFlags_": "imgui:1974",
"ImGuiTableSettings": "imgui_internal:3082",
"ImGuiTableSortSpecs": "imgui:2001",
"ImGuiTableTempData": "imgui_internal:3035",
"ImGuiTextBuffer": "imgui:2544",
"ImGuiTextFilter": "imgui:2517",
"ImGuiTextFlags_": "imgui_internal:977",
"ImGuiTextIndex": "imgui_internal:716",
"ImGuiTextRange": "imgui:2527",
"ImGuiTooltipFlags_": "imgui_internal:983",
"ImGuiTreeNodeFlagsPrivate_": "imgui_internal:952",
"ImGuiTreeNodeFlags_": "imgui:1182",
"ImGuiTreeNodeStackData": "imgui_internal:1254",
"ImGuiTypingSelectFlags_": "imgui_internal:1619",
"ImGuiTypingSelectRequest": "imgui_internal:1627",
"ImGuiTypingSelectState": "imgui_internal:1638",
"ImGuiViewport": "imgui:3469",
"ImGuiViewportFlags_": "imgui:3454",
"ImGuiViewportP": "imgui_internal:1796",
"ImGuiWindow": "imgui_internal:2601",
"ImGuiWindowFlags_": "imgui:1060",
"ImGuiWindowRefreshFlags_": "imgui_internal:1156",
"ImGuiWindowSettings": "imgui_internal:1833",
"ImGuiWindowStackData": "imgui_internal:1280",
"ImGuiWindowTempData": "imgui_internal:2551",
"ImRect": "imgui_internal:518",
"ImVec1": "imgui_internal:500",
"ImVec2": "imgui:288",
"ImVec2ih": "imgui_internal:508",
"ImVec4": "imgui:301"
},
"structs": {
"ImBitVector": [
@@ -5586,6 +5598,10 @@
"name": "IO",
"type": "ImGuiIO"
},
{
"name": "PlatformIO",
"type": "ImGuiPlatformIO"
},
{
"name": "Style",
"type": "ImGuiStyle"
@@ -5761,6 +5777,10 @@
"name": "WheelingAxisAvg",
"type": "ImVec2"
},
{
"name": "DebugDrawIdConflicts",
"type": "ImGuiID"
},
{
"name": "DebugHookIdInfo",
"type": "ImGuiID"
@@ -5773,6 +5793,10 @@
"name": "HoveredIdPreviousFrame",
"type": "ImGuiID"
},
{
"name": "HoveredIdPreviousFrameItemCount",
"type": "int"
},
{
"name": "HoveredIdTimer",
"type": "float"
@@ -6598,7 +6622,7 @@
},
{
"name": "LocalizationTable[ImGuiLocKey_COUNT]",
"size": 9,
"size": 10,
"type": "const char*"
},
{
@@ -7055,6 +7079,10 @@
"name": "ConfigDebugIsDebuggerPresent",
"type": "bool"
},
{
"name": "ConfigDebugHighlightIdConflicts",
"type": "bool"
},
{
"name": "ConfigDebugBeginReturnValueOnce",
"type": "bool"
@@ -7091,34 +7119,6 @@
"name": "BackendLanguageUserData",
"type": "void*"
},
{
"name": "GetClipboardTextFn",
"type": "const char*(*)(void* user_data)"
},
{
"name": "SetClipboardTextFn",
"type": "void(*)(void* user_data,const char* text)"
},
{
"name": "ClipboardUserData",
"type": "void*"
},
{
"name": "PlatformOpenInShellFn",
"type": "bool(*)(ImGuiContext* ctx,const char* path)"
},
{
"name": "PlatformOpenInShellUserData",
"type": "void*"
},
{
"name": "PlatformSetImeDataFn",
"type": "void(*)(ImGuiContext* ctx,ImGuiViewport* viewport,ImGuiPlatformImeData* data)"
},
{
"name": "PlatformLocaleDecimalPoint",
"type": "ImWchar"
},
{
"name": "WantCaptureMouse",
"type": "bool"
@@ -7487,23 +7487,18 @@
"name": "Ctx",
"type": "ImGuiContext*"
},
{
"name": "Stb",
"type": "ImStbTexteditState*"
},
{
"name": "ID",
"type": "ImGuiID"
},
{
"name": "CurLenW",
"type": "int"
},
{
"name": "CurLenA",
"type": "int"
},
{
"name": "TextW",
"template_type": "ImWchar",
"type": "ImVector_ImWchar"
},
{
"name": "TextA",
"template_type": "char",
@@ -7515,20 +7510,17 @@
"type": "ImVector_char"
},
{
"name": "TextAIsValid",
"type": "bool"
"name": "CallbackTextBackup",
"template_type": "char",
"type": "ImVector_char"
},
{
"name": "BufCapacityA",
"type": "int"
},
{
"name": "ScrollX",
"type": "float"
},
{
"name": "Stb",
"type": "STB_TexteditState"
"name": "Scroll",
"type": "ImVec2"
},
{
"name": "CursorAnim",
@@ -8265,6 +8257,40 @@
"type": "bool"
}
],
"ImGuiPlatformIO": [
{
"name": "Platform_GetClipboardTextFn",
"type": "const char*(*)(ImGuiContext* ctx)"
},
{
"name": "Platform_SetClipboardTextFn",
"type": "void(*)(ImGuiContext* ctx,const char* text)"
},
{
"name": "Platform_ClipboardUserData",
"type": "void*"
},
{
"name": "Platform_OpenInShellFn",
"type": "bool(*)(ImGuiContext* ctx,const char* path)"
},
{
"name": "Platform_OpenInShellUserData",
"type": "void*"
},
{
"name": "Platform_SetImeDataFn",
"type": "void(*)(ImGuiContext* ctx,ImGuiViewport* viewport,ImGuiPlatformImeData* data)"
},
{
"name": "Platform_ImeUserData",
"type": "void*"
},
{
"name": "Platform_LocaleDecimalPoint",
"type": "ImWchar"
}
],
"ImGuiPlatformImeData": [
{
"name": "WantVisible",
@@ -9433,6 +9459,10 @@
"name": "WidthAuto",
"type": "float"
},
{
"name": "WidthMax",
"type": "float"
},
{
"name": "StretchWeight",
"type": "float"
@@ -9948,19 +9978,19 @@
"type": "ImDrawDataBuilder"
},
{
"name": "WorkOffsetMin",
"name": "WorkInsetMin",
"type": "ImVec2"
},
{
"name": "WorkOffsetMax",
"name": "WorkInsetMax",
"type": "ImVec2"
},
{
"name": "BuildWorkOffsetMin",
"name": "BuildWorkInsetMin",
"type": "ImVec2"
},
{
"name": "BuildWorkOffsetMax",
"name": "BuildWorkInsetMax",
"type": "ImVec2"
}
],
@@ -10636,136 +10666,6 @@
"name": "w",
"type": "float"
}
],
"STB_TexteditState": [
{
"name": "cursor",
"type": "int"
},
{
"name": "select_start",
"type": "int"
},
{
"name": "select_end",
"type": "int"
},
{
"name": "insert_mode",
"type": "unsigned char"
},
{
"name": "row_count_per_page",
"type": "int"
},
{
"name": "cursor_at_end_of_line",
"type": "unsigned char"
},
{
"name": "initialized",
"type": "unsigned char"
},
{
"name": "has_preferred_x",
"type": "unsigned char"
},
{
"name": "single_line",
"type": "unsigned char"
},
{
"name": "padding1",
"type": "unsigned char"
},
{
"name": "padding2",
"type": "unsigned char"
},
{
"name": "padding3",
"type": "unsigned char"
},
{
"name": "preferred_x",
"type": "float"
},
{
"name": "undostate",
"type": "StbUndoState"
}
],
"StbTexteditRow": [
{
"name": "x0",
"type": "float"
},
{
"name": "x1",
"type": "float"
},
{
"name": "baseline_y_delta",
"type": "float"
},
{
"name": "ymin",
"type": "float"
},
{
"name": "ymax",
"type": "float"
},
{
"name": "num_chars",
"type": "int"
}
],
"StbUndoRecord": [
{
"name": "where",
"type": "int"
},
{
"name": "insert_length",
"type": "int"
},
{
"name": "delete_length",
"type": "int"
},
{
"name": "char_storage",
"type": "int"
}
],
"StbUndoState": [
{
"name": "undo_rec[99]",
"size": 99,
"type": "StbUndoRecord"
},
{
"name": "undo_char[999]",
"size": 999,
"type": "ImWchar"
},
{
"name": "undo_point",
"type": "short"
},
{
"name": "redo_point",
"type": "short"
},
{
"name": "undo_char_point",
"type": "int"
},
{
"name": "redo_char_point",
"type": "int"
}
]
},
"templated_structs": {

File diff suppressed because it is too large Load Diff

View File

@@ -107,6 +107,7 @@
"ImGuiOldColumns": "struct ImGuiOldColumns",
"ImGuiOnceUponAFrame": "struct ImGuiOnceUponAFrame",
"ImGuiPayload": "struct ImGuiPayload",
"ImGuiPlatformIO": "struct ImGuiPlatformIO",
"ImGuiPlatformImeData": "struct ImGuiPlatformImeData",
"ImGuiPopupData": "struct ImGuiPopupData",
"ImGuiPopupFlags": "int",
@@ -177,6 +178,7 @@
"ImS32": "signed int",
"ImS64": "signed long long",
"ImS8": "signed char",
"ImStbTexteditState": "ImStb::STB_TexteditState",
"ImTextureID": "void*",
"ImU16": "unsigned short",
"ImU32": "unsigned int",
@@ -190,9 +192,6 @@
"ImWchar16": "unsigned short",
"ImWchar32": "unsigned int",
"STB_TexteditState": "struct STB_TexteditState",
"StbTexteditRow": "struct StbTexteditRow",
"StbUndoRecord": "struct StbUndoRecord",
"StbUndoState": "struct StbUndoState",
"const_iterator": "const value_type*",
"iterator": "value_type*",
"value_type": "T"

View File

@@ -107,6 +107,7 @@ defs["ImGuiOldColumnFlags"] = "int"
defs["ImGuiOldColumns"] = "struct ImGuiOldColumns"
defs["ImGuiOnceUponAFrame"] = "struct ImGuiOnceUponAFrame"
defs["ImGuiPayload"] = "struct ImGuiPayload"
defs["ImGuiPlatformIO"] = "struct ImGuiPlatformIO"
defs["ImGuiPlatformImeData"] = "struct ImGuiPlatformImeData"
defs["ImGuiPopupData"] = "struct ImGuiPopupData"
defs["ImGuiPopupFlags"] = "int"
@@ -177,6 +178,7 @@ defs["ImS16"] = "signed short"
defs["ImS32"] = "signed int"
defs["ImS64"] = "signed long long"
defs["ImS8"] = "signed char"
defs["ImStbTexteditState"] = "ImStb::STB_TexteditState"
defs["ImTextureID"] = "void*"
defs["ImU16"] = "unsigned short"
defs["ImU32"] = "unsigned int"
@@ -190,9 +192,6 @@ defs["ImWchar"] = "ImWchar16"
defs["ImWchar16"] = "unsigned short"
defs["ImWchar32"] = "unsigned int"
defs["STB_TexteditState"] = "struct STB_TexteditState"
defs["StbTexteditRow"] = "struct StbTexteditRow"
defs["StbUndoRecord"] = "struct StbUndoRecord"
defs["StbUndoState"] = "struct StbUndoState"
defs["const_iterator"] = "const value_type*"
defs["iterator"] = "value_type*"
defs["value_type"] = "T"

2
imgui

Submodule imgui updated: 8199457a7d...a9f72ab681