mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 11:58:30 +01:00
pull imgui 1.91.9 docking and generate
This commit is contained in:
182
cimgui.h
182
cimgui.h
@@ -1,5 +1,5 @@
|
||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||
//based on imgui.h file version "1.91.8" 19180 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.91.9" 19190 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//with imgui_freetype.h api
|
||||
//docking branch
|
||||
@@ -87,7 +87,6 @@ typedef struct ImDrawDataBuilder ImDrawDataBuilder;
|
||||
typedef struct ImGuiBoxSelectState ImGuiBoxSelectState;
|
||||
typedef struct ImGuiColorMod ImGuiColorMod;
|
||||
typedef struct ImGuiContextHook ImGuiContextHook;
|
||||
typedef struct ImGuiDataVarInfo ImGuiDataVarInfo;
|
||||
typedef struct ImGuiDataTypeInfo ImGuiDataTypeInfo;
|
||||
typedef struct ImGuiDeactivatedItemData ImGuiDeactivatedItemData;
|
||||
typedef struct ImGuiDockContext ImGuiDockContext;
|
||||
@@ -112,6 +111,7 @@ typedef struct ImGuiOldColumns ImGuiOldColumns;
|
||||
typedef struct ImGuiPopupData ImGuiPopupData;
|
||||
typedef struct ImGuiSettingsHandler ImGuiSettingsHandler;
|
||||
typedef struct ImGuiStyleMod ImGuiStyleMod;
|
||||
typedef struct ImGuiStyleVarInfo ImGuiStyleVarInfo;
|
||||
typedef struct ImGuiTabBar ImGuiTabBar;
|
||||
typedef struct ImGuiTabItem ImGuiTabItem;
|
||||
typedef struct ImGuiTable ImGuiTable;
|
||||
@@ -614,42 +614,43 @@ ImGuiKey_KeypadEnter=627,
|
||||
ImGuiKey_KeypadEqual=628,
|
||||
ImGuiKey_AppBack=629,
|
||||
ImGuiKey_AppForward=630,
|
||||
ImGuiKey_GamepadStart=631,
|
||||
ImGuiKey_GamepadBack=632,
|
||||
ImGuiKey_GamepadFaceLeft=633,
|
||||
ImGuiKey_GamepadFaceRight=634,
|
||||
ImGuiKey_GamepadFaceUp=635,
|
||||
ImGuiKey_GamepadFaceDown=636,
|
||||
ImGuiKey_GamepadDpadLeft=637,
|
||||
ImGuiKey_GamepadDpadRight=638,
|
||||
ImGuiKey_GamepadDpadUp=639,
|
||||
ImGuiKey_GamepadDpadDown=640,
|
||||
ImGuiKey_GamepadL1=641,
|
||||
ImGuiKey_GamepadR1=642,
|
||||
ImGuiKey_GamepadL2=643,
|
||||
ImGuiKey_GamepadR2=644,
|
||||
ImGuiKey_GamepadL3=645,
|
||||
ImGuiKey_GamepadR3=646,
|
||||
ImGuiKey_GamepadLStickLeft=647,
|
||||
ImGuiKey_GamepadLStickRight=648,
|
||||
ImGuiKey_GamepadLStickUp=649,
|
||||
ImGuiKey_GamepadLStickDown=650,
|
||||
ImGuiKey_GamepadRStickLeft=651,
|
||||
ImGuiKey_GamepadRStickRight=652,
|
||||
ImGuiKey_GamepadRStickUp=653,
|
||||
ImGuiKey_GamepadRStickDown=654,
|
||||
ImGuiKey_MouseLeft=655,
|
||||
ImGuiKey_MouseRight=656,
|
||||
ImGuiKey_MouseMiddle=657,
|
||||
ImGuiKey_MouseX1=658,
|
||||
ImGuiKey_MouseX2=659,
|
||||
ImGuiKey_MouseWheelX=660,
|
||||
ImGuiKey_MouseWheelY=661,
|
||||
ImGuiKey_ReservedForModCtrl=662,
|
||||
ImGuiKey_ReservedForModShift=663,
|
||||
ImGuiKey_ReservedForModAlt=664,
|
||||
ImGuiKey_ReservedForModSuper=665,
|
||||
ImGuiKey_NamedKey_END=666,
|
||||
ImGuiKey_Oem102=631,
|
||||
ImGuiKey_GamepadStart=632,
|
||||
ImGuiKey_GamepadBack=633,
|
||||
ImGuiKey_GamepadFaceLeft=634,
|
||||
ImGuiKey_GamepadFaceRight=635,
|
||||
ImGuiKey_GamepadFaceUp=636,
|
||||
ImGuiKey_GamepadFaceDown=637,
|
||||
ImGuiKey_GamepadDpadLeft=638,
|
||||
ImGuiKey_GamepadDpadRight=639,
|
||||
ImGuiKey_GamepadDpadUp=640,
|
||||
ImGuiKey_GamepadDpadDown=641,
|
||||
ImGuiKey_GamepadL1=642,
|
||||
ImGuiKey_GamepadR1=643,
|
||||
ImGuiKey_GamepadL2=644,
|
||||
ImGuiKey_GamepadR2=645,
|
||||
ImGuiKey_GamepadL3=646,
|
||||
ImGuiKey_GamepadR3=647,
|
||||
ImGuiKey_GamepadLStickLeft=648,
|
||||
ImGuiKey_GamepadLStickRight=649,
|
||||
ImGuiKey_GamepadLStickUp=650,
|
||||
ImGuiKey_GamepadLStickDown=651,
|
||||
ImGuiKey_GamepadRStickLeft=652,
|
||||
ImGuiKey_GamepadRStickRight=653,
|
||||
ImGuiKey_GamepadRStickUp=654,
|
||||
ImGuiKey_GamepadRStickDown=655,
|
||||
ImGuiKey_MouseLeft=656,
|
||||
ImGuiKey_MouseRight=657,
|
||||
ImGuiKey_MouseMiddle=658,
|
||||
ImGuiKey_MouseX1=659,
|
||||
ImGuiKey_MouseX2=660,
|
||||
ImGuiKey_MouseWheelX=661,
|
||||
ImGuiKey_MouseWheelY=662,
|
||||
ImGuiKey_ReservedForModCtrl=663,
|
||||
ImGuiKey_ReservedForModShift=664,
|
||||
ImGuiKey_ReservedForModAlt=665,
|
||||
ImGuiKey_ReservedForModSuper=666,
|
||||
ImGuiKey_NamedKey_END=667,
|
||||
ImGuiMod_None=0,
|
||||
ImGuiMod_Ctrl=1 << 12,
|
||||
ImGuiMod_Shift=1 << 13,
|
||||
@@ -779,6 +780,7 @@ typedef enum {
|
||||
ImGuiStyleVar_ScrollbarRounding,
|
||||
ImGuiStyleVar_GrabMinSize,
|
||||
ImGuiStyleVar_GrabRounding,
|
||||
ImGuiStyleVar_ImageBorderSize,
|
||||
ImGuiStyleVar_TabRounding,
|
||||
ImGuiStyleVar_TabBorderSize,
|
||||
ImGuiStyleVar_TabBarBorderSize,
|
||||
@@ -862,6 +864,8 @@ typedef enum {
|
||||
ImGuiMouseCursor_ResizeNESW,
|
||||
ImGuiMouseCursor_ResizeNWSE,
|
||||
ImGuiMouseCursor_Hand,
|
||||
ImGuiMouseCursor_Wait,
|
||||
ImGuiMouseCursor_Progress,
|
||||
ImGuiMouseCursor_NotAllowed,
|
||||
ImGuiMouseCursor_COUNT
|
||||
}ImGuiMouseCursor_;
|
||||
@@ -977,6 +981,7 @@ struct ImGuiStyle
|
||||
ImVec2 WindowPadding;
|
||||
float WindowRounding;
|
||||
float WindowBorderSize;
|
||||
float WindowBorderHoverPadding;
|
||||
ImVec2 WindowMinSize;
|
||||
ImVec2 WindowTitleAlign;
|
||||
ImGuiDir WindowMenuButtonPosition;
|
||||
@@ -998,9 +1003,11 @@ struct ImGuiStyle
|
||||
float GrabMinSize;
|
||||
float GrabRounding;
|
||||
float LogSliderDeadzone;
|
||||
float ImageBorderSize;
|
||||
float TabRounding;
|
||||
float TabBorderSize;
|
||||
float TabMinWidthForCloseButton;
|
||||
float TabCloseButtonMinWidthSelected;
|
||||
float TabCloseButtonMinWidthUnselected;
|
||||
float TabBarBorderSize;
|
||||
float TabBarOverlineSize;
|
||||
float TableAngledHeadersAngle;
|
||||
@@ -1088,6 +1095,7 @@ struct ImGuiIO
|
||||
bool ConfigErrorRecoveryEnableTooltip;
|
||||
bool ConfigDebugIsDebuggerPresent;
|
||||
bool ConfigDebugHighlightIdConflicts;
|
||||
bool ConfigDebugHighlightIdConflictsShowItemPicker;
|
||||
bool ConfigDebugBeginReturnValueOnce;
|
||||
bool ConfigDebugBeginReturnValueLoop;
|
||||
bool ConfigDebugIgnoreFocusLoss;
|
||||
@@ -1422,11 +1430,11 @@ struct ImFontConfig
|
||||
int OversampleH;
|
||||
int OversampleV;
|
||||
float SizePixels;
|
||||
ImVec2 GlyphExtraSpacing;
|
||||
ImVec2 GlyphOffset;
|
||||
const ImWchar* GlyphRanges;
|
||||
float GlyphMinAdvanceX;
|
||||
float GlyphMaxAdvanceX;
|
||||
float GlyphExtraAdvanceX;
|
||||
unsigned int FontBuilderFlags;
|
||||
float RasterizerMultiply;
|
||||
float RasterizerDensity;
|
||||
@@ -1490,7 +1498,7 @@ struct ImFontAtlas
|
||||
ImVec2 TexUvWhitePixel;
|
||||
ImVector_ImFontPtr Fonts;
|
||||
ImVector_ImFontAtlasCustomRect CustomRects;
|
||||
ImVector_ImFontConfig ConfigData;
|
||||
ImVector_ImFontConfig Sources;
|
||||
ImVec4 TexUvLines[(32) + 1];
|
||||
const ImFontBuilderIO* FontBuilderIO;
|
||||
unsigned int FontBuilderFlags;
|
||||
@@ -1510,10 +1518,10 @@ struct ImFont
|
||||
float FontSize;
|
||||
ImVector_ImU16 IndexLookup;
|
||||
ImVector_ImFontGlyph Glyphs;
|
||||
const ImFontGlyph* FallbackGlyph;
|
||||
ImFontGlyph* FallbackGlyph;
|
||||
ImFontAtlas* ContainerAtlas;
|
||||
const ImFontConfig* ConfigData;
|
||||
short ConfigDataCount;
|
||||
ImFontConfig* Sources;
|
||||
short SourcesCount;
|
||||
short EllipsisCharCount;
|
||||
ImWchar EllipsisChar;
|
||||
ImWchar FallbackChar;
|
||||
@@ -1626,7 +1634,6 @@ struct ImGuiBoxSelectState;
|
||||
struct ImGuiColorMod;
|
||||
struct ImGuiContext;
|
||||
struct ImGuiContextHook;
|
||||
struct ImGuiDataVarInfo;
|
||||
struct ImGuiDataTypeInfo;
|
||||
struct ImGuiDeactivatedItemData;
|
||||
struct ImGuiDockContext;
|
||||
@@ -1651,6 +1658,7 @@ struct ImGuiOldColumns;
|
||||
struct ImGuiPopupData;
|
||||
struct ImGuiSettingsHandler;
|
||||
struct ImGuiStyleMod;
|
||||
struct ImGuiStyleVarInfo;
|
||||
struct ImGuiTabBar;
|
||||
struct ImGuiTabItem;
|
||||
struct ImGuiTable;
|
||||
@@ -1724,8 +1732,9 @@ struct ImDrawListSharedData
|
||||
float FontScale;
|
||||
float CurveTessellationTol;
|
||||
float CircleSegmentMaxError;
|
||||
ImVec4 ClipRectFullscreen;
|
||||
float InitialFringeScale;
|
||||
ImDrawListFlags InitialFlags;
|
||||
ImVec4 ClipRectFullscreen;
|
||||
ImVector_ImVec2 TempBuffer;
|
||||
ImVec2 ArcFastVtx[48];
|
||||
float ArcFastRadiusCutoff;
|
||||
@@ -1736,11 +1745,21 @@ struct ImDrawDataBuilder
|
||||
ImVector_ImDrawListPtr* Layers[2];
|
||||
ImVector_ImDrawListPtr LayerData1;
|
||||
};
|
||||
struct ImGuiDataVarInfo
|
||||
struct ImGuiStyleVarInfo
|
||||
{
|
||||
ImGuiDataType Type;
|
||||
ImU32 Count;
|
||||
ImU32 Offset;
|
||||
ImU32 Count : 8;
|
||||
ImGuiDataType DataType : 8;
|
||||
ImU32 Offset : 16;
|
||||
};
|
||||
struct ImGuiColorMod
|
||||
{
|
||||
ImGuiCol Col;
|
||||
ImVec4 BackupValue;
|
||||
};
|
||||
struct ImGuiStyleMod
|
||||
{
|
||||
ImGuiStyleVar VarIdx;
|
||||
union { int BackupInt[2]; float BackupFloat[2]; };
|
||||
};
|
||||
typedef struct ImGuiDataTypeStorage ImGuiDataTypeStorage;
|
||||
struct ImGuiDataTypeStorage
|
||||
@@ -1755,7 +1774,7 @@ struct ImGuiDataTypeInfo
|
||||
const char* ScanFmt;
|
||||
};
|
||||
typedef enum {
|
||||
ImGuiDataType_Pointer = ImGuiDataType_COUNT + 1,
|
||||
ImGuiDataType_Pointer = ImGuiDataType_COUNT,
|
||||
ImGuiDataType_ID,
|
||||
}ImGuiDataTypePrivate_;
|
||||
typedef enum {
|
||||
@@ -1876,16 +1895,6 @@ typedef enum {
|
||||
ImGuiPlotType_Lines,
|
||||
ImGuiPlotType_Histogram,
|
||||
}ImGuiPlotType;
|
||||
struct ImGuiColorMod
|
||||
{
|
||||
ImGuiCol Col;
|
||||
ImVec4 BackupValue;
|
||||
};
|
||||
struct ImGuiStyleMod
|
||||
{
|
||||
ImGuiStyleVar VarIdx;
|
||||
union { int BackupInt[2]; float BackupFloat[2]; };
|
||||
};
|
||||
typedef struct ImGuiComboPreviewData ImGuiComboPreviewData;
|
||||
struct ImGuiComboPreviewData
|
||||
{
|
||||
@@ -1967,15 +1976,16 @@ typedef enum {
|
||||
ImGuiNextWindowDataFlags_HasFocus = 1 << 5,
|
||||
ImGuiNextWindowDataFlags_HasBgAlpha = 1 << 6,
|
||||
ImGuiNextWindowDataFlags_HasScroll = 1 << 7,
|
||||
ImGuiNextWindowDataFlags_HasChildFlags = 1 << 8,
|
||||
ImGuiNextWindowDataFlags_HasRefreshPolicy = 1 << 9,
|
||||
ImGuiNextWindowDataFlags_HasViewport = 1 << 10,
|
||||
ImGuiNextWindowDataFlags_HasDock = 1 << 11,
|
||||
ImGuiNextWindowDataFlags_HasWindowClass = 1 << 12,
|
||||
ImGuiNextWindowDataFlags_HasWindowFlags = 1 << 8,
|
||||
ImGuiNextWindowDataFlags_HasChildFlags = 1 << 9,
|
||||
ImGuiNextWindowDataFlags_HasRefreshPolicy = 1 << 10,
|
||||
ImGuiNextWindowDataFlags_HasViewport = 1 << 11,
|
||||
ImGuiNextWindowDataFlags_HasDock = 1 << 12,
|
||||
ImGuiNextWindowDataFlags_HasWindowClass = 1 << 13,
|
||||
}ImGuiNextWindowDataFlags_;
|
||||
struct ImGuiNextWindowData
|
||||
{
|
||||
ImGuiNextWindowDataFlags Flags;
|
||||
ImGuiNextWindowDataFlags HasFlags;
|
||||
ImGuiCond PosCond;
|
||||
ImGuiCond SizeCond;
|
||||
ImGuiCond CollapsedCond;
|
||||
@@ -1985,6 +1995,7 @@ struct ImGuiNextWindowData
|
||||
ImVec2 SizeVal;
|
||||
ImVec2 ContentSizeVal;
|
||||
ImVec2 ScrollVal;
|
||||
ImGuiWindowFlags WindowFlags;
|
||||
ImGuiChildFlags ChildFlags;
|
||||
bool PosUndock;
|
||||
bool CollapsedVal;
|
||||
@@ -2059,6 +2070,7 @@ struct ImGuiWindowStackData
|
||||
ImGuiLastItemData ParentLastItemDataBackup;
|
||||
ImGuiErrorRecoveryState StackSizesInBegin;
|
||||
bool DisabledOverrideReenable;
|
||||
float DisabledOverrideReenableAlphaBackup;
|
||||
};
|
||||
typedef struct ImGuiShrinkWidthItem ImGuiShrinkWidthItem;
|
||||
struct ImGuiShrinkWidthItem
|
||||
@@ -2635,7 +2647,6 @@ struct ImGuiMetricsConfig
|
||||
bool ShowDrawCmdMesh;
|
||||
bool ShowDrawCmdBoundingBoxes;
|
||||
bool ShowTextEncodingViewer;
|
||||
bool ShowAtlasTintedWithTextColor;
|
||||
bool ShowDockingNodes;
|
||||
int ShowWindowsRectsType;
|
||||
int ShowTablesRectsType;
|
||||
@@ -2662,6 +2673,7 @@ struct ImGuiIDStackTool
|
||||
ImVector_ImGuiStackLevelInfo Results;
|
||||
bool CopyToClipboardOnCtrlC;
|
||||
float CopyToClipboardLastTime;
|
||||
ImGuiTextBuffer ResultPathBuf;
|
||||
};
|
||||
typedef void (*ImGuiContextHookCallback)(ImGuiContext* ctx, ImGuiContextHook* hook);
|
||||
typedef enum { ImGuiContextHookType_NewFramePre, ImGuiContextHookType_NewFramePost, ImGuiContextHookType_EndFramePre, ImGuiContextHookType_EndFramePost, ImGuiContextHookType_RenderPre, ImGuiContextHookType_RenderPost, ImGuiContextHookType_Shutdown, ImGuiContextHookType_PendingRemoval_ }ImGuiContextHookType;
|
||||
@@ -2764,7 +2776,7 @@ struct ImGuiContext
|
||||
ImVector_ImGuiWindowStackData CurrentWindowStack;
|
||||
ImGuiStorage WindowsById;
|
||||
int WindowsActiveCount;
|
||||
ImVec2 WindowsHoverPadding;
|
||||
float WindowsBorderHoverPadding;
|
||||
ImGuiID DebugBreakInWindow;
|
||||
ImGuiWindow* CurrentWindow;
|
||||
ImGuiWindow* HoveredWindow;
|
||||
@@ -3126,6 +3138,8 @@ struct ImGuiWindow
|
||||
ImVec2 ScrollTargetEdgeSnapDist;
|
||||
ImVec2 ScrollbarSizes;
|
||||
bool ScrollbarX, ScrollbarY;
|
||||
bool ScrollbarXStabilizeEnabled;
|
||||
ImU8 ScrollbarXStabilizeToggledHistory;
|
||||
bool ViewportOwned;
|
||||
bool Active;
|
||||
bool WasActive;
|
||||
@@ -3499,7 +3513,7 @@ struct ImGuiTableColumnSettings
|
||||
ImGuiTableColumnIdx DisplayOrder;
|
||||
ImGuiTableColumnIdx SortOrder;
|
||||
ImU8 SortDirection : 2;
|
||||
ImU8 IsEnabled : 1;
|
||||
ImS8 IsEnabled : 2;
|
||||
ImU8 IsStretch : 1;
|
||||
};
|
||||
struct ImGuiTableSettings
|
||||
@@ -3620,7 +3634,7 @@ CIMGUI_API void igDestroyContext(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiContext* igGetCurrentContext(void);
|
||||
CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiIO* igGetIO(void);
|
||||
CIMGUI_API ImGuiPlatformIO* igGetPlatformIO(void);
|
||||
CIMGUI_API ImGuiPlatformIO* igGetPlatformIO_Nil(void);
|
||||
CIMGUI_API ImGuiStyle* igGetStyle(void);
|
||||
CIMGUI_API void igNewFrame(void);
|
||||
CIMGUI_API void igEndFrame(void);
|
||||
@@ -3768,7 +3782,8 @@ CIMGUI_API void igProgressBar(float fraction,const ImVec2 size_arg,const char* o
|
||||
CIMGUI_API void igBullet(void);
|
||||
CIMGUI_API bool igTextLink(const char* label);
|
||||
CIMGUI_API void igTextLinkOpenURL(const char* label,const char* url);
|
||||
CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 image_size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col);
|
||||
CIMGUI_API void igImage(ImTextureID user_texture_id,const ImVec2 image_size,const ImVec2 uv0,const ImVec2 uv1);
|
||||
CIMGUI_API void igImageWithBg(ImTextureID user_texture_id,const ImVec2 image_size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col);
|
||||
CIMGUI_API bool igImageButton(const char* str_id,ImTextureID user_texture_id,const ImVec2 image_size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 bg_col,const ImVec4 tint_col);
|
||||
CIMGUI_API bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags);
|
||||
CIMGUI_API void igEndCombo(void);
|
||||
@@ -4085,6 +4100,7 @@ CIMGUI_API const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self);
|
||||
CIMGUI_API int ImGuiTextBuffer_size(ImGuiTextBuffer* self);
|
||||
CIMGUI_API bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self);
|
||||
CIMGUI_API void ImGuiTextBuffer_clear(ImGuiTextBuffer* self);
|
||||
CIMGUI_API void ImGuiTextBuffer_resize(ImGuiTextBuffer* self,int size);
|
||||
CIMGUI_API void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity);
|
||||
CIMGUI_API const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self);
|
||||
CIMGUI_API void ImGuiTextBuffer_append(ImGuiTextBuffer* self,const char* str,const char* str_end);
|
||||
@@ -4266,11 +4282,10 @@ CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,int width,int
|
||||
CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset);
|
||||
CIMGUI_API ImFontAtlasCustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index);
|
||||
CIMGUI_API void ImFontAtlas_CalcCustomRectUV(ImFontAtlas* self,const ImFontAtlasCustomRect* rect,ImVec2* out_uv_min,ImVec2* out_uv_max);
|
||||
CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas* self,ImGuiMouseCursor cursor,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]);
|
||||
CIMGUI_API ImFont* ImFont_ImFont(void);
|
||||
CIMGUI_API void ImFont_destroy(ImFont* self);
|
||||
CIMGUI_API const ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c);
|
||||
CIMGUI_API const ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c);
|
||||
CIMGUI_API ImFontGlyph* ImFont_FindGlyph(ImFont* self,ImWchar c);
|
||||
CIMGUI_API ImFontGlyph* ImFont_FindGlyphNoFallback(ImFont* self,ImWchar c);
|
||||
CIMGUI_API float ImFont_GetCharAdvance(ImFont* self,ImWchar c);
|
||||
CIMGUI_API bool ImFont_IsLoaded(ImFont* self);
|
||||
CIMGUI_API const char* ImFont_GetDebugName(ImFont* self);
|
||||
@@ -4283,7 +4298,6 @@ CIMGUI_API void ImFont_ClearOutputData(ImFont* self);
|
||||
CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size);
|
||||
CIMGUI_API void ImFont_AddGlyph(ImFont* self,const ImFontConfig* src_cfg,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x);
|
||||
CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst);
|
||||
CIMGUI_API void ImFont_SetGlyphVisible(ImFont* self,ImWchar c,bool visible);
|
||||
CIMGUI_API bool ImFont_IsGlyphRangeUnused(ImFont* self,unsigned int c_begin,unsigned int c_last);
|
||||
CIMGUI_API ImGuiViewport* ImGuiViewport_ImGuiViewport(void);
|
||||
CIMGUI_API void ImGuiViewport_destroy(ImGuiViewport* self);
|
||||
@@ -4302,6 +4316,7 @@ CIMGUI_API ImU32 igImAlphaBlendColors(ImU32 col_a,ImU32 col_b);
|
||||
CIMGUI_API bool igImIsPowerOfTwo_Int(int v);
|
||||
CIMGUI_API bool igImIsPowerOfTwo_U64(ImU64 v);
|
||||
CIMGUI_API int igImUpperPowerOfTwo(int v);
|
||||
CIMGUI_API unsigned int igImCountSetBits(unsigned int v);
|
||||
CIMGUI_API int igImStricmp(const char* str1,const char* str2);
|
||||
CIMGUI_API int igImStrnicmp(const char* str1,const char* str2,size_t count);
|
||||
CIMGUI_API void igImStrncpy(char* dst,const char* src,size_t count);
|
||||
@@ -4445,7 +4460,7 @@ CIMGUI_API void ImDrawListSharedData_destroy(ImDrawListSharedData* self);
|
||||
CIMGUI_API void ImDrawListSharedData_SetCircleTessellationMaxError(ImDrawListSharedData* self,float max_error);
|
||||
CIMGUI_API ImDrawDataBuilder* ImDrawDataBuilder_ImDrawDataBuilder(void);
|
||||
CIMGUI_API void ImDrawDataBuilder_destroy(ImDrawDataBuilder* self);
|
||||
CIMGUI_API void* ImGuiDataVarInfo_GetVarPtr(ImGuiDataVarInfo* self,void* parent);
|
||||
CIMGUI_API void* ImGuiStyleVarInfo_GetVarPtr(ImGuiStyleVarInfo* self,void* parent);
|
||||
CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Int(ImGuiStyleVar idx,int v);
|
||||
CIMGUI_API void ImGuiStyleMod_destroy(ImGuiStyleMod* self);
|
||||
CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Float(ImGuiStyleVar idx,float v);
|
||||
@@ -4593,7 +4608,7 @@ CIMGUI_API ImGuiTableSettings* ImGuiTableSettings_ImGuiTableSettings(void);
|
||||
CIMGUI_API void ImGuiTableSettings_destroy(ImGuiTableSettings* self);
|
||||
CIMGUI_API ImGuiTableColumnSettings* ImGuiTableSettings_GetColumnSettings(ImGuiTableSettings* self);
|
||||
CIMGUI_API ImGuiIO* igGetIOEx(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiPlatformIO* igGetPlatformIOEx(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiPlatformIO* igGetPlatformIO_ContextPtr(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiWindow* igGetCurrentWindowRead(void);
|
||||
CIMGUI_API ImGuiWindow* igGetCurrentWindow(void);
|
||||
CIMGUI_API ImGuiWindow* igFindWindowByID(ImGuiID id);
|
||||
@@ -4693,7 +4708,7 @@ CIMGUI_API void igCalcItemSize(ImVec2 *pOut,ImVec2 size,float default_w,float de
|
||||
CIMGUI_API float igCalcWrapWidthForPos(const ImVec2 pos,float wrap_pos_x);
|
||||
CIMGUI_API void igPushMultiItemsWidths(int components,float width_full);
|
||||
CIMGUI_API void igShrinkWidths(ImGuiShrinkWidthItem* items,int count,float width_excess);
|
||||
CIMGUI_API const ImGuiDataVarInfo* igGetStyleVarInfo(ImGuiStyleVar idx);
|
||||
CIMGUI_API const ImGuiStyleVarInfo* igGetStyleVarInfo(ImGuiStyleVar idx);
|
||||
CIMGUI_API void igBeginDisabledOverrideReenable(void);
|
||||
CIMGUI_API void igEndDisabledOverrideReenable(void);
|
||||
CIMGUI_API void igLogBegin(ImGuiLogFlags flags,int auto_open_depth);
|
||||
@@ -4702,6 +4717,7 @@ CIMGUI_API void igLogRenderedText(const ImVec2* ref_pos,const char* text,const c
|
||||
CIMGUI_API void igLogSetNextTextDecoration(const char* prefix,const char* suffix);
|
||||
CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2 size_arg,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags);
|
||||
CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_window_flags);
|
||||
CIMGUI_API bool igBeginPopupMenuEx(ImGuiID id,const char* label,ImGuiWindowFlags extra_window_flags);
|
||||
CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags);
|
||||
CIMGUI_API void igClosePopupToLevel(int remaining,bool restore_focus_to_window_under_popup);
|
||||
CIMGUI_API void igClosePopupsOverWindow(ImGuiWindow* ref_window,bool restore_focus_to_window_under_popup);
|
||||
@@ -4982,6 +4998,7 @@ CIMGUI_API bool igTempInputScalar(const ImRect bb,ImGuiID id,const char* label,I
|
||||
CIMGUI_API bool igTempInputIsActive(ImGuiID id);
|
||||
CIMGUI_API ImGuiInputTextState* igGetInputTextState(ImGuiID id);
|
||||
CIMGUI_API void igSetNextItemRefVal(ImGuiDataType data_type,void* p_data);
|
||||
CIMGUI_API bool igIsItemActiveAsInputText(void);
|
||||
CIMGUI_API void igColorTooltip(const char* text,const float* col,ImGuiColorEditFlags flags);
|
||||
CIMGUI_API void igColorEditOptionsPopup(const float* col,ImGuiColorEditFlags flags);
|
||||
CIMGUI_API void igColorPickerOptionsPopup(const float* ref_col,ImGuiColorEditFlags flags);
|
||||
@@ -5035,16 +5052,17 @@ CIMGUI_API void igDebugNodePlatformMonitor(ImGuiPlatformMonitor* monitor,const c
|
||||
CIMGUI_API void igDebugRenderKeyboardPreview(ImDrawList* draw_list);
|
||||
CIMGUI_API void igDebugRenderViewportThumbnail(ImDrawList* draw_list,ImGuiViewportP* viewport,const ImRect bb);
|
||||
CIMGUI_API const ImFontBuilderIO* igImFontAtlasGetBuilderForStbTruetype(void);
|
||||
CIMGUI_API void igImFontAtlasUpdateConfigDataPointers(ImFontAtlas* atlas);
|
||||
CIMGUI_API void igImFontAtlasUpdateSourcesPointers(ImFontAtlas* atlas);
|
||||
CIMGUI_API void igImFontAtlasBuildInit(ImFontAtlas* atlas);
|
||||
CIMGUI_API void igImFontAtlasBuildSetupFont(ImFontAtlas* atlas,ImFont* font,ImFontConfig* font_config,float ascent,float descent);
|
||||
CIMGUI_API void igImFontAtlasBuildSetupFont(ImFontAtlas* atlas,ImFont* font,ImFontConfig* src,float ascent,float descent);
|
||||
CIMGUI_API void igImFontAtlasBuildPackCustomRects(ImFontAtlas* atlas,void* stbrp_context_opaque);
|
||||
CIMGUI_API void igImFontAtlasBuildFinish(ImFontAtlas* atlas);
|
||||
CIMGUI_API void igImFontAtlasBuildRender8bppRectFromString(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char,unsigned char in_marker_pixel_value);
|
||||
CIMGUI_API void igImFontAtlasBuildRender32bppRectFromString(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char,unsigned int in_marker_pixel_value);
|
||||
CIMGUI_API void igImFontAtlasBuildMultiplyCalcLookupTable(unsigned char out_table[256],float in_multiply_factor);
|
||||
CIMGUI_API void igImFontAtlasBuildMultiplyRectAlpha8(const unsigned char table[256],unsigned char* pixels,int x,int y,int w,int h,int stride);
|
||||
CIMGUI_API void igImFontAtlasBuildGetOversampleFactors(const ImFontConfig* cfg,int* out_oversample_h,int* out_oversample_v);
|
||||
CIMGUI_API void igImFontAtlasBuildGetOversampleFactors(const ImFontConfig* src,int* out_oversample_h,int* out_oversample_v);
|
||||
CIMGUI_API bool igImFontAtlasGetMouseCursorTexData(ImFontAtlas* atlas,ImGuiMouseCursor cursor_type,ImVec2* out_offset,ImVec2* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]);
|
||||
#ifdef IMGUI_ENABLE_FREETYPE
|
||||
CIMGUI_API const ImFontBuilderIO* ImGuiFreeType_GetBuilderForFreeType(void);
|
||||
CIMGUI_API void ImGuiFreeType_SetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data);
|
||||
|
Reference in New Issue
Block a user