update to v1.63 imgui

This commit is contained in:
sonoro1234
2018-08-31 09:19:32 +02:00
parent a190ec10f4
commit 444b30c2cb
16 changed files with 3296 additions and 3250 deletions

View File

@@ -594,22 +594,6 @@ CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button)
{
return ImGui::RadioButton(label,v,v_button);
}
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay)
{
return ImGui::ProgressBar(fraction,size_arg,overlay);
@@ -686,58 +670,6 @@ CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,
{
return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power);
}
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)
{
return ImGui::InputText(label,buf,buf_size,flags,callback,user_data);
}
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)
{
return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data);
}
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat2(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat3(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat4(label,v,format,extra_flags);
}
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt(label,v,step,step_fast,extra_flags);
}
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt2(label,v,extra_flags);
}
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt3(label,v,extra_flags);
}
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt4(label,v,extra_flags);
}
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power)
{
return ImGui::SliderFloat(label,v,v_min,v_max,format,power);
@@ -794,6 +726,58 @@ CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataTyp
{
return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power);
}
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
{
return ImGui::InputText(label,buf,buf_size,flags,callback,user_data);
}
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
{
return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data);
}
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat2(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat3(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat4(label,v,format,extra_flags);
}
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt(label,v,step,step_fast,extra_flags);
}
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt2(label,v,extra_flags);
}
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt3(label,v,extra_flags);
}
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt4(label,v,extra_flags);
}
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags)
{
return ImGui::ColorEdit3(label,col,flags);
@@ -934,6 +918,22 @@ CIMGUI_API void igListBoxFooter()
{
return ImGui::ListBoxFooter();
}
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igValueBool(const char* prefix,bool b)
{
return ImGui::Value(prefix,b);
@@ -950,25 +950,6 @@ CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format
{
return ImGui::Value(prefix,v,float_format);
}
CIMGUI_API void igBeginTooltip()
{
return ImGui::BeginTooltip();
}
CIMGUI_API void igEndTooltip()
{
return ImGui::EndTooltip();
}
CIMGUI_API void igSetTooltip(const char* fmt,...)
{
va_list args;
va_start(args, fmt);
ImGui::SetTooltipV(fmt,args);
va_end(args);
}
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
{
return ImGui::SetTooltipV(fmt,args);
}
CIMGUI_API bool igBeginMainMenuBar()
{
return ImGui::BeginMainMenuBar();
@@ -1001,6 +982,25 @@ CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p
{
return ImGui::MenuItem(label,shortcut,p_selected,enabled);
}
CIMGUI_API void igBeginTooltip()
{
return ImGui::BeginTooltip();
}
CIMGUI_API void igEndTooltip()
{
return ImGui::EndTooltip();
}
CIMGUI_API void igSetTooltip(const char* fmt,...)
{
va_list args;
va_start(args, fmt);
ImGui::SetTooltipV(fmt,args);
va_end(args);
}
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
{
return ImGui::SetTooltipV(fmt,args);
}
CIMGUI_API void igOpenPopup(const char* str_id)
{
return ImGui::OpenPopup(str_id);
@@ -1153,13 +1153,17 @@ CIMGUI_API bool igIsItemVisible()
{
return ImGui::IsItemVisible();
}
CIMGUI_API bool igIsItemEdited()
{
return ImGui::IsItemEdited();
}
CIMGUI_API bool igIsItemDeactivated()
{
return ImGui::IsItemDeactivated();
}
CIMGUI_API bool igIsItemDeactivatedAfterChange()
CIMGUI_API bool igIsItemDeactivatedAfterEdit()
{
return ImGui::IsItemDeactivatedAfterChange();
return ImGui::IsItemDeactivatedAfterEdit();
}
CIMGUI_API bool igIsAnyItemHovered()
{
@@ -1197,7 +1201,7 @@ CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max)
{
return ImGui::IsRectVisible(rect_min,rect_max);
}
CIMGUI_API float igGetTime()
CIMGUI_API double igGetTime()
{
return ImGui::GetTime();
}
@@ -1393,34 +1397,6 @@ CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self)
{
return self->ClearInputCharacters();
}
CIMGUI_API const char* TextRange_begin(TextRange* self)
{
return self->begin();
}
CIMGUI_API const char* TextRange_end(TextRange* self)
{
return self->end();
}
CIMGUI_API bool TextRange_empty(TextRange* self)
{
return self->empty();
}
CIMGUI_API char TextRange_front(TextRange* self)
{
return self->front();
}
CIMGUI_API bool TextRange_is_blank(TextRange* self,char c)
{
return self->is_blank(c);
}
CIMGUI_API void TextRange_trim_blanks(TextRange* self)
{
return self->trim_blanks();
}
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out)
{
return self->split(separator,out);
}
CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width)
{
return self->Draw(label,width);
@@ -1441,6 +1417,22 @@ CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self)
{
return self->IsActive();
}
CIMGUI_API const char* TextRange_begin(TextRange* self)
{
return self->begin();
}
CIMGUI_API const char* TextRange_end(TextRange* self)
{
return self->end();
}
CIMGUI_API bool TextRange_empty(TextRange* self)
{
return self->empty();
}
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out)
{
return self->split(separator,out);
}
CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self)
{
return self->begin();
@@ -1533,15 +1525,15 @@ CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self)
{
return self->BuildSortByKey();
}
CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count)
CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count)
{
return self->DeleteChars(pos,bytes_count);
}
CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end)
CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end)
{
return self->InsertChars(pos,text,text_end);
}
CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self)
CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self)
{
return self->HasSelection();
}

View File

@@ -44,17 +44,17 @@ typedef struct Pair Pair;
typedef struct TextRange TextRange;
typedef struct ImVec4 ImVec4;
typedef struct ImVec2 ImVec2;
typedef struct ImGuiContext ImGuiContext;
typedef struct ImGuiPayload ImGuiPayload;
typedef struct ImGuiListClipper ImGuiListClipper;
typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData;
typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData;
typedef struct ImGuiTextBuffer ImGuiTextBuffer;
typedef struct ImGuiTextFilter ImGuiTextFilter;
typedef struct ImGuiStyle ImGuiStyle;
typedef struct ImGuiStorage ImGuiStorage;
typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData;
typedef struct ImGuiPayload ImGuiPayload;
typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame;
typedef struct ImGuiListClipper ImGuiListClipper;
typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData;
typedef struct ImGuiIO ImGuiIO;
typedef struct ImGuiContext ImGuiContext;
typedef struct ImColor ImColor;
typedef struct ImFontConfig ImFontConfig;
typedef struct ImFontAtlas ImFontAtlas;
@@ -75,24 +75,24 @@ struct ImFont;
struct ImFontAtlas;
struct ImFontConfig;
struct ImColor;
typedef void* ImTextureID;
struct ImGuiContext;
struct ImGuiIO;
struct ImGuiInputTextCallbackData;
struct ImGuiListClipper;
struct ImGuiOnceUponAFrame;
struct ImGuiPayload;
struct ImGuiSizeCallbackData;
struct ImGuiStorage;
struct ImGuiStyle;
struct ImGuiTextFilter;
struct ImGuiTextBuffer;
struct ImGuiTextEditCallbackData;
struct ImGuiSizeCallbackData;
struct ImGuiListClipper;
struct ImGuiPayload;
struct ImGuiContext;
typedef void* ImTextureID;
typedef unsigned int ImGuiID;
typedef unsigned short ImWchar;
typedef int ImGuiCol;
typedef int ImGuiCond;
typedef int ImGuiDataType;
typedef int ImGuiDir;
typedef int ImGuiCond;
typedef int ImGuiKey;
typedef int ImGuiNavInput;
typedef int ImGuiMouseCursor;
@@ -112,12 +112,12 @@ typedef int ImGuiInputTextFlags;
typedef int ImGuiSelectableFlags;
typedef int ImGuiTreeNodeFlags;
typedef int ImGuiWindowFlags;
typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data);
typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData *data);
typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data);
typedef signed int ImS32;
typedef unsigned int ImU32;
typedef signed long long ImS64;
typedef unsigned long long ImU64;
typedef int64_t ImS64;
typedef uint64_t ImU64;
struct ImVec2
{
float x, y;
@@ -145,7 +145,6 @@ enum ImGuiWindowFlags_
ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14,
ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15,
ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16,
ImGuiWindowFlags_ResizeFromAnySide = 1 << 17,
ImGuiWindowFlags_NoNavInputs = 1 << 18,
ImGuiWindowFlags_NoNavFocus = 1 << 19,
ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
@@ -177,6 +176,7 @@ enum ImGuiInputTextFlags_
ImGuiInputTextFlags_Password = 1 << 15,
ImGuiInputTextFlags_NoUndoRedo = 1 << 16,
ImGuiInputTextFlags_CharsScientific = 1 << 17,
ImGuiInputTextFlags_CallbackResize = 1 << 18,
ImGuiInputTextFlags_Multiline = 1 << 20
};
enum ImGuiTreeNodeFlags_
@@ -201,7 +201,8 @@ enum ImGuiSelectableFlags_
ImGuiSelectableFlags_None = 0,
ImGuiSelectableFlags_DontClosePopups = 1 << 0,
ImGuiSelectableFlags_SpanAllColumns = 1 << 1,
ImGuiSelectableFlags_AllowDoubleClick = 1 << 2
ImGuiSelectableFlags_AllowDoubleClick = 1 << 2,
ImGuiSelectableFlags_Disabled = 1 << 3
};
enum ImGuiComboFlags_
{
@@ -232,6 +233,7 @@ enum ImGuiHoveredFlags_
ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3,
ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5,
ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6,
ImGuiHoveredFlags_AllowWhenDisabled = 1 << 7,
ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped,
ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows
};
@@ -243,6 +245,7 @@ enum ImGuiDragDropFlags_
ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2,
ImGuiDragDropFlags_SourceAllowNullID = 1 << 3,
ImGuiDragDropFlags_SourceExtern = 1 << 4,
ImGuiDragDropFlags_SourceAutoExpirePayload = 1 << 5,
ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10,
ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11,
ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12,
@@ -375,10 +378,11 @@ enum ImGuiCol_
ImGuiCol_PlotHistogram,
ImGuiCol_PlotHistogramHovered,
ImGuiCol_TextSelectedBg,
ImGuiCol_ModalWindowDarkening,
ImGuiCol_DragDropTarget,
ImGuiCol_NavHighlight,
ImGuiCol_NavWindowingHighlight,
ImGuiCol_NavWindowingDimBg,
ImGuiCol_ModalWindowDimBg,
ImGuiCol_COUNT
};
enum ImGuiStyleVar_
@@ -444,6 +448,7 @@ enum ImGuiMouseCursor_
ImGuiMouseCursor_ResizeEW,
ImGuiMouseCursor_ResizeNESW,
ImGuiMouseCursor_ResizeNWSE,
ImGuiMouseCursor_Hand,
ImGuiMouseCursor_COUNT
};
enum ImGuiCond_
@@ -509,14 +514,15 @@ struct ImGuiIO
ImVec2 DisplayFramebufferScale;
ImVec2 DisplayVisibleMin;
ImVec2 DisplayVisibleMax;
bool OptMacOSXBehaviors;
bool OptCursorBlink;
bool ConfigMacOSXBehaviors;
bool ConfigCursorBlink;
bool ConfigResizeWindowsFromEdges;
const char* (*GetClipboardTextFn)(void* user_data);
void (*SetClipboardTextFn)(void* user_data, const char* text);
void* ClipboardUserData;
void (*ImeSetInputScreenPosFn)(int x, int y);
void* ImeWindowHandle;
void* RenderDrawListsFnDummy;
void* RenderDrawListsFnUnused;
ImVec2 MousePos;
bool MouseDown[5];
float MouseWheel;
@@ -539,11 +545,13 @@ struct ImGuiIO
float Framerate;
int MetricsRenderVertices;
int MetricsRenderIndices;
int MetricsRenderWindows;
int MetricsActiveWindows;
int MetricsActiveAllocations;
ImVec2 MouseDelta;
ImVec2 MousePosPrev;
ImVec2 MouseClickedPos[5];
float MouseClickedTime[5];
double MouseClickedTime[5];
bool MouseClicked[5];
bool MouseDoubleClicked[5];
bool MouseReleased[5];
@@ -583,12 +591,11 @@ struct ImGuiStorage
{
ImVector/*<Pair>*/ Data;
};
struct ImGuiTextEditCallbackData
struct ImGuiInputTextCallbackData
{
ImGuiInputTextFlags EventFlag;
ImGuiInputTextFlags Flags;
void* UserData;
bool ReadOnly;
ImWchar EventChar;
ImGuiKey EventKey;
char* Buf;
@@ -723,11 +730,13 @@ struct ImFontGlyph
};
enum ImFontAtlasFlags_
{
ImFontAtlasFlags_None = 0,
ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0,
ImFontAtlasFlags_NoMouseCursors = 1 << 1
};
struct ImFontAtlas
{
bool Locked;
ImFontAtlasFlags Flags;
ImTextureID TexID;
int TexDesiredWidth;
@@ -778,6 +787,7 @@ struct ImFont
{
const char* b;
const char* e;
const char* end () const { return e; }
};
struct Pair
{
@@ -945,10 +955,6 @@ CIMGUI_API bool igCheckbox(const char* label,bool* v);
CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value);
CIMGUI_API bool igRadioButtonBool(const char* label,bool active);
CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button);
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay);
CIMGUI_API void igBullet();
CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags);
@@ -968,19 +974,6 @@ CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,in
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 igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data);
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data);
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
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);
@@ -995,6 +988,19 @@ CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void*
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 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 igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
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);
@@ -1026,14 +1032,14 @@ CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_g
CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size);
CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items);
CIMGUI_API void igListBoxFooter();
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
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 void igBeginTooltip();
CIMGUI_API void igEndTooltip();
CIMGUI_API void igSetTooltip(const char* fmt,...);
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args);
CIMGUI_API bool igBeginMainMenuBar();
CIMGUI_API void igEndMainMenuBar();
CIMGUI_API bool igBeginMenuBar();
@@ -1042,6 +1048,10 @@ CIMGUI_API bool igBeginMenu(const char* label,bool enabled);
CIMGUI_API void igEndMenu();
CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled);
CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled);
CIMGUI_API void igBeginTooltip();
CIMGUI_API void igEndTooltip();
CIMGUI_API void igSetTooltip(const char* fmt,...);
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args);
CIMGUI_API void igOpenPopup(const char* str_id);
CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags);
CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button);
@@ -1080,8 +1090,9 @@ CIMGUI_API bool igIsItemActive();
CIMGUI_API bool igIsItemFocused();
CIMGUI_API bool igIsItemClicked(int mouse_button);
CIMGUI_API bool igIsItemVisible();
CIMGUI_API bool igIsItemEdited();
CIMGUI_API bool igIsItemDeactivated();
CIMGUI_API bool igIsItemDeactivatedAfterChange();
CIMGUI_API bool igIsItemDeactivatedAfterEdit();
CIMGUI_API bool igIsAnyItemHovered();
CIMGUI_API bool igIsAnyItemActive();
CIMGUI_API bool igIsAnyItemFocused();
@@ -1091,7 +1102,7 @@ CIMGUI_API ImVec2 igGetItemRectSize();
CIMGUI_API void igSetItemAllowOverlap();
CIMGUI_API bool igIsRectVisible(const ImVec2 size);
CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max);
CIMGUI_API float igGetTime();
CIMGUI_API double igGetTime();
CIMGUI_API int igGetFrameCount();
CIMGUI_API ImDrawList* igGetOverlayDrawList();
CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData();
@@ -1140,18 +1151,15 @@ CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor);
CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c);
CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars);
CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self);
CIMGUI_API const char* TextRange_begin(TextRange* self);
CIMGUI_API const char* TextRange_end(TextRange* self);
CIMGUI_API bool TextRange_empty(TextRange* self);
CIMGUI_API char TextRange_front(TextRange* self);
CIMGUI_API bool TextRange_is_blank(TextRange* self,char c);
CIMGUI_API void TextRange_trim_blanks(TextRange* self);
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out);
CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width);
CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end);
CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self);
CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self);
CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self);
CIMGUI_API const char* TextRange_begin(TextRange* self);
CIMGUI_API const char* TextRange_end(TextRange* self);
CIMGUI_API bool TextRange_empty(TextRange* self);
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out);
CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self);
CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self);
CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self);
@@ -1175,9 +1183,9 @@ CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float
CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val);
CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val);
CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self);
CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count);
CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end);
CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self);
CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count);
CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end);
CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self);
CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self);
CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type);
CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self);

View File

@@ -594,22 +594,6 @@ CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button)
{
return ImGui::RadioButton(label,v,v_button);
}
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay)
{
return ImGui::ProgressBar(fraction,size_arg,overlay);
@@ -686,58 +670,6 @@ CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,
{
return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power);
}
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)
{
return ImGui::InputText(label,buf,buf_size,flags,callback,user_data);
}
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)
{
return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data);
}
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat2(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat3(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat4(label,v,format,extra_flags);
}
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt(label,v,step,step_fast,extra_flags);
}
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt2(label,v,extra_flags);
}
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt3(label,v,extra_flags);
}
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt4(label,v,extra_flags);
}
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power)
{
return ImGui::SliderFloat(label,v,v_min,v_max,format,power);
@@ -794,6 +726,58 @@ CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataTyp
{
return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power);
}
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
{
return ImGui::InputText(label,buf,buf_size,flags,callback,user_data);
}
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
{
return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data);
}
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat2(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat3(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat4(label,v,format,extra_flags);
}
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt(label,v,step,step_fast,extra_flags);
}
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt2(label,v,extra_flags);
}
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt3(label,v,extra_flags);
}
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt4(label,v,extra_flags);
}
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags)
{
return ImGui::ColorEdit3(label,col,flags);
@@ -934,6 +918,22 @@ CIMGUI_API void igListBoxFooter()
{
return ImGui::ListBoxFooter();
}
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igValueBool(const char* prefix,bool b)
{
return ImGui::Value(prefix,b);
@@ -950,25 +950,6 @@ CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format
{
return ImGui::Value(prefix,v,float_format);
}
CIMGUI_API void igBeginTooltip()
{
return ImGui::BeginTooltip();
}
CIMGUI_API void igEndTooltip()
{
return ImGui::EndTooltip();
}
CIMGUI_API void igSetTooltip(const char* fmt,...)
{
va_list args;
va_start(args, fmt);
ImGui::SetTooltipV(fmt,args);
va_end(args);
}
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
{
return ImGui::SetTooltipV(fmt,args);
}
CIMGUI_API bool igBeginMainMenuBar()
{
return ImGui::BeginMainMenuBar();
@@ -1001,6 +982,25 @@ CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p
{
return ImGui::MenuItem(label,shortcut,p_selected,enabled);
}
CIMGUI_API void igBeginTooltip()
{
return ImGui::BeginTooltip();
}
CIMGUI_API void igEndTooltip()
{
return ImGui::EndTooltip();
}
CIMGUI_API void igSetTooltip(const char* fmt,...)
{
va_list args;
va_start(args, fmt);
ImGui::SetTooltipV(fmt,args);
va_end(args);
}
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
{
return ImGui::SetTooltipV(fmt,args);
}
CIMGUI_API void igOpenPopup(const char* str_id)
{
return ImGui::OpenPopup(str_id);
@@ -1153,13 +1153,17 @@ CIMGUI_API bool igIsItemVisible()
{
return ImGui::IsItemVisible();
}
CIMGUI_API bool igIsItemEdited()
{
return ImGui::IsItemEdited();
}
CIMGUI_API bool igIsItemDeactivated()
{
return ImGui::IsItemDeactivated();
}
CIMGUI_API bool igIsItemDeactivatedAfterChange()
CIMGUI_API bool igIsItemDeactivatedAfterEdit()
{
return ImGui::IsItemDeactivatedAfterChange();
return ImGui::IsItemDeactivatedAfterEdit();
}
CIMGUI_API bool igIsAnyItemHovered()
{
@@ -1197,7 +1201,7 @@ CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max)
{
return ImGui::IsRectVisible(rect_min,rect_max);
}
CIMGUI_API float igGetTime()
CIMGUI_API double igGetTime()
{
return ImGui::GetTime();
}
@@ -1393,34 +1397,6 @@ CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self)
{
return self->ClearInputCharacters();
}
CIMGUI_API const char* TextRange_begin(TextRange* self)
{
return self->begin();
}
CIMGUI_API const char* TextRange_end(TextRange* self)
{
return self->end();
}
CIMGUI_API bool TextRange_empty(TextRange* self)
{
return self->empty();
}
CIMGUI_API char TextRange_front(TextRange* self)
{
return self->front();
}
CIMGUI_API bool TextRange_is_blank(TextRange* self,char c)
{
return self->is_blank(c);
}
CIMGUI_API void TextRange_trim_blanks(TextRange* self)
{
return self->trim_blanks();
}
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out)
{
return self->split(separator,out);
}
CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width)
{
return self->Draw(label,width);
@@ -1441,6 +1417,22 @@ CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self)
{
return self->IsActive();
}
CIMGUI_API const char* TextRange_begin(TextRange* self)
{
return self->begin();
}
CIMGUI_API const char* TextRange_end(TextRange* self)
{
return self->end();
}
CIMGUI_API bool TextRange_empty(TextRange* self)
{
return self->empty();
}
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out)
{
return self->split(separator,out);
}
CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self)
{
return self->begin();
@@ -1533,15 +1525,15 @@ CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self)
{
return self->BuildSortByKey();
}
CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count)
CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count)
{
return self->DeleteChars(pos,bytes_count);
}
CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end)
CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end)
{
return self->InsertChars(pos,text,text_end);
}
CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self)
CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self)
{
return self->HasSelection();
}

View File

@@ -38,7 +38,7 @@ typedef unsigned long long ImU64;
#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
typedef unsigned short ImDrawIdx;
typedef void* ImTextureID;
// dear imgui, v1.62
// dear imgui, v1.63
typedef struct CustomRect CustomRect;
typedef struct GlyphRangesBuilder GlyphRangesBuilder;
typedef struct ImFontGlyph ImFontGlyph;
@@ -46,17 +46,17 @@ typedef struct Pair Pair;
typedef struct TextRange TextRange;
typedef struct ImVec4 ImVec4;
typedef struct ImVec2 ImVec2;
typedef struct ImGuiContext ImGuiContext;
typedef struct ImGuiPayload ImGuiPayload;
typedef struct ImGuiListClipper ImGuiListClipper;
typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData;
typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData;
typedef struct ImGuiTextBuffer ImGuiTextBuffer;
typedef struct ImGuiTextFilter ImGuiTextFilter;
typedef struct ImGuiStyle ImGuiStyle;
typedef struct ImGuiStorage ImGuiStorage;
typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData;
typedef struct ImGuiPayload ImGuiPayload;
typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame;
typedef struct ImGuiListClipper ImGuiListClipper;
typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData;
typedef struct ImGuiIO ImGuiIO;
typedef struct ImGuiContext ImGuiContext;
typedef struct ImColor ImColor;
typedef struct ImFontConfig ImFontConfig;
typedef struct ImFontAtlas ImFontAtlas;
@@ -74,6 +74,7 @@ typedef struct ImDrawChannel ImDrawChannel;
// Get latest version at https://github.com/ocornut/imgui
// Configuration file (edit imconfig.h or define IMGUI_USER_CONFIG to set your own filename)
// Version
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY00 then bounced up to XYY01 when release tagging happens)
// Define attributes of all API symbols declarations (e.g. for DLL under Windows)
// is used for core imgui functions, is used for the default bindings files (imgui_impl_xxx.h)
// Helpers
@@ -88,45 +89,45 @@ struct ImFont; // Runtime data for a single font within a p
struct ImFontAtlas; // Runtime data for multiple fonts, bake multiple fonts into a single texture, TTF/OTF font loader
struct ImFontConfig; // Configuration data when adding a font or merging fonts
struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*obsolete* please avoid using)
struct ImGuiIO; // Main configuration and I/O between your application and ImGui
struct ImGuiOnceUponAFrame; // Simple helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro
struct ImGuiStorage; // Simple custom key value storage
struct ImGuiStyle; // Runtime data for styling/colors
struct ImGuiTextFilter; // Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]"
struct ImGuiTextBuffer; // Text buffer for logging/accumulating text
struct ImGuiTextEditCallbackData; // Shared state of ImGui::InputText() when using custom ImGuiTextEditCallback (rare/advanced use)
struct ImGuiSizeCallbackData; // Structure used to constraint window size in custom ways when using custom ImGuiSizeCallback (rare/advanced use)
struct ImGuiListClipper; // Helper to manually clip large list of items
struct ImGuiPayload; // User data payload for drag and drop operations
struct ImGuiContext; // ImGui context (opaque)
// Typedefs and Enumerations (declared as int for compatibility with old C++ and to not pollute the top of this file)
// Use your programming IDE "Go to definition" facility on the names of the right-most columns to find the actual flags/enum lists.
struct ImGuiIO; // Main configuration and I/O between your application and ImGui
struct ImGuiInputTextCallbackData; // Shared state of InputText() when using custom ImGuiInputTextCallback (rare/advanced use)
struct ImGuiListClipper; // Helper to manually clip large list of items
struct ImGuiOnceUponAFrame; // Helper for running a block of code not more than once a frame, used by IMGUI_ONCE_UPON_A_FRAME macro
struct ImGuiPayload; // User data payload for drag and drop operations
struct ImGuiSizeCallbackData; // Callback data when using SetNextWindowSizeConstraints() (rare/advanced use)
struct ImGuiStorage; // Helper for key->value storage
struct ImGuiStyle; // Runtime data for styling/colors
struct ImGuiTextFilter; // Helper to parse and apply text filters (e.g. "aaaaa[,bbbb][,ccccc]")
struct ImGuiTextBuffer; // Helper to hold and append into a text buffer (~string builder)
// Typedefs and Enums/Flags (declared as int for compatibility with old C++, to allow using as flags and to not pollute the top of this file)
// Use your programming IDE "Go to definition" facility on the names of the center columns to find the actual flags/enum lists.
typedef unsigned int ImGuiID; // Unique ID used by widgets (typically hashed from a stack of string)
typedef unsigned short ImWchar; // Character for keyboard input/display
typedef int ImGuiCol; // enum: a color identifier for styling // enum ImGuiCol_
typedef int ImGuiDataType; // enum: a primary data type // enum ImGuiDataType_
typedef int ImGuiDir; // enum: a cardinal direction // enum ImGuiDir_
typedef int ImGuiCond; // enum: a condition for Set*() // enum ImGuiCond_
typedef int ImGuiKey; // enum: a key identifier (ImGui-side enum) // enum ImGuiKey_
typedef int ImGuiNavInput; // enum: an input identifier for navigation // enum ImGuiNavInput_
typedef int ImGuiMouseCursor; // enum: a mouse cursor identifier // enum ImGuiMouseCursor_
typedef int ImGuiStyleVar; // enum: a variable identifier for styling // enum ImGuiStyleVar_
typedef int ImDrawCornerFlags; // flags: for ImDrawList::AddRect*() etc. // enum ImDrawCornerFlags_
typedef int ImDrawListFlags; // flags: for ImDrawList // enum ImDrawListFlags_
typedef int ImFontAtlasFlags; // flags: for ImFontAtlas // enum ImFontAtlasFlags_
typedef int ImGuiBackendFlags; // flags: for io.BackendFlags // enum ImGuiBackendFlags_
typedef int ImGuiColorEditFlags; // flags: for ColorEdit*(), ColorPicker*() // enum ImGuiColorEditFlags_
typedef int ImGuiColumnsFlags; // flags: for *Columns*() // enum ImGuiColumnsFlags_
typedef int ImGuiConfigFlags; // flags: for io.ConfigFlags // enum ImGuiConfigFlags_
typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_
typedef int ImGuiDragDropFlags; // flags: for *DragDrop*() // enum ImGuiDragDropFlags_
typedef int ImGuiFocusedFlags; // flags: for IsWindowFocused() // enum ImGuiFocusedFlags_
typedef int ImGuiHoveredFlags; // flags: for IsItemHovered() etc. // enum ImGuiHoveredFlags_
typedef int ImGuiInputTextFlags; // flags: for InputText*() // enum ImGuiInputTextFlags_
typedef int ImGuiSelectableFlags; // flags: for Selectable() // enum ImGuiSelectableFlags_
typedef int ImGuiTreeNodeFlags; // flags: for TreeNode*(),CollapsingHeader()// enum ImGuiTreeNodeFlags_
typedef int ImGuiWindowFlags; // flags: for Begin*() // enum ImGuiWindowFlags_
typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data);
typedef int ImGuiCol; // -> enum ImGuiCol_ // Enum: A color identifier for styling
typedef int ImGuiCond; // -> enum ImGuiCond_ // Enum: A condition for Set*()
typedef int ImGuiDataType; // -> enum ImGuiDataType_ // Enum: A primary data type
typedef int ImGuiDir; // -> enum ImGuiDir_ // Enum: A cardinal direction
typedef int ImGuiKey; // -> enum ImGuiKey_ // Enum: A key identifier (ImGui-side enum)
typedef int ImGuiNavInput; // -> enum ImGuiNavInput_ // Enum: An input identifier for navigation
typedef int ImGuiMouseCursor; // -> enum ImGuiMouseCursor_ // Enum: A mouse cursor identifier
typedef int ImGuiStyleVar; // -> enum ImGuiStyleVar_ // Enum: A variable identifier for styling
typedef int ImDrawCornerFlags; // -> enum ImDrawCornerFlags_ // Flags: for ImDrawList::AddRect*() etc.
typedef int ImDrawListFlags; // -> enum ImDrawListFlags_ // Flags: for ImDrawList
typedef int ImFontAtlasFlags; // -> enum ImFontAtlasFlags_ // Flags: for ImFontAtlas
typedef int ImGuiBackendFlags; // -> enum ImGuiBackendFlags_ // Flags: for io.BackendFlags
typedef int ImGuiColorEditFlags; // -> enum ImGuiColorEditFlags_ // Flags: for ColorEdit*(), ColorPicker*()
typedef int ImGuiColumnsFlags; // -> enum ImGuiColumnsFlags_ // Flags: for Columns(), BeginColumns()
typedef int ImGuiConfigFlags; // -> enum ImGuiConfigFlags_ // Flags: for io.ConfigFlags
typedef int ImGuiComboFlags; // -> enum ImGuiComboFlags_ // Flags: for BeginCombo()
typedef int ImGuiDragDropFlags; // -> enum ImGuiDragDropFlags_ // Flags: for *DragDrop*()
typedef int ImGuiFocusedFlags; // -> enum ImGuiFocusedFlags_ // Flags: for IsWindowFocused()
typedef int ImGuiHoveredFlags; // -> enum ImGuiHoveredFlags_ // Flags: for IsItemHovered(), IsWindowHovered() etc.
typedef int ImGuiInputTextFlags; // -> enum ImGuiInputTextFlags_ // Flags: for InputText*()
typedef int ImGuiSelectableFlags; // -> enum ImGuiSelectableFlags_ // Flags: for Selectable()
typedef int ImGuiTreeNodeFlags; // -> enum ImGuiTreeNodeFlags_ // Flags: for TreeNode*(),CollapsingHeader()
typedef int ImGuiWindowFlags; // -> enum ImGuiWindowFlags_ // Flags: for Begin*()
typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData *data);
typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data);
// Scalar data types
typedef signed int ImS32; // 32-bit signed integer == int
@@ -154,7 +155,6 @@ enum ImGuiWindowFlags_
ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set.
ImGuiWindowFlags_NoCollapse = 1 << 5, // Disable user collapsing window by double-clicking on it
ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, // Resize every window to its content every frame
//ImGuiWindowFlags_ShowBorders = 1 << 7, // Show borders around windows and items (OBSOLETE! Use e.g. style.FrameBorderSize=1.0f to enable borders).
ImGuiWindowFlags_NoSavedSettings = 1 << 8, // Never load/save settings in .ini file
ImGuiWindowFlags_NoInputs = 1 << 9, // Disable catching mouse or keyboard inputs, hovering test with pass through.
ImGuiWindowFlags_MenuBar = 1 << 10, // Has a menu-bar
@@ -164,7 +164,6 @@ enum ImGuiWindowFlags_
ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14, // Always show vertical scrollbar (even if ContentSize.y < Size.y)
ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15, // Always show horizontal scrollbar (even if ContentSize.x < Size.x)
ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16, // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient)
ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // [BETA] Enable resize from any corners and borders. Your back-end needs to honor the different values of io.MouseCursor set by imgui.
ImGuiWindowFlags_NoNavInputs = 1 << 18, // No gamepad/keyboard navigation within the window
ImGuiWindowFlags_NoNavFocus = 1 << 19, // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB)
ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
@@ -175,6 +174,9 @@ enum ImGuiWindowFlags_
ImGuiWindowFlags_Popup = 1 << 26, // Don't use! For internal use by BeginPopup()
ImGuiWindowFlags_Modal = 1 << 27, // Don't use! For internal use by BeginPopupModal()
ImGuiWindowFlags_ChildMenu = 1 << 28 // Don't use! For internal use by BeginMenu()
// [Obsolete]
//ImGuiWindowFlags_ShowBorders = 1 << 7, // --> Set style.FrameBorderSize=1.0f / style.WindowBorderSize=1.0f to enable borders around windows and items
//ImGuiWindowFlags_ResizeFromAnySide = 1 << 17, // --> Set io.ConfigResizeWindowsFromEdges and make sure mouse cursors are supported by back-end (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors)
};
// Flags for ImGui::InputText()
enum ImGuiInputTextFlags_
@@ -189,7 +191,7 @@ enum ImGuiInputTextFlags_
ImGuiInputTextFlags_CallbackCompletion = 1 << 6, // Call user function on pressing TAB (for completion handling)
ImGuiInputTextFlags_CallbackHistory = 1 << 7, // Call user function on pressing Up/Down arrows (for history handling)
ImGuiInputTextFlags_CallbackAlways = 1 << 8, // Call user function every time. User code may query cursor position, modify text buffer.
ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character.
ImGuiInputTextFlags_CallbackCharFilter = 1 << 9, // Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 in callback to discard character.
ImGuiInputTextFlags_AllowTabInput = 1 << 10, // Pressing TAB input a '\t' character into the text field
ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11, // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter).
ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12, // Disable following the cursor horizontally
@@ -198,6 +200,7 @@ enum ImGuiInputTextFlags_
ImGuiInputTextFlags_Password = 1 << 15, // Password mode, display all characters as '*'
ImGuiInputTextFlags_NoUndoRedo = 1 << 16, // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID().
ImGuiInputTextFlags_CharsScientific = 1 << 17, // Allow 0123456789.+-*/eE (Scientific notation input)
ImGuiInputTextFlags_CallbackResize = 1 << 18, // Allow buffer capacity resize + notify when the string wants to be resized (for string types which hold a cache of their Size) (see misc/stl/imgui_stl.h for an example of using this)
// [Internal]
ImGuiInputTextFlags_Multiline = 1 << 20 // For internal use by InputTextMultiline()
};
@@ -228,7 +231,8 @@ enum ImGuiSelectableFlags_
ImGuiSelectableFlags_None = 0,
ImGuiSelectableFlags_DontClosePopups = 1 << 0, // Clicking this don't close parent popup window
ImGuiSelectableFlags_SpanAllColumns = 1 << 1, // Selectable frame can span all columns (text will still fit in current column)
ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 // Generate press events on double clicks too
ImGuiSelectableFlags_AllowDoubleClick = 1 << 2, // Generate press events on double clicks too
ImGuiSelectableFlags_Disabled = 1 << 3 // Cannot be selected, display greyed out text
};
// Flags for ImGui::BeginCombo()
enum ImGuiComboFlags_
@@ -253,7 +257,8 @@ enum ImGuiFocusedFlags_
ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows
};
// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
// Note: If you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ!
// Note: if you are trying to check whether your mouse should be dispatched to imgui or to your app, you should use the 'io.WantCaptureMouse' boolean for that. Please read the FAQ!
// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
enum ImGuiHoveredFlags_
{
ImGuiHoveredFlags_None = 0, // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them.
@@ -264,6 +269,7 @@ enum ImGuiHoveredFlags_
//ImGuiHoveredFlags_AllowWhenBlockedByModal = 1 << 4, // Return true even if a modal popup window is normally blocking access to this item/window. FIXME-TODO: Unavailable yet.
ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5, // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns.
ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6, // Return true even if the position is overlapped by another window
ImGuiHoveredFlags_AllowWhenDisabled = 1 << 7, // Return true even if the item is disabled
ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped,
ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows
};
@@ -273,10 +279,11 @@ enum ImGuiDragDropFlags_
ImGuiDragDropFlags_None = 0,
// BeginDragDropSource() flags
ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior.
ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return true, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item.
ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1, // By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item.
ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2, // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item.
ImGuiDragDropFlags_SourceAllowNullID = 1 << 3, // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit.
ImGuiDragDropFlags_SourceExtern = 1 << 4, // External source (from outside of imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously.
ImGuiDragDropFlags_SourceAutoExpirePayload = 1 << 5, // Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting while being dragged)
// AcceptDragDropPayload() flags
ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered.
ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, // Do not draw the default highlight rectangle when hovering over target.
@@ -425,10 +432,11 @@ enum ImGuiCol_
ImGuiCol_PlotHistogram,
ImGuiCol_PlotHistogramHovered,
ImGuiCol_TextSelectedBg,
ImGuiCol_ModalWindowDarkening, // Darken/colorize entire screen behind a modal window, when one is active
ImGuiCol_DragDropTarget,
ImGuiCol_NavHighlight, // Gamepad/keyboard: current highlighted item
ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows
ImGuiCol_NavWindowingHighlight, // Highlight window when using CTRL+TAB
ImGuiCol_NavWindowingDimBg, // Darken/colorize entire screen behind the CTRL+TAB window list, when active
ImGuiCol_ModalWindowDimBg, // Darken/colorize entire screen behind a modal window, when one is active
ImGuiCol_COUNT
// Obsolete names (will be removed)
};
@@ -500,11 +508,12 @@ enum ImGuiMouseCursor_
ImGuiMouseCursor_None = -1,
ImGuiMouseCursor_Arrow = 0,
ImGuiMouseCursor_TextInput, // When hovering over InputText, etc.
ImGuiMouseCursor_ResizeAll, // Unused by imgui functions
ImGuiMouseCursor_ResizeAll, // (Unused by imgui functions)
ImGuiMouseCursor_ResizeNS, // When hovering over an horizontal border
ImGuiMouseCursor_ResizeEW, // When hovering over a vertical border or a column
ImGuiMouseCursor_ResizeNESW, // When hovering over the bottom-left corner of a window
ImGuiMouseCursor_ResizeNWSE, // When hovering over the bottom-right corner of a window
ImGuiMouseCursor_Hand, // (Unused by imgui functions. Use for e.g. hyperlinks)
ImGuiMouseCursor_COUNT
// Obsolete names (will be removed)
};
@@ -553,7 +562,7 @@ struct ImGuiStyle
float CurveTessellationTol; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality.
ImVec4 Colors[ImGuiCol_COUNT];
};
// This is where your app communicate with ImGui. Access via ImGui::GetIO().
// This is where your app communicate with Dear ImGui. Access via ImGui::GetIO().
// Read 'Programmer guide' section in .cpp file for general usage.
struct ImGuiIO
{
@@ -581,9 +590,10 @@ struct ImGuiIO
ImVec2 DisplayFramebufferScale; // = (1.0f,1.0f) // For retina display or other situations where window coordinates are different from framebuffer coordinates. User storage only, presently not used by ImGui.
ImVec2 DisplayVisibleMin; // <unset> (0.0f,0.0f) // If you use DisplaySize as a virtual space larger than your screen, set DisplayVisibleMin/Max to the visible area.
ImVec2 DisplayVisibleMax; // <unset> (0.0f,0.0f) // If the values are the same, we defaults to Min=(0.0f) and Max=DisplaySize
// Advanced/subtle behaviors
bool OptMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl
bool OptCursorBlink; // = true // Enable blinking cursor, for users who consider it annoying.
// Miscellaneous configuration options
bool ConfigMacOSXBehaviors; // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl (was called io.OptMacOSXBehaviors prior to 1.63)
bool ConfigCursorBlink; // = true // Set to false to disable blinking cursor, for users who consider it distracting. (was called: io.OptCursorBlink prior to 1.63)
bool ConfigResizeWindowsFromEdges; // = false // [BETA] Enable resizing of windows from their edges and from the lower-left corner. This requires (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) because it needs mouse cursor feedback. (This used to be the ImGuiWindowFlags_ResizeFromAnySide flag)
//------------------------------------------------------------------
// Settings (User Functions)
//------------------------------------------------------------------
@@ -600,7 +610,7 @@ struct ImGuiIO
// Input - Fill before calling NewFrame()
//------------------------------------------------------------------
ImVec2 MousePos; // Mouse position, in pixels. Set to ImVec2(-FLT_MAX,-FLT_MAX) if mouse is unavailable (on another screen, etc.)
bool MouseDown[5]; // Mouse buttons: left, right, middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API.
bool MouseDown[5]; // Mouse buttons: 0=left, 1=right, 2=middle + extras. ImGui itself mostly only uses left button (BeginPopupContext** are using right button). Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API.
float MouseWheel; // Mouse wheel Vertical: 1 unit scrolls about 5 lines text.
float MouseWheelH; // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends.
bool MouseDrawCursor; // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor).
@@ -625,14 +635,16 @@ struct ImGuiIO
float Framerate; // Application framerate estimation, in frame per second. Solely for convenience. Rolling average estimation based on IO.DeltaTime over 120 frames
int MetricsRenderVertices; // Vertices output during last call to Render()
int MetricsRenderIndices; // Indices output during last call to Render() = number of triangles * 3
int MetricsActiveWindows; // Number of visible root windows (exclude child windows)
int MetricsRenderWindows; // Number of visible windows
int MetricsActiveWindows; // Number of active windows
int MetricsActiveAllocations; // Number of active allocations, updated by MemAlloc/MemFree based on current context. May be off if you have multiple imgui contexts.
ImVec2 MouseDelta; // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta.
//------------------------------------------------------------------
// [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed!
//------------------------------------------------------------------
ImVec2 MousePosPrev; // Previous mouse position temporary storage (nb: not for public use, set to MousePos in NewFrame())
ImVec2 MouseClickedPos[5]; // Position at time of clicking
float MouseClickedTime[5]; // Time of last click (used to figure out double-click)
double MouseClickedTime[5]; // Time of last click (used to figure out double-click)
bool MouseClicked[5]; // Mouse button went from !Down to Down
bool MouseDoubleClicked[5]; // Has mouse button been double-clicked?
bool MouseReleased[5]; // Mouse button went from Down to !Down
@@ -675,6 +687,7 @@ struct ImGuiOnceUponAFrame
// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]"
struct ImGuiTextFilter
{
// [Internal]
char InputBuf[256];
ImVector/*<TextRange>*/ Filters;
int CountGrep;
@@ -684,7 +697,7 @@ struct ImGuiTextBuffer
{
ImVector/*<char>*/ Buf;
};
// Helper: Simple Key->value storage
// Helper: key->value storage
// Typically you don't have to worry about this since a storage is held within each Window.
// We use it to e.g. store collapse state for a tree (Int 0/1)
// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame)
@@ -705,26 +718,30 @@ struct ImGuiStorage
// Use on your own storage if you know only integer are being stored (open/close all tree nodes)
// For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once.
};
// Shared state of InputText(), passed to callback when a ImGuiInputTextFlags_Callback* flag is used and the corresponding callback is triggered.
struct ImGuiTextEditCallbackData
// Shared state of InputText(), passed as an argument to your callback when a ImGuiInputTextFlags_Callback* flag is used.
// The callback function should return 0 by default.
// Special processing:
// - ImGuiInputTextFlags_CallbackCharFilter: return 1 if the character is not allowed. You may also set 'EventChar=0' as any character replacement are allowed.
// - ImGuiInputTextFlags_CallbackResize: notified by InputText() when the string is resized. BufTextLen is set to the new desired string length so you can update the string size on your side of the fence. You can also replace Buf pointer if your underlying data is reallocated. No need to initialize new characters or zero-terminator as InputText will do it right after the resize callback.
struct ImGuiInputTextCallbackData
{
ImGuiInputTextFlags EventFlag; // One of ImGuiInputTextFlags_Callback* // Read-only
ImGuiInputTextFlags EventFlag; // One ImGuiInputTextFlags_Callback* // Read-only
ImGuiInputTextFlags Flags; // What user passed to InputText() // Read-only
void* UserData; // What user passed to InputText() // Read-only
bool ReadOnly; // Read-only mode // Read-only
// CharFilter event:
ImWchar EventChar; // Character input // Read-write (replace character or set to zero)
// Completion,History,Always events:
// If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true.
ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only
char* Buf; // Current text buffer // Read-write (pointed data only, can't replace the actual pointer)
int BufTextLen; // Current text length in bytes // Read-write
int BufSize; // Maximum text length in bytes // Read-only
bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write
int CursorPos; // // Read-write
int SelectionStart; // // Read-write (== to SelectionEnd when no selection)
int SelectionEnd; // // Read-write
// NB: Helper functions for text manipulation. Calling those function loses selection.
// Arguments for the different callback events
// - To modify the text buffer in a callback, prefer using the InsertChars() / DeleteChars() function. InsertChars() will take care of calling the resize callback if necessary.
// - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state.
ImWchar EventChar; // Character input // Read-write // [CharFilter] Replace character or set to zero. return 1 is equivalent to setting EventChar=0;
ImGuiKey EventKey; // Key pressed (Up/Down/TAB) // Read-only // [Completion,History]
char* Buf; // Text buffer // Read-write // [Resize] Can replace pointer / [Completion,History,Always] Only write to pointed data, don't replace the actual pointer!
int BufTextLen; // Text length in bytes // Read-write // [Resize,Completion,History,Always] Exclude zero-terminator storage. In C land: == strlen(some_text), in C++ land: string.length()
int BufSize; // Buffer capacity in bytes // Read-only // [Resize,Completion,History,Always] Include zero-terminator storage. In C land == ARRAYSIZE(my_char_array), in C++ land: string.capacity()+1
bool BufDirty; // Set if you modify Buf/BufTextLen!! // Write // [Completion,History,Always]
int CursorPos; // // Read-write // [Completion,History,Always]
int SelectionStart; // // Read-write // [Completion,History,Always] == to SelectionEnd when no selection)
int SelectionEnd; // // Read-write // [Completion,History,Always]
// Helper functions for text manipulation.
// Use those function to benefit from the CallbackResize behaviors. Calling those function reset the selection.
};
// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin().
// NB: For basic min/max size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough.
@@ -904,23 +921,34 @@ struct ImFontGlyph
};
enum ImFontAtlasFlags_
{
ImFontAtlasFlags_None = 0,
ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0, // Don't round the height to next power of two
ImFontAtlasFlags_NoMouseCursors = 1 << 1 // Don't build software mouse cursors into the atlas
};
// Load and rasterize multiple TTF/OTF fonts into a same texture.
// Sharing a texture for multiple fonts allows us to reduce the number of draw calls during rendering.
// We also add custom graphic data into the texture that serves for ImGui.
// 1. (Optional) Call AddFont*** functions. If you don't call any, the default font will be loaded for you.
// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data.
// 3. Upload the pixels data into a texture within your graphics system.
// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture.
// IMPORTANT: If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the ImFont is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data.
// Load and rasterize multiple TTF/OTF fonts into a same texture. The font atlas will build a single texture holding:
// - One or more fonts.
// - Custom graphics data needed to render the shapes needed by Dear ImGui.
// - Mouse cursor shapes for software cursor rendering (unless setting 'Flags |= ImFontAtlasFlags_NoMouseCursors' in the font atlas).
// It is the user-code responsibility to setup/build the atlas, then upload the pixel data into a texture accessible by your graphics api.
// - Optionally, call any of the AddFont*** functions. If you don't call any, the default font embedded in the code will be loaded for you.
// - Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data.
// - Upload the pixels data into a texture within your graphics system (see imgui_impl_xxxx.cpp examples)
// - Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture in a format natural to your graphics API.
// This value will be passed back to you during rendering to identify the texture. Read FAQ entry about ImTextureID for more details.
// Common pitfalls:
// - If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the
// atlas is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data.
// - Important: By default, AddFontFromMemoryTTF() takes ownership of the data. Even though we are not writing to it, we will free the pointer on destruction.
// You can set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed,
// - Even though many functions are suffixed with "TTF", OTF data is supported just as well.
// - This is an old API and it is currently awkward for those and and various other reasons! We will address them in the future!
struct ImFontAtlas
{
// Build atlas, retrieve pixel data.
// User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID().
// RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75 of waste).
// Pitch = Width * BytesPerPixels
// The pitch is always = Width * BytesPerPixels (1 or 4)
// Building in RGBA32 format is provided for convenience and compatibility, but note that unless you manually manipulate or copy color data into
// the texture (e.g. when using the AddCustomRect*** api), then the RGB pixels emitted will always be white (~75 of memory/bandwidth waste.
//-------------------------------------------
// Glyph Ranges
//-------------------------------------------
@@ -937,6 +965,7 @@ struct ImFontAtlas
//-------------------------------------------
// Members
//-------------------------------------------
bool Locked; // Marked as Locked by ImGui::NewFrame() so attempt to modify the atlas will assert.
ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_)
ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure.
int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height.
@@ -998,6 +1027,7 @@ struct ImFont
{
const char* b;
const char* e;
const char* end () const { return e; }
};
struct Pair
{
@@ -1044,7 +1074,7 @@ CIMGUI_API void igShowStyleEditor(ImGuiStyle* ref); // add style editor block
CIMGUI_API bool igShowStyleSelector(const char* label); // add style selector block (not a window), essentially a combo listing the default styles.
CIMGUI_API void igShowFontSelector(const char* label); // add font selector block (not a window), essentially a combo listing the loaded fonts.
CIMGUI_API void igShowUserGuide(); // add basic help/info block (not a window): how to manipulate ImGui as a end-user (mouse/keyboard controls).
CIMGUI_API const char* igGetVersion(); // get a version string e.g. "1.23"
CIMGUI_API const char* igGetVersion(); // get the compiled version string e.g. "1.23"
// Styles
CIMGUI_API void igStyleColorsDark(ImGuiStyle* dst); // new, recommended style (default)
CIMGUI_API void igStyleColorsClassic(ImGuiStyle* dst); // classic imgui style
@@ -1189,16 +1219,12 @@ CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVe
CIMGUI_API bool igImageButton(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,int frame_padding,const ImVec4 bg_col,const ImVec4 tint_col); // <0 frame_padding uses default frame padding settings. 0 for no padding
CIMGUI_API bool igCheckbox(const char* label,bool* v);
CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value);
CIMGUI_API bool igRadioButtonBool(const char* label,bool active);
CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button);
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
CIMGUI_API bool igRadioButtonBool(const char* label,bool active); // use with e.g. if (RadioButton("one", my_value==1)) { my_value = 1; }
CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button); // shortcut to handle the above pattern when value is an integer
CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay);
CIMGUI_API void igBullet(); // draw a small circle and keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses
// Widgets: Combo Box
// The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it.
// The new BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items.
// The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose.
CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags);
CIMGUI_API void igEndCombo(); // only call EndCombo() if BeginCombo() returns true!
@@ -1221,20 +1247,6 @@ CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,in
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);
// Widgets: Input with Keyboard
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data);
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data);
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
// Widgets: Sliders (tip: ctrl+click on a slider to input with keyboard. manually input values aren't clamped, can go off-bounds)
// Adjust format string to decorate the value with a prefix, a suffix, or adapt the editing and display precision e.g. "%.3f" -> 1.234; "%5.2f secs" -> 01.23 secs; "Biscuit: %.0f" -> Biscuit: 1; etc.
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power); // adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. Use power!=1.0 for power curve sliders
@@ -1251,6 +1263,21 @@ CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void*
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);
// Widgets: Input with Keyboard
// If you want to use InputText() with a dynamic string type such as std::string or your own, see misc/stl/imgui_stl.h
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 igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
// Widgets: Color Editor/Picker (tip: the ColorEdit* functions have a little colored preview square that can be left-clicked to open a picker, and right-clicked to open an option menu.)
// Note that a 'float v[X]' function argument is the same as 'float* v', the array syntax is just a way to document the number of elements that are expected to be accessible. You can the pass the address of a first float element out of a contiguous structure, e.g. &myvector.x
CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags);
@@ -1279,25 +1306,26 @@ CIMGUI_API float igGetTreeNodeToLabelSpacing();
CIMGUI_API void igSetNextTreeNodeOpen(bool is_open,ImGuiCond cond); // set next TreeNode/CollapsingHeader open state.
CIMGUI_API bool igCollapsingHeader(const char* label,ImGuiTreeNodeFlags flags); // if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
CIMGUI_API bool igCollapsingHeaderBoolPtr(const char* label,bool* p_open,ImGuiTreeNodeFlags flags); // when 'p_open' isn't NULL, display an additional small close button on upper right of the header
// Widgets: Selectable / Lists
// Widgets: Selectables
CIMGUI_API bool igSelectable(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
CIMGUI_API bool igSelectableBoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2 size); // "bool* p_selected" point to the selection state (read-write), as a convenient helper.
// Widgets: List Boxes
CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items);
CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items);
CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size); // use if you want to reimplement ListBox() will custom data or interactions. if the function return true, you can output elements then call ListBoxFooter() afterwards.
CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items); // "
CIMGUI_API void igListBoxFooter(); // terminate the scrolling region. only call ListBoxFooter() if ListBoxHeader() returned true!
// Widgets: Data Plotting
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
// Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare more in your code to handle your types. you can add functions to the ImGui namespace)
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);
// Tooltips
CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items).
CIMGUI_API void igEndTooltip();
CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip().
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args);
// Menus
// Widgets: Menus
CIMGUI_API bool igBeginMainMenuBar(); // create and append to a full screen menu-bar.
CIMGUI_API void igEndMainMenuBar(); // only call EndMainMenuBar() if BeginMainMenuBar() returns true!
CIMGUI_API bool igBeginMenuBar(); // append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window).
@@ -1306,6 +1334,11 @@ CIMGUI_API bool igBeginMenu(const char* label,bool enabled); //
CIMGUI_API void igEndMenu(); // only call EndMenu() if BeginMenu() returns true!
CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled); // return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment
CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled); // return true when activated + toggle (*p_selected) if p_selected != NULL
// Tooltips
CIMGUI_API void igBeginTooltip(); // begin/append a tooltip window. to create full-featured tooltip (with any kind of items).
CIMGUI_API void igEndTooltip();
CIMGUI_API void igSetTooltip(const char* fmt,...); // set a text-only tooltip, typically use with ImGui::IsItemHovered(). overidde any previous call to SetTooltip().
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args);
// Popups
CIMGUI_API void igOpenPopup(const char* str_id); // call to mark popup as open (don't call every frame!). popups are closed when user click outside, or if CloseCurrentPopup() is called within a BeginPopup()/EndPopup() block. By default, Selectable()/MenuItem() are calling CloseCurrentPopup(). Popup identifiers are relative to the current ID-stack (so OpenPopup and BeginPopup needs to be at the same level).
CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); // return true if the popup is open, and you can start outputting to it. only call EndPopup() if BeginPopup() returns true!
@@ -1349,13 +1382,15 @@ CIMGUI_API void igPopClipRect();
CIMGUI_API void igSetItemDefaultFocus(); // make last item the default focused item of a window. Please use instead of "if (IsWindowAppearing()) SetScrollHere()" to signify "default item".
CIMGUI_API void igSetKeyboardFocusHere(int offset); // focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget.
// Utilities
// See Demo Window under "Widgets->Querying Status" for an interactive visualization of many of those functions.
CIMGUI_API bool igIsItemHovered(ImGuiHoveredFlags flags); // is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options.
CIMGUI_API bool igIsItemActive(); // is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false)
CIMGUI_API bool igIsItemFocused(); // is the last item focused for keyboard/gamepad navigation?
CIMGUI_API bool igIsItemClicked(int mouse_button); // is the last item clicked? (e.g. button/node just clicked on) == IsMouseClicked(mouse_button) && IsItemHovered()
CIMGUI_API bool igIsItemVisible(); // is the last item visible? (items may be out of sight because of clipping/scrolling)
CIMGUI_API bool igIsItemEdited(); // did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets.
CIMGUI_API bool igIsItemDeactivated(); // was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that requires continuous editing.
CIMGUI_API bool igIsItemDeactivatedAfterChange(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item).
CIMGUI_API bool igIsItemDeactivatedAfterEdit(); // was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that requires continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item).
CIMGUI_API bool igIsAnyItemHovered();
CIMGUI_API bool igIsAnyItemActive();
CIMGUI_API bool igIsAnyItemFocused();
@@ -1365,7 +1400,7 @@ CIMGUI_API ImVec2 igGetItemRectSize();
CIMGUI_API void igSetItemAllowOverlap(); // allow last item to be overlapped by a subsequent item. sometimes useful with invisible buttons, selectables, etc. to catch unused area.
CIMGUI_API bool igIsRectVisible(const ImVec2 size); // test if rectangle (of given size, starting from cursor position) is visible / not clipped.
CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max); // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side.
CIMGUI_API float igGetTime();
CIMGUI_API double igGetTime();
CIMGUI_API int igGetFrameCount();
CIMGUI_API ImDrawList* igGetOverlayDrawList(); // this draw list will be the last rendered one, useful to quickly draw overlays shapes/text
CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData(); // you may use this when creating your own ImDrawList instances
@@ -1386,13 +1421,13 @@ CIMGUI_API bool igIsKeyDown(int user_key_index);
CIMGUI_API bool igIsKeyPressed(int user_key_index,bool repeat); // was key pressed (went from !Down to Down). if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate
CIMGUI_API bool igIsKeyReleased(int user_key_index); // was key released (went from Down to !Down)..
CIMGUI_API int igGetKeyPressedAmount(int key_index,float repeat_delay,float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate
CIMGUI_API bool igIsMouseDown(int button); // is mouse button held
CIMGUI_API bool igIsMouseDown(int button); // is mouse button held (0=left, 1=right, 2=middle)
CIMGUI_API bool igIsAnyMouseDown(); // is any mouse button held
CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down)
CIMGUI_API bool igIsMouseClicked(int button,bool repeat); // did mouse button clicked (went from !Down to Down) (0=left, 1=right, 2=middle)
CIMGUI_API bool igIsMouseDoubleClicked(int button); // did mouse button double-clicked. a double-click returns false in IsMouseClicked(). uses io.MouseDoubleClickTime.
CIMGUI_API bool igIsMouseReleased(int button); // did mouse button released (went from Down to !Down)
CIMGUI_API bool igIsMouseDragging(int button,float lock_threshold); // is mouse dragging. if lock_threshold < -1.0f uses io.MouseDraggingThreshold
CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings. disregarding of consideration of focus/window ordering/blocked by a popup.
CIMGUI_API bool igIsMouseHoveringRect(const ImVec2 r_min,const ImVec2 r_max,bool clip); // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block.
CIMGUI_API bool igIsMousePosValid(const ImVec2* mouse_pos); //
CIMGUI_API ImVec2 igGetMousePos(); // shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls
CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup(); // retrieve backup of mouse position at the time of opening popup we have BeginPopup() into
@@ -1422,7 +1457,7 @@ CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor);
//------------------------------------------------------------------
// Settings (fill once) // Default value:
//------------------------------------------------------------------
// Advanced/subtle behaviors
// Miscellaneous configuration options
//------------------------------------------------------------------
// Settings (User Functions)
//------------------------------------------------------------------
@@ -1444,18 +1479,16 @@ CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self); // Clear the text
// [Internal] ImGui will maintain those fields. Forward compatibility not guaranteed!
//------------------------------------------------------------------
// NB: It is forbidden to call push_back/push_front/insert with a reference pointing inside the ImVector data itself! e.g. v.push_back(v[10]) is forbidden.
CIMGUI_API const char* TextRange_begin(TextRange* self);
CIMGUI_API const char* TextRange_end(TextRange* self);
CIMGUI_API bool TextRange_empty(TextRange* self);
CIMGUI_API char TextRange_front(TextRange* self);
CIMGUI_API bool TextRange_is_blank(TextRange* self,char c);
CIMGUI_API void TextRange_trim_blanks(TextRange* self);
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out);
CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width); // Helper calling InputText+Build
CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end);
CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self);
CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self);
CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self);
// [Internal]
CIMGUI_API const char* TextRange_begin(TextRange* self);
CIMGUI_API const char* TextRange_end(TextRange* self);
CIMGUI_API bool TextRange_empty(TextRange* self);
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out);
CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self);
CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self); // Buf is zero-terminated, so end() will point on the zero-terminator
CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self);
@@ -1488,13 +1521,14 @@ CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void
CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val);
// For quicker full rebuild of a storage (instead of an incremental one), you may add all your contents and then sort once.
CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self);
// CharFilter event:
// Completion,History,Always events:
// If you modify the buffer contents make sure you update 'BufTextLen' and set 'BufDirty' to true.
// NB: Helper functions for text manipulation. Calling those function loses selection.
CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count);
CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end);
CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self);
// Arguments for the different callback events
// - To modify the text buffer in a callback, prefer using the InsertChars() / DeleteChars() function. InsertChars() will take care of calling the resize callback if necessary.
// - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state.
// Helper functions for text manipulation.
// Use those function to benefit from the CallbackResize behaviors. Calling those function reset the selection.
CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count);
CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end);
CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self);
// Members
// [Internal]
CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self);
@@ -1580,7 +1614,7 @@ CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc); /
CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg);
CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after Build(). Set font_cfg->FontDataOwnedByAtlas to false to keep ownership.
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); // 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); // Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts.
@@ -1589,8 +1623,9 @@ CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self); // Clea
CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); // Clear all input and output.
// Build atlas, retrieve pixel data.
// User is in charge of copying the pixels into graphics memory (e.g. create a texture with your engine). Then store your texture handle with SetTexID().
// RGBA32 format is provided for convenience and compatibility, but note that unless you use CustomRect to draw color data, the RGB pixels emitted from Fonts will all be white (~75% of waste).
// Pitch = Width * BytesPerPixels
// The pitch is always = Width * BytesPerPixels (1 or 4)
// Building in RGBA32 format is provided for convenience and compatibility, but note that unless you manually manipulate or copy color data into
// the texture (e.g. when using the AddCustomRect*** api), then the RGB pixels emitted will always be white (~75% of memory/bandwidth waste.
CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self); // Build pixels data. This is called automatically for you by the GetTexData*** functions.
CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self);
CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel); // 1 byte per-pixel

View File

@@ -594,22 +594,6 @@ CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button)
{
return ImGui::RadioButton(label,v,v_button);
}
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay)
{
return ImGui::ProgressBar(fraction,size_arg,overlay);
@@ -686,58 +670,6 @@ CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* v,
{
return ImGui::DragScalarN(label,data_type,v,components,v_speed,v_min,v_max,format,power);
}
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)
{
return ImGui::InputText(label,buf,buf_size,flags,callback,user_data);
}
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data)
{
return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data);
}
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat2(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat3(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat4(label,v,format,extra_flags);
}
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt(label,v,step,step_fast,extra_flags);
}
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt2(label,v,extra_flags);
}
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt3(label,v,extra_flags);
}
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt4(label,v,extra_flags);
}
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power)
{
return ImGui::SliderFloat(label,v,v_min,v_max,format,power);
@@ -794,6 +726,58 @@ CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataTyp
{
return ImGui::VSliderScalar(label,size,data_type,v,v_min,v_max,format,power);
}
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
{
return ImGui::InputText(label,buf,buf_size,flags,callback,user_data);
}
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
{
return ImGui::InputTextMultiline(label,buf,buf_size,size,flags,callback,user_data);
}
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat2(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat3(label,v,format,extra_flags);
}
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputFloat4(label,v,format,extra_flags);
}
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt(label,v,step,step_fast,extra_flags);
}
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt2(label,v,extra_flags);
}
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt3(label,v,extra_flags);
}
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags)
{
return ImGui::InputInt4(label,v,extra_flags);
}
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputDouble(label,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalar(label,data_type,v,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags)
{
return ImGui::InputScalarN(label,data_type,v,components,step,step_fast,format,extra_flags);
}
CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags)
{
return ImGui::ColorEdit3(label,col,flags);
@@ -934,6 +918,22 @@ CIMGUI_API void igListBoxFooter()
{
return ImGui::ListBoxFooter();
}
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride)
{
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
CIMGUI_API void igValueBool(const char* prefix,bool b)
{
return ImGui::Value(prefix,b);
@@ -950,25 +950,6 @@ CIMGUI_API void igValueFloat(const char* prefix,float v,const char* float_format
{
return ImGui::Value(prefix,v,float_format);
}
CIMGUI_API void igBeginTooltip()
{
return ImGui::BeginTooltip();
}
CIMGUI_API void igEndTooltip()
{
return ImGui::EndTooltip();
}
CIMGUI_API void igSetTooltip(const char* fmt,...)
{
va_list args;
va_start(args, fmt);
ImGui::SetTooltipV(fmt,args);
va_end(args);
}
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
{
return ImGui::SetTooltipV(fmt,args);
}
CIMGUI_API bool igBeginMainMenuBar()
{
return ImGui::BeginMainMenuBar();
@@ -1001,6 +982,25 @@ CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p
{
return ImGui::MenuItem(label,shortcut,p_selected,enabled);
}
CIMGUI_API void igBeginTooltip()
{
return ImGui::BeginTooltip();
}
CIMGUI_API void igEndTooltip()
{
return ImGui::EndTooltip();
}
CIMGUI_API void igSetTooltip(const char* fmt,...)
{
va_list args;
va_start(args, fmt);
ImGui::SetTooltipV(fmt,args);
va_end(args);
}
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
{
return ImGui::SetTooltipV(fmt,args);
}
CIMGUI_API void igOpenPopup(const char* str_id)
{
return ImGui::OpenPopup(str_id);
@@ -1153,13 +1153,17 @@ CIMGUI_API bool igIsItemVisible()
{
return ImGui::IsItemVisible();
}
CIMGUI_API bool igIsItemEdited()
{
return ImGui::IsItemEdited();
}
CIMGUI_API bool igIsItemDeactivated()
{
return ImGui::IsItemDeactivated();
}
CIMGUI_API bool igIsItemDeactivatedAfterChange()
CIMGUI_API bool igIsItemDeactivatedAfterEdit()
{
return ImGui::IsItemDeactivatedAfterChange();
return ImGui::IsItemDeactivatedAfterEdit();
}
CIMGUI_API bool igIsAnyItemHovered()
{
@@ -1197,7 +1201,7 @@ CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max)
{
return ImGui::IsRectVisible(rect_min,rect_max);
}
CIMGUI_API float igGetTime()
CIMGUI_API double igGetTime()
{
return ImGui::GetTime();
}
@@ -1393,34 +1397,6 @@ CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self)
{
return self->ClearInputCharacters();
}
CIMGUI_API const char* TextRange_begin(TextRange* self)
{
return self->begin();
}
CIMGUI_API const char* TextRange_end(TextRange* self)
{
return self->end();
}
CIMGUI_API bool TextRange_empty(TextRange* self)
{
return self->empty();
}
CIMGUI_API char TextRange_front(TextRange* self)
{
return self->front();
}
CIMGUI_API bool TextRange_is_blank(TextRange* self,char c)
{
return self->is_blank(c);
}
CIMGUI_API void TextRange_trim_blanks(TextRange* self)
{
return self->trim_blanks();
}
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out)
{
return self->split(separator,out);
}
CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width)
{
return self->Draw(label,width);
@@ -1441,6 +1417,22 @@ CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self)
{
return self->IsActive();
}
CIMGUI_API const char* TextRange_begin(TextRange* self)
{
return self->begin();
}
CIMGUI_API const char* TextRange_end(TextRange* self)
{
return self->end();
}
CIMGUI_API bool TextRange_empty(TextRange* self)
{
return self->empty();
}
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out)
{
return self->split(separator,out);
}
CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self)
{
return self->begin();
@@ -1533,15 +1525,15 @@ CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self)
{
return self->BuildSortByKey();
}
CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count)
CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count)
{
return self->DeleteChars(pos,bytes_count);
}
CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end)
CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end)
{
return self->InsertChars(pos,text,text_end);
}
CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self)
CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self)
{
return self->HasSelection();
}

View File

@@ -44,17 +44,17 @@ typedef struct Pair Pair;
typedef struct TextRange TextRange;
typedef struct ImVec4 ImVec4;
typedef struct ImVec2 ImVec2;
typedef struct ImGuiContext ImGuiContext;
typedef struct ImGuiPayload ImGuiPayload;
typedef struct ImGuiListClipper ImGuiListClipper;
typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData;
typedef struct ImGuiTextEditCallbackData ImGuiTextEditCallbackData;
typedef struct ImGuiTextBuffer ImGuiTextBuffer;
typedef struct ImGuiTextFilter ImGuiTextFilter;
typedef struct ImGuiStyle ImGuiStyle;
typedef struct ImGuiStorage ImGuiStorage;
typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData;
typedef struct ImGuiPayload ImGuiPayload;
typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame;
typedef struct ImGuiListClipper ImGuiListClipper;
typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData;
typedef struct ImGuiIO ImGuiIO;
typedef struct ImGuiContext ImGuiContext;
typedef struct ImColor ImColor;
typedef struct ImFontConfig ImFontConfig;
typedef struct ImFontAtlas ImFontAtlas;
@@ -75,24 +75,24 @@ struct ImFont;
struct ImFontAtlas;
struct ImFontConfig;
struct ImColor;
typedef void* ImTextureID;
struct ImGuiContext;
struct ImGuiIO;
struct ImGuiInputTextCallbackData;
struct ImGuiListClipper;
struct ImGuiOnceUponAFrame;
struct ImGuiPayload;
struct ImGuiSizeCallbackData;
struct ImGuiStorage;
struct ImGuiStyle;
struct ImGuiTextFilter;
struct ImGuiTextBuffer;
struct ImGuiTextEditCallbackData;
struct ImGuiSizeCallbackData;
struct ImGuiListClipper;
struct ImGuiPayload;
struct ImGuiContext;
typedef void* ImTextureID;
typedef unsigned int ImGuiID;
typedef unsigned short ImWchar;
typedef int ImGuiCol;
typedef int ImGuiCond;
typedef int ImGuiDataType;
typedef int ImGuiDir;
typedef int ImGuiCond;
typedef int ImGuiKey;
typedef int ImGuiNavInput;
typedef int ImGuiMouseCursor;
@@ -112,12 +112,12 @@ typedef int ImGuiInputTextFlags;
typedef int ImGuiSelectableFlags;
typedef int ImGuiTreeNodeFlags;
typedef int ImGuiWindowFlags;
typedef int (*ImGuiTextEditCallback)(ImGuiTextEditCallbackData *data);
typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData *data);
typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data);
typedef signed int ImS32;
typedef unsigned int ImU32;
typedef signed long long ImS64;
typedef unsigned long long ImU64;
typedef int64_t ImS64;
typedef uint64_t ImU64;
struct ImVec2
{
float x, y;
@@ -145,7 +145,6 @@ enum ImGuiWindowFlags_
ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14,
ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15,
ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16,
ImGuiWindowFlags_ResizeFromAnySide = 1 << 17,
ImGuiWindowFlags_NoNavInputs = 1 << 18,
ImGuiWindowFlags_NoNavFocus = 1 << 19,
ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
@@ -177,6 +176,7 @@ enum ImGuiInputTextFlags_
ImGuiInputTextFlags_Password = 1 << 15,
ImGuiInputTextFlags_NoUndoRedo = 1 << 16,
ImGuiInputTextFlags_CharsScientific = 1 << 17,
ImGuiInputTextFlags_CallbackResize = 1 << 18,
ImGuiInputTextFlags_Multiline = 1 << 20
};
enum ImGuiTreeNodeFlags_
@@ -201,7 +201,8 @@ enum ImGuiSelectableFlags_
ImGuiSelectableFlags_None = 0,
ImGuiSelectableFlags_DontClosePopups = 1 << 0,
ImGuiSelectableFlags_SpanAllColumns = 1 << 1,
ImGuiSelectableFlags_AllowDoubleClick = 1 << 2
ImGuiSelectableFlags_AllowDoubleClick = 1 << 2,
ImGuiSelectableFlags_Disabled = 1 << 3
};
enum ImGuiComboFlags_
{
@@ -232,6 +233,7 @@ enum ImGuiHoveredFlags_
ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3,
ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5,
ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6,
ImGuiHoveredFlags_AllowWhenDisabled = 1 << 7,
ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped,
ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows
};
@@ -243,6 +245,7 @@ enum ImGuiDragDropFlags_
ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2,
ImGuiDragDropFlags_SourceAllowNullID = 1 << 3,
ImGuiDragDropFlags_SourceExtern = 1 << 4,
ImGuiDragDropFlags_SourceAutoExpirePayload = 1 << 5,
ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10,
ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11,
ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12,
@@ -375,10 +378,11 @@ enum ImGuiCol_
ImGuiCol_PlotHistogram,
ImGuiCol_PlotHistogramHovered,
ImGuiCol_TextSelectedBg,
ImGuiCol_ModalWindowDarkening,
ImGuiCol_DragDropTarget,
ImGuiCol_NavHighlight,
ImGuiCol_NavWindowingHighlight,
ImGuiCol_NavWindowingDimBg,
ImGuiCol_ModalWindowDimBg,
ImGuiCol_COUNT
};
enum ImGuiStyleVar_
@@ -444,6 +448,7 @@ enum ImGuiMouseCursor_
ImGuiMouseCursor_ResizeEW,
ImGuiMouseCursor_ResizeNESW,
ImGuiMouseCursor_ResizeNWSE,
ImGuiMouseCursor_Hand,
ImGuiMouseCursor_COUNT
};
enum ImGuiCond_
@@ -509,14 +514,15 @@ struct ImGuiIO
ImVec2 DisplayFramebufferScale;
ImVec2 DisplayVisibleMin;
ImVec2 DisplayVisibleMax;
bool OptMacOSXBehaviors;
bool OptCursorBlink;
bool ConfigMacOSXBehaviors;
bool ConfigCursorBlink;
bool ConfigResizeWindowsFromEdges;
const char* (*GetClipboardTextFn)(void* user_data);
void (*SetClipboardTextFn)(void* user_data, const char* text);
void* ClipboardUserData;
void (*ImeSetInputScreenPosFn)(int x, int y);
void* ImeWindowHandle;
void* RenderDrawListsFnDummy;
void* RenderDrawListsFnUnused;
ImVec2 MousePos;
bool MouseDown[5];
float MouseWheel;
@@ -539,11 +545,13 @@ struct ImGuiIO
float Framerate;
int MetricsRenderVertices;
int MetricsRenderIndices;
int MetricsRenderWindows;
int MetricsActiveWindows;
int MetricsActiveAllocations;
ImVec2 MouseDelta;
ImVec2 MousePosPrev;
ImVec2 MouseClickedPos[5];
float MouseClickedTime[5];
double MouseClickedTime[5];
bool MouseClicked[5];
bool MouseDoubleClicked[5];
bool MouseReleased[5];
@@ -583,12 +591,11 @@ struct ImGuiStorage
{
ImVector/*<Pair>*/ Data;
};
struct ImGuiTextEditCallbackData
struct ImGuiInputTextCallbackData
{
ImGuiInputTextFlags EventFlag;
ImGuiInputTextFlags Flags;
void* UserData;
bool ReadOnly;
ImWchar EventChar;
ImGuiKey EventKey;
char* Buf;
@@ -723,11 +730,13 @@ struct ImFontGlyph
};
enum ImFontAtlasFlags_
{
ImFontAtlasFlags_None = 0,
ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0,
ImFontAtlasFlags_NoMouseCursors = 1 << 1
};
struct ImFontAtlas
{
bool Locked;
ImFontAtlasFlags Flags;
ImTextureID TexID;
int TexDesiredWidth;
@@ -778,6 +787,7 @@ struct ImFont
{
const char* b;
const char* e;
const char* end () const { return e; }
};
struct Pair
{
@@ -945,10 +955,6 @@ CIMGUI_API bool igCheckbox(const char* label,bool* v);
CIMGUI_API bool igCheckboxFlags(const char* label,unsigned int* flags,unsigned int flags_value);
CIMGUI_API bool igRadioButtonBool(const char* label,bool active);
CIMGUI_API bool igRadioButtonIntPtr(const char* label,int* v,int v_button);
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* overlay);
CIMGUI_API void igBullet();
CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags);
@@ -968,19 +974,6 @@ CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,in
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 igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data);
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiTextEditCallback callback,void* user_data);
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
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);
@@ -995,6 +988,19 @@ CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void*
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 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 igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
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);
@@ -1026,14 +1032,14 @@ CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_g
CIMGUI_API bool igListBoxHeaderVec2(const char* label,const ImVec2 size);
CIMGUI_API bool igListBoxHeaderInt(const char* label,int items_count,int height_in_items);
CIMGUI_API void igListBoxFooter();
CIMGUI_API void igPlotLines(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size,int stride);
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size);
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 void igBeginTooltip();
CIMGUI_API void igEndTooltip();
CIMGUI_API void igSetTooltip(const char* fmt,...);
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args);
CIMGUI_API bool igBeginMainMenuBar();
CIMGUI_API void igEndMainMenuBar();
CIMGUI_API bool igBeginMenuBar();
@@ -1042,6 +1048,10 @@ CIMGUI_API bool igBeginMenu(const char* label,bool enabled);
CIMGUI_API void igEndMenu();
CIMGUI_API bool igMenuItemBool(const char* label,const char* shortcut,bool selected,bool enabled);
CIMGUI_API bool igMenuItemBoolPtr(const char* label,const char* shortcut,bool* p_selected,bool enabled);
CIMGUI_API void igBeginTooltip();
CIMGUI_API void igEndTooltip();
CIMGUI_API void igSetTooltip(const char* fmt,...);
CIMGUI_API void igSetTooltipV(const char* fmt,va_list args);
CIMGUI_API void igOpenPopup(const char* str_id);
CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags);
CIMGUI_API bool igBeginPopupContextItem(const char* str_id,int mouse_button);
@@ -1080,8 +1090,9 @@ CIMGUI_API bool igIsItemActive();
CIMGUI_API bool igIsItemFocused();
CIMGUI_API bool igIsItemClicked(int mouse_button);
CIMGUI_API bool igIsItemVisible();
CIMGUI_API bool igIsItemEdited();
CIMGUI_API bool igIsItemDeactivated();
CIMGUI_API bool igIsItemDeactivatedAfterChange();
CIMGUI_API bool igIsItemDeactivatedAfterEdit();
CIMGUI_API bool igIsAnyItemHovered();
CIMGUI_API bool igIsAnyItemActive();
CIMGUI_API bool igIsAnyItemFocused();
@@ -1091,7 +1102,7 @@ CIMGUI_API ImVec2 igGetItemRectSize();
CIMGUI_API void igSetItemAllowOverlap();
CIMGUI_API bool igIsRectVisible(const ImVec2 size);
CIMGUI_API bool igIsRectVisibleVec2(const ImVec2 rect_min,const ImVec2 rect_max);
CIMGUI_API float igGetTime();
CIMGUI_API double igGetTime();
CIMGUI_API int igGetFrameCount();
CIMGUI_API ImDrawList* igGetOverlayDrawList();
CIMGUI_API ImDrawListSharedData* igGetDrawListSharedData();
@@ -1140,18 +1151,15 @@ CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor);
CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c);
CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars);
CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self);
CIMGUI_API const char* TextRange_begin(TextRange* self);
CIMGUI_API const char* TextRange_end(TextRange* self);
CIMGUI_API bool TextRange_empty(TextRange* self);
CIMGUI_API char TextRange_front(TextRange* self);
CIMGUI_API bool TextRange_is_blank(TextRange* self,char c);
CIMGUI_API void TextRange_trim_blanks(TextRange* self);
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange out);
CIMGUI_API bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width);
CIMGUI_API bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end);
CIMGUI_API void ImGuiTextFilter_Build(ImGuiTextFilter* self);
CIMGUI_API void ImGuiTextFilter_Clear(ImGuiTextFilter* self);
CIMGUI_API bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self);
CIMGUI_API const char* TextRange_begin(TextRange* self);
CIMGUI_API const char* TextRange_end(TextRange* self);
CIMGUI_API bool TextRange_empty(TextRange* self);
CIMGUI_API void TextRange_split(TextRange* self,char separator,ImVector_TextRange* out);
CIMGUI_API const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self);
CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self);
CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self);
@@ -1175,9 +1183,9 @@ CIMGUI_API float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float
CIMGUI_API void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val);
CIMGUI_API void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val);
CIMGUI_API void ImGuiStorage_BuildSortByKey(ImGuiStorage* self);
CIMGUI_API void ImGuiTextEditCallbackData_DeleteChars(ImGuiTextEditCallbackData* self,int pos,int bytes_count);
CIMGUI_API void ImGuiTextEditCallbackData_InsertChars(ImGuiTextEditCallbackData* self,int pos,const char* text,const char* text_end);
CIMGUI_API bool ImGuiTextEditCallbackData_HasSelection(ImGuiTextEditCallbackData* self);
CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count);
CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end);
CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self);
CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self);
CIMGUI_API bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type);
CIMGUI_API bool ImGuiPayload_IsPreview(ImGuiPayload* self);

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -147,7 +147,7 @@ defs["ImGui_ImplOpenGL3_Init"][1]["args"] = "(const char* glsl_version)"
defs["ImGui_ImplOpenGL3_Init"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL3_Init"][1]["comment"] = ""
defs["ImGui_ImplOpenGL3_Init"][1]["call_args"] = "(glsl_version)"
defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=\"#version 150\")"
defs["ImGui_ImplOpenGL3_Init"][1]["argsoriginal"] = "(const char* glsl_version=NULL)"
defs["ImGui_ImplOpenGL3_Init"][1]["stname"] = ""
defs["ImGui_ImplOpenGL3_Init"][1]["argsT"] = {}
defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1] = {}
@@ -155,6 +155,7 @@ defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["type"] = "const char*"
defs["ImGui_ImplOpenGL3_Init"][1]["argsT"][1]["name"] = "glsl_version"
defs["ImGui_ImplOpenGL3_Init"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_Init"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_Init"][1]["defaults"]["glsl_version"] = "NULL"
defs["ImGui_ImplOpenGL3_Init"][1]["signature"] = "(const char*)"
defs["ImGui_ImplOpenGL3_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Init"
defs["ImGui_ImplOpenGL3_Init"]["(const char*)"] = defs["ImGui_ImplOpenGL3_Init"][1]

View File

@@ -38,16 +38,22 @@ igPlotHistogram 2
igTreeNodeExV 2
1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list)
2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list)
igMenuItem 2
1 bool igMenuItemBool (const char*,const char*,bool,bool)
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
igGetID 3
1 ImGuiID igGetIDStr (const char*)
2 ImGuiID igGetIDStrStr (const char*,const char*)
3 ImGuiID igGetIDPtr (const void*)
igListBoxHeader 2
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
2 bool igListBoxHeaderInt (const char*,int,int)
igTreePush 2
1 void igTreePushStr (const char*)
2 void igTreePushPtr (const void*)
igBeginChild 2
1 bool igBeginChild (const char*,const ImVec2,bool,ImGuiWindowFlags)
2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags)
igSetWindowFocus 2
1 void igSetWindowFocus ()
2 void igSetWindowFocusStr (const char*)
ImDrawList_AddText 2
1 void ImDrawList_AddText (const ImVec2,ImU32,const char*,const char*)
2 void ImDrawList_AddTextFontPtr (const ImFont*,float,const ImVec2,ImU32,const char*,const char*,float,const ImVec4*)
@@ -66,16 +72,12 @@ Pair_Pair 3
1 nil Pair_PairInt (ImGuiID,int)
2 nil Pair_PairFloat (ImGuiID,float)
3 nil Pair_PairPtr (ImGuiID,void*)
igTreePush 2
1 void igTreePushStr (const char*)
2 void igTreePushPtr (const void*)
TextRange_TextRange 2
1 nil TextRange_TextRange ()
2 nil TextRange_TextRangeStr (const char*,const char*)
igGetColorU32 3
1 ImU32 igGetColorU32 (ImGuiCol,float)
2 ImU32 igGetColorU32Vec4 (const ImVec4)
3 ImU32 igGetColorU32U32 (ImU32)
igSetWindowFocus 2
1 void igSetWindowFocus ()
2 void igSetWindowFocusStr (const char*)
ImColor_ImColor 5
1 nil ImColor_ImColor ()
2 nil ImColor_ImColorInt (int,int,int,int)
@@ -88,12 +90,10 @@ igPushStyleColor 2
igCollapsingHeader 2
1 bool igCollapsingHeader (const char*,ImGuiTreeNodeFlags)
2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags)
igListBoxHeader 2
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
2 bool igListBoxHeaderInt (const char*,int,int)
igMenuItem 2
1 bool igMenuItemBool (const char*,const char*,bool,bool)
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
igGetColorU32 3
1 ImU32 igGetColorU32 (ImGuiCol,float)
2 ImU32 igGetColorU32Vec4 (const ImVec4)
3 ImU32 igGetColorU32U32 (ImU32)
igSetWindowPos 2
1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond)
2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond)

File diff suppressed because one or more lines are too long

View File

@@ -338,24 +338,28 @@ defs["enums"]["ImGuiCol_"][38]["name"] = "ImGuiCol_TextSelectedBg"
defs["enums"]["ImGuiCol_"][38]["value"] = 37
defs["enums"]["ImGuiCol_"][39] = {}
defs["enums"]["ImGuiCol_"][39]["calc_value"] = 38
defs["enums"]["ImGuiCol_"][39]["name"] = "ImGuiCol_ModalWindowDarkening"
defs["enums"]["ImGuiCol_"][39]["name"] = "ImGuiCol_DragDropTarget"
defs["enums"]["ImGuiCol_"][39]["value"] = 38
defs["enums"]["ImGuiCol_"][40] = {}
defs["enums"]["ImGuiCol_"][40]["calc_value"] = 39
defs["enums"]["ImGuiCol_"][40]["name"] = "ImGuiCol_DragDropTarget"
defs["enums"]["ImGuiCol_"][40]["name"] = "ImGuiCol_NavHighlight"
defs["enums"]["ImGuiCol_"][40]["value"] = 39
defs["enums"]["ImGuiCol_"][41] = {}
defs["enums"]["ImGuiCol_"][41]["calc_value"] = 40
defs["enums"]["ImGuiCol_"][41]["name"] = "ImGuiCol_NavHighlight"
defs["enums"]["ImGuiCol_"][41]["name"] = "ImGuiCol_NavWindowingHighlight"
defs["enums"]["ImGuiCol_"][41]["value"] = 40
defs["enums"]["ImGuiCol_"][42] = {}
defs["enums"]["ImGuiCol_"][42]["calc_value"] = 41
defs["enums"]["ImGuiCol_"][42]["name"] = "ImGuiCol_NavWindowingHighlight"
defs["enums"]["ImGuiCol_"][42]["name"] = "ImGuiCol_NavWindowingDimBg"
defs["enums"]["ImGuiCol_"][42]["value"] = 41
defs["enums"]["ImGuiCol_"][43] = {}
defs["enums"]["ImGuiCol_"][43]["calc_value"] = 42
defs["enums"]["ImGuiCol_"][43]["name"] = "ImGuiCol_COUNT"
defs["enums"]["ImGuiCol_"][43]["name"] = "ImGuiCol_ModalWindowDimBg"
defs["enums"]["ImGuiCol_"][43]["value"] = 42
defs["enums"]["ImGuiCol_"][44] = {}
defs["enums"]["ImGuiCol_"][44]["calc_value"] = 43
defs["enums"]["ImGuiCol_"][44]["name"] = "ImGuiCol_COUNT"
defs["enums"]["ImGuiCol_"][44]["value"] = 43
defs["enums"]["ImGuiWindowFlags_"] = {}
defs["enums"]["ImGuiWindowFlags_"][1] = {}
defs["enums"]["ImGuiWindowFlags_"][1]["calc_value"] = 0
@@ -426,45 +430,41 @@ defs["enums"]["ImGuiWindowFlags_"][17]["calc_value"] = 65536
defs["enums"]["ImGuiWindowFlags_"][17]["name"] = "ImGuiWindowFlags_AlwaysUseWindowPadding"
defs["enums"]["ImGuiWindowFlags_"][17]["value"] = "1 << 16"
defs["enums"]["ImGuiWindowFlags_"][18] = {}
defs["enums"]["ImGuiWindowFlags_"][18]["calc_value"] = 131072
defs["enums"]["ImGuiWindowFlags_"][18]["name"] = "ImGuiWindowFlags_ResizeFromAnySide"
defs["enums"]["ImGuiWindowFlags_"][18]["value"] = "1 << 17"
defs["enums"]["ImGuiWindowFlags_"][18]["calc_value"] = 262144
defs["enums"]["ImGuiWindowFlags_"][18]["name"] = "ImGuiWindowFlags_NoNavInputs"
defs["enums"]["ImGuiWindowFlags_"][18]["value"] = "1 << 18"
defs["enums"]["ImGuiWindowFlags_"][19] = {}
defs["enums"]["ImGuiWindowFlags_"][19]["calc_value"] = 262144
defs["enums"]["ImGuiWindowFlags_"][19]["name"] = "ImGuiWindowFlags_NoNavInputs"
defs["enums"]["ImGuiWindowFlags_"][19]["value"] = "1 << 18"
defs["enums"]["ImGuiWindowFlags_"][19]["calc_value"] = 524288
defs["enums"]["ImGuiWindowFlags_"][19]["name"] = "ImGuiWindowFlags_NoNavFocus"
defs["enums"]["ImGuiWindowFlags_"][19]["value"] = "1 << 19"
defs["enums"]["ImGuiWindowFlags_"][20] = {}
defs["enums"]["ImGuiWindowFlags_"][20]["calc_value"] = 524288
defs["enums"]["ImGuiWindowFlags_"][20]["name"] = "ImGuiWindowFlags_NoNavFocus"
defs["enums"]["ImGuiWindowFlags_"][20]["value"] = "1 << 19"
defs["enums"]["ImGuiWindowFlags_"][20]["calc_value"] = 786432
defs["enums"]["ImGuiWindowFlags_"][20]["name"] = "ImGuiWindowFlags_NoNav"
defs["enums"]["ImGuiWindowFlags_"][20]["value"] = "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"
defs["enums"]["ImGuiWindowFlags_"][21] = {}
defs["enums"]["ImGuiWindowFlags_"][21]["calc_value"] = 786432
defs["enums"]["ImGuiWindowFlags_"][21]["name"] = "ImGuiWindowFlags_NoNav"
defs["enums"]["ImGuiWindowFlags_"][21]["value"] = "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"
defs["enums"]["ImGuiWindowFlags_"][21]["calc_value"] = 8388608
defs["enums"]["ImGuiWindowFlags_"][21]["name"] = "ImGuiWindowFlags_NavFlattened"
defs["enums"]["ImGuiWindowFlags_"][21]["value"] = "1 << 23"
defs["enums"]["ImGuiWindowFlags_"][22] = {}
defs["enums"]["ImGuiWindowFlags_"][22]["calc_value"] = 8388608
defs["enums"]["ImGuiWindowFlags_"][22]["name"] = "ImGuiWindowFlags_NavFlattened"
defs["enums"]["ImGuiWindowFlags_"][22]["value"] = "1 << 23"
defs["enums"]["ImGuiWindowFlags_"][22]["calc_value"] = 16777216
defs["enums"]["ImGuiWindowFlags_"][22]["name"] = "ImGuiWindowFlags_ChildWindow"
defs["enums"]["ImGuiWindowFlags_"][22]["value"] = "1 << 24"
defs["enums"]["ImGuiWindowFlags_"][23] = {}
defs["enums"]["ImGuiWindowFlags_"][23]["calc_value"] = 16777216
defs["enums"]["ImGuiWindowFlags_"][23]["name"] = "ImGuiWindowFlags_ChildWindow"
defs["enums"]["ImGuiWindowFlags_"][23]["value"] = "1 << 24"
defs["enums"]["ImGuiWindowFlags_"][23]["calc_value"] = 33554432
defs["enums"]["ImGuiWindowFlags_"][23]["name"] = "ImGuiWindowFlags_Tooltip"
defs["enums"]["ImGuiWindowFlags_"][23]["value"] = "1 << 25"
defs["enums"]["ImGuiWindowFlags_"][24] = {}
defs["enums"]["ImGuiWindowFlags_"][24]["calc_value"] = 33554432
defs["enums"]["ImGuiWindowFlags_"][24]["name"] = "ImGuiWindowFlags_Tooltip"
defs["enums"]["ImGuiWindowFlags_"][24]["value"] = "1 << 25"
defs["enums"]["ImGuiWindowFlags_"][24]["calc_value"] = 67108864
defs["enums"]["ImGuiWindowFlags_"][24]["name"] = "ImGuiWindowFlags_Popup"
defs["enums"]["ImGuiWindowFlags_"][24]["value"] = "1 << 26"
defs["enums"]["ImGuiWindowFlags_"][25] = {}
defs["enums"]["ImGuiWindowFlags_"][25]["calc_value"] = 67108864
defs["enums"]["ImGuiWindowFlags_"][25]["name"] = "ImGuiWindowFlags_Popup"
defs["enums"]["ImGuiWindowFlags_"][25]["value"] = "1 << 26"
defs["enums"]["ImGuiWindowFlags_"][25]["calc_value"] = 134217728
defs["enums"]["ImGuiWindowFlags_"][25]["name"] = "ImGuiWindowFlags_Modal"
defs["enums"]["ImGuiWindowFlags_"][25]["value"] = "1 << 27"
defs["enums"]["ImGuiWindowFlags_"][26] = {}
defs["enums"]["ImGuiWindowFlags_"][26]["calc_value"] = 134217728
defs["enums"]["ImGuiWindowFlags_"][26]["name"] = "ImGuiWindowFlags_Modal"
defs["enums"]["ImGuiWindowFlags_"][26]["value"] = "1 << 27"
defs["enums"]["ImGuiWindowFlags_"][27] = {}
defs["enums"]["ImGuiWindowFlags_"][27]["calc_value"] = 268435456
defs["enums"]["ImGuiWindowFlags_"][27]["name"] = "ImGuiWindowFlags_ChildMenu"
defs["enums"]["ImGuiWindowFlags_"][27]["value"] = "1 << 28"
defs["enums"]["ImGuiWindowFlags_"][26]["calc_value"] = 268435456
defs["enums"]["ImGuiWindowFlags_"][26]["name"] = "ImGuiWindowFlags_ChildMenu"
defs["enums"]["ImGuiWindowFlags_"][26]["value"] = "1 << 28"
defs["enums"]["ImGuiNavInput_"] = {}
defs["enums"]["ImGuiNavInput_"][1] = {}
defs["enums"]["ImGuiNavInput_"][1]["calc_value"] = 0
@@ -596,6 +596,10 @@ defs["enums"]["ImGuiSelectableFlags_"][4] = {}
defs["enums"]["ImGuiSelectableFlags_"][4]["calc_value"] = 4
defs["enums"]["ImGuiSelectableFlags_"][4]["name"] = "ImGuiSelectableFlags_AllowDoubleClick"
defs["enums"]["ImGuiSelectableFlags_"][4]["value"] = "1 << 2"
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"]["ImGuiKey_"] = {}
defs["enums"]["ImGuiKey_"][1] = {}
defs["enums"]["ImGuiKey_"][1]["calc_value"] = 0
@@ -687,13 +691,17 @@ defs["enums"]["ImGuiKey_"][22]["name"] = "ImGuiKey_COUNT"
defs["enums"]["ImGuiKey_"][22]["value"] = 21
defs["enums"]["ImFontAtlasFlags_"] = {}
defs["enums"]["ImFontAtlasFlags_"][1] = {}
defs["enums"]["ImFontAtlasFlags_"][1]["calc_value"] = 1
defs["enums"]["ImFontAtlasFlags_"][1]["name"] = "ImFontAtlasFlags_NoPowerOfTwoHeight"
defs["enums"]["ImFontAtlasFlags_"][1]["value"] = "1 << 0"
defs["enums"]["ImFontAtlasFlags_"][1]["calc_value"] = 0
defs["enums"]["ImFontAtlasFlags_"][1]["name"] = "ImFontAtlasFlags_None"
defs["enums"]["ImFontAtlasFlags_"][1]["value"] = "0"
defs["enums"]["ImFontAtlasFlags_"][2] = {}
defs["enums"]["ImFontAtlasFlags_"][2]["calc_value"] = 2
defs["enums"]["ImFontAtlasFlags_"][2]["name"] = "ImFontAtlasFlags_NoMouseCursors"
defs["enums"]["ImFontAtlasFlags_"][2]["value"] = "1 << 1"
defs["enums"]["ImFontAtlasFlags_"][2]["calc_value"] = 1
defs["enums"]["ImFontAtlasFlags_"][2]["name"] = "ImFontAtlasFlags_NoPowerOfTwoHeight"
defs["enums"]["ImFontAtlasFlags_"][2]["value"] = "1 << 0"
defs["enums"]["ImFontAtlasFlags_"][3] = {}
defs["enums"]["ImFontAtlasFlags_"][3]["calc_value"] = 2
defs["enums"]["ImFontAtlasFlags_"][3]["name"] = "ImFontAtlasFlags_NoMouseCursors"
defs["enums"]["ImFontAtlasFlags_"][3]["value"] = "1 << 1"
defs["enums"]["ImGuiConfigFlags_"] = {}
defs["enums"]["ImGuiConfigFlags_"][1] = {}
defs["enums"]["ImGuiConfigFlags_"][1]["calc_value"] = 1
@@ -790,21 +798,25 @@ defs["enums"]["ImGuiDragDropFlags_"][6]["calc_value"] = 16
defs["enums"]["ImGuiDragDropFlags_"][6]["name"] = "ImGuiDragDropFlags_SourceExtern"
defs["enums"]["ImGuiDragDropFlags_"][6]["value"] = "1 << 4"
defs["enums"]["ImGuiDragDropFlags_"][7] = {}
defs["enums"]["ImGuiDragDropFlags_"][7]["calc_value"] = 1024
defs["enums"]["ImGuiDragDropFlags_"][7]["name"] = "ImGuiDragDropFlags_AcceptBeforeDelivery"
defs["enums"]["ImGuiDragDropFlags_"][7]["value"] = "1 << 10"
defs["enums"]["ImGuiDragDropFlags_"][7]["calc_value"] = 32
defs["enums"]["ImGuiDragDropFlags_"][7]["name"] = "ImGuiDragDropFlags_SourceAutoExpirePayload"
defs["enums"]["ImGuiDragDropFlags_"][7]["value"] = "1 << 5"
defs["enums"]["ImGuiDragDropFlags_"][8] = {}
defs["enums"]["ImGuiDragDropFlags_"][8]["calc_value"] = 2048
defs["enums"]["ImGuiDragDropFlags_"][8]["name"] = "ImGuiDragDropFlags_AcceptNoDrawDefaultRect"
defs["enums"]["ImGuiDragDropFlags_"][8]["value"] = "1 << 11"
defs["enums"]["ImGuiDragDropFlags_"][8]["calc_value"] = 1024
defs["enums"]["ImGuiDragDropFlags_"][8]["name"] = "ImGuiDragDropFlags_AcceptBeforeDelivery"
defs["enums"]["ImGuiDragDropFlags_"][8]["value"] = "1 << 10"
defs["enums"]["ImGuiDragDropFlags_"][9] = {}
defs["enums"]["ImGuiDragDropFlags_"][9]["calc_value"] = 4096
defs["enums"]["ImGuiDragDropFlags_"][9]["name"] = "ImGuiDragDropFlags_AcceptNoPreviewTooltip"
defs["enums"]["ImGuiDragDropFlags_"][9]["value"] = "1 << 12"
defs["enums"]["ImGuiDragDropFlags_"][9]["calc_value"] = 2048
defs["enums"]["ImGuiDragDropFlags_"][9]["name"] = "ImGuiDragDropFlags_AcceptNoDrawDefaultRect"
defs["enums"]["ImGuiDragDropFlags_"][9]["value"] = "1 << 11"
defs["enums"]["ImGuiDragDropFlags_"][10] = {}
defs["enums"]["ImGuiDragDropFlags_"][10]["calc_value"] = 3072
defs["enums"]["ImGuiDragDropFlags_"][10]["name"] = "ImGuiDragDropFlags_AcceptPeekOnly"
defs["enums"]["ImGuiDragDropFlags_"][10]["value"] = "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"
defs["enums"]["ImGuiDragDropFlags_"][10]["calc_value"] = 4096
defs["enums"]["ImGuiDragDropFlags_"][10]["name"] = "ImGuiDragDropFlags_AcceptNoPreviewTooltip"
defs["enums"]["ImGuiDragDropFlags_"][10]["value"] = "1 << 12"
defs["enums"]["ImGuiDragDropFlags_"][11] = {}
defs["enums"]["ImGuiDragDropFlags_"][11]["calc_value"] = 3072
defs["enums"]["ImGuiDragDropFlags_"][11]["name"] = "ImGuiDragDropFlags_AcceptPeekOnly"
defs["enums"]["ImGuiDragDropFlags_"][11]["value"] = "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"
defs["enums"]["ImGuiCond_"] = {}
defs["enums"]["ImGuiCond_"][1] = {}
defs["enums"]["ImGuiCond_"][1]["calc_value"] = 1
@@ -900,9 +912,13 @@ defs["enums"]["ImGuiInputTextFlags_"][19]["calc_value"] = 131072
defs["enums"]["ImGuiInputTextFlags_"][19]["name"] = "ImGuiInputTextFlags_CharsScientific"
defs["enums"]["ImGuiInputTextFlags_"][19]["value"] = "1 << 17"
defs["enums"]["ImGuiInputTextFlags_"][20] = {}
defs["enums"]["ImGuiInputTextFlags_"][20]["calc_value"] = 1048576
defs["enums"]["ImGuiInputTextFlags_"][20]["name"] = "ImGuiInputTextFlags_Multiline"
defs["enums"]["ImGuiInputTextFlags_"][20]["value"] = "1 << 20"
defs["enums"]["ImGuiInputTextFlags_"][20]["calc_value"] = 262144
defs["enums"]["ImGuiInputTextFlags_"][20]["name"] = "ImGuiInputTextFlags_CallbackResize"
defs["enums"]["ImGuiInputTextFlags_"][20]["value"] = "1 << 18"
defs["enums"]["ImGuiInputTextFlags_"][21] = {}
defs["enums"]["ImGuiInputTextFlags_"][21]["calc_value"] = 1048576
defs["enums"]["ImGuiInputTextFlags_"][21]["name"] = "ImGuiInputTextFlags_Multiline"
defs["enums"]["ImGuiInputTextFlags_"][21]["value"] = "1 << 20"
defs["enums"]["ImGuiMouseCursor_"] = {}
defs["enums"]["ImGuiMouseCursor_"][1] = {}
defs["enums"]["ImGuiMouseCursor_"][1]["calc_value"] = -1
@@ -938,8 +954,12 @@ defs["enums"]["ImGuiMouseCursor_"][8]["name"] = "ImGuiMouseCursor_ResizeNWSE"
defs["enums"]["ImGuiMouseCursor_"][8]["value"] = 7
defs["enums"]["ImGuiMouseCursor_"][9] = {}
defs["enums"]["ImGuiMouseCursor_"][9]["calc_value"] = 8
defs["enums"]["ImGuiMouseCursor_"][9]["name"] = "ImGuiMouseCursor_COUNT"
defs["enums"]["ImGuiMouseCursor_"][9]["name"] = "ImGuiMouseCursor_Hand"
defs["enums"]["ImGuiMouseCursor_"][9]["value"] = 8
defs["enums"]["ImGuiMouseCursor_"][10] = {}
defs["enums"]["ImGuiMouseCursor_"][10]["calc_value"] = 9
defs["enums"]["ImGuiMouseCursor_"][10]["name"] = "ImGuiMouseCursor_COUNT"
defs["enums"]["ImGuiMouseCursor_"][10]["value"] = 9
defs["enums"]["ImGuiColorEditFlags_"] = {}
defs["enums"]["ImGuiColorEditFlags_"][1] = {}
defs["enums"]["ImGuiColorEditFlags_"][1]["calc_value"] = 0
@@ -1071,13 +1091,17 @@ defs["enums"]["ImGuiHoveredFlags_"][7]["calc_value"] = 64
defs["enums"]["ImGuiHoveredFlags_"][7]["name"] = "ImGuiHoveredFlags_AllowWhenOverlapped"
defs["enums"]["ImGuiHoveredFlags_"][7]["value"] = "1 << 6"
defs["enums"]["ImGuiHoveredFlags_"][8] = {}
defs["enums"]["ImGuiHoveredFlags_"][8]["calc_value"] = 104
defs["enums"]["ImGuiHoveredFlags_"][8]["name"] = "ImGuiHoveredFlags_RectOnly"
defs["enums"]["ImGuiHoveredFlags_"][8]["value"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"
defs["enums"]["ImGuiHoveredFlags_"][8]["calc_value"] = 128
defs["enums"]["ImGuiHoveredFlags_"][8]["name"] = "ImGuiHoveredFlags_AllowWhenDisabled"
defs["enums"]["ImGuiHoveredFlags_"][8]["value"] = "1 << 7"
defs["enums"]["ImGuiHoveredFlags_"][9] = {}
defs["enums"]["ImGuiHoveredFlags_"][9]["calc_value"] = 3
defs["enums"]["ImGuiHoveredFlags_"][9]["name"] = "ImGuiHoveredFlags_RootAndChildWindows"
defs["enums"]["ImGuiHoveredFlags_"][9]["value"] = "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"
defs["enums"]["ImGuiHoveredFlags_"][9]["calc_value"] = 104
defs["enums"]["ImGuiHoveredFlags_"][9]["name"] = "ImGuiHoveredFlags_RectOnly"
defs["enums"]["ImGuiHoveredFlags_"][9]["value"] = "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"
defs["enums"]["ImGuiHoveredFlags_"][10] = {}
defs["enums"]["ImGuiHoveredFlags_"][10]["calc_value"] = 3
defs["enums"]["ImGuiHoveredFlags_"][10]["name"] = "ImGuiHoveredFlags_RootAndChildWindows"
defs["enums"]["ImGuiHoveredFlags_"][10]["value"] = "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"
defs["enums"]["ImGuiDir_"] = {}
defs["enums"]["ImGuiDir_"][1] = {}
defs["enums"]["ImGuiDir_"][1]["calc_value"] = -1
@@ -1334,48 +1358,51 @@ defs["structs"]["ImGuiStorage"][1]["type"] = "ImVector/*<Pair>*/"
defs["structs"]["ImGuiStorage"][1]["name"] = "Data"
defs["structs"]["ImFontAtlas"] = {}
defs["structs"]["ImFontAtlas"][1] = {}
defs["structs"]["ImFontAtlas"][1]["type"] = "ImFontAtlasFlags"
defs["structs"]["ImFontAtlas"][1]["name"] = "Flags"
defs["structs"]["ImFontAtlas"][1]["type"] = "bool"
defs["structs"]["ImFontAtlas"][1]["name"] = "Locked"
defs["structs"]["ImFontAtlas"][2] = {}
defs["structs"]["ImFontAtlas"][2]["type"] = "ImTextureID"
defs["structs"]["ImFontAtlas"][2]["name"] = "TexID"
defs["structs"]["ImFontAtlas"][2]["type"] = "ImFontAtlasFlags"
defs["structs"]["ImFontAtlas"][2]["name"] = "Flags"
defs["structs"]["ImFontAtlas"][3] = {}
defs["structs"]["ImFontAtlas"][3]["type"] = "int"
defs["structs"]["ImFontAtlas"][3]["name"] = "TexDesiredWidth"
defs["structs"]["ImFontAtlas"][3]["type"] = "ImTextureID"
defs["structs"]["ImFontAtlas"][3]["name"] = "TexID"
defs["structs"]["ImFontAtlas"][4] = {}
defs["structs"]["ImFontAtlas"][4]["type"] = "int"
defs["structs"]["ImFontAtlas"][4]["name"] = "TexGlyphPadding"
defs["structs"]["ImFontAtlas"][4]["name"] = "TexDesiredWidth"
defs["structs"]["ImFontAtlas"][5] = {}
defs["structs"]["ImFontAtlas"][5]["type"] = "unsigned char*"
defs["structs"]["ImFontAtlas"][5]["name"] = "TexPixelsAlpha8"
defs["structs"]["ImFontAtlas"][5]["type"] = "int"
defs["structs"]["ImFontAtlas"][5]["name"] = "TexGlyphPadding"
defs["structs"]["ImFontAtlas"][6] = {}
defs["structs"]["ImFontAtlas"][6]["type"] = "unsigned int*"
defs["structs"]["ImFontAtlas"][6]["name"] = "TexPixelsRGBA32"
defs["structs"]["ImFontAtlas"][6]["type"] = "unsigned char*"
defs["structs"]["ImFontAtlas"][6]["name"] = "TexPixelsAlpha8"
defs["structs"]["ImFontAtlas"][7] = {}
defs["structs"]["ImFontAtlas"][7]["type"] = "int"
defs["structs"]["ImFontAtlas"][7]["name"] = "TexWidth"
defs["structs"]["ImFontAtlas"][7]["type"] = "unsigned int*"
defs["structs"]["ImFontAtlas"][7]["name"] = "TexPixelsRGBA32"
defs["structs"]["ImFontAtlas"][8] = {}
defs["structs"]["ImFontAtlas"][8]["type"] = "int"
defs["structs"]["ImFontAtlas"][8]["name"] = "TexHeight"
defs["structs"]["ImFontAtlas"][8]["name"] = "TexWidth"
defs["structs"]["ImFontAtlas"][9] = {}
defs["structs"]["ImFontAtlas"][9]["type"] = "ImVec2"
defs["structs"]["ImFontAtlas"][9]["name"] = "TexUvScale"
defs["structs"]["ImFontAtlas"][9]["type"] = "int"
defs["structs"]["ImFontAtlas"][9]["name"] = "TexHeight"
defs["structs"]["ImFontAtlas"][10] = {}
defs["structs"]["ImFontAtlas"][10]["type"] = "ImVec2"
defs["structs"]["ImFontAtlas"][10]["name"] = "TexUvWhitePixel"
defs["structs"]["ImFontAtlas"][10]["name"] = "TexUvScale"
defs["structs"]["ImFontAtlas"][11] = {}
defs["structs"]["ImFontAtlas"][11]["type"] = "ImVector/*<ImFont*>*/"
defs["structs"]["ImFontAtlas"][11]["name"] = "Fonts"
defs["structs"]["ImFontAtlas"][11]["type"] = "ImVec2"
defs["structs"]["ImFontAtlas"][11]["name"] = "TexUvWhitePixel"
defs["structs"]["ImFontAtlas"][12] = {}
defs["structs"]["ImFontAtlas"][12]["type"] = "ImVector/*<CustomRect>*/"
defs["structs"]["ImFontAtlas"][12]["name"] = "CustomRects"
defs["structs"]["ImFontAtlas"][12]["type"] = "ImVector/*<ImFont*>*/"
defs["structs"]["ImFontAtlas"][12]["name"] = "Fonts"
defs["structs"]["ImFontAtlas"][13] = {}
defs["structs"]["ImFontAtlas"][13]["type"] = "ImVector/*<ImFontConfig>*/"
defs["structs"]["ImFontAtlas"][13]["name"] = "ConfigData"
defs["structs"]["ImFontAtlas"][13]["type"] = "ImVector/*<CustomRect>*/"
defs["structs"]["ImFontAtlas"][13]["name"] = "CustomRects"
defs["structs"]["ImFontAtlas"][14] = {}
defs["structs"]["ImFontAtlas"][14]["type"] = "int"
defs["structs"]["ImFontAtlas"][14]["name"] = "CustomRectIds[1]"
defs["structs"]["ImFontAtlas"][14]["size"] = 1
defs["structs"]["ImFontAtlas"][14]["type"] = "ImVector/*<ImFontConfig>*/"
defs["structs"]["ImFontAtlas"][14]["name"] = "ConfigData"
defs["structs"]["ImFontAtlas"][15] = {}
defs["structs"]["ImFontAtlas"][15]["type"] = "int"
defs["structs"]["ImFontAtlas"][15]["name"] = "CustomRectIds[1]"
defs["structs"]["ImFontAtlas"][15]["size"] = 1
defs["structs"]["ImFontGlyph"] = {}
defs["structs"]["ImFontGlyph"][1] = {}
defs["structs"]["ImFontGlyph"][1]["type"] = "ImWchar"
@@ -1580,7 +1607,7 @@ defs["structs"]["ImGuiStyle"][29]["name"] = "CurveTessellationTol"
defs["structs"]["ImGuiStyle"][30] = {}
defs["structs"]["ImGuiStyle"][30]["type"] = "ImVec4"
defs["structs"]["ImGuiStyle"][30]["name"] = "Colors[ImGuiCol_COUNT]"
defs["structs"]["ImGuiStyle"][30]["size"] = 42
defs["structs"]["ImGuiStyle"][30]["size"] = 43
defs["structs"]["ImDrawChannel"] = {}
defs["structs"]["ImDrawChannel"][1] = {}
defs["structs"]["ImDrawChannel"][1]["type"] = "ImVector/*<ImDrawCmd>*/"
@@ -1611,6 +1638,9 @@ defs["structs"]["TextRange"][1]["name"] = "b"
defs["structs"]["TextRange"][2] = {}
defs["structs"]["TextRange"][2]["type"] = "const char*"
defs["structs"]["TextRange"][2]["name"] = "e"
defs["structs"]["TextRange"][3] = {}
defs["structs"]["TextRange"][3]["type"] = "const char* end()const { return"
defs["structs"]["TextRange"][3]["name"] = "e"
defs["structs"]["ImGuiOnceUponAFrame"] = {}
defs["structs"]["ImGuiOnceUponAFrame"][1] = {}
defs["structs"]["ImGuiOnceUponAFrame"][1]["type"] = "int"
@@ -1683,163 +1713,172 @@ defs["structs"]["ImGuiIO"][21]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][21]["name"] = "DisplayVisibleMax"
defs["structs"]["ImGuiIO"][22] = {}
defs["structs"]["ImGuiIO"][22]["type"] = "bool"
defs["structs"]["ImGuiIO"][22]["name"] = "OptMacOSXBehaviors"
defs["structs"]["ImGuiIO"][22]["name"] = "ConfigMacOSXBehaviors"
defs["structs"]["ImGuiIO"][23] = {}
defs["structs"]["ImGuiIO"][23]["type"] = "bool"
defs["structs"]["ImGuiIO"][23]["name"] = "OptCursorBlink"
defs["structs"]["ImGuiIO"][23]["name"] = "ConfigCursorBlink"
defs["structs"]["ImGuiIO"][24] = {}
defs["structs"]["ImGuiIO"][24]["type"] = "const char*(*)(void* user_data)"
defs["structs"]["ImGuiIO"][24]["name"] = "GetClipboardTextFn"
defs["structs"]["ImGuiIO"][24]["type"] = "bool"
defs["structs"]["ImGuiIO"][24]["name"] = "ConfigResizeWindowsFromEdges"
defs["structs"]["ImGuiIO"][25] = {}
defs["structs"]["ImGuiIO"][25]["type"] = "void(*)(void* user_data,const char* text)"
defs["structs"]["ImGuiIO"][25]["name"] = "SetClipboardTextFn"
defs["structs"]["ImGuiIO"][25]["type"] = "const char*(*)(void* user_data)"
defs["structs"]["ImGuiIO"][25]["name"] = "GetClipboardTextFn"
defs["structs"]["ImGuiIO"][26] = {}
defs["structs"]["ImGuiIO"][26]["type"] = "void*"
defs["structs"]["ImGuiIO"][26]["name"] = "ClipboardUserData"
defs["structs"]["ImGuiIO"][26]["type"] = "void(*)(void* user_data,const char* text)"
defs["structs"]["ImGuiIO"][26]["name"] = "SetClipboardTextFn"
defs["structs"]["ImGuiIO"][27] = {}
defs["structs"]["ImGuiIO"][27]["type"] = "void(*)(int x,int y)"
defs["structs"]["ImGuiIO"][27]["name"] = "ImeSetInputScreenPosFn"
defs["structs"]["ImGuiIO"][27]["type"] = "void*"
defs["structs"]["ImGuiIO"][27]["name"] = "ClipboardUserData"
defs["structs"]["ImGuiIO"][28] = {}
defs["structs"]["ImGuiIO"][28]["type"] = "void*"
defs["structs"]["ImGuiIO"][28]["name"] = "ImeWindowHandle"
defs["structs"]["ImGuiIO"][28]["type"] = "void(*)(int x,int y)"
defs["structs"]["ImGuiIO"][28]["name"] = "ImeSetInputScreenPosFn"
defs["structs"]["ImGuiIO"][29] = {}
defs["structs"]["ImGuiIO"][29]["type"] = "void*"
defs["structs"]["ImGuiIO"][29]["name"] = "RenderDrawListsFnDummy"
defs["structs"]["ImGuiIO"][29]["name"] = "ImeWindowHandle"
defs["structs"]["ImGuiIO"][30] = {}
defs["structs"]["ImGuiIO"][30]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][30]["name"] = "MousePos"
defs["structs"]["ImGuiIO"][30]["type"] = "void*"
defs["structs"]["ImGuiIO"][30]["name"] = "RenderDrawListsFnUnused"
defs["structs"]["ImGuiIO"][31] = {}
defs["structs"]["ImGuiIO"][31]["type"] = "bool"
defs["structs"]["ImGuiIO"][31]["name"] = "MouseDown[5]"
defs["structs"]["ImGuiIO"][31]["size"] = 5
defs["structs"]["ImGuiIO"][31]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][31]["name"] = "MousePos"
defs["structs"]["ImGuiIO"][32] = {}
defs["structs"]["ImGuiIO"][32]["type"] = "float"
defs["structs"]["ImGuiIO"][32]["name"] = "MouseWheel"
defs["structs"]["ImGuiIO"][32]["type"] = "bool"
defs["structs"]["ImGuiIO"][32]["name"] = "MouseDown[5]"
defs["structs"]["ImGuiIO"][32]["size"] = 5
defs["structs"]["ImGuiIO"][33] = {}
defs["structs"]["ImGuiIO"][33]["type"] = "float"
defs["structs"]["ImGuiIO"][33]["name"] = "MouseWheelH"
defs["structs"]["ImGuiIO"][33]["name"] = "MouseWheel"
defs["structs"]["ImGuiIO"][34] = {}
defs["structs"]["ImGuiIO"][34]["type"] = "bool"
defs["structs"]["ImGuiIO"][34]["name"] = "MouseDrawCursor"
defs["structs"]["ImGuiIO"][34]["type"] = "float"
defs["structs"]["ImGuiIO"][34]["name"] = "MouseWheelH"
defs["structs"]["ImGuiIO"][35] = {}
defs["structs"]["ImGuiIO"][35]["type"] = "bool"
defs["structs"]["ImGuiIO"][35]["name"] = "KeyCtrl"
defs["structs"]["ImGuiIO"][35]["name"] = "MouseDrawCursor"
defs["structs"]["ImGuiIO"][36] = {}
defs["structs"]["ImGuiIO"][36]["type"] = "bool"
defs["structs"]["ImGuiIO"][36]["name"] = "KeyShift"
defs["structs"]["ImGuiIO"][36]["name"] = "KeyCtrl"
defs["structs"]["ImGuiIO"][37] = {}
defs["structs"]["ImGuiIO"][37]["type"] = "bool"
defs["structs"]["ImGuiIO"][37]["name"] = "KeyAlt"
defs["structs"]["ImGuiIO"][37]["name"] = "KeyShift"
defs["structs"]["ImGuiIO"][38] = {}
defs["structs"]["ImGuiIO"][38]["type"] = "bool"
defs["structs"]["ImGuiIO"][38]["name"] = "KeySuper"
defs["structs"]["ImGuiIO"][38]["name"] = "KeyAlt"
defs["structs"]["ImGuiIO"][39] = {}
defs["structs"]["ImGuiIO"][39]["type"] = "bool"
defs["structs"]["ImGuiIO"][39]["name"] = "KeysDown[512]"
defs["structs"]["ImGuiIO"][39]["size"] = 512
defs["structs"]["ImGuiIO"][39]["name"] = "KeySuper"
defs["structs"]["ImGuiIO"][40] = {}
defs["structs"]["ImGuiIO"][40]["type"] = "ImWchar"
defs["structs"]["ImGuiIO"][40]["name"] = "InputCharacters[16+1]"
defs["structs"]["ImGuiIO"][40]["size"] = 17
defs["structs"]["ImGuiIO"][40]["type"] = "bool"
defs["structs"]["ImGuiIO"][40]["name"] = "KeysDown[512]"
defs["structs"]["ImGuiIO"][40]["size"] = 512
defs["structs"]["ImGuiIO"][41] = {}
defs["structs"]["ImGuiIO"][41]["type"] = "float"
defs["structs"]["ImGuiIO"][41]["name"] = "NavInputs[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][41]["size"] = 21
defs["structs"]["ImGuiIO"][41]["type"] = "ImWchar"
defs["structs"]["ImGuiIO"][41]["name"] = "InputCharacters[16+1]"
defs["structs"]["ImGuiIO"][41]["size"] = 17
defs["structs"]["ImGuiIO"][42] = {}
defs["structs"]["ImGuiIO"][42]["type"] = "bool"
defs["structs"]["ImGuiIO"][42]["name"] = "WantCaptureMouse"
defs["structs"]["ImGuiIO"][42]["type"] = "float"
defs["structs"]["ImGuiIO"][42]["name"] = "NavInputs[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][42]["size"] = 21
defs["structs"]["ImGuiIO"][43] = {}
defs["structs"]["ImGuiIO"][43]["type"] = "bool"
defs["structs"]["ImGuiIO"][43]["name"] = "WantCaptureKeyboard"
defs["structs"]["ImGuiIO"][43]["name"] = "WantCaptureMouse"
defs["structs"]["ImGuiIO"][44] = {}
defs["structs"]["ImGuiIO"][44]["type"] = "bool"
defs["structs"]["ImGuiIO"][44]["name"] = "WantTextInput"
defs["structs"]["ImGuiIO"][44]["name"] = "WantCaptureKeyboard"
defs["structs"]["ImGuiIO"][45] = {}
defs["structs"]["ImGuiIO"][45]["type"] = "bool"
defs["structs"]["ImGuiIO"][45]["name"] = "WantSetMousePos"
defs["structs"]["ImGuiIO"][45]["name"] = "WantTextInput"
defs["structs"]["ImGuiIO"][46] = {}
defs["structs"]["ImGuiIO"][46]["type"] = "bool"
defs["structs"]["ImGuiIO"][46]["name"] = "WantSaveIniSettings"
defs["structs"]["ImGuiIO"][46]["name"] = "WantSetMousePos"
defs["structs"]["ImGuiIO"][47] = {}
defs["structs"]["ImGuiIO"][47]["type"] = "bool"
defs["structs"]["ImGuiIO"][47]["name"] = "NavActive"
defs["structs"]["ImGuiIO"][47]["name"] = "WantSaveIniSettings"
defs["structs"]["ImGuiIO"][48] = {}
defs["structs"]["ImGuiIO"][48]["type"] = "bool"
defs["structs"]["ImGuiIO"][48]["name"] = "NavVisible"
defs["structs"]["ImGuiIO"][48]["name"] = "NavActive"
defs["structs"]["ImGuiIO"][49] = {}
defs["structs"]["ImGuiIO"][49]["type"] = "float"
defs["structs"]["ImGuiIO"][49]["name"] = "Framerate"
defs["structs"]["ImGuiIO"][49]["type"] = "bool"
defs["structs"]["ImGuiIO"][49]["name"] = "NavVisible"
defs["structs"]["ImGuiIO"][50] = {}
defs["structs"]["ImGuiIO"][50]["type"] = "int"
defs["structs"]["ImGuiIO"][50]["name"] = "MetricsRenderVertices"
defs["structs"]["ImGuiIO"][50]["type"] = "float"
defs["structs"]["ImGuiIO"][50]["name"] = "Framerate"
defs["structs"]["ImGuiIO"][51] = {}
defs["structs"]["ImGuiIO"][51]["type"] = "int"
defs["structs"]["ImGuiIO"][51]["name"] = "MetricsRenderIndices"
defs["structs"]["ImGuiIO"][51]["name"] = "MetricsRenderVertices"
defs["structs"]["ImGuiIO"][52] = {}
defs["structs"]["ImGuiIO"][52]["type"] = "int"
defs["structs"]["ImGuiIO"][52]["name"] = "MetricsActiveWindows"
defs["structs"]["ImGuiIO"][52]["name"] = "MetricsRenderIndices"
defs["structs"]["ImGuiIO"][53] = {}
defs["structs"]["ImGuiIO"][53]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][53]["name"] = "MouseDelta"
defs["structs"]["ImGuiIO"][53]["type"] = "int"
defs["structs"]["ImGuiIO"][53]["name"] = "MetricsRenderWindows"
defs["structs"]["ImGuiIO"][54] = {}
defs["structs"]["ImGuiIO"][54]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][54]["name"] = "MousePosPrev"
defs["structs"]["ImGuiIO"][54]["type"] = "int"
defs["structs"]["ImGuiIO"][54]["name"] = "MetricsActiveWindows"
defs["structs"]["ImGuiIO"][55] = {}
defs["structs"]["ImGuiIO"][55]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][55]["name"] = "MouseClickedPos[5]"
defs["structs"]["ImGuiIO"][55]["size"] = 5
defs["structs"]["ImGuiIO"][55]["type"] = "int"
defs["structs"]["ImGuiIO"][55]["name"] = "MetricsActiveAllocations"
defs["structs"]["ImGuiIO"][56] = {}
defs["structs"]["ImGuiIO"][56]["type"] = "float"
defs["structs"]["ImGuiIO"][56]["name"] = "MouseClickedTime[5]"
defs["structs"]["ImGuiIO"][56]["size"] = 5
defs["structs"]["ImGuiIO"][56]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][56]["name"] = "MouseDelta"
defs["structs"]["ImGuiIO"][57] = {}
defs["structs"]["ImGuiIO"][57]["type"] = "bool"
defs["structs"]["ImGuiIO"][57]["name"] = "MouseClicked[5]"
defs["structs"]["ImGuiIO"][57]["size"] = 5
defs["structs"]["ImGuiIO"][57]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][57]["name"] = "MousePosPrev"
defs["structs"]["ImGuiIO"][58] = {}
defs["structs"]["ImGuiIO"][58]["type"] = "bool"
defs["structs"]["ImGuiIO"][58]["name"] = "MouseDoubleClicked[5]"
defs["structs"]["ImGuiIO"][58]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][58]["name"] = "MouseClickedPos[5]"
defs["structs"]["ImGuiIO"][58]["size"] = 5
defs["structs"]["ImGuiIO"][59] = {}
defs["structs"]["ImGuiIO"][59]["type"] = "bool"
defs["structs"]["ImGuiIO"][59]["name"] = "MouseReleased[5]"
defs["structs"]["ImGuiIO"][59]["type"] = "double"
defs["structs"]["ImGuiIO"][59]["name"] = "MouseClickedTime[5]"
defs["structs"]["ImGuiIO"][59]["size"] = 5
defs["structs"]["ImGuiIO"][60] = {}
defs["structs"]["ImGuiIO"][60]["type"] = "bool"
defs["structs"]["ImGuiIO"][60]["name"] = "MouseDownOwned[5]"
defs["structs"]["ImGuiIO"][60]["name"] = "MouseClicked[5]"
defs["structs"]["ImGuiIO"][60]["size"] = 5
defs["structs"]["ImGuiIO"][61] = {}
defs["structs"]["ImGuiIO"][61]["type"] = "float"
defs["structs"]["ImGuiIO"][61]["name"] = "MouseDownDuration[5]"
defs["structs"]["ImGuiIO"][61]["type"] = "bool"
defs["structs"]["ImGuiIO"][61]["name"] = "MouseDoubleClicked[5]"
defs["structs"]["ImGuiIO"][61]["size"] = 5
defs["structs"]["ImGuiIO"][62] = {}
defs["structs"]["ImGuiIO"][62]["type"] = "float"
defs["structs"]["ImGuiIO"][62]["name"] = "MouseDownDurationPrev[5]"
defs["structs"]["ImGuiIO"][62]["type"] = "bool"
defs["structs"]["ImGuiIO"][62]["name"] = "MouseReleased[5]"
defs["structs"]["ImGuiIO"][62]["size"] = 5
defs["structs"]["ImGuiIO"][63] = {}
defs["structs"]["ImGuiIO"][63]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][63]["name"] = "MouseDragMaxDistanceAbs[5]"
defs["structs"]["ImGuiIO"][63]["type"] = "bool"
defs["structs"]["ImGuiIO"][63]["name"] = "MouseDownOwned[5]"
defs["structs"]["ImGuiIO"][63]["size"] = 5
defs["structs"]["ImGuiIO"][64] = {}
defs["structs"]["ImGuiIO"][64]["type"] = "float"
defs["structs"]["ImGuiIO"][64]["name"] = "MouseDragMaxDistanceSqr[5]"
defs["structs"]["ImGuiIO"][64]["name"] = "MouseDownDuration[5]"
defs["structs"]["ImGuiIO"][64]["size"] = 5
defs["structs"]["ImGuiIO"][65] = {}
defs["structs"]["ImGuiIO"][65]["type"] = "float"
defs["structs"]["ImGuiIO"][65]["name"] = "KeysDownDuration[512]"
defs["structs"]["ImGuiIO"][65]["size"] = 512
defs["structs"]["ImGuiIO"][65]["name"] = "MouseDownDurationPrev[5]"
defs["structs"]["ImGuiIO"][65]["size"] = 5
defs["structs"]["ImGuiIO"][66] = {}
defs["structs"]["ImGuiIO"][66]["type"] = "float"
defs["structs"]["ImGuiIO"][66]["name"] = "KeysDownDurationPrev[512]"
defs["structs"]["ImGuiIO"][66]["size"] = 512
defs["structs"]["ImGuiIO"][66]["type"] = "ImVec2"
defs["structs"]["ImGuiIO"][66]["name"] = "MouseDragMaxDistanceAbs[5]"
defs["structs"]["ImGuiIO"][66]["size"] = 5
defs["structs"]["ImGuiIO"][67] = {}
defs["structs"]["ImGuiIO"][67]["type"] = "float"
defs["structs"]["ImGuiIO"][67]["name"] = "NavInputsDownDuration[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][67]["size"] = 21
defs["structs"]["ImGuiIO"][67]["name"] = "MouseDragMaxDistanceSqr[5]"
defs["structs"]["ImGuiIO"][67]["size"] = 5
defs["structs"]["ImGuiIO"][68] = {}
defs["structs"]["ImGuiIO"][68]["type"] = "float"
defs["structs"]["ImGuiIO"][68]["name"] = "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][68]["size"] = 21
defs["structs"]["ImGuiIO"][68]["name"] = "KeysDownDuration[512]"
defs["structs"]["ImGuiIO"][68]["size"] = 512
defs["structs"]["ImGuiIO"][69] = {}
defs["structs"]["ImGuiIO"][69]["type"] = "float"
defs["structs"]["ImGuiIO"][69]["name"] = "KeysDownDurationPrev[512]"
defs["structs"]["ImGuiIO"][69]["size"] = 512
defs["structs"]["ImGuiIO"][70] = {}
defs["structs"]["ImGuiIO"][70]["type"] = "float"
defs["structs"]["ImGuiIO"][70]["name"] = "NavInputsDownDuration[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][70]["size"] = 21
defs["structs"]["ImGuiIO"][71] = {}
defs["structs"]["ImGuiIO"][71]["type"] = "float"
defs["structs"]["ImGuiIO"][71]["name"] = "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]"
defs["structs"]["ImGuiIO"][71]["size"] = 21
defs["structs"]["ImGuiPayload"] = {}
defs["structs"]["ImGuiPayload"][1] = {}
defs["structs"]["ImGuiPayload"][1]["type"] = "void*"
@@ -1883,46 +1922,6 @@ defs["structs"]["ImGuiSizeCallbackData"][3]["name"] = "CurrentSize"
defs["structs"]["ImGuiSizeCallbackData"][4] = {}
defs["structs"]["ImGuiSizeCallbackData"][4]["type"] = "ImVec2"
defs["structs"]["ImGuiSizeCallbackData"][4]["name"] = "DesiredSize"
defs["structs"]["ImGuiTextEditCallbackData"] = {}
defs["structs"]["ImGuiTextEditCallbackData"][1] = {}
defs["structs"]["ImGuiTextEditCallbackData"][1]["type"] = "ImGuiInputTextFlags"
defs["structs"]["ImGuiTextEditCallbackData"][1]["name"] = "EventFlag"
defs["structs"]["ImGuiTextEditCallbackData"][2] = {}
defs["structs"]["ImGuiTextEditCallbackData"][2]["type"] = "ImGuiInputTextFlags"
defs["structs"]["ImGuiTextEditCallbackData"][2]["name"] = "Flags"
defs["structs"]["ImGuiTextEditCallbackData"][3] = {}
defs["structs"]["ImGuiTextEditCallbackData"][3]["type"] = "void*"
defs["structs"]["ImGuiTextEditCallbackData"][3]["name"] = "UserData"
defs["structs"]["ImGuiTextEditCallbackData"][4] = {}
defs["structs"]["ImGuiTextEditCallbackData"][4]["type"] = "bool"
defs["structs"]["ImGuiTextEditCallbackData"][4]["name"] = "ReadOnly"
defs["structs"]["ImGuiTextEditCallbackData"][5] = {}
defs["structs"]["ImGuiTextEditCallbackData"][5]["type"] = "ImWchar"
defs["structs"]["ImGuiTextEditCallbackData"][5]["name"] = "EventChar"
defs["structs"]["ImGuiTextEditCallbackData"][6] = {}
defs["structs"]["ImGuiTextEditCallbackData"][6]["type"] = "ImGuiKey"
defs["structs"]["ImGuiTextEditCallbackData"][6]["name"] = "EventKey"
defs["structs"]["ImGuiTextEditCallbackData"][7] = {}
defs["structs"]["ImGuiTextEditCallbackData"][7]["type"] = "char*"
defs["structs"]["ImGuiTextEditCallbackData"][7]["name"] = "Buf"
defs["structs"]["ImGuiTextEditCallbackData"][8] = {}
defs["structs"]["ImGuiTextEditCallbackData"][8]["type"] = "int"
defs["structs"]["ImGuiTextEditCallbackData"][8]["name"] = "BufTextLen"
defs["structs"]["ImGuiTextEditCallbackData"][9] = {}
defs["structs"]["ImGuiTextEditCallbackData"][9]["type"] = "int"
defs["structs"]["ImGuiTextEditCallbackData"][9]["name"] = "BufSize"
defs["structs"]["ImGuiTextEditCallbackData"][10] = {}
defs["structs"]["ImGuiTextEditCallbackData"][10]["type"] = "bool"
defs["structs"]["ImGuiTextEditCallbackData"][10]["name"] = "BufDirty"
defs["structs"]["ImGuiTextEditCallbackData"][11] = {}
defs["structs"]["ImGuiTextEditCallbackData"][11]["type"] = "int"
defs["structs"]["ImGuiTextEditCallbackData"][11]["name"] = "CursorPos"
defs["structs"]["ImGuiTextEditCallbackData"][12] = {}
defs["structs"]["ImGuiTextEditCallbackData"][12]["type"] = "int"
defs["structs"]["ImGuiTextEditCallbackData"][12]["name"] = "SelectionStart"
defs["structs"]["ImGuiTextEditCallbackData"][13] = {}
defs["structs"]["ImGuiTextEditCallbackData"][13]["type"] = "int"
defs["structs"]["ImGuiTextEditCallbackData"][13]["name"] = "SelectionEnd"
defs["structs"]["ImGuiTextFilter"] = {}
defs["structs"]["ImGuiTextFilter"][1] = {}
defs["structs"]["ImGuiTextFilter"][1]["type"] = "char"
@@ -1934,6 +1933,43 @@ defs["structs"]["ImGuiTextFilter"][2]["name"] = "Filters"
defs["structs"]["ImGuiTextFilter"][3] = {}
defs["structs"]["ImGuiTextFilter"][3]["type"] = "int"
defs["structs"]["ImGuiTextFilter"][3]["name"] = "CountGrep"
defs["structs"]["ImGuiInputTextCallbackData"] = {}
defs["structs"]["ImGuiInputTextCallbackData"][1] = {}
defs["structs"]["ImGuiInputTextCallbackData"][1]["type"] = "ImGuiInputTextFlags"
defs["structs"]["ImGuiInputTextCallbackData"][1]["name"] = "EventFlag"
defs["structs"]["ImGuiInputTextCallbackData"][2] = {}
defs["structs"]["ImGuiInputTextCallbackData"][2]["type"] = "ImGuiInputTextFlags"
defs["structs"]["ImGuiInputTextCallbackData"][2]["name"] = "Flags"
defs["structs"]["ImGuiInputTextCallbackData"][3] = {}
defs["structs"]["ImGuiInputTextCallbackData"][3]["type"] = "void*"
defs["structs"]["ImGuiInputTextCallbackData"][3]["name"] = "UserData"
defs["structs"]["ImGuiInputTextCallbackData"][4] = {}
defs["structs"]["ImGuiInputTextCallbackData"][4]["type"] = "ImWchar"
defs["structs"]["ImGuiInputTextCallbackData"][4]["name"] = "EventChar"
defs["structs"]["ImGuiInputTextCallbackData"][5] = {}
defs["structs"]["ImGuiInputTextCallbackData"][5]["type"] = "ImGuiKey"
defs["structs"]["ImGuiInputTextCallbackData"][5]["name"] = "EventKey"
defs["structs"]["ImGuiInputTextCallbackData"][6] = {}
defs["structs"]["ImGuiInputTextCallbackData"][6]["type"] = "char*"
defs["structs"]["ImGuiInputTextCallbackData"][6]["name"] = "Buf"
defs["structs"]["ImGuiInputTextCallbackData"][7] = {}
defs["structs"]["ImGuiInputTextCallbackData"][7]["type"] = "int"
defs["structs"]["ImGuiInputTextCallbackData"][7]["name"] = "BufTextLen"
defs["structs"]["ImGuiInputTextCallbackData"][8] = {}
defs["structs"]["ImGuiInputTextCallbackData"][8]["type"] = "int"
defs["structs"]["ImGuiInputTextCallbackData"][8]["name"] = "BufSize"
defs["structs"]["ImGuiInputTextCallbackData"][9] = {}
defs["structs"]["ImGuiInputTextCallbackData"][9]["type"] = "bool"
defs["structs"]["ImGuiInputTextCallbackData"][9]["name"] = "BufDirty"
defs["structs"]["ImGuiInputTextCallbackData"][10] = {}
defs["structs"]["ImGuiInputTextCallbackData"][10]["type"] = "int"
defs["structs"]["ImGuiInputTextCallbackData"][10]["name"] = "CursorPos"
defs["structs"]["ImGuiInputTextCallbackData"][11] = {}
defs["structs"]["ImGuiInputTextCallbackData"][11]["type"] = "int"
defs["structs"]["ImGuiInputTextCallbackData"][11]["name"] = "SelectionStart"
defs["structs"]["ImGuiInputTextCallbackData"][12] = {}
defs["structs"]["ImGuiInputTextCallbackData"][12]["type"] = "int"
defs["structs"]["ImGuiInputTextCallbackData"][12]["name"] = "SelectionEnd"
defs["structs"]["ImVec2"] = {}
defs["structs"]["ImVec2"][1] = {}
defs["structs"]["ImVec2"][1]["type"] = "float"

View File

@@ -1 +1 @@
{"ImGuiColumnsFlags":"int","ImFontConfig":"struct ImFontConfig","ImS32":"signed int","ImGuiTreeNodeFlags":"int","ImGuiFocusedFlags":"int","ImGuiHoveredFlags":"int","ImU64":"unsigned long long","ImGuiID":"unsigned int","ImGuiStyle":"struct ImGuiStyle","ImDrawData":"struct ImDrawData","ImDrawListFlags":"int","ImGuiBackendFlags":"int","ImDrawList":"struct ImDrawList","ImDrawListSharedData":"struct ImDrawListSharedData","ImGuiColorEditFlags":"int","ImGuiDir":"int","ImFontAtlas":"struct ImFontAtlas","ImGuiCol":"int","ImGuiOnceUponAFrame":"struct ImGuiOnceUponAFrame","value_type":"T","iterator":"value_type*","ImGuiTextFilter":"struct ImGuiTextFilter","ImDrawIdx":"unsigned short","ImGuiComboFlags":"int","ImDrawCornerFlags":"int","ImWchar":"unsigned short","const_iterator":"const value_type*","ImDrawVert":"struct ImDrawVert","GlyphRangesBuilder":"struct GlyphRangesBuilder","ImGuiTextEditCallback":"int(*)(ImGuiTextEditCallbackData *data);","ImVec4":"struct ImVec4","ImGuiSizeCallback":"void(*)(ImGuiSizeCallbackData* data);","ImGuiConfigFlags":"int","ImGuiTextBuffer":"struct ImGuiTextBuffer","ImGuiContext":"struct ImGuiContext","ImColor":"struct ImColor","ImGuiTextEditCallbackData":"struct ImGuiTextEditCallbackData","ImVec2":"struct ImVec2","ImFontGlyph":"struct ImFontGlyph","Pair":"struct Pair","ImGuiWindowFlags":"int","ImGuiKey":"int","ImGuiListClipper":"struct ImGuiListClipper","ImGuiInputTextFlags":"int","ImDrawChannel":"struct ImDrawChannel","ImGuiDataType":"int","ImGuiStorage":"struct ImGuiStorage","ImGuiCond":"int","ImU32":"unsigned int","ImGuiStyleVar":"int","ImGuiSelectableFlags":"int","ImFont":"struct ImFont","ImGuiNavInput":"int","ImGuiIO":"struct ImGuiIO","ImTextureID":"void*","TextRange":"struct TextRange","ImGuiMouseCursor":"int","CustomRect":"struct CustomRect","ImFontAtlasFlags":"int","ImGuiPayload":"struct ImGuiPayload","ImDrawCmd":"struct ImDrawCmd","ImGuiSizeCallbackData":"struct ImGuiSizeCallbackData","ImDrawCallback":"void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);","ImGuiDragDropFlags":"int","ImS64":"signed long long"}
{"ImGuiColumnsFlags":"int","ImFontConfig":"struct ImFontConfig","ImS32":"signed int","ImGuiTreeNodeFlags":"int","ImGuiFocusedFlags":"int","ImGuiHoveredFlags":"int","ImU64":"uint64_t","ImGuiID":"unsigned int","ImGuiStyle":"struct ImGuiStyle","ImDrawData":"struct ImDrawData","ImDrawListFlags":"int","ImGuiBackendFlags":"int","ImGuiMouseCursor":"int","ImDrawListSharedData":"struct ImDrawListSharedData","ImGuiStyleVar":"int","ImGuiDir":"int","ImFontAtlas":"struct ImFontAtlas","ImGuiCol":"int","ImGuiOnceUponAFrame":"struct ImGuiOnceUponAFrame","value_type":"T","iterator":"value_type*","ImGuiTextFilter":"struct ImGuiTextFilter","ImDrawIdx":"unsigned short","ImGuiComboFlags":"int","ImDrawCornerFlags":"int","ImWchar":"unsigned short","const_iterator":"const value_type*","ImDrawVert":"struct ImDrawVert","GlyphRangesBuilder":"struct GlyphRangesBuilder","ImVec4":"struct ImVec4","ImGuiSizeCallback":"void(*)(ImGuiSizeCallbackData* data);","ImGuiConfigFlags":"int","ImGuiTextBuffer":"struct ImGuiTextBuffer","ImGuiContext":"struct ImGuiContext","ImColor":"struct ImColor","ImGuiInputTextCallback":"int(*)(ImGuiInputTextCallbackData *data);","ImVec2":"struct ImVec2","ImFontGlyph":"struct ImFontGlyph","ImGuiWindowFlags":"int","Pair":"struct Pair","ImGuiKey":"int","ImGuiInputTextFlags":"int","ImGuiListClipper":"struct ImGuiListClipper","ImGuiDataType":"int","ImDrawChannel":"struct ImDrawChannel","ImGuiIO":"struct ImGuiIO","ImGuiStorage":"struct ImGuiStorage","ImGuiCond":"int","ImU32":"unsigned int","ImGuiNavInput":"int","ImGuiColorEditFlags":"int","ImFont":"struct ImFont","ImGuiSelectableFlags":"int","ImDrawCallback":"void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);","ImTextureID":"void*","ImDrawList":"struct ImDrawList","TextRange":"struct TextRange","CustomRect":"struct CustomRect","ImFontAtlasFlags":"int","ImGuiInputTextCallbackData":"struct ImGuiInputTextCallbackData","ImDrawCmd":"struct ImDrawCmd","ImGuiSizeCallbackData":"struct ImGuiSizeCallbackData","ImS64":"int64_t","ImGuiDragDropFlags":"int","ImGuiPayload":"struct ImGuiPayload"}

View File

@@ -5,15 +5,15 @@ defs["ImS32"] = "signed int"
defs["ImGuiTreeNodeFlags"] = "int"
defs["ImGuiFocusedFlags"] = "int"
defs["ImGuiHoveredFlags"] = "int"
defs["ImU64"] = "unsigned long long"
defs["ImU64"] = "uint64_t"
defs["ImGuiID"] = "unsigned int"
defs["ImGuiStyle"] = "struct ImGuiStyle"
defs["ImDrawData"] = "struct ImDrawData"
defs["ImDrawListFlags"] = "int"
defs["ImGuiBackendFlags"] = "int"
defs["ImDrawList"] = "struct ImDrawList"
defs["ImGuiMouseCursor"] = "int"
defs["ImDrawListSharedData"] = "struct ImDrawListSharedData"
defs["ImGuiColorEditFlags"] = "int"
defs["ImGuiStyleVar"] = "int"
defs["ImGuiDir"] = "int"
defs["ImFontAtlas"] = "struct ImFontAtlas"
defs["ImGuiCol"] = "int"
@@ -28,41 +28,41 @@ defs["ImWchar"] = "unsigned short"
defs["const_iterator"] = "const value_type*"
defs["ImDrawVert"] = "struct ImDrawVert"
defs["GlyphRangesBuilder"] = "struct GlyphRangesBuilder"
defs["ImGuiTextEditCallback"] = "int(*)(ImGuiTextEditCallbackData *data);"
defs["ImVec4"] = "struct ImVec4"
defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);"
defs["ImGuiConfigFlags"] = "int"
defs["ImGuiTextBuffer"] = "struct ImGuiTextBuffer"
defs["ImGuiContext"] = "struct ImGuiContext"
defs["ImColor"] = "struct ImColor"
defs["ImGuiTextEditCallbackData"] = "struct ImGuiTextEditCallbackData"
defs["ImGuiInputTextCallback"] = "int(*)(ImGuiInputTextCallbackData *data);"
defs["ImVec2"] = "struct ImVec2"
defs["ImFontGlyph"] = "struct ImFontGlyph"
defs["Pair"] = "struct Pair"
defs["ImGuiWindowFlags"] = "int"
defs["Pair"] = "struct Pair"
defs["ImGuiKey"] = "int"
defs["ImGuiListClipper"] = "struct ImGuiListClipper"
defs["ImGuiInputTextFlags"] = "int"
defs["ImDrawChannel"] = "struct ImDrawChannel"
defs["ImGuiListClipper"] = "struct ImGuiListClipper"
defs["ImGuiDataType"] = "int"
defs["ImDrawChannel"] = "struct ImDrawChannel"
defs["ImGuiIO"] = "struct ImGuiIO"
defs["ImGuiStorage"] = "struct ImGuiStorage"
defs["ImGuiCond"] = "int"
defs["ImU32"] = "unsigned int"
defs["ImGuiStyleVar"] = "int"
defs["ImGuiSelectableFlags"] = "int"
defs["ImFont"] = "struct ImFont"
defs["ImGuiNavInput"] = "int"
defs["ImGuiIO"] = "struct ImGuiIO"
defs["ImGuiColorEditFlags"] = "int"
defs["ImFont"] = "struct ImFont"
defs["ImGuiSelectableFlags"] = "int"
defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);"
defs["ImTextureID"] = "void*"
defs["ImDrawList"] = "struct ImDrawList"
defs["TextRange"] = "struct TextRange"
defs["ImGuiMouseCursor"] = "int"
defs["CustomRect"] = "struct CustomRect"
defs["ImFontAtlasFlags"] = "int"
defs["ImGuiPayload"] = "struct ImGuiPayload"
defs["ImGuiInputTextCallbackData"] = "struct ImGuiInputTextCallbackData"
defs["ImDrawCmd"] = "struct ImDrawCmd"
defs["ImGuiSizeCallbackData"] = "struct ImGuiSizeCallbackData"
defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);"
defs["ImS64"] = "int64_t"
defs["ImGuiDragDropFlags"] = "int"
defs["ImS64"] = "signed long long"
defs["ImGuiPayload"] = "struct ImGuiPayload"
return defs

2
imgui

Submodule imgui updated: 00418d13e3...1c4008aa97