mirror of
https://github.com/pound-emu/ballistic.git
synced 2026-06-17 04:16:48 -07:00
This adds luajit-imgui without submodules. Signed-off-by: Ronald Caesar <github43132@proton.me>
8698 lines
456 KiB
Lua
8698 lines
456 KiB
Lua
--time_t needed for implot_internal
|
|
local ffi = require"ffi"
|
|
local IS_64_BIT = ffi.abi('64bit')
|
|
local cdecl = ""
|
|
cdecl = cdecl .. [[
|
|
typedef struct tm
|
|
{
|
|
int tm_sec ;
|
|
int tm_min ;
|
|
int tm_hour ;
|
|
int tm_mday ;
|
|
int tm_mon ;
|
|
int tm_year ;
|
|
int tm_wday ;
|
|
int tm_yday ;
|
|
int tm_isdst ;
|
|
} tm;
|
|
]]
|
|
if ffi.os == "Windows" then
|
|
if IS_64_BIT then
|
|
cdecl = cdecl..[[typedef __int64 time_t;]]
|
|
else
|
|
cdecl = cdecl..[[typedef __int32 time_t;]]
|
|
end
|
|
else
|
|
cdecl = cdecl..[[typedef size_t time_t;]]
|
|
end
|
|
|
|
|
|
--[[ BEGIN AUTOGENERATED SEGMENT ]]
|
|
cdecl = cdecl .. [[
|
|
typedef void FILE;
|
|
typedef struct ImDrawChannel ImDrawChannel;
|
|
typedef struct ImDrawCmd ImDrawCmd;
|
|
typedef struct ImDrawData ImDrawData;
|
|
typedef struct ImDrawList ImDrawList;
|
|
typedef struct ImDrawListSharedData ImDrawListSharedData;
|
|
typedef struct ImDrawListSplitter ImDrawListSplitter;
|
|
typedef struct ImDrawVert ImDrawVert;
|
|
typedef struct ImFont ImFont;
|
|
typedef struct ImFontAtlas ImFontAtlas;
|
|
typedef struct ImFontAtlasBuilder ImFontAtlasBuilder;
|
|
typedef struct ImFontAtlasRect ImFontAtlasRect;
|
|
typedef struct ImFontBaked ImFontBaked;
|
|
typedef struct ImFontConfig ImFontConfig;
|
|
typedef struct ImFontGlyph ImFontGlyph;
|
|
typedef struct ImFontGlyphRangesBuilder ImFontGlyphRangesBuilder;
|
|
typedef struct ImFontLoader ImFontLoader;
|
|
typedef struct ImTextureData ImTextureData;
|
|
typedef struct ImTextureRect ImTextureRect;
|
|
typedef struct ImColor_c ImColor_c;
|
|
typedef struct ImGuiContext ImGuiContext;
|
|
typedef struct ImGuiIO ImGuiIO;
|
|
typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData;
|
|
typedef struct ImGuiKeyData ImGuiKeyData;
|
|
typedef struct ImGuiListClipper ImGuiListClipper;
|
|
typedef struct ImGuiMultiSelectIO ImGuiMultiSelectIO;
|
|
typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame;
|
|
typedef struct ImGuiPayload ImGuiPayload;
|
|
typedef struct ImGuiPlatformIO ImGuiPlatformIO;
|
|
typedef struct ImGuiPlatformImeData ImGuiPlatformImeData;
|
|
typedef struct ImGuiPlatformMonitor ImGuiPlatformMonitor;
|
|
typedef struct ImGuiSelectionBasicStorage ImGuiSelectionBasicStorage;
|
|
typedef struct ImGuiSelectionExternalStorage ImGuiSelectionExternalStorage;
|
|
typedef struct ImGuiSelectionRequest ImGuiSelectionRequest;
|
|
typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData;
|
|
typedef struct ImGuiStorage ImGuiStorage;
|
|
typedef struct ImGuiStoragePair ImGuiStoragePair;
|
|
typedef struct ImGuiStyle ImGuiStyle;
|
|
typedef struct ImGuiTableSortSpecs ImGuiTableSortSpecs;
|
|
typedef struct ImGuiTableColumnSortSpecs ImGuiTableColumnSortSpecs;
|
|
typedef struct ImGuiTextBuffer ImGuiTextBuffer;
|
|
typedef struct ImGuiTextFilter ImGuiTextFilter;
|
|
typedef struct ImGuiViewport ImGuiViewport;
|
|
typedef struct ImGuiWindowClass ImGuiWindowClass;
|
|
typedef struct ImBitVector ImBitVector;
|
|
typedef struct ImRect_c ImRect_c;
|
|
typedef struct ImGuiTextIndex ImGuiTextIndex;
|
|
typedef struct ImDrawDataBuilder ImDrawDataBuilder;
|
|
typedef struct ImFontAtlasPostProcessData ImFontAtlasPostProcessData;
|
|
typedef struct ImFontAtlasRectEntry ImFontAtlasRectEntry;
|
|
typedef struct ImGuiBoxSelectState ImGuiBoxSelectState;
|
|
typedef struct ImGuiColorMod ImGuiColorMod;
|
|
typedef struct ImGuiContextHook ImGuiContextHook;
|
|
typedef struct ImGuiDataTypeInfo ImGuiDataTypeInfo;
|
|
typedef struct ImGuiDeactivatedItemData ImGuiDeactivatedItemData;
|
|
typedef struct ImGuiDockContext ImGuiDockContext;
|
|
typedef struct ImGuiDockRequest ImGuiDockRequest;
|
|
typedef struct ImGuiDockNode ImGuiDockNode;
|
|
typedef struct ImGuiDockNodeSettings ImGuiDockNodeSettings;
|
|
typedef struct ImGuiErrorRecoveryState ImGuiErrorRecoveryState;
|
|
typedef struct ImGuiGroupData ImGuiGroupData;
|
|
typedef struct ImGuiInputTextState ImGuiInputTextState;
|
|
typedef struct ImGuiInputTextDeactivateData ImGuiInputTextDeactivateData;
|
|
typedef struct ImGuiLastItemData ImGuiLastItemData;
|
|
typedef struct ImGuiLocEntry ImGuiLocEntry;
|
|
typedef struct ImGuiMenuColumns ImGuiMenuColumns;
|
|
typedef struct ImGuiMultiSelectState ImGuiMultiSelectState;
|
|
typedef struct ImGuiMultiSelectTempData ImGuiMultiSelectTempData;
|
|
typedef struct ImGuiNavItemData ImGuiNavItemData;
|
|
typedef struct ImGuiMetricsConfig ImGuiMetricsConfig;
|
|
typedef struct ImGuiNextWindowData ImGuiNextWindowData;
|
|
typedef struct ImGuiNextItemData ImGuiNextItemData;
|
|
typedef struct ImGuiOldColumnData ImGuiOldColumnData;
|
|
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;
|
|
typedef struct ImGuiTableHeaderData ImGuiTableHeaderData;
|
|
typedef struct ImGuiTableColumn ImGuiTableColumn;
|
|
typedef struct ImGuiTableInstanceData ImGuiTableInstanceData;
|
|
typedef struct ImGuiTableTempData ImGuiTableTempData;
|
|
typedef struct ImGuiTableSettings ImGuiTableSettings;
|
|
typedef struct ImGuiTableColumnsSettings ImGuiTableColumnsSettings;
|
|
typedef struct ImGuiTreeNodeStackData ImGuiTreeNodeStackData;
|
|
typedef struct ImGuiTypingSelectState ImGuiTypingSelectState;
|
|
typedef struct ImGuiTypingSelectRequest ImGuiTypingSelectRequest;
|
|
typedef struct ImGuiWindow ImGuiWindow;
|
|
typedef struct ImGuiWindowDockStyle ImGuiWindowDockStyle;
|
|
typedef struct ImGuiWindowTempData ImGuiWindowTempData;
|
|
typedef struct ImGuiWindowSettings ImGuiWindowSettings;
|
|
typedef struct STB_TexteditState STB_TexteditState;
|
|
typedef struct stbrp_node stbrp_node;
|
|
typedef struct ImVector_const_charPtr {int Size;int Capacity;const char** Data;} ImVector_const_charPtr;
|
|
typedef unsigned int ImGuiID;
|
|
typedef signed char ImS8;
|
|
typedef unsigned char ImU8;
|
|
typedef signed short ImS16;
|
|
typedef unsigned short ImU16;
|
|
typedef signed int ImS32;
|
|
typedef unsigned int ImU32;
|
|
typedef signed long long ImS64;
|
|
typedef unsigned long long ImU64;
|
|
struct ImDrawChannel;
|
|
struct ImDrawCmd;
|
|
struct ImDrawData;
|
|
struct ImDrawList;
|
|
struct ImDrawListSharedData;
|
|
struct ImDrawListSplitter;
|
|
struct ImDrawVert;
|
|
struct ImFont;
|
|
struct ImFontAtlas;
|
|
struct ImFontAtlasBuilder;
|
|
struct ImFontAtlasRect;
|
|
struct ImFontBaked;
|
|
struct ImFontConfig;
|
|
struct ImFontGlyph;
|
|
struct ImFontGlyphRangesBuilder;
|
|
struct ImFontLoader;
|
|
struct ImTextureData;
|
|
struct ImTextureRect;
|
|
struct ImColor_c;
|
|
struct ImGuiContext;
|
|
struct ImGuiIO;
|
|
struct ImGuiInputTextCallbackData;
|
|
struct ImGuiKeyData;
|
|
struct ImGuiListClipper;
|
|
struct ImGuiMultiSelectIO;
|
|
struct ImGuiOnceUponAFrame;
|
|
struct ImGuiPayload;
|
|
struct ImGuiPlatformIO;
|
|
struct ImGuiPlatformImeData;
|
|
struct ImGuiPlatformMonitor;
|
|
struct ImGuiSelectionBasicStorage;
|
|
struct ImGuiSelectionExternalStorage;
|
|
struct ImGuiSelectionRequest;
|
|
struct ImGuiSizeCallbackData;
|
|
struct ImGuiStorage;
|
|
struct ImGuiStoragePair;
|
|
struct ImGuiStyle;
|
|
struct ImGuiTableSortSpecs;
|
|
struct ImGuiTableColumnSortSpecs;
|
|
struct ImGuiTextBuffer;
|
|
struct ImGuiTextFilter;
|
|
struct ImGuiViewport;
|
|
struct ImGuiWindowClass;
|
|
typedef int ImGuiCol;
|
|
typedef int ImGuiCond;
|
|
typedef int ImGuiDataType;
|
|
typedef int ImGuiMouseButton;
|
|
typedef int ImGuiMouseCursor;
|
|
typedef int ImGuiStyleVar;
|
|
typedef int ImGuiTableBgTarget;
|
|
typedef int ImDrawFlags;
|
|
typedef int ImDrawListFlags;
|
|
typedef int ImDrawTextFlags;
|
|
typedef int ImFontFlags;
|
|
typedef int ImFontAtlasFlags;
|
|
typedef int ImGuiBackendFlags;
|
|
typedef int ImGuiButtonFlags;
|
|
typedef int ImGuiChildFlags;
|
|
typedef int ImGuiColorEditFlags;
|
|
typedef int ImGuiConfigFlags;
|
|
typedef int ImGuiComboFlags;
|
|
typedef int ImGuiDockNodeFlags;
|
|
typedef int ImGuiDragDropFlags;
|
|
typedef int ImGuiFocusedFlags;
|
|
typedef int ImGuiHoveredFlags;
|
|
typedef int ImGuiInputFlags;
|
|
typedef int ImGuiInputTextFlags;
|
|
typedef int ImGuiItemFlags;
|
|
typedef int ImGuiKeyChord;
|
|
typedef int ImGuiListClipperFlags;
|
|
typedef int ImGuiPopupFlags;
|
|
typedef int ImGuiMultiSelectFlags;
|
|
typedef int ImGuiSelectableFlags;
|
|
typedef int ImGuiSliderFlags;
|
|
typedef int ImGuiTabBarFlags;
|
|
typedef int ImGuiTabItemFlags;
|
|
typedef int ImGuiTableFlags;
|
|
typedef int ImGuiTableColumnFlags;
|
|
typedef int ImGuiTableRowFlags;
|
|
typedef int ImGuiTreeNodeFlags;
|
|
typedef int ImGuiViewportFlags;
|
|
typedef int ImGuiWindowFlags;
|
|
typedef unsigned int ImWchar32;
|
|
typedef unsigned short ImWchar16;
|
|
typedef ImWchar32 ImWchar;
|
|
typedef ImS64 ImGuiSelectionUserData;
|
|
typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData* data);
|
|
typedef void (*ImGuiSizeCallback)(ImGuiSizeCallbackData* data);
|
|
typedef void* (*ImGuiMemAllocFunc)(size_t sz, void* user_data);
|
|
typedef void (*ImGuiMemFreeFunc)(void* ptr, void* user_data);
|
|
typedef struct ImVec2_c ImVec2_c;
|
|
struct ImVec2_c
|
|
{
|
|
float x, y;
|
|
};
|
|
typedef struct ImVec4_c ImVec4_c;
|
|
struct ImVec4_c
|
|
{
|
|
float x, y, z, w;
|
|
};
|
|
typedef ImU64 ImTextureID;
|
|
typedef struct ImTextureRef_c ImTextureRef_c;
|
|
struct ImTextureRef_c
|
|
{
|
|
ImTextureData* _TexData;
|
|
ImTextureID _TexID;
|
|
};
|
|
typedef enum {
|
|
ImGuiWindowFlags_None = 0,
|
|
ImGuiWindowFlags_NoTitleBar = 1 << 0,
|
|
ImGuiWindowFlags_NoResize = 1 << 1,
|
|
ImGuiWindowFlags_NoMove = 1 << 2,
|
|
ImGuiWindowFlags_NoScrollbar = 1 << 3,
|
|
ImGuiWindowFlags_NoScrollWithMouse = 1 << 4,
|
|
ImGuiWindowFlags_NoCollapse = 1 << 5,
|
|
ImGuiWindowFlags_AlwaysAutoResize = 1 << 6,
|
|
ImGuiWindowFlags_NoBackground = 1 << 7,
|
|
ImGuiWindowFlags_NoSavedSettings = 1 << 8,
|
|
ImGuiWindowFlags_NoMouseInputs = 1 << 9,
|
|
ImGuiWindowFlags_MenuBar = 1 << 10,
|
|
ImGuiWindowFlags_HorizontalScrollbar = 1 << 11,
|
|
ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12,
|
|
ImGuiWindowFlags_NoBringToFrontOnFocus = 1 << 13,
|
|
ImGuiWindowFlags_AlwaysVerticalScrollbar= 1 << 14,
|
|
ImGuiWindowFlags_AlwaysHorizontalScrollbar=1<< 15,
|
|
ImGuiWindowFlags_NoNavInputs = 1 << 16,
|
|
ImGuiWindowFlags_NoNavFocus = 1 << 17,
|
|
ImGuiWindowFlags_UnsavedDocument = 1 << 18,
|
|
ImGuiWindowFlags_NoDocking = 1 << 19,
|
|
ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
|
ImGuiWindowFlags_NoDecoration = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse,
|
|
ImGuiWindowFlags_NoInputs = ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
|
ImGuiWindowFlags_DockNodeHost = 1 << 23,
|
|
ImGuiWindowFlags_ChildWindow = 1 << 24,
|
|
ImGuiWindowFlags_Tooltip = 1 << 25,
|
|
ImGuiWindowFlags_Popup = 1 << 26,
|
|
ImGuiWindowFlags_Modal = 1 << 27,
|
|
ImGuiWindowFlags_ChildMenu = 1 << 28,
|
|
}ImGuiWindowFlags_;
|
|
typedef enum {
|
|
ImGuiChildFlags_None = 0,
|
|
ImGuiChildFlags_Borders = 1 << 0,
|
|
ImGuiChildFlags_AlwaysUseWindowPadding = 1 << 1,
|
|
ImGuiChildFlags_ResizeX = 1 << 2,
|
|
ImGuiChildFlags_ResizeY = 1 << 3,
|
|
ImGuiChildFlags_AutoResizeX = 1 << 4,
|
|
ImGuiChildFlags_AutoResizeY = 1 << 5,
|
|
ImGuiChildFlags_AlwaysAutoResize = 1 << 6,
|
|
ImGuiChildFlags_FrameStyle = 1 << 7,
|
|
ImGuiChildFlags_NavFlattened = 1 << 8,
|
|
}ImGuiChildFlags_;
|
|
typedef enum {
|
|
ImGuiItemFlags_None = 0,
|
|
ImGuiItemFlags_NoTabStop = 1 << 0,
|
|
ImGuiItemFlags_NoNav = 1 << 1,
|
|
ImGuiItemFlags_NoNavDefaultFocus = 1 << 2,
|
|
ImGuiItemFlags_ButtonRepeat = 1 << 3,
|
|
ImGuiItemFlags_AutoClosePopups = 1 << 4,
|
|
ImGuiItemFlags_AllowDuplicateId = 1 << 5,
|
|
ImGuiItemFlags_Disabled = 1 << 6,
|
|
}ImGuiItemFlags_;
|
|
typedef enum {
|
|
ImGuiInputTextFlags_None = 0,
|
|
ImGuiInputTextFlags_CharsDecimal = 1 << 0,
|
|
ImGuiInputTextFlags_CharsHexadecimal = 1 << 1,
|
|
ImGuiInputTextFlags_CharsScientific = 1 << 2,
|
|
ImGuiInputTextFlags_CharsUppercase = 1 << 3,
|
|
ImGuiInputTextFlags_CharsNoBlank = 1 << 4,
|
|
ImGuiInputTextFlags_AllowTabInput = 1 << 5,
|
|
ImGuiInputTextFlags_EnterReturnsTrue = 1 << 6,
|
|
ImGuiInputTextFlags_EscapeClearsAll = 1 << 7,
|
|
ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 8,
|
|
ImGuiInputTextFlags_ReadOnly = 1 << 9,
|
|
ImGuiInputTextFlags_Password = 1 << 10,
|
|
ImGuiInputTextFlags_AlwaysOverwrite = 1 << 11,
|
|
ImGuiInputTextFlags_AutoSelectAll = 1 << 12,
|
|
ImGuiInputTextFlags_ParseEmptyRefVal = 1 << 13,
|
|
ImGuiInputTextFlags_DisplayEmptyRefVal = 1 << 14,
|
|
ImGuiInputTextFlags_NoHorizontalScroll = 1 << 15,
|
|
ImGuiInputTextFlags_NoUndoRedo = 1 << 16,
|
|
ImGuiInputTextFlags_ElideLeft = 1 << 17,
|
|
ImGuiInputTextFlags_CallbackCompletion = 1 << 18,
|
|
ImGuiInputTextFlags_CallbackHistory = 1 << 19,
|
|
ImGuiInputTextFlags_CallbackAlways = 1 << 20,
|
|
ImGuiInputTextFlags_CallbackCharFilter = 1 << 21,
|
|
ImGuiInputTextFlags_CallbackResize = 1 << 22,
|
|
ImGuiInputTextFlags_CallbackEdit = 1 << 23,
|
|
ImGuiInputTextFlags_WordWrap = 1 << 24,
|
|
}ImGuiInputTextFlags_;
|
|
typedef enum {
|
|
ImGuiTreeNodeFlags_None = 0,
|
|
ImGuiTreeNodeFlags_Selected = 1 << 0,
|
|
ImGuiTreeNodeFlags_Framed = 1 << 1,
|
|
ImGuiTreeNodeFlags_AllowOverlap = 1 << 2,
|
|
ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3,
|
|
ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4,
|
|
ImGuiTreeNodeFlags_DefaultOpen = 1 << 5,
|
|
ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6,
|
|
ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7,
|
|
ImGuiTreeNodeFlags_Leaf = 1 << 8,
|
|
ImGuiTreeNodeFlags_Bullet = 1 << 9,
|
|
ImGuiTreeNodeFlags_FramePadding = 1 << 10,
|
|
ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11,
|
|
ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12,
|
|
ImGuiTreeNodeFlags_SpanLabelWidth = 1 << 13,
|
|
ImGuiTreeNodeFlags_SpanAllColumns = 1 << 14,
|
|
ImGuiTreeNodeFlags_LabelSpanAllColumns = 1 << 15,
|
|
ImGuiTreeNodeFlags_NavLeftJumpsToParent = 1 << 17,
|
|
ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog,
|
|
ImGuiTreeNodeFlags_DrawLinesNone = 1 << 18,
|
|
ImGuiTreeNodeFlags_DrawLinesFull = 1 << 19,
|
|
ImGuiTreeNodeFlags_DrawLinesToNodes = 1 << 20,
|
|
}ImGuiTreeNodeFlags_;
|
|
typedef enum {
|
|
ImGuiPopupFlags_None = 0,
|
|
ImGuiPopupFlags_MouseButtonLeft = 1 << 2,
|
|
ImGuiPopupFlags_MouseButtonRight = 2 << 2,
|
|
ImGuiPopupFlags_MouseButtonMiddle = 3 << 2,
|
|
ImGuiPopupFlags_NoReopen = 1 << 5,
|
|
ImGuiPopupFlags_NoOpenOverExistingPopup = 1 << 7,
|
|
ImGuiPopupFlags_NoOpenOverItems = 1 << 8,
|
|
ImGuiPopupFlags_AnyPopupId = 1 << 10,
|
|
ImGuiPopupFlags_AnyPopupLevel = 1 << 11,
|
|
ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel,
|
|
ImGuiPopupFlags_MouseButtonShift_ = 2,
|
|
ImGuiPopupFlags_MouseButtonMask_ = 0x0C,
|
|
ImGuiPopupFlags_InvalidMask_ = 0x03,
|
|
}ImGuiPopupFlags_;
|
|
typedef enum {
|
|
ImGuiSelectableFlags_None = 0,
|
|
ImGuiSelectableFlags_NoAutoClosePopups = 1 << 0,
|
|
ImGuiSelectableFlags_SpanAllColumns = 1 << 1,
|
|
ImGuiSelectableFlags_AllowDoubleClick = 1 << 2,
|
|
ImGuiSelectableFlags_Disabled = 1 << 3,
|
|
ImGuiSelectableFlags_AllowOverlap = 1 << 4,
|
|
ImGuiSelectableFlags_Highlight = 1 << 5,
|
|
ImGuiSelectableFlags_SelectOnNav = 1 << 6,
|
|
}ImGuiSelectableFlags_;
|
|
typedef enum {
|
|
ImGuiComboFlags_None = 0,
|
|
ImGuiComboFlags_PopupAlignLeft = 1 << 0,
|
|
ImGuiComboFlags_HeightSmall = 1 << 1,
|
|
ImGuiComboFlags_HeightRegular = 1 << 2,
|
|
ImGuiComboFlags_HeightLarge = 1 << 3,
|
|
ImGuiComboFlags_HeightLargest = 1 << 4,
|
|
ImGuiComboFlags_NoArrowButton = 1 << 5,
|
|
ImGuiComboFlags_NoPreview = 1 << 6,
|
|
ImGuiComboFlags_WidthFitPreview = 1 << 7,
|
|
ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest,
|
|
}ImGuiComboFlags_;
|
|
typedef enum {
|
|
ImGuiTabBarFlags_None = 0,
|
|
ImGuiTabBarFlags_Reorderable = 1 << 0,
|
|
ImGuiTabBarFlags_AutoSelectNewTabs = 1 << 1,
|
|
ImGuiTabBarFlags_TabListPopupButton = 1 << 2,
|
|
ImGuiTabBarFlags_NoCloseWithMiddleMouseButton = 1 << 3,
|
|
ImGuiTabBarFlags_NoTabListScrollingButtons = 1 << 4,
|
|
ImGuiTabBarFlags_NoTooltip = 1 << 5,
|
|
ImGuiTabBarFlags_DrawSelectedOverline = 1 << 6,
|
|
ImGuiTabBarFlags_FittingPolicyMixed = 1 << 7,
|
|
ImGuiTabBarFlags_FittingPolicyShrink = 1 << 8,
|
|
ImGuiTabBarFlags_FittingPolicyScroll = 1 << 9,
|
|
ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyMixed | ImGuiTabBarFlags_FittingPolicyShrink | ImGuiTabBarFlags_FittingPolicyScroll,
|
|
ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyMixed,
|
|
}ImGuiTabBarFlags_;
|
|
typedef enum {
|
|
ImGuiTabItemFlags_None = 0,
|
|
ImGuiTabItemFlags_UnsavedDocument = 1 << 0,
|
|
ImGuiTabItemFlags_SetSelected = 1 << 1,
|
|
ImGuiTabItemFlags_NoCloseWithMiddleMouseButton = 1 << 2,
|
|
ImGuiTabItemFlags_NoPushId = 1 << 3,
|
|
ImGuiTabItemFlags_NoTooltip = 1 << 4,
|
|
ImGuiTabItemFlags_NoReorder = 1 << 5,
|
|
ImGuiTabItemFlags_Leading = 1 << 6,
|
|
ImGuiTabItemFlags_Trailing = 1 << 7,
|
|
ImGuiTabItemFlags_NoAssumedClosure = 1 << 8,
|
|
}ImGuiTabItemFlags_;
|
|
typedef enum {
|
|
ImGuiFocusedFlags_None = 0,
|
|
ImGuiFocusedFlags_ChildWindows = 1 << 0,
|
|
ImGuiFocusedFlags_RootWindow = 1 << 1,
|
|
ImGuiFocusedFlags_AnyWindow = 1 << 2,
|
|
ImGuiFocusedFlags_NoPopupHierarchy = 1 << 3,
|
|
ImGuiFocusedFlags_DockHierarchy = 1 << 4,
|
|
ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows,
|
|
}ImGuiFocusedFlags_;
|
|
typedef enum {
|
|
ImGuiHoveredFlags_None = 0,
|
|
ImGuiHoveredFlags_ChildWindows = 1 << 0,
|
|
ImGuiHoveredFlags_RootWindow = 1 << 1,
|
|
ImGuiHoveredFlags_AnyWindow = 1 << 2,
|
|
ImGuiHoveredFlags_NoPopupHierarchy = 1 << 3,
|
|
ImGuiHoveredFlags_DockHierarchy = 1 << 4,
|
|
ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 5,
|
|
ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 7,
|
|
ImGuiHoveredFlags_AllowWhenOverlappedByItem = 1 << 8,
|
|
ImGuiHoveredFlags_AllowWhenOverlappedByWindow = 1 << 9,
|
|
ImGuiHoveredFlags_AllowWhenDisabled = 1 << 10,
|
|
ImGuiHoveredFlags_NoNavOverride = 1 << 11,
|
|
ImGuiHoveredFlags_AllowWhenOverlapped = ImGuiHoveredFlags_AllowWhenOverlappedByItem | ImGuiHoveredFlags_AllowWhenOverlappedByWindow,
|
|
ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped,
|
|
ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows,
|
|
ImGuiHoveredFlags_ForTooltip = 1 << 12,
|
|
ImGuiHoveredFlags_Stationary = 1 << 13,
|
|
ImGuiHoveredFlags_DelayNone = 1 << 14,
|
|
ImGuiHoveredFlags_DelayShort = 1 << 15,
|
|
ImGuiHoveredFlags_DelayNormal = 1 << 16,
|
|
ImGuiHoveredFlags_NoSharedDelay = 1 << 17,
|
|
}ImGuiHoveredFlags_;
|
|
typedef enum {
|
|
ImGuiDockNodeFlags_None = 0,
|
|
ImGuiDockNodeFlags_KeepAliveOnly = 1 << 0,
|
|
ImGuiDockNodeFlags_NoDockingOverCentralNode = 1 << 2,
|
|
ImGuiDockNodeFlags_PassthruCentralNode = 1 << 3,
|
|
ImGuiDockNodeFlags_NoDockingSplit = 1 << 4,
|
|
ImGuiDockNodeFlags_NoResize = 1 << 5,
|
|
ImGuiDockNodeFlags_AutoHideTabBar = 1 << 6,
|
|
ImGuiDockNodeFlags_NoUndocking = 1 << 7,
|
|
}ImGuiDockNodeFlags_;
|
|
typedef enum {
|
|
ImGuiDragDropFlags_None = 0,
|
|
ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0,
|
|
ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1,
|
|
ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2,
|
|
ImGuiDragDropFlags_SourceAllowNullID = 1 << 3,
|
|
ImGuiDragDropFlags_SourceExtern = 1 << 4,
|
|
ImGuiDragDropFlags_PayloadAutoExpire = 1 << 5,
|
|
ImGuiDragDropFlags_PayloadNoCrossContext = 1 << 6,
|
|
ImGuiDragDropFlags_PayloadNoCrossProcess = 1 << 7,
|
|
ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10,
|
|
ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11,
|
|
ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12,
|
|
ImGuiDragDropFlags_AcceptDrawAsHovered = 1 << 13,
|
|
ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect,
|
|
}ImGuiDragDropFlags_;
|
|
typedef enum {
|
|
ImGuiDataType_S8,
|
|
ImGuiDataType_U8,
|
|
ImGuiDataType_S16,
|
|
ImGuiDataType_U16,
|
|
ImGuiDataType_S32,
|
|
ImGuiDataType_U32,
|
|
ImGuiDataType_S64,
|
|
ImGuiDataType_U64,
|
|
ImGuiDataType_Float,
|
|
ImGuiDataType_Double,
|
|
ImGuiDataType_Bool,
|
|
ImGuiDataType_String,
|
|
ImGuiDataType_COUNT
|
|
}ImGuiDataType_;
|
|
typedef enum {
|
|
ImGuiDir_None=-1,
|
|
ImGuiDir_Left=0,
|
|
ImGuiDir_Right=1,
|
|
ImGuiDir_Up=2,
|
|
ImGuiDir_Down=3,
|
|
ImGuiDir_COUNT=4,
|
|
}ImGuiDir;
|
|
typedef enum {
|
|
ImGuiSortDirection_None=0,
|
|
ImGuiSortDirection_Ascending=1,
|
|
ImGuiSortDirection_Descending=2,
|
|
}ImGuiSortDirection;
|
|
typedef enum {
|
|
ImGuiKey_None=0,
|
|
ImGuiKey_NamedKey_BEGIN=512,
|
|
ImGuiKey_Tab=512,
|
|
ImGuiKey_LeftArrow=513,
|
|
ImGuiKey_RightArrow=514,
|
|
ImGuiKey_UpArrow=515,
|
|
ImGuiKey_DownArrow=516,
|
|
ImGuiKey_PageUp=517,
|
|
ImGuiKey_PageDown=518,
|
|
ImGuiKey_Home=519,
|
|
ImGuiKey_End=520,
|
|
ImGuiKey_Insert=521,
|
|
ImGuiKey_Delete=522,
|
|
ImGuiKey_Backspace=523,
|
|
ImGuiKey_Space=524,
|
|
ImGuiKey_Enter=525,
|
|
ImGuiKey_Escape=526,
|
|
ImGuiKey_LeftCtrl=527,
|
|
ImGuiKey_LeftShift=528,
|
|
ImGuiKey_LeftAlt=529,
|
|
ImGuiKey_LeftSuper=530,
|
|
ImGuiKey_RightCtrl=531,
|
|
ImGuiKey_RightShift=532,
|
|
ImGuiKey_RightAlt=533,
|
|
ImGuiKey_RightSuper=534,
|
|
ImGuiKey_Menu=535,
|
|
ImGuiKey_0=536,
|
|
ImGuiKey_1=537,
|
|
ImGuiKey_2=538,
|
|
ImGuiKey_3=539,
|
|
ImGuiKey_4=540,
|
|
ImGuiKey_5=541,
|
|
ImGuiKey_6=542,
|
|
ImGuiKey_7=543,
|
|
ImGuiKey_8=544,
|
|
ImGuiKey_9=545,
|
|
ImGuiKey_A=546,
|
|
ImGuiKey_B=547,
|
|
ImGuiKey_C=548,
|
|
ImGuiKey_D=549,
|
|
ImGuiKey_E=550,
|
|
ImGuiKey_F=551,
|
|
ImGuiKey_G=552,
|
|
ImGuiKey_H=553,
|
|
ImGuiKey_I=554,
|
|
ImGuiKey_J=555,
|
|
ImGuiKey_K=556,
|
|
ImGuiKey_L=557,
|
|
ImGuiKey_M=558,
|
|
ImGuiKey_N=559,
|
|
ImGuiKey_O=560,
|
|
ImGuiKey_P=561,
|
|
ImGuiKey_Q=562,
|
|
ImGuiKey_R=563,
|
|
ImGuiKey_S=564,
|
|
ImGuiKey_T=565,
|
|
ImGuiKey_U=566,
|
|
ImGuiKey_V=567,
|
|
ImGuiKey_W=568,
|
|
ImGuiKey_X=569,
|
|
ImGuiKey_Y=570,
|
|
ImGuiKey_Z=571,
|
|
ImGuiKey_F1=572,
|
|
ImGuiKey_F2=573,
|
|
ImGuiKey_F3=574,
|
|
ImGuiKey_F4=575,
|
|
ImGuiKey_F5=576,
|
|
ImGuiKey_F6=577,
|
|
ImGuiKey_F7=578,
|
|
ImGuiKey_F8=579,
|
|
ImGuiKey_F9=580,
|
|
ImGuiKey_F10=581,
|
|
ImGuiKey_F11=582,
|
|
ImGuiKey_F12=583,
|
|
ImGuiKey_F13=584,
|
|
ImGuiKey_F14=585,
|
|
ImGuiKey_F15=586,
|
|
ImGuiKey_F16=587,
|
|
ImGuiKey_F17=588,
|
|
ImGuiKey_F18=589,
|
|
ImGuiKey_F19=590,
|
|
ImGuiKey_F20=591,
|
|
ImGuiKey_F21=592,
|
|
ImGuiKey_F22=593,
|
|
ImGuiKey_F23=594,
|
|
ImGuiKey_F24=595,
|
|
ImGuiKey_Apostrophe=596,
|
|
ImGuiKey_Comma=597,
|
|
ImGuiKey_Minus=598,
|
|
ImGuiKey_Period=599,
|
|
ImGuiKey_Slash=600,
|
|
ImGuiKey_Semicolon=601,
|
|
ImGuiKey_Equal=602,
|
|
ImGuiKey_LeftBracket=603,
|
|
ImGuiKey_Backslash=604,
|
|
ImGuiKey_RightBracket=605,
|
|
ImGuiKey_GraveAccent=606,
|
|
ImGuiKey_CapsLock=607,
|
|
ImGuiKey_ScrollLock=608,
|
|
ImGuiKey_NumLock=609,
|
|
ImGuiKey_PrintScreen=610,
|
|
ImGuiKey_Pause=611,
|
|
ImGuiKey_Keypad0=612,
|
|
ImGuiKey_Keypad1=613,
|
|
ImGuiKey_Keypad2=614,
|
|
ImGuiKey_Keypad3=615,
|
|
ImGuiKey_Keypad4=616,
|
|
ImGuiKey_Keypad5=617,
|
|
ImGuiKey_Keypad6=618,
|
|
ImGuiKey_Keypad7=619,
|
|
ImGuiKey_Keypad8=620,
|
|
ImGuiKey_Keypad9=621,
|
|
ImGuiKey_KeypadDecimal=622,
|
|
ImGuiKey_KeypadDivide=623,
|
|
ImGuiKey_KeypadMultiply=624,
|
|
ImGuiKey_KeypadSubtract=625,
|
|
ImGuiKey_KeypadAdd=626,
|
|
ImGuiKey_KeypadEnter=627,
|
|
ImGuiKey_KeypadEqual=628,
|
|
ImGuiKey_AppBack=629,
|
|
ImGuiKey_AppForward=630,
|
|
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,
|
|
ImGuiKey_NamedKey_COUNT=ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN,
|
|
ImGuiMod_None=0,
|
|
ImGuiMod_Ctrl=1 << 12,
|
|
ImGuiMod_Shift=1 << 13,
|
|
ImGuiMod_Alt=1 << 14,
|
|
ImGuiMod_Super=1 << 15,
|
|
ImGuiMod_Mask_=0xF000,
|
|
}ImGuiKey;
|
|
typedef enum {
|
|
ImGuiInputFlags_None = 0,
|
|
ImGuiInputFlags_Repeat = 1 << 0,
|
|
ImGuiInputFlags_RouteActive = 1 << 10,
|
|
ImGuiInputFlags_RouteFocused = 1 << 11,
|
|
ImGuiInputFlags_RouteGlobal = 1 << 12,
|
|
ImGuiInputFlags_RouteAlways = 1 << 13,
|
|
ImGuiInputFlags_RouteOverFocused = 1 << 14,
|
|
ImGuiInputFlags_RouteOverActive = 1 << 15,
|
|
ImGuiInputFlags_RouteUnlessBgFocused = 1 << 16,
|
|
ImGuiInputFlags_RouteFromRootWindow = 1 << 17,
|
|
ImGuiInputFlags_Tooltip = 1 << 18,
|
|
}ImGuiInputFlags_;
|
|
typedef enum {
|
|
ImGuiConfigFlags_None = 0,
|
|
ImGuiConfigFlags_NavEnableKeyboard = 1 << 0,
|
|
ImGuiConfigFlags_NavEnableGamepad = 1 << 1,
|
|
ImGuiConfigFlags_NoMouse = 1 << 4,
|
|
ImGuiConfigFlags_NoMouseCursorChange = 1 << 5,
|
|
ImGuiConfigFlags_NoKeyboard = 1 << 6,
|
|
ImGuiConfigFlags_DockingEnable = 1 << 7,
|
|
ImGuiConfigFlags_ViewportsEnable = 1 << 10,
|
|
ImGuiConfigFlags_IsSRGB = 1 << 20,
|
|
ImGuiConfigFlags_IsTouchScreen = 1 << 21,
|
|
}ImGuiConfigFlags_;
|
|
typedef enum {
|
|
ImGuiBackendFlags_None = 0,
|
|
ImGuiBackendFlags_HasGamepad = 1 << 0,
|
|
ImGuiBackendFlags_HasMouseCursors = 1 << 1,
|
|
ImGuiBackendFlags_HasSetMousePos = 1 << 2,
|
|
ImGuiBackendFlags_RendererHasVtxOffset = 1 << 3,
|
|
ImGuiBackendFlags_RendererHasTextures = 1 << 4,
|
|
ImGuiBackendFlags_RendererHasViewports = 1 << 10,
|
|
ImGuiBackendFlags_PlatformHasViewports = 1 << 11,
|
|
ImGuiBackendFlags_HasMouseHoveredViewport=1 << 12,
|
|
ImGuiBackendFlags_HasParentViewport = 1 << 13,
|
|
}ImGuiBackendFlags_;
|
|
typedef enum {
|
|
ImGuiCol_Text,
|
|
ImGuiCol_TextDisabled,
|
|
ImGuiCol_WindowBg,
|
|
ImGuiCol_ChildBg,
|
|
ImGuiCol_PopupBg,
|
|
ImGuiCol_Border,
|
|
ImGuiCol_BorderShadow,
|
|
ImGuiCol_FrameBg,
|
|
ImGuiCol_FrameBgHovered,
|
|
ImGuiCol_FrameBgActive,
|
|
ImGuiCol_TitleBg,
|
|
ImGuiCol_TitleBgActive,
|
|
ImGuiCol_TitleBgCollapsed,
|
|
ImGuiCol_MenuBarBg,
|
|
ImGuiCol_ScrollbarBg,
|
|
ImGuiCol_ScrollbarGrab,
|
|
ImGuiCol_ScrollbarGrabHovered,
|
|
ImGuiCol_ScrollbarGrabActive,
|
|
ImGuiCol_CheckMark,
|
|
ImGuiCol_CheckboxSelectedBg,
|
|
ImGuiCol_SliderGrab,
|
|
ImGuiCol_SliderGrabActive,
|
|
ImGuiCol_Button,
|
|
ImGuiCol_ButtonHovered,
|
|
ImGuiCol_ButtonActive,
|
|
ImGuiCol_Header,
|
|
ImGuiCol_HeaderHovered,
|
|
ImGuiCol_HeaderActive,
|
|
ImGuiCol_Separator,
|
|
ImGuiCol_SeparatorHovered,
|
|
ImGuiCol_SeparatorActive,
|
|
ImGuiCol_ResizeGrip,
|
|
ImGuiCol_ResizeGripHovered,
|
|
ImGuiCol_ResizeGripActive,
|
|
ImGuiCol_InputTextCursor,
|
|
ImGuiCol_TabHovered,
|
|
ImGuiCol_Tab,
|
|
ImGuiCol_TabSelected,
|
|
ImGuiCol_TabSelectedOverline,
|
|
ImGuiCol_TabDimmed,
|
|
ImGuiCol_TabDimmedSelected,
|
|
ImGuiCol_TabDimmedSelectedOverline,
|
|
ImGuiCol_DockingPreview,
|
|
ImGuiCol_DockingEmptyBg,
|
|
ImGuiCol_PlotLines,
|
|
ImGuiCol_PlotLinesHovered,
|
|
ImGuiCol_PlotHistogram,
|
|
ImGuiCol_PlotHistogramHovered,
|
|
ImGuiCol_TableHeaderBg,
|
|
ImGuiCol_TableBorderStrong,
|
|
ImGuiCol_TableBorderLight,
|
|
ImGuiCol_TableRowBg,
|
|
ImGuiCol_TableRowBgAlt,
|
|
ImGuiCol_TextLink,
|
|
ImGuiCol_TextSelectedBg,
|
|
ImGuiCol_TreeLines,
|
|
ImGuiCol_DragDropTarget,
|
|
ImGuiCol_DragDropTargetBg,
|
|
ImGuiCol_UnsavedMarker,
|
|
ImGuiCol_NavCursor,
|
|
ImGuiCol_NavWindowingHighlight,
|
|
ImGuiCol_NavWindowingDimBg,
|
|
ImGuiCol_ModalWindowDimBg,
|
|
ImGuiCol_COUNT,
|
|
}ImGuiCol_;
|
|
typedef enum {
|
|
ImGuiStyleVar_Alpha,
|
|
ImGuiStyleVar_DisabledAlpha,
|
|
ImGuiStyleVar_WindowPadding,
|
|
ImGuiStyleVar_WindowRounding,
|
|
ImGuiStyleVar_WindowBorderSize,
|
|
ImGuiStyleVar_WindowMinSize,
|
|
ImGuiStyleVar_WindowTitleAlign,
|
|
ImGuiStyleVar_ChildRounding,
|
|
ImGuiStyleVar_ChildBorderSize,
|
|
ImGuiStyleVar_PopupRounding,
|
|
ImGuiStyleVar_PopupBorderSize,
|
|
ImGuiStyleVar_FramePadding,
|
|
ImGuiStyleVar_FrameRounding,
|
|
ImGuiStyleVar_FrameBorderSize,
|
|
ImGuiStyleVar_ItemSpacing,
|
|
ImGuiStyleVar_ItemInnerSpacing,
|
|
ImGuiStyleVar_IndentSpacing,
|
|
ImGuiStyleVar_CellPadding,
|
|
ImGuiStyleVar_ScrollbarSize,
|
|
ImGuiStyleVar_ScrollbarRounding,
|
|
ImGuiStyleVar_ScrollbarPadding,
|
|
ImGuiStyleVar_GrabMinSize,
|
|
ImGuiStyleVar_GrabRounding,
|
|
ImGuiStyleVar_ImageRounding,
|
|
ImGuiStyleVar_ImageBorderSize,
|
|
ImGuiStyleVar_TabRounding,
|
|
ImGuiStyleVar_TabBorderSize,
|
|
ImGuiStyleVar_TabMinWidthBase,
|
|
ImGuiStyleVar_TabMinWidthShrink,
|
|
ImGuiStyleVar_TabBarBorderSize,
|
|
ImGuiStyleVar_TabBarOverlineSize,
|
|
ImGuiStyleVar_TableAngledHeadersAngle,
|
|
ImGuiStyleVar_TableAngledHeadersTextAlign,
|
|
ImGuiStyleVar_TreeLinesSize,
|
|
ImGuiStyleVar_TreeLinesRounding,
|
|
ImGuiStyleVar_DragDropTargetRounding,
|
|
ImGuiStyleVar_ButtonTextAlign,
|
|
ImGuiStyleVar_SelectableTextAlign,
|
|
ImGuiStyleVar_SeparatorSize,
|
|
ImGuiStyleVar_SeparatorTextBorderSize,
|
|
ImGuiStyleVar_SeparatorTextAlign,
|
|
ImGuiStyleVar_SeparatorTextPadding,
|
|
ImGuiStyleVar_DockingSeparatorSize,
|
|
ImGuiStyleVar_COUNT
|
|
}ImGuiStyleVar_;
|
|
typedef enum {
|
|
ImGuiButtonFlags_None = 0,
|
|
ImGuiButtonFlags_MouseButtonLeft = 1 << 0,
|
|
ImGuiButtonFlags_MouseButtonRight = 1 << 1,
|
|
ImGuiButtonFlags_MouseButtonMiddle = 1 << 2,
|
|
ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle,
|
|
ImGuiButtonFlags_EnableNav = 1 << 3,
|
|
ImGuiButtonFlags_AllowOverlap = 1 << 12,
|
|
}ImGuiButtonFlags_;
|
|
typedef enum {
|
|
ImGuiColorEditFlags_None = 0,
|
|
ImGuiColorEditFlags_NoAlpha = 1 << 1,
|
|
ImGuiColorEditFlags_NoPicker = 1 << 2,
|
|
ImGuiColorEditFlags_NoOptions = 1 << 3,
|
|
ImGuiColorEditFlags_NoSmallPreview = 1 << 4,
|
|
ImGuiColorEditFlags_NoInputs = 1 << 5,
|
|
ImGuiColorEditFlags_NoTooltip = 1 << 6,
|
|
ImGuiColorEditFlags_NoLabel = 1 << 7,
|
|
ImGuiColorEditFlags_NoSidePreview = 1 << 8,
|
|
ImGuiColorEditFlags_NoDragDrop = 1 << 9,
|
|
ImGuiColorEditFlags_NoBorder = 1 << 10,
|
|
ImGuiColorEditFlags_NoColorMarkers = 1 << 11,
|
|
ImGuiColorEditFlags_AlphaOpaque = 1 << 12,
|
|
ImGuiColorEditFlags_AlphaNoBg = 1 << 13,
|
|
ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 14,
|
|
ImGuiColorEditFlags_AlphaBar = 1 << 18,
|
|
ImGuiColorEditFlags_HDR = 1 << 19,
|
|
ImGuiColorEditFlags_DisplayRGB = 1 << 20,
|
|
ImGuiColorEditFlags_DisplayHSV = 1 << 21,
|
|
ImGuiColorEditFlags_DisplayHex = 1 << 22,
|
|
ImGuiColorEditFlags_Uint8 = 1 << 23,
|
|
ImGuiColorEditFlags_Float = 1 << 24,
|
|
ImGuiColorEditFlags_PickerHueBar = 1 << 25,
|
|
ImGuiColorEditFlags_PickerHueWheel = 1 << 26,
|
|
ImGuiColorEditFlags_InputRGB = 1 << 27,
|
|
ImGuiColorEditFlags_InputHSV = 1 << 28,
|
|
ImGuiColorEditFlags_DefaultOptions_ = ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_PickerHueBar,
|
|
ImGuiColorEditFlags_AlphaMask_ = ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaOpaque | ImGuiColorEditFlags_AlphaNoBg | ImGuiColorEditFlags_AlphaPreviewHalf,
|
|
ImGuiColorEditFlags_DisplayMask_ = ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex,
|
|
ImGuiColorEditFlags_DataTypeMask_ = ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float,
|
|
ImGuiColorEditFlags_PickerMask_ = ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar,
|
|
ImGuiColorEditFlags_InputMask_ = ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV,
|
|
}ImGuiColorEditFlags_;
|
|
typedef enum {
|
|
ImGuiSliderFlags_None = 0,
|
|
ImGuiSliderFlags_Logarithmic = 1 << 5,
|
|
ImGuiSliderFlags_NoRoundToFormat = 1 << 6,
|
|
ImGuiSliderFlags_NoInput = 1 << 7,
|
|
ImGuiSliderFlags_WrapAround = 1 << 8,
|
|
ImGuiSliderFlags_ClampOnInput = 1 << 9,
|
|
ImGuiSliderFlags_ClampZeroRange = 1 << 10,
|
|
ImGuiSliderFlags_NoSpeedTweaks = 1 << 11,
|
|
ImGuiSliderFlags_ColorMarkers = 1 << 12,
|
|
ImGuiSliderFlags_AlwaysClamp = ImGuiSliderFlags_ClampOnInput | ImGuiSliderFlags_ClampZeroRange,
|
|
ImGuiSliderFlags_InvalidMask_ = 0x7000000F,
|
|
}ImGuiSliderFlags_;
|
|
typedef enum {
|
|
ImGuiMouseButton_Left = 0,
|
|
ImGuiMouseButton_Right = 1,
|
|
ImGuiMouseButton_Middle = 2,
|
|
ImGuiMouseButton_COUNT = 5
|
|
}ImGuiMouseButton_;
|
|
typedef enum {
|
|
ImGuiMouseCursor_None = -1,
|
|
ImGuiMouseCursor_Arrow = 0,
|
|
ImGuiMouseCursor_TextInput,
|
|
ImGuiMouseCursor_ResizeAll,
|
|
ImGuiMouseCursor_ResizeNS,
|
|
ImGuiMouseCursor_ResizeEW,
|
|
ImGuiMouseCursor_ResizeNESW,
|
|
ImGuiMouseCursor_ResizeNWSE,
|
|
ImGuiMouseCursor_Hand,
|
|
ImGuiMouseCursor_Wait,
|
|
ImGuiMouseCursor_Progress,
|
|
ImGuiMouseCursor_NotAllowed,
|
|
ImGuiMouseCursor_COUNT
|
|
}ImGuiMouseCursor_;
|
|
typedef enum {
|
|
ImGuiMouseSource_Mouse=0,
|
|
ImGuiMouseSource_TouchScreen=1,
|
|
ImGuiMouseSource_Pen=2,
|
|
ImGuiMouseSource_COUNT=3,
|
|
}ImGuiMouseSource;
|
|
typedef enum {
|
|
ImGuiCond_None = 0,
|
|
ImGuiCond_Always = 1 << 0,
|
|
ImGuiCond_Once = 1 << 1,
|
|
ImGuiCond_FirstUseEver = 1 << 2,
|
|
ImGuiCond_Appearing = 1 << 3,
|
|
}ImGuiCond_;
|
|
typedef enum {
|
|
ImGuiTableFlags_None = 0,
|
|
ImGuiTableFlags_Resizable = 1 << 0,
|
|
ImGuiTableFlags_Reorderable = 1 << 1,
|
|
ImGuiTableFlags_Hideable = 1 << 2,
|
|
ImGuiTableFlags_Sortable = 1 << 3,
|
|
ImGuiTableFlags_NoSavedSettings = 1 << 4,
|
|
ImGuiTableFlags_ContextMenuInBody = 1 << 5,
|
|
ImGuiTableFlags_RowBg = 1 << 6,
|
|
ImGuiTableFlags_BordersInnerH = 1 << 7,
|
|
ImGuiTableFlags_BordersOuterH = 1 << 8,
|
|
ImGuiTableFlags_BordersInnerV = 1 << 9,
|
|
ImGuiTableFlags_BordersOuterV = 1 << 10,
|
|
ImGuiTableFlags_BordersH = ImGuiTableFlags_BordersInnerH | ImGuiTableFlags_BordersOuterH,
|
|
ImGuiTableFlags_BordersV = ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersOuterV,
|
|
ImGuiTableFlags_BordersInner = ImGuiTableFlags_BordersInnerV | ImGuiTableFlags_BordersInnerH,
|
|
ImGuiTableFlags_BordersOuter = ImGuiTableFlags_BordersOuterV | ImGuiTableFlags_BordersOuterH,
|
|
ImGuiTableFlags_Borders = ImGuiTableFlags_BordersInner | ImGuiTableFlags_BordersOuter,
|
|
ImGuiTableFlags_NoBordersInBody = 1 << 11,
|
|
ImGuiTableFlags_NoBordersInBodyUntilResize = 1 << 12,
|
|
ImGuiTableFlags_SizingFixedFit = 1 << 13,
|
|
ImGuiTableFlags_SizingFixedSame = 2 << 13,
|
|
ImGuiTableFlags_SizingStretchProp = 3 << 13,
|
|
ImGuiTableFlags_SizingStretchSame = 4 << 13,
|
|
ImGuiTableFlags_NoHostExtendX = 1 << 16,
|
|
ImGuiTableFlags_NoHostExtendY = 1 << 17,
|
|
ImGuiTableFlags_NoKeepColumnsVisible = 1 << 18,
|
|
ImGuiTableFlags_PreciseWidths = 1 << 19,
|
|
ImGuiTableFlags_NoClip = 1 << 20,
|
|
ImGuiTableFlags_PadOuterX = 1 << 21,
|
|
ImGuiTableFlags_NoPadOuterX = 1 << 22,
|
|
ImGuiTableFlags_NoPadInnerX = 1 << 23,
|
|
ImGuiTableFlags_ScrollX = 1 << 24,
|
|
ImGuiTableFlags_ScrollY = 1 << 25,
|
|
ImGuiTableFlags_SortMulti = 1 << 26,
|
|
ImGuiTableFlags_SortTristate = 1 << 27,
|
|
ImGuiTableFlags_HighlightHoveredColumn = 1 << 28,
|
|
ImGuiTableFlags_SizingMask_ = ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_SizingFixedSame | ImGuiTableFlags_SizingStretchProp | ImGuiTableFlags_SizingStretchSame,
|
|
}ImGuiTableFlags_;
|
|
typedef enum {
|
|
ImGuiTableColumnFlags_None = 0,
|
|
ImGuiTableColumnFlags_Disabled = 1 << 0,
|
|
ImGuiTableColumnFlags_DefaultHide = 1 << 1,
|
|
ImGuiTableColumnFlags_DefaultSort = 1 << 2,
|
|
ImGuiTableColumnFlags_WidthStretch = 1 << 3,
|
|
ImGuiTableColumnFlags_WidthFixed = 1 << 4,
|
|
ImGuiTableColumnFlags_NoResize = 1 << 5,
|
|
ImGuiTableColumnFlags_NoReorder = 1 << 6,
|
|
ImGuiTableColumnFlags_NoHide = 1 << 7,
|
|
ImGuiTableColumnFlags_NoClip = 1 << 8,
|
|
ImGuiTableColumnFlags_NoSort = 1 << 9,
|
|
ImGuiTableColumnFlags_NoSortAscending = 1 << 10,
|
|
ImGuiTableColumnFlags_NoSortDescending = 1 << 11,
|
|
ImGuiTableColumnFlags_NoHeaderLabel = 1 << 12,
|
|
ImGuiTableColumnFlags_NoHeaderWidth = 1 << 13,
|
|
ImGuiTableColumnFlags_PreferSortAscending = 1 << 14,
|
|
ImGuiTableColumnFlags_PreferSortDescending = 1 << 15,
|
|
ImGuiTableColumnFlags_IndentEnable = 1 << 16,
|
|
ImGuiTableColumnFlags_IndentDisable = 1 << 17,
|
|
ImGuiTableColumnFlags_AngledHeader = 1 << 18,
|
|
ImGuiTableColumnFlags_IsEnabled = 1 << 24,
|
|
ImGuiTableColumnFlags_IsVisible = 1 << 25,
|
|
ImGuiTableColumnFlags_IsSorted = 1 << 26,
|
|
ImGuiTableColumnFlags_IsHovered = 1 << 27,
|
|
ImGuiTableColumnFlags_WidthMask_ = ImGuiTableColumnFlags_WidthStretch | ImGuiTableColumnFlags_WidthFixed,
|
|
ImGuiTableColumnFlags_IndentMask_ = ImGuiTableColumnFlags_IndentEnable | ImGuiTableColumnFlags_IndentDisable,
|
|
ImGuiTableColumnFlags_StatusMask_ = ImGuiTableColumnFlags_IsEnabled | ImGuiTableColumnFlags_IsVisible | ImGuiTableColumnFlags_IsSorted | ImGuiTableColumnFlags_IsHovered,
|
|
ImGuiTableColumnFlags_NoDirectResize_ = 1 << 30,
|
|
}ImGuiTableColumnFlags_;
|
|
typedef enum {
|
|
ImGuiTableRowFlags_None = 0,
|
|
ImGuiTableRowFlags_Headers = 1 << 0,
|
|
}ImGuiTableRowFlags_;
|
|
typedef enum {
|
|
ImGuiTableBgTarget_None = 0,
|
|
ImGuiTableBgTarget_RowBg0 = 1,
|
|
ImGuiTableBgTarget_RowBg1 = 2,
|
|
ImGuiTableBgTarget_CellBg = 3,
|
|
}ImGuiTableBgTarget_;
|
|
struct ImGuiTableSortSpecs
|
|
{
|
|
const ImGuiTableColumnSortSpecs* Specs;
|
|
int SpecsCount;
|
|
_Bool SpecsDirty;
|
|
};
|
|
struct ImGuiTableColumnSortSpecs
|
|
{
|
|
ImGuiID ColumnUserID;
|
|
ImS16 ColumnIndex;
|
|
ImS16 SortOrder;
|
|
ImGuiSortDirection SortDirection;
|
|
};
|
|
struct ImGuiStyle
|
|
{
|
|
float FontSizeBase;
|
|
float FontScaleMain;
|
|
float FontScaleDpi;
|
|
float Alpha;
|
|
float DisabledAlpha;
|
|
ImVec2_c WindowPadding;
|
|
float WindowRounding;
|
|
float WindowBorderSize;
|
|
float WindowBorderHoverPadding;
|
|
ImVec2_c WindowMinSize;
|
|
ImVec2_c WindowTitleAlign;
|
|
ImGuiDir WindowMenuButtonPosition;
|
|
float ChildRounding;
|
|
float ChildBorderSize;
|
|
float PopupRounding;
|
|
float PopupBorderSize;
|
|
ImVec2_c FramePadding;
|
|
float FrameRounding;
|
|
float FrameBorderSize;
|
|
ImVec2_c ItemSpacing;
|
|
ImVec2_c ItemInnerSpacing;
|
|
ImVec2_c CellPadding;
|
|
ImVec2_c TouchExtraPadding;
|
|
float IndentSpacing;
|
|
float ColumnsMinSpacing;
|
|
float ScrollbarSize;
|
|
float ScrollbarRounding;
|
|
float ScrollbarPadding;
|
|
float GrabMinSize;
|
|
float GrabRounding;
|
|
float LogSliderDeadzone;
|
|
float ImageRounding;
|
|
float ImageBorderSize;
|
|
float TabRounding;
|
|
float TabBorderSize;
|
|
float TabMinWidthBase;
|
|
float TabMinWidthShrink;
|
|
float TabCloseButtonMinWidthSelected;
|
|
float TabCloseButtonMinWidthUnselected;
|
|
float TabBarBorderSize;
|
|
float TabBarOverlineSize;
|
|
float TableAngledHeadersAngle;
|
|
ImVec2_c TableAngledHeadersTextAlign;
|
|
ImGuiTreeNodeFlags TreeLinesFlags;
|
|
float TreeLinesSize;
|
|
float TreeLinesRounding;
|
|
float DragDropTargetRounding;
|
|
float DragDropTargetBorderSize;
|
|
float DragDropTargetPadding;
|
|
float ColorMarkerSize;
|
|
ImGuiDir ColorButtonPosition;
|
|
ImVec2_c ButtonTextAlign;
|
|
ImVec2_c SelectableTextAlign;
|
|
float SeparatorSize;
|
|
float SeparatorTextBorderSize;
|
|
ImVec2_c SeparatorTextAlign;
|
|
ImVec2_c SeparatorTextPadding;
|
|
ImVec2_c DisplayWindowPadding;
|
|
ImVec2_c DisplaySafeAreaPadding;
|
|
_Bool DockingNodeHasCloseButton;
|
|
float DockingSeparatorSize;
|
|
float MouseCursorScale;
|
|
_Bool AntiAliasedLines;
|
|
_Bool AntiAliasedLinesUseTex;
|
|
_Bool AntiAliasedFill;
|
|
float CurveTessellationTol;
|
|
float CircleTessellationMaxError;
|
|
ImVec4_c Colors[ImGuiCol_COUNT];
|
|
float HoverStationaryDelay;
|
|
float HoverDelayShort;
|
|
float HoverDelayNormal;
|
|
ImGuiHoveredFlags HoverFlagsForTooltipMouse;
|
|
ImGuiHoveredFlags HoverFlagsForTooltipNav;
|
|
float _MainScale;
|
|
float _NextFrameFontSizeBase;
|
|
};
|
|
struct ImGuiKeyData
|
|
{
|
|
_Bool Down;
|
|
float DownDuration;
|
|
float DownDurationPrev;
|
|
float AnalogValue;
|
|
};
|
|
typedef struct ImVector_ImWchar {int Size;int Capacity;ImWchar* Data;} ImVector_ImWchar;
|
|
struct ImGuiIO
|
|
{
|
|
ImGuiConfigFlags ConfigFlags;
|
|
ImGuiBackendFlags BackendFlags;
|
|
ImVec2_c DisplaySize;
|
|
ImVec2_c DisplayFramebufferScale;
|
|
float DeltaTime;
|
|
float IniSavingRate;
|
|
const char* IniFilename;
|
|
const char* LogFilename;
|
|
void* UserData;
|
|
ImFontAtlas*Fonts;
|
|
ImFont* FontDefault;
|
|
_Bool FontAllowUserScaling;
|
|
_Bool ConfigNavSwapGamepadButtons;
|
|
_Bool ConfigNavMoveSetMousePos;
|
|
_Bool ConfigNavCaptureKeyboard;
|
|
_Bool ConfigNavEscapeClearFocusItem;
|
|
_Bool ConfigNavEscapeClearFocusWindow;
|
|
_Bool ConfigNavCursorVisibleAuto;
|
|
_Bool ConfigNavCursorVisibleAlways;
|
|
_Bool ConfigDockingNoSplit;
|
|
_Bool ConfigDockingNoDockingOver;
|
|
_Bool ConfigDockingWithShift;
|
|
_Bool ConfigDockingAlwaysTabBar;
|
|
_Bool ConfigDockingTransparentPayload;
|
|
_Bool ConfigViewportsNoAutoMerge;
|
|
_Bool ConfigViewportsNoTaskBarIcon;
|
|
_Bool ConfigViewportsNoDecoration;
|
|
_Bool ConfigViewportsNoDefaultParent;
|
|
_Bool ConfigViewportsPlatformFocusSetsImGuiFocus;
|
|
_Bool ConfigDpiScaleFonts;
|
|
_Bool ConfigDpiScaleViewports;
|
|
_Bool MouseDrawCursor;
|
|
_Bool ConfigMacOSXBehaviors;
|
|
_Bool ConfigInputTrickleEventQueue;
|
|
_Bool ConfigInputTextCursorBlink;
|
|
_Bool ConfigInputTextEnterKeepActive;
|
|
_Bool ConfigDragClickToInputText;
|
|
_Bool ConfigWindowsResizeFromEdges;
|
|
_Bool ConfigWindowsMoveFromTitleBarOnly;
|
|
_Bool ConfigWindowsCopyContentsWithCtrlC;
|
|
_Bool ConfigScrollbarScrollByPage;
|
|
float ConfigMemoryCompactTimer;
|
|
float MouseDoubleClickTime;
|
|
float MouseDoubleClickMaxDist;
|
|
float MouseDragThreshold;
|
|
float KeyRepeatDelay;
|
|
float KeyRepeatRate;
|
|
_Bool ConfigErrorRecovery;
|
|
_Bool ConfigErrorRecoveryEnableAssert;
|
|
_Bool ConfigErrorRecoveryEnableDebugLog;
|
|
_Bool ConfigErrorRecoveryEnableTooltip;
|
|
_Bool ConfigDebugIsDebuggerPresent;
|
|
_Bool ConfigDebugHighlightIdConflicts;
|
|
_Bool ConfigDebugHighlightIdConflictsShowItemPicker;
|
|
_Bool ConfigDebugBeginReturnValueOnce;
|
|
_Bool ConfigDebugBeginReturnValueLoop;
|
|
_Bool ConfigDebugIgnoreFocusLoss;
|
|
_Bool ConfigDebugIniSettings;
|
|
const char* BackendPlatformName;
|
|
const char* BackendRendererName;
|
|
void* BackendPlatformUserData;
|
|
void* BackendRendererUserData;
|
|
void* BackendLanguageUserData;
|
|
_Bool WantCaptureMouse;
|
|
_Bool WantCaptureKeyboard;
|
|
_Bool WantTextInput;
|
|
_Bool WantSetMousePos;
|
|
_Bool WantSaveIniSettings;
|
|
_Bool NavActive;
|
|
_Bool NavVisible;
|
|
float Framerate;
|
|
int MetricsRenderVertices;
|
|
int MetricsRenderIndices;
|
|
int MetricsRenderWindows;
|
|
int MetricsActiveWindows;
|
|
ImVec2_c MouseDelta;
|
|
ImGuiContext* Ctx;
|
|
ImVec2_c MousePos;
|
|
_Bool MouseDown[5];
|
|
float MouseWheel;
|
|
float MouseWheelH;
|
|
ImGuiMouseSource MouseSource;
|
|
ImGuiID MouseHoveredViewport;
|
|
_Bool KeyCtrl;
|
|
_Bool KeyShift;
|
|
_Bool KeyAlt;
|
|
_Bool KeySuper;
|
|
ImGuiKeyChord KeyMods;
|
|
ImGuiKeyData KeysData[ImGuiKey_NamedKey_COUNT];
|
|
_Bool WantCaptureMouseUnlessPopupClose;
|
|
ImVec2_c MousePosPrev;
|
|
ImVec2_c MouseClickedPos[5];
|
|
double MouseClickedTime[5];
|
|
_Bool MouseClicked[5];
|
|
_Bool MouseDoubleClicked[5];
|
|
ImU16 MouseClickedCount[5];
|
|
ImU16 MouseClickedLastCount[5];
|
|
_Bool MouseReleased[5];
|
|
double MouseReleasedTime[5];
|
|
_Bool MouseDownOwned[5];
|
|
_Bool MouseDownOwnedUnlessPopupClose[5];
|
|
_Bool MouseWheelRequestAxisSwap;
|
|
_Bool MouseCtrlLeftAsRightClick;
|
|
float MouseDownDuration[5];
|
|
float MouseDownDurationPrev[5];
|
|
ImVec2_c MouseDragMaxDistanceAbs[5];
|
|
float MouseDragMaxDistanceSqr[5];
|
|
float PenPressure;
|
|
_Bool AppFocusLost;
|
|
_Bool AppAcceptingEvents;
|
|
ImWchar16 InputQueueSurrogate;
|
|
ImVector_ImWchar InputQueueCharacters;
|
|
};
|
|
struct ImGuiInputTextCallbackData
|
|
{
|
|
ImGuiContext* Ctx;
|
|
ImGuiInputTextFlags EventFlag;
|
|
ImGuiInputTextFlags Flags;
|
|
void* UserData;
|
|
ImGuiID ID;
|
|
ImGuiKey EventKey;
|
|
ImWchar EventChar;
|
|
_Bool EventActivated;
|
|
_Bool BufDirty;
|
|
char* Buf;
|
|
int BufTextLen;
|
|
int BufSize;
|
|
int CursorPos;
|
|
int SelectionStart;
|
|
int SelectionEnd;
|
|
};
|
|
struct ImGuiSizeCallbackData
|
|
{
|
|
void* UserData;
|
|
ImVec2_c Pos;
|
|
ImVec2_c CurrentSize;
|
|
ImVec2_c DesiredSize;
|
|
};
|
|
struct ImGuiWindowClass
|
|
{
|
|
ImGuiID ClassId;
|
|
ImGuiID ParentViewportId;
|
|
ImGuiID FocusRouteParentWindowId;
|
|
ImGuiViewportFlags ViewportFlagsOverrideSet;
|
|
ImGuiViewportFlags ViewportFlagsOverrideClear;
|
|
ImGuiTabItemFlags TabItemFlagsOverrideSet;
|
|
ImGuiDockNodeFlags DockNodeFlagsOverrideSet;
|
|
_Bool DockingAlwaysTabBar;
|
|
_Bool DockingAllowUnclassed;
|
|
void* PlatformIconData;
|
|
};
|
|
struct ImGuiPayload
|
|
{
|
|
void* Data;
|
|
int DataSize;
|
|
ImGuiID SourceId;
|
|
ImGuiID SourceParentId;
|
|
int DataFrameCount;
|
|
char DataType[32 + 1];
|
|
_Bool Preview;
|
|
_Bool Delivery;
|
|
};
|
|
struct ImGuiOnceUponAFrame
|
|
{
|
|
int RefFrame;
|
|
};
|
|
struct ImGuiTextRange
|
|
{
|
|
const char* b;
|
|
const char* e;
|
|
};
|
|
typedef struct ImGuiTextRange ImGuiTextRange;
|
|
typedef struct ImVector_ImGuiTextRange {int Size;int Capacity;ImGuiTextRange* Data;} ImVector_ImGuiTextRange;
|
|
struct ImGuiTextFilter
|
|
{
|
|
char InputBuf[256];
|
|
ImVector_ImGuiTextRange Filters;
|
|
int CountGrep;
|
|
};
|
|
typedef struct ImGuiTextRange ImGuiTextRange;
|
|
typedef struct ImVector_char {int Size;int Capacity;char* Data;} ImVector_char;
|
|
struct ImGuiTextBuffer
|
|
{
|
|
ImVector_char Buf;
|
|
};
|
|
struct ImGuiStoragePair
|
|
{
|
|
ImGuiID key;
|
|
union { int val_i; float val_f; void* val_p; };
|
|
};
|
|
typedef struct ImVector_ImGuiStoragePair {int Size;int Capacity;ImGuiStoragePair* Data;} ImVector_ImGuiStoragePair;
|
|
struct ImGuiStorage
|
|
{
|
|
ImVector_ImGuiStoragePair Data;
|
|
};
|
|
typedef enum {
|
|
ImGuiListClipperFlags_None = 0,
|
|
ImGuiListClipperFlags_NoSetTableRowCounters = 1 << 0,
|
|
}ImGuiListClipperFlags_;
|
|
struct ImGuiListClipper
|
|
{
|
|
int DisplayStart;
|
|
int DisplayEnd;
|
|
int UserIndex;
|
|
int ItemsCount;
|
|
float ItemsHeight;
|
|
ImGuiListClipperFlags Flags;
|
|
double StartPosY;
|
|
double StartSeekOffsetY;
|
|
ImGuiContext* Ctx;
|
|
void* TempData;
|
|
};
|
|
struct ImColor_c
|
|
{
|
|
ImVec4_c Value;
|
|
};
|
|
typedef enum {
|
|
ImGuiMultiSelectFlags_None = 0,
|
|
ImGuiMultiSelectFlags_SingleSelect = 1 << 0,
|
|
ImGuiMultiSelectFlags_NoSelectAll = 1 << 1,
|
|
ImGuiMultiSelectFlags_NoRangeSelect = 1 << 2,
|
|
ImGuiMultiSelectFlags_NoAutoSelect = 1 << 3,
|
|
ImGuiMultiSelectFlags_NoAutoClear = 1 << 4,
|
|
ImGuiMultiSelectFlags_NoAutoClearOnReselect = 1 << 5,
|
|
ImGuiMultiSelectFlags_BoxSelect1d = 1 << 6,
|
|
ImGuiMultiSelectFlags_BoxSelect2d = 1 << 7,
|
|
ImGuiMultiSelectFlags_BoxSelectNoScroll = 1 << 8,
|
|
ImGuiMultiSelectFlags_ClearOnEscape = 1 << 9,
|
|
ImGuiMultiSelectFlags_ClearOnClickVoid = 1 << 10,
|
|
ImGuiMultiSelectFlags_ScopeWindow = 1 << 11,
|
|
ImGuiMultiSelectFlags_ScopeRect = 1 << 12,
|
|
ImGuiMultiSelectFlags_SelectOnAuto = 1 << 13,
|
|
ImGuiMultiSelectFlags_SelectOnClickAlways = 1 << 14,
|
|
ImGuiMultiSelectFlags_SelectOnClickRelease = 1 << 15,
|
|
ImGuiMultiSelectFlags_NavWrapX = 1 << 16,
|
|
ImGuiMultiSelectFlags_NoSelectOnRightClick = 1 << 17,
|
|
ImGuiMultiSelectFlags_SelectOnMask_ = ImGuiMultiSelectFlags_SelectOnAuto | ImGuiMultiSelectFlags_SelectOnClickAlways | ImGuiMultiSelectFlags_SelectOnClickRelease,
|
|
}ImGuiMultiSelectFlags_;
|
|
typedef struct ImVector_ImGuiSelectionRequest {int Size;int Capacity;ImGuiSelectionRequest* Data;} ImVector_ImGuiSelectionRequest;
|
|
struct ImGuiMultiSelectIO
|
|
{
|
|
ImVector_ImGuiSelectionRequest Requests;
|
|
ImGuiSelectionUserData RangeSrcItem;
|
|
ImGuiSelectionUserData NavIdItem;
|
|
_Bool NavIdSelected;
|
|
_Bool RangeSrcReset;
|
|
int ItemsCount;
|
|
};
|
|
typedef enum {
|
|
ImGuiSelectionRequestType_None = 0,
|
|
ImGuiSelectionRequestType_SetAll,
|
|
ImGuiSelectionRequestType_SetRange,
|
|
}ImGuiSelectionRequestType;
|
|
struct ImGuiSelectionRequest
|
|
{
|
|
ImGuiSelectionRequestType Type;
|
|
_Bool Selected;
|
|
ImS8 RangeDirection;
|
|
ImGuiSelectionUserData RangeFirstItem;
|
|
ImGuiSelectionUserData RangeLastItem;
|
|
};
|
|
struct ImGuiSelectionBasicStorage
|
|
{
|
|
int Size;
|
|
_Bool PreserveOrder;
|
|
void* UserData;
|
|
ImGuiID (*AdapterIndexToStorageId)(ImGuiSelectionBasicStorage* self, int idx);
|
|
int _SelectionOrder;
|
|
ImGuiStorage _Storage;
|
|
};
|
|
struct ImGuiSelectionExternalStorage
|
|
{
|
|
void* UserData;
|
|
void (*AdapterSetItemSelected)(ImGuiSelectionExternalStorage* self, int idx, _Bool selected);
|
|
};
|
|
typedef unsigned short ImDrawIdx;
|
|
typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd);
|
|
struct ImDrawCmd
|
|
{
|
|
ImVec4_c ClipRect;
|
|
ImTextureRef_c TexRef;
|
|
unsigned int VtxOffset;
|
|
unsigned int IdxOffset;
|
|
unsigned int ElemCount;
|
|
ImDrawCallback UserCallback;
|
|
void* UserCallbackData;
|
|
int UserCallbackDataSize;
|
|
int UserCallbackDataOffset;
|
|
};
|
|
struct ImDrawVert
|
|
{
|
|
ImVec2_c pos;
|
|
ImVec2_c uv;
|
|
ImU32 col;
|
|
};
|
|
typedef struct ImDrawCmdHeader ImDrawCmdHeader;
|
|
struct ImDrawCmdHeader
|
|
{
|
|
ImVec4_c ClipRect;
|
|
ImTextureRef_c TexRef;
|
|
unsigned int VtxOffset;
|
|
};
|
|
typedef struct ImVector_ImDrawCmd {int Size;int Capacity;ImDrawCmd* Data;} ImVector_ImDrawCmd;
|
|
typedef struct ImVector_ImDrawIdx {int Size;int Capacity;ImDrawIdx* Data;} ImVector_ImDrawIdx;
|
|
struct ImDrawChannel
|
|
{
|
|
ImVector_ImDrawCmd _CmdBuffer;
|
|
ImVector_ImDrawIdx _IdxBuffer;
|
|
};
|
|
typedef struct ImVector_ImDrawChannel {int Size;int Capacity;ImDrawChannel* Data;} ImVector_ImDrawChannel;
|
|
struct ImDrawListSplitter
|
|
{
|
|
int _Current;
|
|
int _Count;
|
|
ImVector_ImDrawChannel _Channels;
|
|
};
|
|
typedef enum {
|
|
ImDrawFlags_None = 0,
|
|
ImDrawFlags_RoundCornersTopLeft = 1 << 4,
|
|
ImDrawFlags_RoundCornersTopRight = 1 << 5,
|
|
ImDrawFlags_RoundCornersBottomLeft = 1 << 6,
|
|
ImDrawFlags_RoundCornersBottomRight = 1 << 7,
|
|
ImDrawFlags_RoundCornersNone = 1 << 8,
|
|
ImDrawFlags_Closed = 1 << 9,
|
|
ImDrawFlags_RoundCornersTop = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight,
|
|
ImDrawFlags_RoundCornersBottom = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight,
|
|
ImDrawFlags_RoundCornersLeft = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft,
|
|
ImDrawFlags_RoundCornersRight = ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight,
|
|
ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight,
|
|
ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll,
|
|
ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone,
|
|
ImDrawFlags_InvalidMask_ = (ImDrawFlags)0x8000000F,
|
|
}ImDrawFlags_;
|
|
typedef enum {
|
|
ImDrawListFlags_None = 0,
|
|
ImDrawListFlags_AntiAliasedLines = 1 << 0,
|
|
ImDrawListFlags_AntiAliasedLinesUseTex = 1 << 1,
|
|
ImDrawListFlags_AntiAliasedFill = 1 << 2,
|
|
ImDrawListFlags_AllowVtxOffset = 1 << 3,
|
|
}ImDrawListFlags_;
|
|
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
|
|
typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2_c* Data;} ImVector_ImVec2;
|
|
typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4_c* Data;} ImVector_ImVec4;
|
|
typedef struct ImVector_ImTextureRef {int Size;int Capacity;ImTextureRef_c* Data;} ImVector_ImTextureRef;
|
|
typedef struct ImVector_ImU8 {int Size;int Capacity;ImU8* Data;} ImVector_ImU8;
|
|
struct ImDrawList
|
|
{
|
|
ImVector_ImDrawCmd CmdBuffer;
|
|
ImVector_ImDrawIdx IdxBuffer;
|
|
ImVector_ImDrawVert VtxBuffer;
|
|
ImDrawListFlags Flags;
|
|
unsigned int _VtxCurrentIdx;
|
|
ImDrawListSharedData* _Data;
|
|
ImDrawVert* _VtxWritePtr;
|
|
ImDrawIdx* _IdxWritePtr;
|
|
ImVector_ImVec2 _Path;
|
|
ImDrawCmdHeader _CmdHeader;
|
|
ImDrawListSplitter _Splitter;
|
|
ImVector_ImVec4 _ClipRectStack;
|
|
ImVector_ImTextureRef _TextureStack;
|
|
ImVector_ImU8 _CallbacksDataBuf;
|
|
float _FringeScale;
|
|
const char* _OwnerName;
|
|
};
|
|
typedef struct ImVector_ImDrawListPtr {int Size;int Capacity;ImDrawList** Data;} ImVector_ImDrawListPtr;
|
|
typedef struct ImVector_ImTextureDataPtr {int Size;int Capacity;ImTextureData** Data;} ImVector_ImTextureDataPtr;
|
|
struct ImDrawData
|
|
{
|
|
_Bool Valid;
|
|
int CmdListsCount;
|
|
int TotalIdxCount;
|
|
int TotalVtxCount;
|
|
ImVector_ImDrawListPtr CmdLists;
|
|
ImVec2_c DisplayPos;
|
|
ImVec2_c DisplaySize;
|
|
ImVec2_c FramebufferScale;
|
|
ImGuiViewport* OwnerViewport;
|
|
ImVector_ImTextureDataPtr* Textures;
|
|
};
|
|
typedef enum {
|
|
ImTextureFormat_RGBA32,
|
|
ImTextureFormat_Alpha8,
|
|
}ImTextureFormat;
|
|
typedef enum {
|
|
ImTextureStatus_OK,
|
|
ImTextureStatus_Destroyed,
|
|
ImTextureStatus_WantCreate,
|
|
ImTextureStatus_WantUpdates,
|
|
ImTextureStatus_WantDestroy,
|
|
}ImTextureStatus;
|
|
struct ImTextureRect
|
|
{
|
|
unsigned short x, y;
|
|
unsigned short w, h;
|
|
};
|
|
typedef struct ImVector_ImTextureRect {int Size;int Capacity;ImTextureRect* Data;} ImVector_ImTextureRect;
|
|
struct ImTextureData
|
|
{
|
|
int UniqueID;
|
|
ImTextureStatus Status;
|
|
void* BackendUserData;
|
|
ImTextureID TexID;
|
|
ImTextureFormat Format;
|
|
int Width;
|
|
int Height;
|
|
int BytesPerPixel;
|
|
unsigned char* Pixels;
|
|
ImTextureRect UsedRect;
|
|
ImTextureRect UpdateRect;
|
|
ImVector_ImTextureRect Updates;
|
|
int UnusedFrames;
|
|
unsigned short RefCount;
|
|
_Bool UseColors;
|
|
_Bool WantDestroyNextFrame;
|
|
};
|
|
struct ImFontConfig
|
|
{
|
|
char Name[40];
|
|
void* FontData;
|
|
int FontDataSize;
|
|
_Bool FontDataOwnedByAtlas;
|
|
_Bool MergeMode;
|
|
_Bool PixelSnapH;
|
|
ImS8 OversampleH;
|
|
ImS8 OversampleV;
|
|
ImWchar EllipsisChar;
|
|
float SizePixels;
|
|
const ImWchar* GlyphRanges;
|
|
const ImWchar* GlyphExcludeRanges;
|
|
ImVec2_c GlyphOffset;
|
|
float GlyphMinAdvanceX;
|
|
float GlyphMaxAdvanceX;
|
|
float GlyphExtraAdvanceX;
|
|
ImU32 FontNo;
|
|
unsigned int FontLoaderFlags;
|
|
float RasterizerMultiply;
|
|
float RasterizerDensity;
|
|
float ExtraSizeScale;
|
|
ImFontFlags Flags;
|
|
ImFont* DstFont;
|
|
const ImFontLoader* FontLoader;
|
|
void* FontLoaderData;
|
|
};
|
|
struct ImFontGlyph
|
|
{
|
|
unsigned int Colored : 1;
|
|
unsigned int Visible : 1;
|
|
unsigned int SourceIdx : 4;
|
|
unsigned int Codepoint : 26;
|
|
float AdvanceX;
|
|
float X0, Y0, X1, Y1;
|
|
float U0, V0, U1, V1;
|
|
int PackId;
|
|
};
|
|
typedef struct ImVector_ImU32 {int Size;int Capacity;ImU32* Data;} ImVector_ImU32;
|
|
struct ImFontGlyphRangesBuilder
|
|
{
|
|
ImVector_ImU32 UsedChars;
|
|
};
|
|
typedef int ImFontAtlasRectId;
|
|
struct ImFontAtlasRect
|
|
{
|
|
unsigned short x, y;
|
|
unsigned short w, h;
|
|
ImVec2_c uv0, uv1;
|
|
};
|
|
typedef enum {
|
|
ImFontAtlasFlags_None = 0,
|
|
ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0,
|
|
ImFontAtlasFlags_NoMouseCursors = 1 << 1,
|
|
ImFontAtlasFlags_NoBakedLines = 1 << 2,
|
|
}ImFontAtlasFlags_;
|
|
typedef struct ImVector_ImFontPtr {int Size;int Capacity;ImFont** Data;} ImVector_ImFontPtr;
|
|
typedef struct ImVector_ImFontConfig {int Size;int Capacity;ImFontConfig* Data;} ImVector_ImFontConfig;
|
|
typedef struct ImVector_ImDrawListSharedDataPtr {int Size;int Capacity;ImDrawListSharedData** Data;} ImVector_ImDrawListSharedDataPtr;
|
|
struct ImFontAtlas
|
|
{
|
|
ImFontAtlasFlags Flags;
|
|
ImTextureFormat TexDesiredFormat;
|
|
int TexGlyphPadding;
|
|
int TexMinWidth;
|
|
int TexMinHeight;
|
|
int TexMaxWidth;
|
|
int TexMaxHeight;
|
|
void* UserData;
|
|
ImTextureRef_c TexRef;
|
|
ImTextureData* TexData;
|
|
ImVector_ImTextureDataPtr TexList;
|
|
_Bool Locked;
|
|
_Bool RendererHasTextures;
|
|
_Bool TexIsBuilt;
|
|
_Bool TexPixelsUseColors;
|
|
ImVec2_c TexUvScale;
|
|
ImVec2_c TexUvWhitePixel;
|
|
ImVector_ImFontPtr Fonts;
|
|
ImVector_ImFontConfig Sources;
|
|
ImVec4_c TexUvLines[(32) + 1];
|
|
int TexNextUniqueID;
|
|
int FontNextUniqueID;
|
|
ImVector_ImDrawListSharedDataPtr DrawListSharedDatas;
|
|
ImFontAtlasBuilder* Builder;
|
|
const ImFontLoader* FontLoader;
|
|
const char* FontLoaderName;
|
|
void* FontLoaderData;
|
|
unsigned int FontLoaderFlags;
|
|
int RefCount;
|
|
ImGuiContext* OwnerContext;
|
|
};
|
|
typedef struct ImVector_float {int Size;int Capacity;float* Data;} ImVector_float;
|
|
typedef struct ImVector_ImU16 {int Size;int Capacity;ImU16* Data;} ImVector_ImU16;
|
|
typedef struct ImVector_ImFontGlyph {int Size;int Capacity;ImFontGlyph* Data;} ImVector_ImFontGlyph;
|
|
struct ImFontBaked
|
|
{
|
|
ImVector_float IndexAdvanceX;
|
|
float FallbackAdvanceX;
|
|
float Size;
|
|
float RasterizerDensity;
|
|
ImVector_ImU16 IndexLookup;
|
|
ImVector_ImFontGlyph Glyphs;
|
|
int FallbackGlyphIndex;
|
|
float Ascent, Descent;
|
|
unsigned int MetricsTotalSurface:26;
|
|
unsigned int WantDestroy:1;
|
|
unsigned int LoadNoFallback:1;
|
|
unsigned int LoadNoRenderOnLayout:1;
|
|
int LastUsedFrame;
|
|
ImGuiID BakedId;
|
|
ImFont* OwnerFont;
|
|
void* FontLoaderDatas;
|
|
};
|
|
typedef enum {
|
|
ImFontFlags_None = 0,
|
|
ImFontFlags_NoLoadError = 1 << 1,
|
|
ImFontFlags_NoLoadGlyphs = 1 << 2,
|
|
ImFontFlags_LockBakedSizes = 1 << 3,
|
|
ImFontFlags_ImplicitRefSize = 1 << 4,
|
|
}ImFontFlags_;
|
|
typedef struct ImVector_ImFontConfigPtr {int Size;int Capacity;ImFontConfig** Data;} ImVector_ImFontConfigPtr;
|
|
struct ImFont
|
|
{
|
|
ImFontBaked* LastBaked;
|
|
ImFontAtlas* OwnerAtlas;
|
|
ImFontFlags Flags;
|
|
float CurrentRasterizerDensity;
|
|
ImGuiID FontId;
|
|
float LegacySize;
|
|
ImVector_ImFontConfigPtr Sources;
|
|
ImWchar EllipsisChar;
|
|
ImWchar FallbackChar;
|
|
ImU8 Used8kPagesMap[(0x10FFFF +1)/8192/8];
|
|
_Bool EllipsisAutoBake;
|
|
ImGuiStorage RemapPairs;
|
|
};
|
|
typedef enum {
|
|
ImGuiViewportFlags_None = 0,
|
|
ImGuiViewportFlags_IsPlatformWindow = 1 << 0,
|
|
ImGuiViewportFlags_IsPlatformMonitor = 1 << 1,
|
|
ImGuiViewportFlags_OwnedByApp = 1 << 2,
|
|
ImGuiViewportFlags_NoDecoration = 1 << 3,
|
|
ImGuiViewportFlags_NoTaskBarIcon = 1 << 4,
|
|
ImGuiViewportFlags_NoFocusOnAppearing = 1 << 5,
|
|
ImGuiViewportFlags_NoFocusOnClick = 1 << 6,
|
|
ImGuiViewportFlags_NoInputs = 1 << 7,
|
|
ImGuiViewportFlags_NoRendererClear = 1 << 8,
|
|
ImGuiViewportFlags_NoAutoMerge = 1 << 9,
|
|
ImGuiViewportFlags_TopMost = 1 << 10,
|
|
ImGuiViewportFlags_CanHostOtherWindows = 1 << 11,
|
|
ImGuiViewportFlags_IsMinimized = 1 << 12,
|
|
ImGuiViewportFlags_IsFocused = 1 << 13,
|
|
}ImGuiViewportFlags_;
|
|
struct ImGuiViewport
|
|
{
|
|
ImGuiID ID;
|
|
ImGuiViewportFlags Flags;
|
|
ImVec2_c Pos;
|
|
ImVec2_c Size;
|
|
ImVec2_c FramebufferScale;
|
|
ImVec2_c WorkPos;
|
|
ImVec2_c WorkSize;
|
|
float DpiScale;
|
|
ImGuiID ParentViewportId;
|
|
ImGuiViewport* ParentViewport;
|
|
ImDrawData* DrawData;
|
|
void* RendererUserData;
|
|
void* PlatformUserData;
|
|
void* PlatformIconData;
|
|
void* PlatformHandle;
|
|
void* PlatformHandleRaw;
|
|
_Bool PlatformWindowCreated;
|
|
_Bool PlatformRequestMove;
|
|
_Bool PlatformRequestResize;
|
|
_Bool PlatformRequestClose;
|
|
};
|
|
typedef struct ImVector_ImGuiPlatformMonitor {int Size;int Capacity;ImGuiPlatformMonitor* Data;} ImVector_ImGuiPlatformMonitor;
|
|
typedef struct ImVector_ImGuiViewportPtr {int Size;int Capacity;ImGuiViewport** Data;} ImVector_ImGuiViewportPtr;
|
|
struct ImGuiPlatformIO
|
|
{
|
|
const char* (*Platform_GetClipboardTextFn)(ImGuiContext* ctx);
|
|
void (*Platform_SetClipboardTextFn)(ImGuiContext* ctx, const char* text);
|
|
void* Platform_ClipboardUserData;
|
|
_Bool (*Platform_OpenInShellFn)(ImGuiContext* ctx, const char* path);
|
|
void* Platform_OpenInShellUserData;
|
|
void (*Platform_SetImeDataFn)(ImGuiContext* ctx, ImGuiViewport* viewport, ImGuiPlatformImeData* data);
|
|
void* Platform_ImeUserData;
|
|
ImWchar Platform_LocaleDecimalPoint;
|
|
int Renderer_TextureMaxWidth;
|
|
int Renderer_TextureMaxHeight;
|
|
void* Renderer_RenderState;
|
|
ImDrawCallback DrawCallback_ResetRenderState;
|
|
ImDrawCallback DrawCallback_SetSamplerLinear;
|
|
ImDrawCallback DrawCallback_SetSamplerNearest;
|
|
void (*Platform_CreateWindow)(ImGuiViewport* vp);
|
|
void (*Platform_DestroyWindow)(ImGuiViewport* vp);
|
|
void (*Platform_ShowWindow)(ImGuiViewport* vp);
|
|
void (*Platform_SetWindowPos)(ImGuiViewport* vp, ImVec2_c pos);
|
|
ImVec2_c (*Platform_GetWindowPos)(ImGuiViewport* vp);
|
|
void (*Platform_SetWindowSize)(ImGuiViewport* vp, ImVec2_c size);
|
|
ImVec2_c (*Platform_GetWindowSize)(ImGuiViewport* vp);
|
|
ImVec2_c (*Platform_GetWindowFramebufferScale)(ImGuiViewport* vp);
|
|
void (*Platform_SetWindowFocus)(ImGuiViewport* vp);
|
|
_Bool (*Platform_GetWindowFocus)(ImGuiViewport* vp);
|
|
_Bool (*Platform_GetWindowMinimized)(ImGuiViewport* vp);
|
|
void (*Platform_SetWindowTitle)(ImGuiViewport* vp, const char* str);
|
|
void (*Platform_SetWindowAlpha)(ImGuiViewport* vp, float alpha);
|
|
void (*Platform_UpdateWindow)(ImGuiViewport* vp);
|
|
void (*Platform_RenderWindow)(ImGuiViewport* vp, void* render_arg);
|
|
void (*Platform_SwapBuffers)(ImGuiViewport* vp, void* render_arg);
|
|
float (*Platform_GetWindowDpiScale)(ImGuiViewport* vp);
|
|
void (*Platform_OnChangedViewport)(ImGuiViewport* vp);
|
|
ImVec4_c (*Platform_GetWindowWorkAreaInsets)(ImGuiViewport* vp);
|
|
int (*Platform_CreateVkSurface)(ImGuiViewport* vp, ImU64 vk_inst, const void* vk_allocators, ImU64* out_vk_surface);
|
|
void (*Renderer_CreateWindow)(ImGuiViewport* vp);
|
|
void (*Renderer_DestroyWindow)(ImGuiViewport* vp);
|
|
void (*Renderer_SetWindowSize)(ImGuiViewport* vp, ImVec2_c size);
|
|
void (*Renderer_RenderWindow)(ImGuiViewport* vp, void* render_arg);
|
|
void (*Renderer_SwapBuffers)(ImGuiViewport* vp, void* render_arg);
|
|
ImVector_ImGuiPlatformMonitor Monitors;
|
|
ImVector_ImTextureDataPtr Textures;
|
|
ImVector_ImGuiViewportPtr Viewports;
|
|
};
|
|
struct ImGuiPlatformMonitor
|
|
{
|
|
ImVec2_c MainPos, MainSize;
|
|
ImVec2_c WorkPos, WorkSize;
|
|
float DpiScale;
|
|
void* PlatformHandle;
|
|
};
|
|
struct ImGuiPlatformImeData
|
|
{
|
|
_Bool WantVisible;
|
|
_Bool WantTextInput;
|
|
ImVec2_c InputPos;
|
|
float InputLineHeight;
|
|
ImGuiID ViewportId;
|
|
};
|
|
struct ImBitVector;
|
|
struct ImRect_c;
|
|
struct ImGuiTextIndex;
|
|
struct ImDrawDataBuilder;
|
|
struct ImDrawListSharedData;
|
|
struct ImFontAtlasBuilder;
|
|
struct ImFontAtlasPostProcessData;
|
|
struct ImFontAtlasRectEntry;
|
|
struct ImGuiBoxSelectState;
|
|
struct ImGuiColorMod;
|
|
struct ImGuiContext;
|
|
struct ImGuiContextHook;
|
|
struct ImGuiDataTypeInfo;
|
|
struct ImGuiDeactivatedItemData;
|
|
struct ImGuiDockContext;
|
|
struct ImGuiDockRequest;
|
|
struct ImGuiDockNode;
|
|
struct ImGuiDockNodeSettings;
|
|
struct ImGuiErrorRecoveryState;
|
|
struct ImGuiGroupData;
|
|
struct ImGuiInputTextState;
|
|
struct ImGuiInputTextDeactivateData;
|
|
struct ImGuiLastItemData;
|
|
struct ImGuiLocEntry;
|
|
struct ImGuiMenuColumns;
|
|
struct ImGuiMultiSelectState;
|
|
struct ImGuiMultiSelectTempData;
|
|
struct ImGuiNavItemData;
|
|
struct ImGuiMetricsConfig;
|
|
struct ImGuiNextWindowData;
|
|
struct ImGuiNextItemData;
|
|
struct ImGuiOldColumnData;
|
|
struct ImGuiOldColumns;
|
|
struct ImGuiPopupData;
|
|
struct ImGuiSettingsHandler;
|
|
struct ImGuiStyleMod;
|
|
struct ImGuiStyleVarInfo;
|
|
struct ImGuiTabBar;
|
|
struct ImGuiTabItem;
|
|
struct ImGuiTable;
|
|
struct ImGuiTableHeaderData;
|
|
struct ImGuiTableColumn;
|
|
struct ImGuiTableInstanceData;
|
|
struct ImGuiTableTempData;
|
|
struct ImGuiTableSettings;
|
|
struct ImGuiTableColumnsSettings;
|
|
struct ImGuiTreeNodeStackData;
|
|
struct ImGuiTypingSelectState;
|
|
struct ImGuiTypingSelectRequest;
|
|
struct ImGuiWindow;
|
|
struct ImGuiWindowDockStyle;
|
|
struct ImGuiWindowTempData;
|
|
struct ImGuiWindowSettings;
|
|
typedef int ImGuiDataAuthority;
|
|
typedef int ImGuiLayoutType;
|
|
typedef int ImDrawTextFlags;
|
|
typedef int ImGuiActivateFlags;
|
|
typedef int ImGuiDebugLogFlags;
|
|
typedef int ImGuiFocusRequestFlags;
|
|
typedef int ImGuiItemStatusFlags;
|
|
typedef int ImGuiOldColumnFlags;
|
|
typedef int ImGuiLogFlags;
|
|
typedef int ImGuiNavRenderCursorFlags;
|
|
typedef int ImGuiNavMoveFlags;
|
|
typedef int ImGuiNextItemDataFlags;
|
|
typedef int ImGuiNextWindowDataFlags;
|
|
typedef int ImGuiScrollFlags;
|
|
typedef int ImGuiSeparatorFlags;
|
|
typedef int ImGuiTextFlags;
|
|
typedef int ImGuiTooltipFlags;
|
|
typedef int ImGuiTypingSelectFlags;
|
|
typedef int ImGuiWindowBgClickFlags;
|
|
typedef int ImGuiWindowRefreshFlags;
|
|
typedef ImS16 ImGuiTableColumnIdx;
|
|
typedef ImU16 ImGuiTableDrawChannelIdx;
|
|
typedef enum {
|
|
ImDrawTextFlags_None = 0,
|
|
ImDrawTextFlags_CpuFineClip = 1 << 0,
|
|
ImDrawTextFlags_WrapKeepBlanks = 1 << 1,
|
|
ImDrawTextFlags_StopOnNewLine = 1 << 2,
|
|
}ImDrawTextFlags_;
|
|
typedef enum {
|
|
ImWcharClass_Blank, ImWcharClass_Punct, ImWcharClass_Other
|
|
}ImWcharClass;
|
|
typedef FILE* ImFileHandle;
|
|
typedef struct ImVec1 ImVec1;
|
|
struct ImVec1
|
|
{
|
|
float x;
|
|
};
|
|
typedef struct ImVec2i_c ImVec2i_c;
|
|
struct ImVec2i_c
|
|
{
|
|
int x, y;
|
|
};
|
|
typedef struct ImVec2ih ImVec2ih;
|
|
struct ImVec2ih
|
|
{
|
|
short x, y;
|
|
};
|
|
struct ImRect_c
|
|
{
|
|
ImVec2_c Min;
|
|
ImVec2_c Max;
|
|
};
|
|
typedef ImU32* ImBitArrayPtr;
|
|
struct ImBitVector
|
|
{
|
|
ImVector_ImU32 Storage;
|
|
};
|
|
typedef int ImPoolIdx;
|
|
typedef struct ImVector_int {int Size;int Capacity;int* Data;} ImVector_int;
|
|
struct ImGuiTextIndex
|
|
{
|
|
ImVector_int Offsets;
|
|
int EndOffset;
|
|
};
|
|
struct ImDrawListSharedData
|
|
{
|
|
ImVec2_c TexUvWhitePixel;
|
|
const ImVec4_c* TexUvLines;
|
|
ImFontAtlas* FontAtlas;
|
|
ImFont* Font;
|
|
float FontSize;
|
|
float FontScale;
|
|
float CurveTessellationTol;
|
|
float CircleSegmentMaxError;
|
|
float InitialFringeScale;
|
|
ImDrawListFlags InitialFlags;
|
|
ImVec4_c ClipRectFullscreen;
|
|
ImVector_ImVec2 TempBuffer;
|
|
ImVector_ImDrawListPtr DrawLists;
|
|
ImGuiContext* Context;
|
|
ImVec2_c ArcFastVtx[48];
|
|
float ArcFastRadiusCutoff;
|
|
ImU8 CircleSegmentCounts[64];
|
|
};
|
|
struct ImDrawDataBuilder
|
|
{
|
|
ImVector_ImDrawListPtr* Layers[2];
|
|
ImVector_ImDrawListPtr LayerData1;
|
|
};
|
|
typedef struct ImFontStackData ImFontStackData;
|
|
struct ImFontStackData
|
|
{
|
|
ImFont* Font;
|
|
float FontSizeBeforeScaling;
|
|
float FontSizeAfterScaling;
|
|
};
|
|
struct ImGuiStyleVarInfo
|
|
{
|
|
ImU32 Count : 8;
|
|
ImGuiDataType DataType : 8;
|
|
ImU32 Offset : 16;
|
|
};
|
|
struct ImGuiColorMod
|
|
{
|
|
ImGuiCol Col;
|
|
ImVec4_c BackupValue;
|
|
};
|
|
struct ImGuiStyleMod
|
|
{
|
|
ImGuiStyleVar VarIdx;
|
|
union { int BackupInt[2]; float BackupFloat[2]; };
|
|
};
|
|
typedef struct ImGuiDataTypeStorage ImGuiDataTypeStorage;
|
|
struct ImGuiDataTypeStorage
|
|
{
|
|
ImU8 Data[8];
|
|
};
|
|
struct ImGuiDataTypeInfo
|
|
{
|
|
size_t Size;
|
|
const char* Name;
|
|
const char* PrintFmt;
|
|
const char* ScanFmt;
|
|
};
|
|
typedef enum {
|
|
ImGuiDataType_Pointer = ImGuiDataType_COUNT,
|
|
ImGuiDataType_ID,
|
|
}ImGuiDataTypePrivate_;
|
|
typedef enum {
|
|
ImGuiItemFlags_ReadOnly = 1 << 11,
|
|
ImGuiItemFlags_MixedValue = 1 << 12,
|
|
ImGuiItemFlags_NoWindowHoverableCheck = 1 << 13,
|
|
ImGuiItemFlags_AllowOverlap = 1 << 14,
|
|
ImGuiItemFlags_NoNavDisableMouseHover = 1 << 15,
|
|
ImGuiItemFlags_NoMarkEdited = 1 << 16,
|
|
ImGuiItemFlags_NoFocus = 1 << 17,
|
|
ImGuiItemFlags_Inputable = 1 << 20,
|
|
ImGuiItemFlags_HasSelectionUserData = 1 << 21,
|
|
ImGuiItemFlags_IsMultiSelect = 1 << 22,
|
|
ImGuiItemFlags_Default_ = ImGuiItemFlags_AutoClosePopups,
|
|
}ImGuiItemFlagsPrivate_;
|
|
typedef enum {
|
|
ImGuiItemStatusFlags_None = 0,
|
|
ImGuiItemStatusFlags_HoveredRect = 1 << 0,
|
|
ImGuiItemStatusFlags_HasDisplayRect = 1 << 1,
|
|
ImGuiItemStatusFlags_Edited = 1 << 2,
|
|
ImGuiItemStatusFlags_ToggledSelection = 1 << 3,
|
|
ImGuiItemStatusFlags_ToggledOpen = 1 << 4,
|
|
ImGuiItemStatusFlags_HasDeactivated = 1 << 5,
|
|
ImGuiItemStatusFlags_Deactivated = 1 << 6,
|
|
ImGuiItemStatusFlags_HoveredWindow = 1 << 7,
|
|
ImGuiItemStatusFlags_Visible = 1 << 8,
|
|
ImGuiItemStatusFlags_HasClipRect = 1 << 9,
|
|
ImGuiItemStatusFlags_HasShortcut = 1 << 10,
|
|
ImGuiItemStatusFlags_EditedInternal = 1 << 11,
|
|
}ImGuiItemStatusFlags_;
|
|
typedef enum {
|
|
ImGuiHoveredFlags_DelayMask_ = ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal | ImGuiHoveredFlags_NoSharedDelay,
|
|
ImGuiHoveredFlags_AllowedMaskForIsWindowHovered = ImGuiHoveredFlags_ChildWindows | ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_AnyWindow | ImGuiHoveredFlags_NoPopupHierarchy | ImGuiHoveredFlags_DockHierarchy | ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_Stationary,
|
|
ImGuiHoveredFlags_AllowedMaskForIsItemHovered = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped | ImGuiHoveredFlags_AllowWhenDisabled | ImGuiHoveredFlags_NoNavOverride | ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayMask_,
|
|
}ImGuiHoveredFlagsPrivate_;
|
|
typedef enum {
|
|
ImGuiInputTextFlags_Multiline = 1 << 26,
|
|
ImGuiInputTextFlags_TempInput = 1 << 27,
|
|
ImGuiInputTextFlags_LocalizeDecimalPoint= 1 << 28,
|
|
}ImGuiInputTextFlagsPrivate_;
|
|
typedef enum {
|
|
ImGuiButtonFlags_PressedOnClick = 1 << 4,
|
|
ImGuiButtonFlags_PressedOnClickRelease = 1 << 5,
|
|
ImGuiButtonFlags_PressedOnClickReleaseAnywhere = 1 << 6,
|
|
ImGuiButtonFlags_PressedOnRelease = 1 << 7,
|
|
ImGuiButtonFlags_PressedOnDoubleClick = 1 << 8,
|
|
ImGuiButtonFlags_PressedOnDragDropHold = 1 << 9,
|
|
ImGuiButtonFlags_FlattenChildren = 1 << 11,
|
|
ImGuiButtonFlags_AlignTextBaseLine = 1 << 15,
|
|
ImGuiButtonFlags_NoKeyModsAllowed = 1 << 16,
|
|
ImGuiButtonFlags_NoHoldingActiveId = 1 << 17,
|
|
ImGuiButtonFlags_NoNavFocus = 1 << 18,
|
|
ImGuiButtonFlags_NoHoveredOnFocus = 1 << 19,
|
|
ImGuiButtonFlags_NoSetKeyOwner = 1 << 20,
|
|
ImGuiButtonFlags_NoTestKeyOwner = 1 << 21,
|
|
ImGuiButtonFlags_NoFocus = 1 << 22,
|
|
ImGuiButtonFlags_PressedOnMask_ = ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold,
|
|
ImGuiButtonFlags_PressedOnDefault_ = ImGuiButtonFlags_PressedOnClickRelease,
|
|
}ImGuiButtonFlagsPrivate_;
|
|
typedef enum {
|
|
ImGuiComboFlags_CustomPreview = 1 << 20,
|
|
}ImGuiComboFlagsPrivate_;
|
|
typedef enum {
|
|
ImGuiSliderFlags_Vertical = 1 << 20,
|
|
ImGuiSliderFlags_ReadOnly = 1 << 21,
|
|
}ImGuiSliderFlagsPrivate_;
|
|
typedef enum {
|
|
ImGuiSelectableFlags_NoHoldingActiveID = 1 << 20,
|
|
ImGuiSelectableFlags_SelectOnClick = 1 << 22,
|
|
ImGuiSelectableFlags_SelectOnRelease = 1 << 23,
|
|
ImGuiSelectableFlags_SpanAvailWidth = 1 << 24,
|
|
ImGuiSelectableFlags_SetNavIdOnHover = 1 << 25,
|
|
ImGuiSelectableFlags_NoPadWithHalfSpacing = 1 << 26,
|
|
ImGuiSelectableFlags_NoSetKeyOwner = 1 << 27,
|
|
}ImGuiSelectableFlagsPrivate_;
|
|
typedef enum {
|
|
ImGuiTreeNodeFlags_NoNavFocus = 1 << 27,
|
|
ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 28,
|
|
ImGuiTreeNodeFlags_UpsideDownArrow = 1 << 29,
|
|
ImGuiTreeNodeFlags_OpenOnMask_ = ImGuiTreeNodeFlags_OpenOnDoubleClick | ImGuiTreeNodeFlags_OpenOnArrow,
|
|
ImGuiTreeNodeFlags_DrawLinesMask_ = ImGuiTreeNodeFlags_DrawLinesNone | ImGuiTreeNodeFlags_DrawLinesFull | ImGuiTreeNodeFlags_DrawLinesToNodes,
|
|
}ImGuiTreeNodeFlagsPrivate_;
|
|
typedef enum {
|
|
ImGuiSeparatorFlags_None = 0,
|
|
ImGuiSeparatorFlags_Horizontal = 1 << 0,
|
|
ImGuiSeparatorFlags_Vertical = 1 << 1,
|
|
ImGuiSeparatorFlags_SpanAllColumns = 1 << 2,
|
|
}ImGuiSeparatorFlags_;
|
|
typedef enum {
|
|
ImGuiFocusRequestFlags_None = 0,
|
|
ImGuiFocusRequestFlags_RestoreFocusedChild = 1 << 0,
|
|
ImGuiFocusRequestFlags_UnlessBelowModal = 1 << 1,
|
|
}ImGuiFocusRequestFlags_;
|
|
typedef enum {
|
|
ImGuiTextFlags_None = 0,
|
|
ImGuiTextFlags_NoWidthForLargeClippedText = 1 << 0,
|
|
}ImGuiTextFlags_;
|
|
typedef enum {
|
|
ImGuiTooltipFlags_None = 0,
|
|
ImGuiTooltipFlags_OverridePrevious = 1 << 1,
|
|
}ImGuiTooltipFlags_;
|
|
typedef enum {
|
|
ImGuiLayoutType_Horizontal = 0,
|
|
ImGuiLayoutType_Vertical = 1
|
|
}ImGuiLayoutType_;
|
|
typedef enum {
|
|
ImGuiLogFlags_None = 0,
|
|
ImGuiLogFlags_OutputTTY = 1 << 0,
|
|
ImGuiLogFlags_OutputFile = 1 << 1,
|
|
ImGuiLogFlags_OutputBuffer = 1 << 2,
|
|
ImGuiLogFlags_OutputClipboard = 1 << 3,
|
|
ImGuiLogFlags_OutputMask_ = ImGuiLogFlags_OutputTTY | ImGuiLogFlags_OutputFile | ImGuiLogFlags_OutputBuffer | ImGuiLogFlags_OutputClipboard,
|
|
}ImGuiLogFlags_;
|
|
typedef enum {
|
|
ImGuiAxis_None = -1,
|
|
ImGuiAxis_X = 0,
|
|
ImGuiAxis_Y = 1
|
|
}ImGuiAxis;
|
|
typedef enum {
|
|
ImGuiPlotType_Lines,
|
|
ImGuiPlotType_Histogram,
|
|
}ImGuiPlotType;
|
|
typedef struct ImGuiComboPreviewData ImGuiComboPreviewData;
|
|
struct ImGuiComboPreviewData
|
|
{
|
|
ImRect_c PreviewRect;
|
|
ImVec2_c BackupCursorPos;
|
|
ImVec2_c BackupCursorMaxPos;
|
|
ImVec2_c BackupCursorPosPrevLine;
|
|
float BackupPrevLineTextBaseOffset;
|
|
ImGuiLayoutType BackupLayout;
|
|
};
|
|
struct ImGuiGroupData
|
|
{
|
|
ImGuiID WindowID;
|
|
ImVec2_c BackupCursorPos;
|
|
ImVec2_c BackupCursorMaxPos;
|
|
ImVec2_c BackupCursorPosPrevLine;
|
|
ImVec1 BackupIndent;
|
|
ImVec1 BackupGroupOffset;
|
|
ImVec2_c BackupCurrLineSize;
|
|
float BackupCurrLineTextBaseOffset;
|
|
ImGuiID BackupActiveIdIsAlive;
|
|
_Bool BackupActiveIdHasBeenEditedThisFrame;
|
|
_Bool BackupDeactivatedIdIsAlive;
|
|
_Bool BackupHoveredIdIsAlive;
|
|
_Bool BackupIsSameLine;
|
|
_Bool EmitItem;
|
|
};
|
|
struct ImGuiMenuColumns
|
|
{
|
|
ImU32 TotalWidth;
|
|
ImU32 NextTotalWidth;
|
|
ImU16 Spacing;
|
|
ImU16 OffsetIcon;
|
|
ImU16 OffsetLabel;
|
|
ImU16 OffsetShortcut;
|
|
ImU16 OffsetMark;
|
|
ImU16 Widths[4];
|
|
};
|
|
typedef struct ImGuiInputTextDeactivatedState ImGuiInputTextDeactivatedState;
|
|
struct ImGuiInputTextDeactivatedState
|
|
{
|
|
ImGuiID ID;
|
|
ImVector_char TextA;
|
|
}; struct STB_TexteditState;
|
|
typedef STB_TexteditState ImStbTexteditState;
|
|
struct ImGuiInputTextState
|
|
{
|
|
ImGuiContext* Ctx;
|
|
ImStbTexteditState* Stb;
|
|
ImGuiInputTextFlags Flags;
|
|
ImGuiID ID;
|
|
int TextLen;
|
|
const char* TextSrc;
|
|
ImVector_char TextA;
|
|
ImVector_char TextToRevertTo;
|
|
ImVector_char CallbackTextBackup;
|
|
int BufCapacity;
|
|
ImVec2_c Scroll;
|
|
int LineCount;
|
|
float WrapWidth;
|
|
float CursorAnim;
|
|
_Bool CursorFollow;
|
|
_Bool CursorCenterY;
|
|
_Bool SelectedAllMouseLock;
|
|
_Bool EditedBefore;
|
|
_Bool EditedThisFrame;
|
|
_Bool WantReloadUserBuf;
|
|
ImS8 LastMoveDirectionLR;
|
|
int ReloadSelectionStart;
|
|
int ReloadSelectionEnd;
|
|
};
|
|
typedef enum {
|
|
ImGuiWindowRefreshFlags_None = 0,
|
|
ImGuiWindowRefreshFlags_TryToAvoidRefresh = 1 << 0,
|
|
ImGuiWindowRefreshFlags_RefreshOnHover = 1 << 1,
|
|
ImGuiWindowRefreshFlags_RefreshOnFocus = 1 << 2,
|
|
}ImGuiWindowRefreshFlags_;
|
|
typedef enum {
|
|
ImGuiWindowBgClickFlags_None = 0,
|
|
ImGuiWindowBgClickFlags_Move = 1 << 0,
|
|
}ImGuiWindowBgClickFlags_;
|
|
typedef enum {
|
|
ImGuiNextWindowDataFlags_None = 0,
|
|
ImGuiNextWindowDataFlags_HasPos = 1 << 0,
|
|
ImGuiNextWindowDataFlags_HasSize = 1 << 1,
|
|
ImGuiNextWindowDataFlags_HasContentSize = 1 << 2,
|
|
ImGuiNextWindowDataFlags_HasCollapsed = 1 << 3,
|
|
ImGuiNextWindowDataFlags_HasSizeConstraint = 1 << 4,
|
|
ImGuiNextWindowDataFlags_HasFocus = 1 << 5,
|
|
ImGuiNextWindowDataFlags_HasBgAlpha = 1 << 6,
|
|
ImGuiNextWindowDataFlags_HasScroll = 1 << 7,
|
|
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 HasFlags;
|
|
ImGuiCond PosCond;
|
|
ImGuiCond SizeCond;
|
|
ImGuiCond CollapsedCond;
|
|
ImGuiCond DockCond;
|
|
ImVec2_c PosVal;
|
|
ImVec2_c PosPivotVal;
|
|
ImVec2_c SizeVal;
|
|
ImVec2_c ContentSizeVal;
|
|
ImVec2_c ScrollVal;
|
|
ImGuiWindowFlags WindowFlags;
|
|
ImGuiChildFlags ChildFlags;
|
|
_Bool PosUndock;
|
|
_Bool CollapsedVal;
|
|
ImRect_c SizeConstraintRect;
|
|
ImGuiSizeCallback SizeCallback;
|
|
void* SizeCallbackUserData;
|
|
float BgAlphaVal;
|
|
ImGuiID ViewportId;
|
|
ImGuiID DockId;
|
|
ImGuiWindowClass WindowClass;
|
|
ImVec2_c MenuBarOffsetMinVal;
|
|
ImGuiWindowRefreshFlags RefreshFlagsVal;
|
|
};
|
|
typedef enum {
|
|
ImGuiNextItemDataFlags_None = 0,
|
|
ImGuiNextItemDataFlags_HasWidth = 1 << 0,
|
|
ImGuiNextItemDataFlags_HasOpen = 1 << 1,
|
|
ImGuiNextItemDataFlags_HasShortcut = 1 << 2,
|
|
ImGuiNextItemDataFlags_HasRefVal = 1 << 3,
|
|
ImGuiNextItemDataFlags_HasStorageID = 1 << 4,
|
|
ImGuiNextItemDataFlags_HasColorMarker = 1 << 5,
|
|
}ImGuiNextItemDataFlags_;
|
|
struct ImGuiNextItemData
|
|
{
|
|
ImGuiNextItemDataFlags HasFlags;
|
|
ImGuiItemFlags ItemFlags;
|
|
ImGuiID FocusScopeId;
|
|
ImGuiSelectionUserData SelectionUserData;
|
|
float Width;
|
|
ImGuiKeyChord Shortcut;
|
|
ImGuiInputFlags ShortcutFlags;
|
|
_Bool OpenVal;
|
|
ImU8 OpenCond;
|
|
ImGuiDataTypeStorage RefVal;
|
|
ImGuiID StorageId;
|
|
ImU32 ColorMarker;
|
|
};
|
|
struct ImGuiLastItemData
|
|
{
|
|
ImGuiID ID;
|
|
ImGuiItemFlags ItemFlags;
|
|
ImGuiItemStatusFlags StatusFlags;
|
|
ImRect_c Rect;
|
|
ImRect_c NavRect;
|
|
ImRect_c DisplayRect;
|
|
ImRect_c ClipRect;
|
|
ImGuiKeyChord Shortcut;
|
|
};
|
|
struct ImGuiTreeNodeStackData
|
|
{
|
|
ImGuiID ID;
|
|
ImGuiTreeNodeFlags TreeFlags;
|
|
ImGuiItemFlags ItemFlags;
|
|
ImRect_c NavRect;
|
|
float DrawLinesX1;
|
|
float DrawLinesToNodesY2;
|
|
ImGuiTableColumnIdx DrawLinesTableColumn;
|
|
};
|
|
struct ImGuiErrorRecoveryState
|
|
{
|
|
short SizeOfWindowStack;
|
|
short SizeOfIDStack;
|
|
short SizeOfTreeStack;
|
|
short SizeOfColorStack;
|
|
short SizeOfStyleVarStack;
|
|
short SizeOfFontStack;
|
|
short SizeOfFocusScopeStack;
|
|
short SizeOfGroupStack;
|
|
short SizeOfItemFlagsStack;
|
|
short SizeOfBeginPopupStack;
|
|
short SizeOfDisabledStack;
|
|
};
|
|
typedef struct ImGuiWindowStackData ImGuiWindowStackData;
|
|
struct ImGuiWindowStackData
|
|
{
|
|
ImGuiWindow* Window;
|
|
ImGuiLastItemData ParentLastItemDataBackup;
|
|
ImGuiErrorRecoveryState StackSizesInBegin;
|
|
_Bool DisabledOverrideReenable;
|
|
float DisabledOverrideReenableAlphaBackup;
|
|
};
|
|
typedef struct ImGuiShrinkWidthItem ImGuiShrinkWidthItem;
|
|
struct ImGuiShrinkWidthItem
|
|
{
|
|
int Index;
|
|
float Width;
|
|
float InitialWidth;
|
|
};
|
|
typedef struct ImGuiPtrOrIndex ImGuiPtrOrIndex;
|
|
struct ImGuiPtrOrIndex
|
|
{
|
|
void* Ptr;
|
|
int Index;
|
|
};
|
|
struct ImGuiDeactivatedItemData
|
|
{
|
|
ImGuiID ID;
|
|
int ElapseFrame;
|
|
_Bool HasBeenEditedBefore;
|
|
_Bool IsAlive;
|
|
};
|
|
typedef enum {
|
|
ImGuiPopupPositionPolicy_Default,
|
|
ImGuiPopupPositionPolicy_ComboBox,
|
|
ImGuiPopupPositionPolicy_Tooltip,
|
|
}ImGuiPopupPositionPolicy;
|
|
struct ImGuiPopupData
|
|
{
|
|
ImGuiID PopupId;
|
|
ImGuiWindow* Window;
|
|
ImGuiWindow* RestoreNavWindow;
|
|
int ParentNavLayer;
|
|
int OpenFrameCount;
|
|
ImGuiID OpenParentId;
|
|
ImVec2_c OpenPopupPos;
|
|
ImVec2_c OpenMousePos;
|
|
};
|
|
typedef struct ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN {ImU32 Data[(ImGuiKey_NamedKey_COUNT+31)>>5];} ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN;
|
|
typedef ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN ImBitArrayForNamedKeys;
|
|
typedef enum {
|
|
ImGuiInputEventType_None = 0,
|
|
ImGuiInputEventType_MousePos,
|
|
ImGuiInputEventType_MouseWheel,
|
|
ImGuiInputEventType_MouseButton,
|
|
ImGuiInputEventType_MouseViewport,
|
|
ImGuiInputEventType_Key,
|
|
ImGuiInputEventType_Text,
|
|
ImGuiInputEventType_Focus,
|
|
ImGuiInputEventType_COUNT
|
|
}ImGuiInputEventType;
|
|
typedef enum {
|
|
ImGuiInputSource_None=0,
|
|
ImGuiInputSource_Mouse=1,
|
|
ImGuiInputSource_Keyboard=2,
|
|
ImGuiInputSource_Gamepad=3,
|
|
ImGuiInputSource_COUNT=4,
|
|
}ImGuiInputSource;
|
|
typedef struct ImGuiInputEventMousePos ImGuiInputEventMousePos;
|
|
struct ImGuiInputEventMousePos
|
|
{ float PosX, PosY; ImGuiMouseSource MouseSource;
|
|
};
|
|
typedef struct ImGuiInputEventMouseWheel ImGuiInputEventMouseWheel;
|
|
struct ImGuiInputEventMouseWheel
|
|
{ float WheelX, WheelY; ImGuiMouseSource MouseSource;
|
|
};
|
|
typedef struct ImGuiInputEventMouseButton ImGuiInputEventMouseButton;
|
|
struct ImGuiInputEventMouseButton
|
|
{ int Button; _Bool Down; ImGuiMouseSource MouseSource;
|
|
};
|
|
typedef struct ImGuiInputEventMouseViewport ImGuiInputEventMouseViewport;
|
|
struct ImGuiInputEventMouseViewport
|
|
{ ImGuiID HoveredViewportID;
|
|
};
|
|
typedef struct ImGuiInputEventKey ImGuiInputEventKey;
|
|
struct ImGuiInputEventKey
|
|
{ ImGuiKey Key; _Bool Down; float AnalogValue;
|
|
};
|
|
typedef struct ImGuiInputEventText ImGuiInputEventText;
|
|
struct ImGuiInputEventText
|
|
{ unsigned int Char;
|
|
};
|
|
typedef struct ImGuiInputEventAppFocused ImGuiInputEventAppFocused;
|
|
struct ImGuiInputEventAppFocused
|
|
{ _Bool Focused;
|
|
};
|
|
typedef struct ImGuiInputEvent ImGuiInputEvent;
|
|
struct ImGuiInputEvent
|
|
{
|
|
ImGuiInputEventType Type;
|
|
ImGuiInputSource Source;
|
|
ImU32 EventId;
|
|
union
|
|
{
|
|
ImGuiInputEventMousePos MousePos;
|
|
ImGuiInputEventMouseWheel MouseWheel;
|
|
ImGuiInputEventMouseButton MouseButton;
|
|
ImGuiInputEventMouseViewport MouseViewport;
|
|
ImGuiInputEventKey Key;
|
|
ImGuiInputEventText Text;
|
|
ImGuiInputEventAppFocused AppFocused;
|
|
};
|
|
_Bool AddedByTestEngine;
|
|
};
|
|
typedef ImS16 ImGuiKeyRoutingIndex;
|
|
typedef struct ImGuiKeyRoutingData ImGuiKeyRoutingData;
|
|
struct ImGuiKeyRoutingData
|
|
{
|
|
ImGuiKeyRoutingIndex NextEntryIndex;
|
|
ImU16 Mods;
|
|
ImU16 RoutingCurrScore;
|
|
ImU16 RoutingNextScore;
|
|
ImGuiID RoutingCurr;
|
|
ImGuiID RoutingNext;
|
|
};
|
|
typedef struct ImGuiKeyRoutingTable ImGuiKeyRoutingTable;
|
|
typedef struct ImVector_ImGuiKeyRoutingData {int Size;int Capacity;ImGuiKeyRoutingData* Data;} ImVector_ImGuiKeyRoutingData;
|
|
struct ImGuiKeyRoutingTable
|
|
{
|
|
ImGuiKeyRoutingIndex Index[ImGuiKey_NamedKey_COUNT];
|
|
ImVector_ImGuiKeyRoutingData Entries;
|
|
ImVector_ImGuiKeyRoutingData EntriesNext;
|
|
};
|
|
typedef struct ImGuiKeyOwnerData ImGuiKeyOwnerData;
|
|
struct ImGuiKeyOwnerData
|
|
{
|
|
ImGuiID OwnerCurr;
|
|
ImGuiID OwnerNext;
|
|
_Bool LockThisFrame;
|
|
_Bool LockUntilRelease;
|
|
};
|
|
typedef enum {
|
|
ImGuiInputFlags_RepeatRateDefault = 1 << 1,
|
|
ImGuiInputFlags_RepeatRateNavMove = 1 << 2,
|
|
ImGuiInputFlags_RepeatRateNavTweak = 1 << 3,
|
|
ImGuiInputFlags_RepeatUntilRelease = 1 << 4,
|
|
ImGuiInputFlags_RepeatUntilKeyModsChange = 1 << 5,
|
|
ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone = 1 << 6,
|
|
ImGuiInputFlags_RepeatUntilOtherKeyPress = 1 << 7,
|
|
ImGuiInputFlags_LockThisFrame = 1 << 20,
|
|
ImGuiInputFlags_LockUntilRelease = 1 << 21,
|
|
ImGuiInputFlags_CondHovered = 1 << 22,
|
|
ImGuiInputFlags_CondActive = 1 << 23,
|
|
ImGuiInputFlags_CondDefault_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive,
|
|
ImGuiInputFlags_RepeatRateMask_ = ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak,
|
|
ImGuiInputFlags_RepeatUntilMask_ = ImGuiInputFlags_RepeatUntilRelease | ImGuiInputFlags_RepeatUntilKeyModsChange | ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone | ImGuiInputFlags_RepeatUntilOtherKeyPress,
|
|
ImGuiInputFlags_RepeatMask_ = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RepeatUntilMask_,
|
|
ImGuiInputFlags_CondMask_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive,
|
|
ImGuiInputFlags_RouteTypeMask_ = ImGuiInputFlags_RouteActive | ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteAlways,
|
|
ImGuiInputFlags_RouteOptionsMask_ = ImGuiInputFlags_RouteOverFocused | ImGuiInputFlags_RouteOverActive | ImGuiInputFlags_RouteUnlessBgFocused | ImGuiInputFlags_RouteFromRootWindow,
|
|
ImGuiInputFlags_SupportedByIsKeyPressed = ImGuiInputFlags_RepeatMask_,
|
|
ImGuiInputFlags_SupportedByIsMouseClicked = ImGuiInputFlags_Repeat,
|
|
ImGuiInputFlags_SupportedByShortcut = ImGuiInputFlags_RepeatMask_ | ImGuiInputFlags_RouteTypeMask_ | ImGuiInputFlags_RouteOptionsMask_,
|
|
ImGuiInputFlags_SupportedBySetNextItemShortcut = ImGuiInputFlags_RepeatMask_ | ImGuiInputFlags_RouteTypeMask_ | ImGuiInputFlags_RouteOptionsMask_ | ImGuiInputFlags_Tooltip,
|
|
ImGuiInputFlags_SupportedBySetKeyOwner = ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease,
|
|
ImGuiInputFlags_SupportedBySetItemKeyOwner = ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_,
|
|
}ImGuiInputFlagsPrivate_;
|
|
typedef struct ImGuiListClipperRange ImGuiListClipperRange;
|
|
struct ImGuiListClipperRange
|
|
{
|
|
int Min;
|
|
int Max;
|
|
_Bool PosToIndexConvert;
|
|
ImS8 PosToIndexOffsetMin;
|
|
ImS8 PosToIndexOffsetMax;
|
|
};
|
|
typedef struct ImGuiListClipperData ImGuiListClipperData;
|
|
typedef struct ImVector_ImGuiListClipperRange {int Size;int Capacity;ImGuiListClipperRange* Data;} ImVector_ImGuiListClipperRange;
|
|
struct ImGuiListClipperData
|
|
{
|
|
ImGuiListClipper* ListClipper;
|
|
float LossynessOffset;
|
|
int StepNo;
|
|
int ItemsFrozen;
|
|
ImVector_ImGuiListClipperRange Ranges;
|
|
};
|
|
typedef enum {
|
|
ImGuiActivateFlags_None = 0,
|
|
ImGuiActivateFlags_PreferInput = 1 << 0,
|
|
ImGuiActivateFlags_PreferTweak = 1 << 1,
|
|
ImGuiActivateFlags_TryToPreserveState = 1 << 2,
|
|
ImGuiActivateFlags_FromTabbing = 1 << 3,
|
|
ImGuiActivateFlags_FromShortcut = 1 << 4,
|
|
ImGuiActivateFlags_FromFocusApi = 1 << 5,
|
|
}ImGuiActivateFlags_;
|
|
typedef enum {
|
|
ImGuiScrollFlags_None = 0,
|
|
ImGuiScrollFlags_KeepVisibleEdgeX = 1 << 0,
|
|
ImGuiScrollFlags_KeepVisibleEdgeY = 1 << 1,
|
|
ImGuiScrollFlags_KeepVisibleCenterX = 1 << 2,
|
|
ImGuiScrollFlags_KeepVisibleCenterY = 1 << 3,
|
|
ImGuiScrollFlags_AlwaysCenterX = 1 << 4,
|
|
ImGuiScrollFlags_AlwaysCenterY = 1 << 5,
|
|
ImGuiScrollFlags_NoScrollParent = 1 << 6,
|
|
ImGuiScrollFlags_MaskX_ = ImGuiScrollFlags_KeepVisibleEdgeX | ImGuiScrollFlags_KeepVisibleCenterX | ImGuiScrollFlags_AlwaysCenterX,
|
|
ImGuiScrollFlags_MaskY_ = ImGuiScrollFlags_KeepVisibleEdgeY | ImGuiScrollFlags_KeepVisibleCenterY | ImGuiScrollFlags_AlwaysCenterY,
|
|
}ImGuiScrollFlags_;
|
|
typedef enum {
|
|
ImGuiNavRenderCursorFlags_None = 0,
|
|
ImGuiNavRenderCursorFlags_Compact = 1 << 1,
|
|
ImGuiNavRenderCursorFlags_AlwaysDraw = 1 << 2,
|
|
ImGuiNavRenderCursorFlags_NoRounding = 1 << 3,
|
|
}ImGuiNavRenderCursorFlags_;
|
|
typedef enum {
|
|
ImGuiNavMoveFlags_None = 0,
|
|
ImGuiNavMoveFlags_LoopX = 1 << 0,
|
|
ImGuiNavMoveFlags_LoopY = 1 << 1,
|
|
ImGuiNavMoveFlags_WrapX = 1 << 2,
|
|
ImGuiNavMoveFlags_WrapY = 1 << 3,
|
|
ImGuiNavMoveFlags_WrapMask_ = ImGuiNavMoveFlags_LoopX | ImGuiNavMoveFlags_LoopY | ImGuiNavMoveFlags_WrapX | ImGuiNavMoveFlags_WrapY,
|
|
ImGuiNavMoveFlags_AllowCurrentNavId = 1 << 4,
|
|
ImGuiNavMoveFlags_AlsoScoreVisibleSet = 1 << 5,
|
|
ImGuiNavMoveFlags_ScrollToEdgeY = 1 << 6,
|
|
ImGuiNavMoveFlags_Forwarded = 1 << 7,
|
|
ImGuiNavMoveFlags_DebugNoResult = 1 << 8,
|
|
ImGuiNavMoveFlags_FocusApi = 1 << 9,
|
|
ImGuiNavMoveFlags_IsTabbing = 1 << 10,
|
|
ImGuiNavMoveFlags_IsPageMove = 1 << 11,
|
|
ImGuiNavMoveFlags_Activate = 1 << 12,
|
|
ImGuiNavMoveFlags_NoSelect = 1 << 13,
|
|
ImGuiNavMoveFlags_NoSetNavCursorVisible = 1 << 14,
|
|
ImGuiNavMoveFlags_NoClearActiveId = 1 << 15,
|
|
}ImGuiNavMoveFlags_;
|
|
typedef enum {
|
|
ImGuiNavLayer_Main = 0,
|
|
ImGuiNavLayer_Menu = 1,
|
|
ImGuiNavLayer_COUNT
|
|
}ImGuiNavLayer;
|
|
struct ImGuiNavItemData
|
|
{
|
|
ImGuiWindow* Window;
|
|
ImGuiID ID;
|
|
ImGuiID FocusScopeId;
|
|
ImRect_c RectRel;
|
|
ImGuiItemFlags ItemFlags;
|
|
float DistBox;
|
|
float DistCenter;
|
|
float DistAxial;
|
|
ImGuiSelectionUserData SelectionUserData;
|
|
};
|
|
typedef struct ImGuiFocusScopeData ImGuiFocusScopeData;
|
|
struct ImGuiFocusScopeData
|
|
{
|
|
ImGuiID ID;
|
|
ImGuiID WindowID;
|
|
};
|
|
typedef enum {
|
|
ImGuiTypingSelectFlags_None = 0,
|
|
ImGuiTypingSelectFlags_AllowBackspace = 1 << 0,
|
|
ImGuiTypingSelectFlags_AllowSingleCharMode = 1 << 1,
|
|
}ImGuiTypingSelectFlags_;
|
|
struct ImGuiTypingSelectRequest
|
|
{
|
|
ImGuiTypingSelectFlags Flags;
|
|
int SearchBufferLen;
|
|
const char* SearchBuffer;
|
|
_Bool SelectRequest;
|
|
_Bool SingleCharMode;
|
|
ImS8 SingleCharSize;
|
|
};
|
|
struct ImGuiTypingSelectState
|
|
{
|
|
ImGuiTypingSelectRequest Request;
|
|
char SearchBuffer[64];
|
|
ImGuiID FocusScope;
|
|
int LastRequestFrame;
|
|
float LastRequestTime;
|
|
_Bool SingleCharModeLock;
|
|
};
|
|
typedef enum {
|
|
ImGuiOldColumnFlags_None = 0,
|
|
ImGuiOldColumnFlags_NoBorder = 1 << 0,
|
|
ImGuiOldColumnFlags_NoResize = 1 << 1,
|
|
ImGuiOldColumnFlags_NoPreserveWidths = 1 << 2,
|
|
ImGuiOldColumnFlags_NoForceWithinWindow = 1 << 3,
|
|
ImGuiOldColumnFlags_GrowParentContentsSize = 1 << 4,
|
|
}ImGuiOldColumnFlags_;
|
|
struct ImGuiOldColumnData
|
|
{
|
|
float OffsetNorm;
|
|
float OffsetNormBeforeResize;
|
|
ImGuiOldColumnFlags Flags;
|
|
ImRect_c ClipRect;
|
|
};
|
|
typedef struct ImVector_ImGuiOldColumnData {int Size;int Capacity;ImGuiOldColumnData* Data;} ImVector_ImGuiOldColumnData;
|
|
struct ImGuiOldColumns
|
|
{
|
|
ImGuiID ID;
|
|
ImGuiOldColumnFlags Flags;
|
|
_Bool IsFirstFrame;
|
|
_Bool IsBeingResized;
|
|
int Current;
|
|
int Count;
|
|
float OffMinX, OffMaxX;
|
|
float LineMinY, LineMaxY;
|
|
float HostCursorPosY;
|
|
float HostCursorMaxPosX;
|
|
ImRect_c HostInitialClipRect;
|
|
ImRect_c HostBackupClipRect;
|
|
ImRect_c HostBackupParentWorkRect;
|
|
ImVector_ImGuiOldColumnData Columns;
|
|
ImDrawListSplitter Splitter;
|
|
};
|
|
struct ImGuiBoxSelectState
|
|
{
|
|
ImGuiID ID;
|
|
_Bool IsActive;
|
|
_Bool IsStarting;
|
|
_Bool IsStartedFromVoid;
|
|
_Bool IsStartedSetNavIdOnce;
|
|
_Bool RequestClear;
|
|
ImGuiKeyChord KeyMods : 16;
|
|
ImVec2_c StartPosRel;
|
|
ImVec2_c EndPosRel;
|
|
ImVec2_c ScrollAccum;
|
|
ImGuiWindow* Window;
|
|
_Bool UnclipMode;
|
|
ImRect_c UnclipRect;
|
|
ImRect_c UnclipRects[2];
|
|
ImRect_c BoxSelectRectPrev;
|
|
ImRect_c BoxSelectRectCurr;
|
|
};
|
|
struct ImGuiMultiSelectTempData
|
|
{
|
|
ImGuiMultiSelectIO IO;
|
|
ImGuiMultiSelectState* Storage;
|
|
ImGuiID FocusScopeId;
|
|
ImGuiMultiSelectFlags Flags;
|
|
ImVec2_c ScopeRectMin;
|
|
ImVec2_c BackupCursorMaxPos;
|
|
ImGuiID BoxSelectId;
|
|
ImGuiKeyChord KeyMods;
|
|
ImS8 LoopRequestSetAll;
|
|
_Bool IsEndIO;
|
|
_Bool IsFocused;
|
|
_Bool IsKeyboardSetRange;
|
|
_Bool NavIdPassedBy;
|
|
_Bool RangeSrcPassedBy;
|
|
_Bool RangeDstPassedBy;
|
|
};
|
|
struct ImGuiMultiSelectState
|
|
{
|
|
ImGuiWindow* Window;
|
|
ImGuiID ID;
|
|
int LastFrameActive;
|
|
int LastSelectionSize;
|
|
ImS8 RangeSelected;
|
|
ImS8 NavIdSelected;
|
|
ImGuiSelectionUserData RangeSrcItem;
|
|
ImGuiSelectionUserData NavIdItem;
|
|
};
|
|
typedef enum {
|
|
ImGuiDockNodeFlags_DockSpace = 1 << 10,
|
|
ImGuiDockNodeFlags_CentralNode = 1 << 11,
|
|
ImGuiDockNodeFlags_NoTabBar = 1 << 12,
|
|
ImGuiDockNodeFlags_HiddenTabBar = 1 << 13,
|
|
ImGuiDockNodeFlags_NoWindowMenuButton = 1 << 14,
|
|
ImGuiDockNodeFlags_NoCloseButton = 1 << 15,
|
|
ImGuiDockNodeFlags_NoResizeX = 1 << 16,
|
|
ImGuiDockNodeFlags_NoResizeY = 1 << 17,
|
|
ImGuiDockNodeFlags_DockedWindowsInFocusRoute= 1 << 18,
|
|
ImGuiDockNodeFlags_NoDockingSplitOther = 1 << 19,
|
|
ImGuiDockNodeFlags_NoDockingOverMe = 1 << 20,
|
|
ImGuiDockNodeFlags_NoDockingOverOther = 1 << 21,
|
|
ImGuiDockNodeFlags_NoDockingOverEmpty = 1 << 22,
|
|
ImGuiDockNodeFlags_NoDocking = ImGuiDockNodeFlags_NoDockingOverMe | ImGuiDockNodeFlags_NoDockingOverOther | ImGuiDockNodeFlags_NoDockingOverEmpty | ImGuiDockNodeFlags_NoDockingSplit | ImGuiDockNodeFlags_NoDockingSplitOther,
|
|
ImGuiDockNodeFlags_SharedFlagsInheritMask_ = ~0,
|
|
ImGuiDockNodeFlags_NoResizeFlagsMask_ = (int)ImGuiDockNodeFlags_NoResize | ImGuiDockNodeFlags_NoResizeX | ImGuiDockNodeFlags_NoResizeY,
|
|
ImGuiDockNodeFlags_LocalFlagsTransferMask_ = (int)ImGuiDockNodeFlags_NoDockingSplit | ImGuiDockNodeFlags_NoResizeFlagsMask_ | (int)ImGuiDockNodeFlags_AutoHideTabBar | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton,
|
|
ImGuiDockNodeFlags_SavedFlagsMask_ = ImGuiDockNodeFlags_NoResizeFlagsMask_ | ImGuiDockNodeFlags_DockSpace | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton,
|
|
}ImGuiDockNodeFlagsPrivate_;
|
|
typedef enum {
|
|
ImGuiDataAuthority_Auto,
|
|
ImGuiDataAuthority_DockNode,
|
|
ImGuiDataAuthority_Window,
|
|
}ImGuiDataAuthority_;
|
|
typedef enum {
|
|
ImGuiDockNodeState_Unknown,
|
|
ImGuiDockNodeState_HostWindowHiddenBecauseSingleWindow,
|
|
ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing,
|
|
ImGuiDockNodeState_HostWindowVisible,
|
|
}ImGuiDockNodeState;
|
|
typedef struct ImVector_ImGuiWindowPtr {int Size;int Capacity;ImGuiWindow** Data;} ImVector_ImGuiWindowPtr;
|
|
struct ImGuiDockNode
|
|
{
|
|
ImGuiID ID;
|
|
ImGuiDockNodeFlags SharedFlags;
|
|
ImGuiDockNodeFlags LocalFlags;
|
|
ImGuiDockNodeFlags LocalFlagsInWindows;
|
|
ImGuiDockNodeFlags MergedFlags;
|
|
ImGuiDockNodeState State;
|
|
ImGuiDockNode* ParentNode;
|
|
ImGuiDockNode* ChildNodes[2];
|
|
ImVector_ImGuiWindowPtr Windows;
|
|
ImGuiTabBar* TabBar;
|
|
ImVec2_c Pos;
|
|
ImVec2_c Size;
|
|
ImVec2_c SizeRef;
|
|
ImGuiAxis SplitAxis;
|
|
ImU32 LastBgColor;
|
|
ImGuiWindowClass WindowClass;
|
|
ImGuiWindow* HostWindow;
|
|
ImGuiWindow* VisibleWindow;
|
|
ImGuiDockNode* CentralNode;
|
|
ImGuiDockNode* OnlyNodeWithWindows;
|
|
int CountNodeWithWindows;
|
|
int LastFrameAlive;
|
|
int LastFrameActive;
|
|
int LastFrameFocused;
|
|
ImGuiID LastFocusedNodeId;
|
|
ImGuiID SelectedTabId;
|
|
ImGuiID WantCloseTabId;
|
|
ImGuiID RefViewportId;
|
|
ImGuiDataAuthority AuthorityForPos :3;
|
|
ImGuiDataAuthority AuthorityForSize :3;
|
|
ImGuiDataAuthority AuthorityForViewport :3;
|
|
_Bool IsVisible :1;
|
|
_Bool IsFocused :1;
|
|
_Bool IsBgDrawnThisFrame :1;
|
|
_Bool HasCloseButton :1;
|
|
_Bool HasWindowMenuButton :1;
|
|
_Bool HasCentralNodeChild :1;
|
|
_Bool WantCloseAll :1;
|
|
_Bool WantLockSizeOnce :1;
|
|
_Bool WantMouseMove :1;
|
|
_Bool WantHiddenTabBarUpdate :1;
|
|
_Bool WantHiddenTabBarToggle :1;
|
|
};
|
|
typedef enum {
|
|
ImGuiWindowDockStyleCol_Text,
|
|
ImGuiWindowDockStyleCol_TabHovered,
|
|
ImGuiWindowDockStyleCol_TabFocused,
|
|
ImGuiWindowDockStyleCol_TabSelected,
|
|
ImGuiWindowDockStyleCol_TabSelectedOverline,
|
|
ImGuiWindowDockStyleCol_TabDimmed,
|
|
ImGuiWindowDockStyleCol_TabDimmedSelected,
|
|
ImGuiWindowDockStyleCol_TabDimmedSelectedOverline,
|
|
ImGuiWindowDockStyleCol_UnsavedMarker,
|
|
ImGuiWindowDockStyleCol_COUNT
|
|
}ImGuiWindowDockStyleCol;
|
|
struct ImGuiWindowDockStyle
|
|
{
|
|
ImU32 Colors[ImGuiWindowDockStyleCol_COUNT];
|
|
};
|
|
typedef struct ImVector_ImGuiDockRequest {int Size;int Capacity;ImGuiDockRequest* Data;} ImVector_ImGuiDockRequest;
|
|
typedef struct ImVector_ImGuiDockNodeSettings {int Size;int Capacity;ImGuiDockNodeSettings* Data;} ImVector_ImGuiDockNodeSettings;
|
|
struct ImGuiDockContext
|
|
{
|
|
ImGuiStorage Nodes;
|
|
ImVector_ImGuiDockRequest Requests;
|
|
ImVector_ImGuiDockNodeSettings NodesSettings;
|
|
_Bool WantFullRebuild;
|
|
};
|
|
typedef struct ImGuiViewportP ImGuiViewportP;
|
|
struct ImGuiViewportP
|
|
{
|
|
ImGuiViewport _ImGuiViewport;
|
|
ImGuiWindow* Window;
|
|
int Idx;
|
|
int LastFrameActive;
|
|
int LastFocusedStampCount;
|
|
ImGuiID LastNameHash;
|
|
ImVec2_c LastPos;
|
|
ImVec2_c LastSize;
|
|
float Alpha;
|
|
float LastAlpha;
|
|
_Bool LastFocusedHadNavWindow;
|
|
short PlatformMonitor;
|
|
float BgFgDrawListsLastTimeActive[2];
|
|
ImDrawList* BgFgDrawLists[2];
|
|
ImDrawData DrawDataP;
|
|
ImDrawDataBuilder DrawDataBuilder;
|
|
ImVec2_c LastPlatformPos;
|
|
ImVec2_c LastPlatformSize;
|
|
ImVec2_c LastRendererSize;
|
|
ImVec2_c WorkInsetMin;
|
|
ImVec2_c WorkInsetMax;
|
|
ImVec2_c BuildWorkInsetMin;
|
|
ImVec2_c BuildWorkInsetMax;
|
|
};
|
|
struct ImGuiWindowSettings
|
|
{
|
|
ImGuiID ID;
|
|
ImVec2ih Pos;
|
|
ImVec2ih Size;
|
|
ImVec2ih ViewportPos;
|
|
ImGuiID ViewportId;
|
|
ImGuiID DockId;
|
|
ImGuiID ClassId;
|
|
short DockOrder;
|
|
_Bool Collapsed;
|
|
_Bool IsChild;
|
|
_Bool WantApply;
|
|
_Bool WantDelete;
|
|
};
|
|
struct ImGuiSettingsHandler
|
|
{
|
|
const char* TypeName;
|
|
ImGuiID TypeHash;
|
|
void (*ClearAllFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler);
|
|
void (*ReadInitFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler);
|
|
void* (*ReadOpenFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, const char* name);
|
|
void (*ReadLineFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, void* entry, const char* line);
|
|
void (*ApplyAllFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler);
|
|
void (*WriteAllFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* out_buf);
|
|
void* UserData;
|
|
};
|
|
typedef enum {
|
|
ImGuiLocKey_VersionStr=0,
|
|
ImGuiLocKey_TableSizeOne=1,
|
|
ImGuiLocKey_TableSizeAllFit=2,
|
|
ImGuiLocKey_TableSizeAllDefault=3,
|
|
ImGuiLocKey_TableResetOrder=4,
|
|
ImGuiLocKey_WindowingMainMenuBar=5,
|
|
ImGuiLocKey_WindowingPopup=6,
|
|
ImGuiLocKey_WindowingUntitled=7,
|
|
ImGuiLocKey_OpenLink_s=8,
|
|
ImGuiLocKey_CopyLink=9,
|
|
ImGuiLocKey_DockingHideTabBar=10,
|
|
ImGuiLocKey_DockingHoldShiftToDock=11,
|
|
ImGuiLocKey_DockingDragToUndockOrMoveNode=12,
|
|
ImGuiLocKey_COUNT=13,
|
|
}ImGuiLocKey;
|
|
struct ImGuiLocEntry
|
|
{
|
|
ImGuiLocKey Key;
|
|
const char* Text;
|
|
};
|
|
typedef void (*ImGuiErrorCallback)(ImGuiContext* ctx, void* user_data, const char* msg);
|
|
typedef enum {
|
|
ImGuiDebugLogFlags_None = 0,
|
|
ImGuiDebugLogFlags_EventError = 1 << 0,
|
|
ImGuiDebugLogFlags_EventActiveId = 1 << 1,
|
|
ImGuiDebugLogFlags_EventFocus = 1 << 2,
|
|
ImGuiDebugLogFlags_EventPopup = 1 << 3,
|
|
ImGuiDebugLogFlags_EventNav = 1 << 4,
|
|
ImGuiDebugLogFlags_EventClipper = 1 << 5,
|
|
ImGuiDebugLogFlags_EventSelection = 1 << 6,
|
|
ImGuiDebugLogFlags_EventIO = 1 << 7,
|
|
ImGuiDebugLogFlags_EventFont = 1 << 8,
|
|
ImGuiDebugLogFlags_EventInputRouting = 1 << 9,
|
|
ImGuiDebugLogFlags_EventDocking = 1 << 10,
|
|
ImGuiDebugLogFlags_EventViewport = 1 << 11,
|
|
ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventError | ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventSelection | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventFont | ImGuiDebugLogFlags_EventInputRouting | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport,
|
|
ImGuiDebugLogFlags_OutputToTTY = 1 << 20,
|
|
ImGuiDebugLogFlags_OutputToDebugger = 1 << 21,
|
|
ImGuiDebugLogFlags_OutputToTestEngine = 1 << 22,
|
|
}ImGuiDebugLogFlags_;
|
|
typedef struct ImGuiDebugAllocEntry ImGuiDebugAllocEntry;
|
|
struct ImGuiDebugAllocEntry
|
|
{
|
|
int FrameCount;
|
|
ImS16 AllocCount;
|
|
ImS16 FreeCount;
|
|
};
|
|
typedef struct ImGuiDebugAllocInfo ImGuiDebugAllocInfo;
|
|
struct ImGuiDebugAllocInfo
|
|
{
|
|
int TotalAllocCount;
|
|
int TotalFreeCount;
|
|
ImS16 LastEntriesIdx;
|
|
ImGuiDebugAllocEntry LastEntriesBuf[6];
|
|
};
|
|
struct ImGuiMetricsConfig
|
|
{
|
|
_Bool ShowDebugLog;
|
|
_Bool ShowIDStackTool;
|
|
_Bool ShowWindowsRects;
|
|
_Bool ShowWindowsBeginOrder;
|
|
_Bool ShowTablesRects;
|
|
_Bool ShowDrawCmdMesh;
|
|
_Bool ShowDrawCmdBoundingBoxes;
|
|
_Bool ShowTextEncodingViewer;
|
|
_Bool ShowTextureUsedRect;
|
|
_Bool ShowDockingNodes;
|
|
int ShowWindowsRectsType;
|
|
int ShowTablesRectsType;
|
|
int HighlightMonitorIdx;
|
|
ImGuiID HighlightViewportID;
|
|
_Bool ShowFontPreview;
|
|
};
|
|
typedef struct ImGuiStackLevelInfo ImGuiStackLevelInfo;
|
|
struct ImGuiStackLevelInfo
|
|
{
|
|
ImGuiID ID;
|
|
ImS8 QueryFrameCount;
|
|
_Bool QuerySuccess;
|
|
ImS8 DataType;
|
|
int DescOffset;
|
|
};
|
|
typedef struct ImGuiDebugItemPathQuery ImGuiDebugItemPathQuery;
|
|
typedef struct ImVector_ImGuiStackLevelInfo {int Size;int Capacity;ImGuiStackLevelInfo* Data;} ImVector_ImGuiStackLevelInfo;
|
|
struct ImGuiDebugItemPathQuery
|
|
{
|
|
ImGuiID MainID;
|
|
_Bool Active;
|
|
_Bool Complete;
|
|
ImS8 Step;
|
|
ImVector_ImGuiStackLevelInfo Results;
|
|
ImGuiTextBuffer ResultsDescBuf;
|
|
ImGuiTextBuffer ResultPathBuf;
|
|
};
|
|
typedef struct ImGuiIDStackTool ImGuiIDStackTool;
|
|
struct ImGuiIDStackTool
|
|
{
|
|
_Bool OptHexEncodeNonAsciiChars;
|
|
_Bool OptCopyToClipboardOnCtrlC;
|
|
int LastActiveFrame;
|
|
float CopyToClipboardLastTime;
|
|
};
|
|
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;
|
|
struct ImGuiContextHook
|
|
{
|
|
ImGuiID HookId;
|
|
ImGuiContextHookType Type;
|
|
ImGuiID Owner;
|
|
ImGuiContextHookCallback Callback;
|
|
void* UserData;
|
|
};
|
|
typedef void (*ImGuiDemoMarkerCallback)(const char* file, int line, const char* section);
|
|
typedef struct ImVector_ImFontAtlasPtr {int Size;int Capacity;ImFontAtlas** Data;} ImVector_ImFontAtlasPtr;
|
|
typedef struct ImVector_ImGuiInputEvent {int Size;int Capacity;ImGuiInputEvent* Data;} ImVector_ImGuiInputEvent;
|
|
typedef struct ImVector_ImGuiWindowStackData {int Size;int Capacity;ImGuiWindowStackData* Data;} ImVector_ImGuiWindowStackData;
|
|
typedef struct ImVector_ImGuiColorMod {int Size;int Capacity;ImGuiColorMod* Data;} ImVector_ImGuiColorMod;
|
|
typedef struct ImVector_ImGuiStyleMod {int Size;int Capacity;ImGuiStyleMod* Data;} ImVector_ImGuiStyleMod;
|
|
typedef struct ImVector_ImFontStackData {int Size;int Capacity;ImFontStackData* Data;} ImVector_ImFontStackData;
|
|
typedef struct ImVector_ImGuiFocusScopeData {int Size;int Capacity;ImGuiFocusScopeData* Data;} ImVector_ImGuiFocusScopeData;
|
|
typedef struct ImVector_ImGuiItemFlags {int Size;int Capacity;ImGuiItemFlags* Data;} ImVector_ImGuiItemFlags;
|
|
typedef struct ImVector_ImGuiGroupData {int Size;int Capacity;ImGuiGroupData* Data;} ImVector_ImGuiGroupData;
|
|
typedef struct ImVector_ImGuiPopupData {int Size;int Capacity;ImGuiPopupData* Data;} ImVector_ImGuiPopupData;
|
|
typedef struct ImVector_ImGuiTreeNodeStackData {int Size;int Capacity;ImGuiTreeNodeStackData* Data;} ImVector_ImGuiTreeNodeStackData;
|
|
typedef struct ImVector_ImGuiViewportPPtr {int Size;int Capacity;ImGuiViewportP** Data;} ImVector_ImGuiViewportPPtr;
|
|
typedef struct ImVector_unsigned_char {int Size;int Capacity;unsigned char* Data;} ImVector_unsigned_char;
|
|
typedef struct ImVector_ImGuiListClipperData {int Size;int Capacity;ImGuiListClipperData* Data;} ImVector_ImGuiListClipperData;
|
|
typedef struct ImVector_ImGuiTableTempData {int Size;int Capacity;ImGuiTableTempData* Data;} ImVector_ImGuiTableTempData;
|
|
typedef struct ImVector_ImGuiTable {int Size;int Capacity;ImGuiTable* Data;} ImVector_ImGuiTable;
|
|
typedef struct ImPool_ImGuiTable {ImVector_ImGuiTable Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;ImPoolIdx AliveCount;} ImPool_ImGuiTable;
|
|
typedef struct ImVector_ImGuiTabBar {int Size;int Capacity;ImGuiTabBar* Data;} ImVector_ImGuiTabBar;
|
|
typedef struct ImPool_ImGuiTabBar {ImVector_ImGuiTabBar Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;ImPoolIdx AliveCount;} ImPool_ImGuiTabBar;
|
|
typedef struct ImVector_ImGuiPtrOrIndex {int Size;int Capacity;ImGuiPtrOrIndex* Data;} ImVector_ImGuiPtrOrIndex;
|
|
typedef struct ImVector_ImGuiShrinkWidthItem {int Size;int Capacity;ImGuiShrinkWidthItem* Data;} ImVector_ImGuiShrinkWidthItem;
|
|
typedef struct ImVector_ImGuiMultiSelectTempData {int Size;int Capacity;ImGuiMultiSelectTempData* Data;} ImVector_ImGuiMultiSelectTempData;
|
|
typedef struct ImVector_ImGuiMultiSelectState {int Size;int Capacity;ImGuiMultiSelectState* Data;} ImVector_ImGuiMultiSelectState;
|
|
typedef struct ImPool_ImGuiMultiSelectState {ImVector_ImGuiMultiSelectState Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;ImPoolIdx AliveCount;} ImPool_ImGuiMultiSelectState;
|
|
typedef struct ImVector_ImGuiID {int Size;int Capacity;ImGuiID* Data;} ImVector_ImGuiID;
|
|
typedef struct ImVector_ImGuiSettingsHandler {int Size;int Capacity;ImGuiSettingsHandler* Data;} ImVector_ImGuiSettingsHandler;
|
|
typedef struct ImChunkStream_ImGuiWindowSettings {ImVector_char Buf;} ImChunkStream_ImGuiWindowSettings;
|
|
typedef struct ImChunkStream_ImGuiTableSettings {ImVector_char Buf;} ImChunkStream_ImGuiTableSettings;
|
|
typedef struct ImVector_ImGuiContextHook {int Size;int Capacity;ImGuiContextHook* Data;} ImVector_ImGuiContextHook;
|
|
struct ImGuiContext
|
|
{
|
|
_Bool Initialized;
|
|
_Bool WithinFrameScope;
|
|
_Bool WithinFrameScopeWithImplicitWindow;
|
|
_Bool TestEngineHookItems;
|
|
int FrameCount;
|
|
int FrameCountEnded;
|
|
int FrameCountPlatformEnded;
|
|
int FrameCountRendered;
|
|
double Time;
|
|
char ContextName[16];
|
|
ImGuiIO IO;
|
|
ImGuiPlatformIO PlatformIO;
|
|
ImGuiStyle Style;
|
|
ImGuiConfigFlags ConfigFlagsCurrFrame;
|
|
ImGuiConfigFlags ConfigFlagsLastFrame;
|
|
ImVector_ImFontAtlasPtr FontAtlases;
|
|
ImFont* Font;
|
|
ImFontBaked* FontBaked;
|
|
float FontSize;
|
|
float FontSizeBase;
|
|
float FontBakedScale;
|
|
float FontRasterizerDensity;
|
|
float CurrentDpiScale;
|
|
ImDrawListSharedData DrawListSharedData;
|
|
ImGuiID WithinEndChildID;
|
|
ImGuiID WithinEndPopupID;
|
|
void* TestEngine;
|
|
ImVector_ImGuiInputEvent InputEventsQueue;
|
|
ImVector_ImGuiInputEvent InputEventsTrail;
|
|
ImGuiMouseSource InputEventsNextMouseSource;
|
|
ImU32 InputEventsNextEventId;
|
|
ImVector_ImGuiWindowPtr Windows;
|
|
ImVector_ImGuiWindowPtr WindowsFocusOrder;
|
|
ImVector_ImGuiWindowPtr WindowsTempSortBuffer;
|
|
ImVector_ImGuiWindowStackData CurrentWindowStack;
|
|
ImGuiStorage WindowsById;
|
|
int WindowsActiveCount;
|
|
float WindowsBorderHoverPadding;
|
|
ImGuiID DebugBreakInWindow;
|
|
ImGuiWindow* CurrentWindow;
|
|
ImGuiWindow* HoveredWindow;
|
|
ImGuiWindow* HoveredWindowUnderMovingWindow;
|
|
ImGuiWindow* HoveredWindowBeforeClear;
|
|
ImGuiWindow* MovingWindow;
|
|
ImGuiWindow* WheelingWindow;
|
|
ImVec2_c WheelingWindowRefMousePos;
|
|
int WheelingWindowStartFrame;
|
|
int WheelingWindowScrolledFrame;
|
|
float WheelingWindowReleaseTimer;
|
|
ImVec2_c WheelingWindowWheelRemainder;
|
|
ImVec2_c WheelingAxisAvg;
|
|
ImGuiID DebugDrawIdConflictsId;
|
|
ImGuiID DebugHookIdInfoId;
|
|
ImGuiID HoveredId;
|
|
ImGuiID HoveredIdPreviousFrame;
|
|
int HoveredIdPreviousFrameItemCount;
|
|
float HoveredIdTimer;
|
|
float HoveredIdNotActiveTimer;
|
|
_Bool HoveredIdAllowOverlap;
|
|
_Bool HoveredIdIsDisabled;
|
|
_Bool ItemUnclipByLog;
|
|
ImGuiID ActiveId;
|
|
ImGuiID ActiveIdIsAlive;
|
|
float ActiveIdTimer;
|
|
_Bool ActiveIdIsJustActivated;
|
|
_Bool ActiveIdAllowOverlap;
|
|
_Bool ActiveIdNoClearOnFocusLoss;
|
|
_Bool ActiveIdHasBeenPressedBefore;
|
|
_Bool ActiveIdHasBeenEditedBefore;
|
|
_Bool ActiveIdHasBeenEditedThisFrame;
|
|
_Bool ActiveIdFromShortcut;
|
|
ImS8 ActiveIdMouseButton;
|
|
ImGuiID ActiveIdDisabledId;
|
|
ImVec2_c ActiveIdClickOffset;
|
|
ImGuiInputSource ActiveIdSource;
|
|
ImGuiWindow* ActiveIdWindow;
|
|
ImGuiID ActiveIdPreviousFrame;
|
|
ImGuiDeactivatedItemData DeactivatedItemData;
|
|
ImGuiDataTypeStorage ActiveIdValueOnActivation;
|
|
ImGuiID LastActiveId;
|
|
float LastActiveIdTimer;
|
|
double LastKeyModsChangeTime;
|
|
double LastKeyModsChangeFromNoneTime;
|
|
double LastKeyboardKeyPressTime;
|
|
ImBitArrayForNamedKeys KeysMayBeCharInput;
|
|
ImGuiKeyOwnerData KeysOwnerData[ImGuiKey_NamedKey_COUNT];
|
|
ImGuiKeyRoutingTable KeysRoutingTable;
|
|
ImU32 ActiveIdUsingNavDirMask;
|
|
_Bool ActiveIdUsingAllKeyboardKeys;
|
|
ImGuiKeyChord DebugBreakInShortcutRouting;
|
|
ImGuiID CurrentFocusScopeId;
|
|
ImGuiItemFlags CurrentItemFlags;
|
|
ImGuiID DebugLocateId;
|
|
ImGuiNextItemData NextItemData;
|
|
ImGuiLastItemData LastItemData;
|
|
ImGuiNextWindowData NextWindowData;
|
|
_Bool DebugShowGroupRects;
|
|
_Bool GcCompactAll;
|
|
ImGuiCol DebugFlashStyleColorIdx;
|
|
ImVector_ImGuiColorMod ColorStack;
|
|
ImVector_ImGuiStyleMod StyleVarStack;
|
|
ImVector_ImFontStackData FontStack;
|
|
ImVector_ImGuiFocusScopeData FocusScopeStack;
|
|
ImVector_ImGuiItemFlags ItemFlagsStack;
|
|
ImVector_ImGuiGroupData GroupStack;
|
|
ImVector_ImGuiPopupData OpenPopupStack;
|
|
ImVector_ImGuiPopupData BeginPopupStack;
|
|
ImVector_ImGuiTreeNodeStackData TreeNodeStack;
|
|
ImVector_ImGuiViewportPPtr Viewports;
|
|
ImGuiViewportP* CurrentViewport;
|
|
ImGuiViewportP* MouseViewport;
|
|
ImGuiViewportP* MouseLastHoveredViewport;
|
|
ImGuiID PlatformLastFocusedViewportId;
|
|
ImGuiPlatformMonitor FallbackMonitor;
|
|
ImRect_c PlatformMonitorsFullWorkRect;
|
|
int ViewportCreatedCount;
|
|
int PlatformWindowsCreatedCount;
|
|
int ViewportFocusedStampCount;
|
|
_Bool NavCursorVisible;
|
|
_Bool NavHighlightItemUnderNav;
|
|
_Bool NavMousePosDirty;
|
|
_Bool NavIdIsAlive;
|
|
ImGuiID NavId;
|
|
ImGuiWindow* NavWindow;
|
|
ImGuiID NavFocusScopeId;
|
|
ImGuiNavLayer NavLayer;
|
|
ImGuiItemFlags NavIdItemFlags;
|
|
ImGuiID NavActivateId;
|
|
ImGuiID NavActivateDownId;
|
|
ImGuiID NavActivatePressedId;
|
|
ImGuiActivateFlags NavActivateFlags;
|
|
ImVector_ImGuiFocusScopeData NavFocusRoute;
|
|
ImGuiID NavHighlightActivatedId;
|
|
float NavHighlightActivatedTimer;
|
|
ImGuiID NavOpenContextMenuItemId;
|
|
ImGuiID NavOpenContextMenuWindowId;
|
|
ImGuiID NavNextActivateId;
|
|
ImGuiActivateFlags NavNextActivateFlags;
|
|
ImGuiInputSource NavInputSource;
|
|
ImGuiSelectionUserData NavLastValidSelectionUserData;
|
|
ImS8 NavCursorHideFrames;
|
|
_Bool NavAnyRequest;
|
|
_Bool NavInitRequest;
|
|
_Bool NavInitRequestFromMove;
|
|
ImGuiNavItemData NavInitResult;
|
|
_Bool NavMoveSubmitted;
|
|
_Bool NavMoveScoringItems;
|
|
_Bool NavMoveForwardToNextFrame;
|
|
ImGuiNavMoveFlags NavMoveFlags;
|
|
ImGuiScrollFlags NavMoveScrollFlags;
|
|
ImGuiKeyChord NavMoveKeyMods;
|
|
ImGuiDir NavMoveDir;
|
|
ImGuiDir NavMoveDirForDebug;
|
|
ImGuiDir NavMoveClipDir;
|
|
ImRect_c NavScoringRect;
|
|
ImRect_c NavScoringNoClipRect;
|
|
int NavScoringDebugCount;
|
|
int NavTabbingDir;
|
|
int NavTabbingCounter;
|
|
ImGuiNavItemData NavMoveResultLocal;
|
|
ImGuiNavItemData NavMoveResultLocalVisible;
|
|
ImGuiNavItemData NavMoveResultOther;
|
|
ImGuiNavItemData NavTabbingResultFirst;
|
|
ImGuiID NavJustMovedFromFocusScopeId;
|
|
ImGuiID NavJustMovedToId;
|
|
ImGuiID NavJustMovedToFocusScopeId;
|
|
ImGuiKeyChord NavJustMovedToKeyMods;
|
|
_Bool NavJustMovedToIsTabbing;
|
|
_Bool NavJustMovedToHasSelectionData;
|
|
_Bool ConfigNavEnableTabbing;
|
|
_Bool ConfigNavWindowingWithGamepad;
|
|
ImGuiKeyChord ConfigNavWindowingKeyNext;
|
|
ImGuiKeyChord ConfigNavWindowingKeyPrev;
|
|
ImGuiWindow* NavWindowingTarget;
|
|
ImGuiWindow* NavWindowingTargetAnim;
|
|
ImGuiWindow* NavWindowingListWindow;
|
|
float NavWindowingTimer;
|
|
float NavWindowingHighlightAlpha;
|
|
ImGuiInputSource NavWindowingInputSource;
|
|
_Bool NavWindowingToggleLayer;
|
|
ImGuiKey NavWindowingToggleKey;
|
|
ImVec2_c NavWindowingAccumDeltaPos;
|
|
ImVec2_c NavWindowingAccumDeltaSize;
|
|
float DimBgRatio;
|
|
_Bool DragDropActive;
|
|
_Bool DragDropWithinSource;
|
|
_Bool DragDropWithinTarget;
|
|
ImGuiDragDropFlags DragDropSourceFlags;
|
|
int DragDropSourceFrameCount;
|
|
int DragDropMouseButton;
|
|
ImGuiPayload DragDropPayload;
|
|
ImRect_c DragDropTargetRect;
|
|
ImRect_c DragDropTargetClipRect;
|
|
ImGuiID DragDropTargetId;
|
|
ImGuiID DragDropTargetFullViewport;
|
|
ImGuiDragDropFlags DragDropAcceptFlagsCurr;
|
|
ImGuiDragDropFlags DragDropAcceptFlagsPrev;
|
|
float DragDropAcceptIdCurrRectSurface;
|
|
ImGuiID DragDropAcceptIdCurr;
|
|
ImGuiID DragDropAcceptIdPrev;
|
|
int DragDropAcceptFrameCount;
|
|
ImGuiID DragDropHoldJustPressedId;
|
|
ImVector_unsigned_char DragDropPayloadBufHeap;
|
|
unsigned char DragDropPayloadBufLocal[16];
|
|
int ClipperTempDataStacked;
|
|
ImVector_ImGuiListClipperData ClipperTempData;
|
|
ImGuiTable* CurrentTable;
|
|
ImGuiID DebugBreakInTable;
|
|
int TablesTempDataStacked;
|
|
ImVector_ImGuiTableTempData TablesTempData;
|
|
ImPool_ImGuiTable Tables;
|
|
ImVector_float TablesLastTimeActive;
|
|
ImVector_ImDrawChannel DrawChannelsTempMergeBuffer;
|
|
ImGuiTabBar* CurrentTabBar;
|
|
ImPool_ImGuiTabBar TabBars;
|
|
ImVector_ImGuiPtrOrIndex CurrentTabBarStack;
|
|
ImVector_ImGuiShrinkWidthItem ShrinkWidthBuffer;
|
|
ImGuiBoxSelectState BoxSelectState;
|
|
ImGuiMultiSelectTempData* CurrentMultiSelect;
|
|
int MultiSelectTempDataStacked;
|
|
ImVector_ImGuiMultiSelectTempData MultiSelectTempData;
|
|
ImPool_ImGuiMultiSelectState MultiSelectStorage;
|
|
ImGuiID HoverItemDelayId;
|
|
ImGuiID HoverItemDelayIdPreviousFrame;
|
|
float HoverItemDelayTimer;
|
|
float HoverItemDelayClearTimer;
|
|
ImGuiID HoverItemUnlockedStationaryId;
|
|
ImGuiID HoverWindowUnlockedStationaryId;
|
|
ImGuiMouseCursor MouseCursor;
|
|
float MouseStationaryTimer;
|
|
ImVec2_c MouseLastValidPos;
|
|
ImGuiInputTextState InputTextState;
|
|
ImGuiTextIndex InputTextLineIndex;
|
|
ImGuiInputTextDeactivatedState InputTextDeactivatedState;
|
|
ImFontBaked InputTextPasswordFontBackupBaked;
|
|
ImFontFlags InputTextPasswordFontBackupFlags;
|
|
ImGuiID InputTextReactivateId;
|
|
ImGuiID TempInputId;
|
|
ImGuiDataTypeStorage DataTypeZeroValue;
|
|
int BeginMenuDepth;
|
|
int BeginComboDepth;
|
|
ImGuiColorEditFlags ColorEditOptions;
|
|
ImGuiID ColorEditCurrentID;
|
|
ImGuiID ColorEditSavedID;
|
|
float ColorEditSavedHue;
|
|
float ColorEditSavedSat;
|
|
ImU32 ColorEditSavedColor;
|
|
ImVec4_c ColorPickerRef;
|
|
ImGuiComboPreviewData ComboPreviewData;
|
|
ImRect_c WindowResizeBorderExpectedRect;
|
|
_Bool WindowResizeRelativeMode;
|
|
short ScrollbarSeekMode;
|
|
float ScrollbarClickDeltaToGrabCenter;
|
|
float SliderGrabClickOffset;
|
|
float SliderCurrentAccum;
|
|
_Bool SliderCurrentAccumDirty;
|
|
_Bool DragCurrentAccumDirty;
|
|
float DragCurrentAccum;
|
|
float DragSpeedDefaultRatio;
|
|
float DisabledAlphaBackup;
|
|
short DisabledStackSize;
|
|
short TooltipOverrideCount;
|
|
ImGuiWindow* TooltipPreviousWindow;
|
|
ImVector_char ClipboardHandlerData;
|
|
ImVector_ImGuiID MenusIdSubmittedThisFrame;
|
|
ImGuiTypingSelectState TypingSelectState;
|
|
ImGuiPlatformImeData PlatformImeData;
|
|
ImGuiPlatformImeData PlatformImeDataPrev;
|
|
ImVector_ImTextureDataPtr UserTextures;
|
|
ImGuiDockContext DockContext;
|
|
void (*DockNodeWindowMenuHandler)(ImGuiContext* ctx, ImGuiDockNode* node, ImGuiTabBar* tab_bar);
|
|
_Bool SettingsLoaded;
|
|
float SettingsDirtyTimer;
|
|
ImGuiTextBuffer SettingsIniData;
|
|
ImVector_ImGuiSettingsHandler SettingsHandlers;
|
|
ImChunkStream_ImGuiWindowSettings SettingsWindows;
|
|
ImChunkStream_ImGuiTableSettings SettingsTables;
|
|
ImVector_ImGuiContextHook Hooks;
|
|
ImGuiID HookIdNext;
|
|
ImGuiDemoMarkerCallback DemoMarkerCallback;
|
|
const char* LocalizationTable[ImGuiLocKey_COUNT];
|
|
_Bool LogEnabled;
|
|
_Bool LogLineFirstItem;
|
|
ImGuiLogFlags LogFlags;
|
|
ImGuiWindow* LogWindow;
|
|
ImFileHandle LogFile;
|
|
ImGuiTextBuffer LogBuffer;
|
|
const char* LogNextPrefix;
|
|
const char* LogNextSuffix;
|
|
float LogLinePosY;
|
|
int LogDepthRef;
|
|
int LogDepthToExpand;
|
|
int LogDepthToExpandDefault;
|
|
ImGuiErrorCallback ErrorCallback;
|
|
void* ErrorCallbackUserData;
|
|
ImVec2_c ErrorTooltipLockedPos;
|
|
_Bool ErrorFirst;
|
|
int ErrorCountCurrentFrame;
|
|
ImGuiErrorRecoveryState StackSizesInNewFrame;
|
|
ImGuiErrorRecoveryState*StackSizesInBeginForCurrentWindow;
|
|
int DebugDrawIdConflictsCount;
|
|
ImGuiDebugLogFlags DebugLogFlags;
|
|
ImGuiTextBuffer DebugLogBuf;
|
|
ImGuiTextIndex DebugLogIndex;
|
|
int DebugLogSkippedErrors;
|
|
ImGuiDebugLogFlags DebugLogAutoDisableFlags;
|
|
ImU8 DebugLogAutoDisableFrames;
|
|
ImU8 DebugLocateFrames;
|
|
_Bool DebugBreakInLocateId;
|
|
ImGuiKeyChord DebugBreakKeyChord;
|
|
ImS8 DebugBeginReturnValueCullDepth;
|
|
_Bool DebugItemPickerActive;
|
|
ImU8 DebugItemPickerMouseButton;
|
|
ImGuiID DebugItemPickerBreakId;
|
|
float DebugFlashStyleColorTime;
|
|
ImVec4_c DebugFlashStyleColorBackup;
|
|
ImGuiMetricsConfig DebugMetricsConfig;
|
|
ImGuiDebugItemPathQuery DebugItemPathQuery;
|
|
ImGuiIDStackTool DebugIDStackTool;
|
|
ImGuiDebugAllocInfo DebugAllocInfo;
|
|
ImGuiDockNode* DebugHoveredDockNode;
|
|
float FramerateSecPerFrame[60];
|
|
int FramerateSecPerFrameIdx;
|
|
int FramerateSecPerFrameCount;
|
|
float FramerateSecPerFrameAccum;
|
|
int WantCaptureMouseNextFrame;
|
|
int WantCaptureKeyboardNextFrame;
|
|
int WantTextInputNextFrame;
|
|
ImVector_char TempBuffer;
|
|
char TempKeychordName[64];
|
|
};
|
|
struct ImGuiWindowTempData
|
|
{
|
|
ImVec2_c CursorPos;
|
|
ImVec2_c CursorPosPrevLine;
|
|
ImVec2_c CursorStartPos;
|
|
ImVec2_c CursorMaxPos;
|
|
ImVec2_c IdealMaxPos;
|
|
ImVec2_c CurrLineSize;
|
|
ImVec2_c PrevLineSize;
|
|
float CurrLineTextBaseOffset;
|
|
float PrevLineTextBaseOffset;
|
|
_Bool IsSameLine;
|
|
_Bool IsSetPos;
|
|
ImVec1 Indent;
|
|
ImVec1 ColumnsOffset;
|
|
ImVec1 GroupOffset;
|
|
ImVec2_c CursorStartPosLossyness;
|
|
ImGuiNavLayer NavLayerCurrent;
|
|
short NavLayersActiveMask;
|
|
short NavLayersActiveMaskNext;
|
|
_Bool NavIsScrollPushableX;
|
|
_Bool NavHideHighlightOneFrame;
|
|
_Bool NavWindowHasScrollY;
|
|
_Bool MenuBarAppending;
|
|
ImVec2_c MenuBarOffset;
|
|
ImGuiMenuColumns MenuColumns;
|
|
int TreeDepth;
|
|
ImU32 TreeHasStackDataDepthMask;
|
|
ImU32 TreeRecordsClippedNodesY2Mask;
|
|
ImVector_ImGuiWindowPtr ChildWindows;
|
|
ImGuiStorage* StateStorage;
|
|
ImGuiOldColumns* CurrentColumns;
|
|
int CurrentTableIdx;
|
|
ImGuiLayoutType LayoutType;
|
|
ImGuiLayoutType ParentLayoutType;
|
|
ImU32 ModalDimBgColor;
|
|
ImGuiItemStatusFlags WindowItemStatusFlags;
|
|
ImGuiItemStatusFlags ChildItemStatusFlags;
|
|
ImGuiItemStatusFlags DockTabItemStatusFlags;
|
|
ImRect_c DockTabItemRect;
|
|
float ItemWidth;
|
|
float ItemWidthDefault;
|
|
float TextWrapPos;
|
|
ImVector_float ItemWidthStack;
|
|
ImVector_float TextWrapPosStack;
|
|
};
|
|
typedef struct ImVector_ImGuiOldColumns {int Size;int Capacity;ImGuiOldColumns* Data;} ImVector_ImGuiOldColumns;
|
|
struct ImGuiWindow
|
|
{
|
|
ImGuiContext* Ctx;
|
|
char* Name;
|
|
ImGuiID ID;
|
|
ImGuiWindowFlags Flags, FlagsPreviousFrame;
|
|
ImGuiChildFlags ChildFlags;
|
|
ImGuiWindowClass WindowClass;
|
|
ImGuiViewportP* Viewport;
|
|
ImGuiID ViewportId;
|
|
ImVec2_c ViewportPos;
|
|
int ViewportAllowPlatformMonitorExtend;
|
|
ImVec2_c Pos;
|
|
ImVec2_c Size;
|
|
ImVec2_c SizeFull;
|
|
ImVec2_c ContentSize;
|
|
ImVec2_c ContentSizeIdeal;
|
|
ImVec2_c ContentSizeExplicit;
|
|
ImVec2_c WindowPadding;
|
|
float WindowRounding;
|
|
float WindowBorderSize;
|
|
float TitleBarHeight, MenuBarHeight;
|
|
float DecoOuterSizeX1, DecoOuterSizeY1;
|
|
float DecoOuterSizeX2, DecoOuterSizeY2;
|
|
float DecoInnerSizeX1, DecoInnerSizeY1;
|
|
int NameBufLen;
|
|
ImGuiID MoveId;
|
|
ImGuiID TabId;
|
|
ImGuiID ChildId;
|
|
ImGuiID PopupId;
|
|
ImVec2_c Scroll;
|
|
ImVec2_c ScrollMax;
|
|
ImVec2_c ScrollTarget;
|
|
ImVec2_c ScrollTargetCenterRatio;
|
|
ImVec2_c ScrollTargetEdgeSnapDist;
|
|
ImVec2_c ScrollbarSizes;
|
|
_Bool ScrollbarX, ScrollbarY;
|
|
_Bool ScrollbarXStabilizeEnabled;
|
|
ImU8 ScrollbarXStabilizeToggledHistory;
|
|
_Bool ViewportOwned;
|
|
_Bool Active;
|
|
_Bool WasActive;
|
|
_Bool WriteAccessed;
|
|
_Bool Collapsed;
|
|
_Bool WantCollapseToggle;
|
|
_Bool SkipItems;
|
|
_Bool SkipRefresh;
|
|
_Bool Appearing;
|
|
_Bool Hidden;
|
|
_Bool IsFallbackWindow;
|
|
_Bool IsExplicitChild;
|
|
_Bool HasCloseButton;
|
|
signed char ResizeBorderHovered;
|
|
signed char ResizeBorderHeld;
|
|
short BeginCount;
|
|
short BeginCountPreviousFrame;
|
|
short BeginOrderWithinParent;
|
|
short BeginOrderWithinContext;
|
|
short FocusOrder;
|
|
ImGuiDir AutoPosLastDirection;
|
|
ImS8 AutoFitFramesX, AutoFitFramesY;
|
|
_Bool AutoFitOnlyGrows;
|
|
ImS8 HiddenFramesCanSkipItems;
|
|
ImS8 HiddenFramesCannotSkipItems;
|
|
ImS8 HiddenFramesForRenderOnly;
|
|
ImS8 DisableInputsFrames;
|
|
ImGuiWindowBgClickFlags BgClickFlags : 8;
|
|
ImGuiCond SetWindowPosAllowFlags : 8;
|
|
ImGuiCond SetWindowSizeAllowFlags : 8;
|
|
ImGuiCond SetWindowCollapsedAllowFlags : 8;
|
|
ImGuiCond SetWindowDockAllowFlags : 8;
|
|
ImVec2_c SetWindowPosVal;
|
|
ImVec2_c SetWindowPosPivot;
|
|
ImVector_ImGuiID IDStack;
|
|
ImGuiWindowTempData DC;
|
|
ImRect_c OuterRectClipped;
|
|
ImRect_c InnerRect;
|
|
ImRect_c InnerClipRect;
|
|
ImRect_c WorkRect;
|
|
ImRect_c ParentWorkRect;
|
|
ImRect_c ClipRect;
|
|
ImRect_c ContentRegionRect;
|
|
ImVec2ih HitTestHoleSize;
|
|
ImVec2ih HitTestHoleOffset;
|
|
int LastFrameActive;
|
|
int LastFrameJustFocused;
|
|
float LastTimeActive;
|
|
ImGuiStorage StateStorage;
|
|
ImVector_ImGuiOldColumns ColumnsStorage;
|
|
float FontWindowScale;
|
|
float FontWindowScaleParents;
|
|
float FontRefSize;
|
|
int SettingsOffset;
|
|
ImDrawList* DrawList;
|
|
ImDrawList DrawListInst;
|
|
ImGuiWindow* ParentWindow;
|
|
ImGuiWindow* ParentWindowInBeginStack;
|
|
ImGuiWindow* RootWindow;
|
|
ImGuiWindow* RootWindowPopupTree;
|
|
ImGuiWindow* RootWindowDockTree;
|
|
ImGuiWindow* RootWindowForTitleBarHighlight;
|
|
ImGuiWindow* RootWindowForNav;
|
|
ImGuiWindow* ParentWindowForFocusRoute;
|
|
ImGuiWindow* NavLastChildNavWindow;
|
|
ImGuiID NavLastIds[ImGuiNavLayer_COUNT];
|
|
ImRect_c NavRectRel[ImGuiNavLayer_COUNT];
|
|
ImVec2_c NavPreferredScoringPosRel[ImGuiNavLayer_COUNT];
|
|
ImGuiID NavRootFocusScopeId;
|
|
int MemoryDrawListIdxCapacity;
|
|
int MemoryDrawListVtxCapacity;
|
|
_Bool MemoryCompacted;
|
|
_Bool DockIsActive :1;
|
|
_Bool DockNodeIsVisible :1;
|
|
_Bool DockTabIsVisible :1;
|
|
_Bool DockTabWantClose :1;
|
|
short DockOrder;
|
|
ImGuiWindowDockStyle DockStyle;
|
|
ImGuiDockNode* DockNode;
|
|
ImGuiDockNode* DockNodeAsHost;
|
|
ImGuiID DockId;
|
|
};
|
|
typedef enum {
|
|
ImGuiTabBarFlags_DockNode = 1 << 20,
|
|
ImGuiTabBarFlags_IsFocused = 1 << 21,
|
|
ImGuiTabBarFlags_SaveSettings = 1 << 22,
|
|
}ImGuiTabBarFlagsPrivate_;
|
|
typedef enum {
|
|
ImGuiTabItemFlags_SectionMask_ = ImGuiTabItemFlags_Leading | ImGuiTabItemFlags_Trailing,
|
|
ImGuiTabItemFlags_NoCloseButton = 1 << 20,
|
|
ImGuiTabItemFlags_Button = 1 << 21,
|
|
ImGuiTabItemFlags_Invisible = 1 << 22,
|
|
ImGuiTabItemFlags_Unsorted = 1 << 23,
|
|
}ImGuiTabItemFlagsPrivate_;
|
|
struct ImGuiTabItem
|
|
{
|
|
ImGuiID ID;
|
|
ImGuiTabItemFlags Flags;
|
|
ImGuiWindow* Window;
|
|
int LastFrameVisible;
|
|
int LastFrameSelected;
|
|
float Offset;
|
|
float Width;
|
|
float ContentWidth;
|
|
float RequestedWidth;
|
|
ImS32 NameOffset;
|
|
ImS16 BeginOrder;
|
|
ImS16 IndexDuringLayout;
|
|
_Bool WantClose;
|
|
};
|
|
typedef struct ImVector_ImGuiTabItem {int Size;int Capacity;ImGuiTabItem* Data;} ImVector_ImGuiTabItem;
|
|
struct ImGuiTabBar
|
|
{
|
|
ImGuiWindow* Window;
|
|
ImVector_ImGuiTabItem Tabs;
|
|
ImGuiTabBarFlags Flags;
|
|
ImGuiID ID;
|
|
ImGuiID SelectedTabId;
|
|
ImGuiID NextSelectedTabId;
|
|
ImGuiID NextScrollToTabId;
|
|
ImGuiID VisibleTabId;
|
|
int CurrFrameVisible;
|
|
int PrevFrameVisible;
|
|
ImRect_c BarRect;
|
|
float BarRectPrevWidth;
|
|
float CurrTabsContentsHeight;
|
|
float PrevTabsContentsHeight;
|
|
float WidthAllTabs;
|
|
float WidthAllTabsIdeal;
|
|
float ScrollingAnim;
|
|
float ScrollingTarget;
|
|
float ScrollingTargetDistToVisibility;
|
|
float ScrollingSpeed;
|
|
float ScrollingRectMinX;
|
|
float ScrollingRectMaxX;
|
|
float SeparatorMinX;
|
|
float SeparatorMaxX;
|
|
ImGuiID ReorderRequestTabId;
|
|
ImS16 ReorderRequestOffset;
|
|
ImS8 BeginCount;
|
|
_Bool WantLayout;
|
|
_Bool VisibleTabWasSubmitted;
|
|
_Bool TabsAddedNew;
|
|
_Bool ScrollButtonEnabled;
|
|
ImS16 TabsActiveCount;
|
|
ImS16 LastTabItemIdx;
|
|
float ItemSpacingY;
|
|
ImVec2_c FramePadding;
|
|
ImVec2_c BackupCursorPos;
|
|
ImGuiTextBuffer TabsNames;
|
|
};
|
|
struct ImGuiTableColumn
|
|
{
|
|
ImGuiTableColumnFlags Flags;
|
|
float WidthGiven;
|
|
float MinX;
|
|
float MaxX;
|
|
float WidthRequest;
|
|
float WidthAuto;
|
|
float WidthMax;
|
|
float StretchWeight;
|
|
float InitStretchWeightOrWidth;
|
|
ImRect_c ClipRect;
|
|
ImGuiID UserID;
|
|
float WorkMinX;
|
|
float WorkMaxX;
|
|
float ItemWidth;
|
|
float ContentMaxXFrozen;
|
|
float ContentMaxXUnfrozen;
|
|
float ContentMaxXHeadersUsed;
|
|
float ContentMaxXHeadersIdeal;
|
|
ImS16 NameOffset;
|
|
ImGuiTableColumnIdx DisplayOrder;
|
|
ImGuiTableColumnIdx IndexWithinEnabledSet;
|
|
ImGuiTableColumnIdx PrevEnabledColumn;
|
|
ImGuiTableColumnIdx NextEnabledColumn;
|
|
ImGuiTableColumnIdx SortOrder;
|
|
ImGuiTableDrawChannelIdx DrawChannelCurrent;
|
|
ImGuiTableDrawChannelIdx DrawChannelFrozen;
|
|
ImGuiTableDrawChannelIdx DrawChannelUnfrozen;
|
|
_Bool IsEnabled;
|
|
_Bool IsUserEnabled;
|
|
_Bool IsUserEnabledNextFrame;
|
|
_Bool IsVisibleX;
|
|
_Bool IsVisibleY;
|
|
_Bool IsRequestOutput;
|
|
_Bool IsSkipItems;
|
|
_Bool IsPreserveWidthAuto;
|
|
ImS8 NavLayerCurrent;
|
|
ImU8 AutoFitQueue;
|
|
ImU8 CannotSkipItemsQueue;
|
|
ImU8 SortDirection : 2;
|
|
ImU8 SortDirectionsAvailCount : 2;
|
|
ImU8 SortDirectionsAvailMask : 4;
|
|
ImU8 SortDirectionsAvailList;
|
|
};
|
|
typedef struct ImGuiTableCellData ImGuiTableCellData;
|
|
struct ImGuiTableCellData
|
|
{
|
|
ImU32 BgColor;
|
|
ImGuiTableColumnIdx Column;
|
|
};
|
|
struct ImGuiTableHeaderData
|
|
{
|
|
ImGuiTableColumnIdx Index;
|
|
ImU32 TextColor;
|
|
ImU32 BgColor0;
|
|
ImU32 BgColor1;
|
|
};
|
|
struct ImGuiTableInstanceData
|
|
{
|
|
ImGuiID TableInstanceID;
|
|
float LastOuterHeight;
|
|
float LastTopHeadersRowHeight;
|
|
float LastFrozenHeight;
|
|
int HoveredRowLast;
|
|
int HoveredRowNext;
|
|
};
|
|
typedef struct ImSpan_ImGuiTableColumn {ImGuiTableColumn* Data;ImGuiTableColumn* DataEnd;} ImSpan_ImGuiTableColumn;
|
|
typedef struct ImSpan_ImGuiTableColumnIdx {ImGuiTableColumnIdx* Data;ImGuiTableColumnIdx* DataEnd;} ImSpan_ImGuiTableColumnIdx;
|
|
typedef struct ImSpan_ImGuiTableCellData {ImGuiTableCellData* Data;ImGuiTableCellData* DataEnd;} ImSpan_ImGuiTableCellData;
|
|
typedef struct ImVector_ImGuiTableInstanceData {int Size;int Capacity;ImGuiTableInstanceData* Data;} ImVector_ImGuiTableInstanceData;
|
|
typedef struct ImVector_ImGuiTableColumnSortSpecs {int Size;int Capacity;ImGuiTableColumnSortSpecs* Data;} ImVector_ImGuiTableColumnSortSpecs;
|
|
struct ImGuiTable
|
|
{
|
|
ImGuiID ID;
|
|
ImGuiTableFlags Flags;
|
|
void* RawData;
|
|
ImGuiTableTempData* TempData;
|
|
ImSpan_ImGuiTableColumn Columns;
|
|
ImSpan_ImGuiTableColumnIdx DisplayOrderToIndex;
|
|
ImSpan_ImGuiTableCellData RowCellData;
|
|
ImBitArrayPtr EnabledMaskByDisplayOrder;
|
|
ImBitArrayPtr EnabledMaskByIndex;
|
|
ImBitArrayPtr VisibleMaskByIndex;
|
|
ImGuiTableFlags SettingsLoadedFlags;
|
|
int SettingsOffset;
|
|
int LastFrameActive;
|
|
int ColumnsCount;
|
|
int CurrentRow;
|
|
int CurrentColumn;
|
|
ImS16 InstanceCurrent;
|
|
ImS16 InstanceInteracted;
|
|
float RowPosY1;
|
|
float RowPosY2;
|
|
float RowMinHeight;
|
|
float RowCellPaddingY;
|
|
float RowTextBaseline;
|
|
float RowIndentOffsetX;
|
|
ImGuiTableRowFlags RowFlags : 16;
|
|
ImGuiTableRowFlags LastRowFlags : 16;
|
|
int RowBgColorCounter;
|
|
ImU32 RowBgColor[2];
|
|
ImU32 BorderColorStrong;
|
|
ImU32 BorderColorLight;
|
|
float BorderX1;
|
|
float BorderX2;
|
|
float HostIndentX;
|
|
float MinColumnWidth;
|
|
float OuterPaddingX;
|
|
float CellPaddingX;
|
|
float CellSpacingX1;
|
|
float CellSpacingX2;
|
|
float InnerWidth;
|
|
float ColumnsGivenWidth;
|
|
float ColumnsAutoFitWidth;
|
|
float ColumnsStretchSumWeights;
|
|
float ResizedColumnNextWidth;
|
|
float ResizeLockMinContentsX2;
|
|
float RefScale;
|
|
float AngledHeadersHeight;
|
|
float AngledHeadersSlope;
|
|
ImRect_c OuterRect;
|
|
ImRect_c InnerRect;
|
|
ImRect_c WorkRect;
|
|
ImRect_c InnerClipRect;
|
|
ImRect_c BgClipRect;
|
|
ImRect_c Bg0ClipRectForDrawCmd;
|
|
ImRect_c Bg2ClipRectForDrawCmd;
|
|
ImRect_c HostClipRect;
|
|
ImRect_c HostBackupInnerClipRect;
|
|
ImGuiWindow* OuterWindow;
|
|
ImGuiWindow* InnerWindow;
|
|
ImGuiTextBuffer ColumnsNames;
|
|
ImDrawListSplitter* DrawSplitter;
|
|
ImGuiTableInstanceData InstanceDataFirst;
|
|
ImVector_ImGuiTableInstanceData InstanceDataExtra;
|
|
ImGuiTableColumnSortSpecs SortSpecsSingle;
|
|
ImVector_ImGuiTableColumnSortSpecs SortSpecsMulti;
|
|
ImGuiTableSortSpecs SortSpecs;
|
|
ImGuiTableColumnIdx SortSpecsCount;
|
|
ImGuiTableColumnIdx ColumnsEnabledCount;
|
|
ImGuiTableColumnIdx ColumnsEnabledFixedCount;
|
|
ImGuiTableColumnIdx DeclColumnsCount;
|
|
ImGuiTableColumnIdx AngledHeadersCount;
|
|
ImGuiTableColumnIdx HoveredColumnBody;
|
|
ImGuiTableColumnIdx HoveredColumnBorder;
|
|
ImGuiTableColumnIdx HighlightColumnHeader;
|
|
ImGuiTableColumnIdx AutoFitSingleColumn;
|
|
ImGuiTableColumnIdx ResizedColumn;
|
|
ImGuiTableColumnIdx LastResizedColumn;
|
|
ImGuiTableColumnIdx HeldHeaderColumn;
|
|
ImGuiTableColumnIdx LastHeldHeaderColumn;
|
|
ImGuiTableColumnIdx ReorderColumn;
|
|
ImGuiTableColumnIdx ReorderColumnDstOrder;
|
|
ImGuiTableColumnIdx LeftMostEnabledColumn;
|
|
ImGuiTableColumnIdx RightMostEnabledColumn;
|
|
ImGuiTableColumnIdx LeftMostStretchedColumn;
|
|
ImGuiTableColumnIdx RightMostStretchedColumn;
|
|
ImGuiTableColumnIdx ContextPopupColumn;
|
|
ImGuiTableColumnIdx FreezeRowsRequest;
|
|
ImGuiTableColumnIdx FreezeRowsCount;
|
|
ImGuiTableColumnIdx FreezeColumnsRequest;
|
|
ImGuiTableColumnIdx FreezeColumnsCount;
|
|
ImGuiTableColumnIdx RowCellDataCurrent;
|
|
ImGuiTableDrawChannelIdx DummyDrawChannel;
|
|
ImGuiTableDrawChannelIdx Bg2DrawChannelCurrent;
|
|
ImGuiTableDrawChannelIdx Bg2DrawChannelUnfrozen;
|
|
ImS8 NavLayer;
|
|
_Bool IsLayoutLocked;
|
|
_Bool IsInsideRow;
|
|
_Bool IsInitializing;
|
|
_Bool IsSortSpecsDirty;
|
|
_Bool IsUsingHeaders;
|
|
_Bool IsContextPopupOpen;
|
|
_Bool DisableDefaultContextMenu;
|
|
_Bool IsSettingsRequestLoad;
|
|
_Bool IsSettingsDirty;
|
|
_Bool IsDefaultDisplayOrder;
|
|
_Bool IsResetAllRequest;
|
|
_Bool IsResetDisplayOrderRequest;
|
|
_Bool IsUnfrozenRows;
|
|
_Bool IsDefaultSizingPolicy;
|
|
_Bool IsActiveIdAliveBeforeTable;
|
|
_Bool IsActiveIdInTable;
|
|
_Bool HasScrollbarYCurr;
|
|
_Bool HasScrollbarYPrev;
|
|
_Bool MemoryCompacted;
|
|
_Bool HostSkipItems;
|
|
};
|
|
typedef struct ImVector_ImGuiTableHeaderData {int Size;int Capacity;ImGuiTableHeaderData* Data;} ImVector_ImGuiTableHeaderData;
|
|
struct ImGuiTableTempData
|
|
{
|
|
ImGuiID WindowID;
|
|
int TableIndex;
|
|
float LastTimeActive;
|
|
float AngledHeadersExtraWidth;
|
|
ImVector_ImGuiTableHeaderData AngledHeadersRequests;
|
|
ImVec2_c UserOuterSize;
|
|
ImDrawListSplitter DrawSplitter;
|
|
ImRect_c HostBackupWorkRect;
|
|
ImRect_c HostBackupParentWorkRect;
|
|
ImVec2_c HostBackupPrevLineSize;
|
|
ImVec2_c HostBackupCurrLineSize;
|
|
ImVec2_c HostBackupCursorMaxPos;
|
|
ImVec1 HostBackupColumnsOffset;
|
|
float HostBackupItemWidth;
|
|
int HostBackupItemWidthStackSize;
|
|
};
|
|
typedef struct ImGuiTableColumnSettings ImGuiTableColumnSettings;
|
|
struct ImGuiTableColumnSettings
|
|
{
|
|
float WidthOrWeight;
|
|
ImGuiID UserID;
|
|
ImGuiTableColumnIdx Index;
|
|
ImGuiTableColumnIdx DisplayOrder;
|
|
ImGuiTableColumnIdx SortOrder;
|
|
ImU8 SortDirection : 2;
|
|
ImS8 IsEnabled : 2;
|
|
ImU8 IsStretch : 1;
|
|
};
|
|
struct ImGuiTableSettings
|
|
{
|
|
ImGuiID ID;
|
|
ImGuiTableFlags SaveFlags;
|
|
float RefScale;
|
|
ImGuiTableColumnIdx ColumnsCount;
|
|
ImGuiTableColumnIdx ColumnsCountMax;
|
|
_Bool WantApply;
|
|
};
|
|
struct ImFontLoader
|
|
{
|
|
const char* Name;
|
|
_Bool (*LoaderInit)(ImFontAtlas* atlas);
|
|
void (*LoaderShutdown)(ImFontAtlas* atlas);
|
|
_Bool (*FontSrcInit)(ImFontAtlas* atlas, ImFontConfig* src);
|
|
void (*FontSrcDestroy)(ImFontAtlas* atlas, ImFontConfig* src);
|
|
_Bool (*FontSrcContainsGlyph)(ImFontAtlas* atlas, ImFontConfig* src, ImWchar codepoint);
|
|
_Bool (*FontBakedInit)(ImFontAtlas* atlas, ImFontConfig* src, ImFontBaked* baked, void* loader_data_for_baked_src);
|
|
void (*FontBakedDestroy)(ImFontAtlas* atlas, ImFontConfig* src, ImFontBaked* baked, void* loader_data_for_baked_src);
|
|
_Bool (*FontBakedLoadGlyph)(ImFontAtlas* atlas, ImFontConfig* src, ImFontBaked* baked, void* loader_data_for_baked_src, ImWchar codepoint, ImFontGlyph* out_glyph, float* out_advance_x);
|
|
size_t FontBakedSrcLoaderDataSize;
|
|
};
|
|
struct ImFontAtlasRectEntry
|
|
{
|
|
int TargetIndex : 20;
|
|
unsigned int Generation : 10;
|
|
unsigned int IsUsed : 1;
|
|
};
|
|
struct ImFontAtlasPostProcessData
|
|
{
|
|
ImFontAtlas* FontAtlas;
|
|
ImFont* Font;
|
|
ImFontConfig* FontSrc;
|
|
ImFontBaked* FontBaked;
|
|
ImFontGlyph* Glyph;
|
|
void* Pixels;
|
|
ImTextureFormat Format;
|
|
int Pitch;
|
|
int Width;
|
|
int Height;
|
|
};
|
|
struct stbrp_node;
|
|
typedef stbrp_node stbrp_node_im;
|
|
typedef struct stbrp_context_opaque stbrp_context_opaque;
|
|
struct stbrp_context_opaque
|
|
{ char data[80];
|
|
};
|
|
typedef struct ImVector_stbrp_node_im {int Size;int Capacity;stbrp_node_im* Data;} ImVector_stbrp_node_im;
|
|
typedef struct ImVector_ImFontAtlasRectEntry {int Size;int Capacity;ImFontAtlasRectEntry* Data;} ImVector_ImFontAtlasRectEntry;
|
|
typedef struct ImVector_ImFontBakedPtr {int Size;int Capacity;ImFontBaked** Data;} ImVector_ImFontBakedPtr;
|
|
typedef struct ImStableVector_ImFontBaked__32 {int Size;int Capacity;ImVector_ImFontBakedPtr Blocks;} ImStableVector_ImFontBaked__32;
|
|
struct ImFontAtlasBuilder
|
|
{
|
|
stbrp_context_opaque PackContext;
|
|
ImVector_stbrp_node_im PackNodes;
|
|
ImVector_ImTextureRect Rects;
|
|
ImVector_ImFontAtlasRectEntry RectsIndex;
|
|
ImVector_unsigned_char TempBuffer;
|
|
int RectsIndexFreeListStart;
|
|
int RectsPackedCount;
|
|
int RectsPackedSurface;
|
|
int RectsDiscardedCount;
|
|
int RectsDiscardedSurface;
|
|
int FrameCount;
|
|
ImVec2i_c MaxRectSize;
|
|
ImVec2i_c MaxRectBounds;
|
|
_Bool LockDisableResize;
|
|
_Bool PreloadedAllGlyphsRanges;
|
|
ImStableVector_ImFontBaked__32 BakedPool;
|
|
ImGuiStorage BakedMap;
|
|
int BakedDiscardedCount;
|
|
ImFontAtlasRectId PackIdMouseCursors;
|
|
ImFontAtlasRectId PackIdLinesTexData;
|
|
};
|
|
struct ImFontAtlas;
|
|
struct ImFontLoader;
|
|
typedef unsigned int ImGuiFreeTypeLoaderFlags;
|
|
typedef enum {
|
|
ImGuiFreeTypeLoaderFlags_NoHinting = 1 << 0,
|
|
ImGuiFreeTypeLoaderFlags_NoAutoHint = 1 << 1,
|
|
ImGuiFreeTypeLoaderFlags_ForceAutoHint = 1 << 2,
|
|
ImGuiFreeTypeLoaderFlags_LightHinting = 1 << 3,
|
|
ImGuiFreeTypeLoaderFlags_MonoHinting = 1 << 4,
|
|
ImGuiFreeTypeLoaderFlags_Bold = 1 << 5,
|
|
ImGuiFreeTypeLoaderFlags_Oblique = 1 << 6,
|
|
ImGuiFreeTypeLoaderFlags_Monochrome = 1 << 7,
|
|
ImGuiFreeTypeLoaderFlags_LoadColor = 1 << 8,
|
|
ImGuiFreeTypeLoaderFlags_Bitmap = 1 << 9,
|
|
}ImGuiFreeTypeLoaderFlags_;
|
|
typedef struct ImTextureRef_c ImTextureRef;
|
|
typedef struct ImVec2_c ImVec2;
|
|
typedef struct ImVec2i_c ImVec2i;
|
|
typedef struct ImVec4_c ImVec4;
|
|
typedef struct ImColor_c ImColor;
|
|
typedef struct ImRect_c ImRect;
|
|
ImVec2* ImVec2_ImVec2_Nil(void);
|
|
void ImVec2_destroy(ImVec2* self);
|
|
ImVec2* ImVec2_ImVec2_Float(float _x,float _y);
|
|
ImVec4* ImVec4_ImVec4_Nil(void);
|
|
void ImVec4_destroy(ImVec4* self);
|
|
ImVec4* ImVec4_ImVec4_Float(float _x,float _y,float _z,float _w);
|
|
ImTextureRef* ImTextureRef_ImTextureRef_Nil(void);
|
|
void ImTextureRef_destroy(ImTextureRef* self);
|
|
ImTextureRef* ImTextureRef_ImTextureRef_TextureID(ImTextureID tex_id);
|
|
ImTextureID ImTextureRef_GetTexID(ImTextureRef* self);
|
|
ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas);
|
|
void igDestroyContext(ImGuiContext* ctx);
|
|
ImGuiContext* igGetCurrentContext(void);
|
|
void igSetCurrentContext(ImGuiContext* ctx);
|
|
ImGuiIO* igGetIO_Nil(void);
|
|
ImGuiPlatformIO* igGetPlatformIO_Nil(void);
|
|
ImGuiStyle* igGetStyle(void);
|
|
void igNewFrame(void);
|
|
void igEndFrame(void);
|
|
void igRender(void);
|
|
ImDrawData* igGetDrawData(void);
|
|
void igShowDemoWindow( _Bool * p_open);
|
|
void igShowMetricsWindow( _Bool * p_open);
|
|
void igShowDebugLogWindow( _Bool * p_open);
|
|
void igShowIDStackToolWindow( _Bool * p_open);
|
|
void igShowAboutWindow( _Bool * p_open);
|
|
void igShowStyleEditor(ImGuiStyle* ref);
|
|
_Bool igShowStyleSelector(const char* label);
|
|
void igShowFontSelector(const char* label);
|
|
void igShowUserGuide(void);
|
|
const char* igGetVersion(void);
|
|
void igStyleColorsDark(ImGuiStyle* dst);
|
|
void igStyleColorsLight(ImGuiStyle* dst);
|
|
void igStyleColorsClassic(ImGuiStyle* dst);
|
|
_Bool igBegin(const char* name, _Bool * p_open,ImGuiWindowFlags flags);
|
|
void igEnd(void);
|
|
_Bool igBeginChild_Str(const char* str_id,const ImVec2_c size,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags);
|
|
_Bool igBeginChild_ID(ImGuiID id,const ImVec2_c size,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags);
|
|
void igEndChild(void);
|
|
_Bool igIsWindowAppearing(void);
|
|
_Bool igIsWindowCollapsed(void);
|
|
_Bool igIsWindowFocused(ImGuiFocusedFlags flags);
|
|
_Bool igIsWindowHovered(ImGuiHoveredFlags flags);
|
|
ImDrawList* igGetWindowDrawList(void);
|
|
float igGetWindowDpiScale(void);
|
|
ImVec2_c igGetWindowPos(void);
|
|
ImVec2_c igGetWindowSize(void);
|
|
float igGetWindowWidth(void);
|
|
float igGetWindowHeight(void);
|
|
ImGuiViewport* igGetWindowViewport(void);
|
|
void igSetNextWindowPos(const ImVec2_c pos,ImGuiCond cond,const ImVec2_c pivot);
|
|
void igSetNextWindowSize(const ImVec2_c size,ImGuiCond cond);
|
|
void igSetNextWindowSizeConstraints(const ImVec2_c size_min,const ImVec2_c size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data);
|
|
void igSetNextWindowContentSize(const ImVec2_c size);
|
|
void igSetNextWindowCollapsed( _Bool collapsed,ImGuiCond cond);
|
|
void igSetNextWindowFocus(void);
|
|
void igSetNextWindowScroll(const ImVec2_c scroll);
|
|
void igSetNextWindowBgAlpha(float alpha);
|
|
void igSetNextWindowViewport(ImGuiID viewport_id);
|
|
void igSetWindowPos_Vec2(const ImVec2_c pos,ImGuiCond cond);
|
|
void igSetWindowSize_Vec2(const ImVec2_c size,ImGuiCond cond);
|
|
void igSetWindowCollapsed_Bool( _Bool collapsed,ImGuiCond cond);
|
|
void igSetWindowFocus_Nil(void);
|
|
void igSetWindowPos_Str(const char* name,const ImVec2_c pos,ImGuiCond cond);
|
|
void igSetWindowSize_Str(const char* name,const ImVec2_c size,ImGuiCond cond);
|
|
void igSetWindowCollapsed_Str(const char* name, _Bool collapsed,ImGuiCond cond);
|
|
void igSetWindowFocus_Str(const char* name);
|
|
float igGetScrollX(void);
|
|
float igGetScrollY(void);
|
|
void igSetScrollX_Float(float scroll_x);
|
|
void igSetScrollY_Float(float scroll_y);
|
|
float igGetScrollMaxX(void);
|
|
float igGetScrollMaxY(void);
|
|
void igSetScrollHereX(float center_x_ratio);
|
|
void igSetScrollHereY(float center_y_ratio);
|
|
void igSetScrollFromPosX_Float(float local_x,float center_x_ratio);
|
|
void igSetScrollFromPosY_Float(float local_y,float center_y_ratio);
|
|
void igPushFont(ImFont* font,float font_size_base_unscaled);
|
|
void igPopFont(void);
|
|
ImFont* igGetFont(void);
|
|
float igGetFontSize(void);
|
|
ImFontBaked* igGetFontBaked(void);
|
|
void igPushStyleColor_U32(ImGuiCol idx,ImU32 col);
|
|
void igPushStyleColor_Vec4(ImGuiCol idx,const ImVec4_c col);
|
|
void igPopStyleColor(int count);
|
|
void igPushStyleVar_Float(ImGuiStyleVar idx,float val);
|
|
void igPushStyleVar_Vec2(ImGuiStyleVar idx,const ImVec2_c val);
|
|
void igPushStyleVarX(ImGuiStyleVar idx,float val_x);
|
|
void igPushStyleVarY(ImGuiStyleVar idx,float val_y);
|
|
void igPopStyleVar(int count);
|
|
void igPushItemFlag(ImGuiItemFlags option, _Bool enabled);
|
|
void igPopItemFlag(void);
|
|
void igPushItemWidth(float item_width);
|
|
void igPopItemWidth(void);
|
|
void igSetNextItemWidth(float item_width);
|
|
float igCalcItemWidth(void);
|
|
void igPushTextWrapPos(float wrap_local_pos_x);
|
|
void igPopTextWrapPos(void);
|
|
ImVec2_c igGetFontTexUvWhitePixel(void);
|
|
ImU32 igGetColorU32_Col(ImGuiCol idx,float alpha_mul);
|
|
ImU32 igGetColorU32_Vec4(const ImVec4_c col);
|
|
ImU32 igGetColorU32_U32(ImU32 col,float alpha_mul);
|
|
const ImVec4_c* igGetStyleColorVec4(ImGuiCol idx);
|
|
ImVec2_c igGetCursorScreenPos(void);
|
|
void igSetCursorScreenPos(const ImVec2_c pos);
|
|
ImVec2_c igGetContentRegionAvail(void);
|
|
ImVec2_c igGetCursorPos(void);
|
|
float igGetCursorPosX(void);
|
|
float igGetCursorPosY(void);
|
|
void igSetCursorPos(const ImVec2_c local_pos);
|
|
void igSetCursorPosX(float local_x);
|
|
void igSetCursorPosY(float local_y);
|
|
ImVec2_c igGetCursorStartPos(void);
|
|
void igSeparator(void);
|
|
void igSameLine(float offset_from_start_x,float spacing);
|
|
void igNewLine(void);
|
|
void igSpacing(void);
|
|
void igDummy(const ImVec2_c size);
|
|
void igIndent(float indent_w);
|
|
void igUnindent(float indent_w);
|
|
void igBeginGroup(void);
|
|
void igEndGroup(void);
|
|
void igAlignTextToFramePadding(void);
|
|
float igGetTextLineHeight(void);
|
|
float igGetTextLineHeightWithSpacing(void);
|
|
float igGetFrameHeight(void);
|
|
float igGetFrameHeightWithSpacing(void);
|
|
void igPushID_Str(const char* str_id);
|
|
void igPushID_StrStr(const char* str_id_begin,const char* str_id_end);
|
|
void igPushID_Ptr(const void* ptr_id);
|
|
void igPushID_Int(int int_id);
|
|
void igPopID(void);
|
|
ImGuiID igGetID_Str(const char* str_id);
|
|
ImGuiID igGetID_StrStr(const char* str_id_begin,const char* str_id_end);
|
|
ImGuiID igGetID_Ptr(const void* ptr_id);
|
|
ImGuiID igGetID_Int(int int_id);
|
|
void igTextUnformatted(const char* text,const char* text_end);
|
|
void igText(const char* fmt,...);
|
|
void igTextV(const char* fmt,va_list args);
|
|
void igTextColored(const ImVec4_c col,const char* fmt,...);
|
|
void igTextColoredV(const ImVec4_c col,const char* fmt,va_list args);
|
|
void igTextDisabled(const char* fmt,...);
|
|
void igTextDisabledV(const char* fmt,va_list args);
|
|
void igTextWrapped(const char* fmt,...);
|
|
void igTextWrappedV(const char* fmt,va_list args);
|
|
void igLabelText(const char* label,const char* fmt,...);
|
|
void igLabelTextV(const char* label,const char* fmt,va_list args);
|
|
void igBulletText(const char* fmt,...);
|
|
void igBulletTextV(const char* fmt,va_list args);
|
|
void igSeparatorText(const char* label);
|
|
_Bool igButton(const char* label,const ImVec2_c size);
|
|
_Bool igSmallButton(const char* label);
|
|
_Bool igInvisibleButton(const char* str_id,const ImVec2_c size,ImGuiButtonFlags flags);
|
|
_Bool igArrowButton(const char* str_id,ImGuiDir dir);
|
|
_Bool igCheckbox(const char* label, _Bool * v);
|
|
_Bool igCheckboxFlags_IntPtr(const char* label,int* flags,int flags_value);
|
|
_Bool igCheckboxFlags_UintPtr(const char* label,unsigned int* flags,unsigned int flags_value);
|
|
_Bool igRadioButton_Bool(const char* label, _Bool active);
|
|
_Bool igRadioButton_IntPtr(const char* label,int* v,int v_button);
|
|
void igProgressBar(float fraction,const ImVec2_c size_arg,const char* overlay);
|
|
void igBullet(void);
|
|
_Bool igTextLink(const char* label);
|
|
_Bool igTextLinkOpenURL(const char* label,const char* url);
|
|
void igImage(ImTextureRef_c tex_ref,const ImVec2_c image_size,const ImVec2_c uv0,const ImVec2_c uv1);
|
|
void igImageWithBg(ImTextureRef_c tex_ref,const ImVec2_c image_size,const ImVec2_c uv0,const ImVec2_c uv1,const ImVec4_c bg_col,const ImVec4_c tint_col);
|
|
_Bool igImageButton(const char* str_id,ImTextureRef_c tex_ref,const ImVec2_c image_size,const ImVec2_c uv0,const ImVec2_c uv1,const ImVec4_c bg_col,const ImVec4_c tint_col);
|
|
_Bool igBeginCombo(const char* label,const char* preview_value,ImGuiComboFlags flags);
|
|
void igEndCombo(void);
|
|
_Bool igCombo_Str_arr(const char* label,int* current_item,const char* const items[],int items_count,int popup_max_height_in_items);
|
|
_Bool igCombo_Str(const char* label,int* current_item,const char* items_separated_by_zeros,int popup_max_height_in_items);
|
|
_Bool igCombo_FnStrPtr(const char* label,int* current_item,const char*(*getter)(void* user_data,int idx),void* user_data,int items_count,int popup_max_height_in_items);
|
|
_Bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,ImGuiSliderFlags flags);
|
|
_Bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags);
|
|
_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,ImGuiSliderFlags flags);
|
|
_Bool igDragScalar(const char* label,ImGuiDataType data_type,void* p_data,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igDragScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderScalar(const char* label,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igVSliderFloat(const char* label,const ImVec2_c size,float* v,float v_min,float v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igVSliderInt(const char* label,const ImVec2_c size,int* v,int v_min,int v_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igVSliderScalar(const char* label,const ImVec2_c size,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
|
|
_Bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2_c size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
|
|
_Bool igInputTextWithHint(const char* label,const char* hint,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
|
|
_Bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags flags);
|
|
_Bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags flags);
|
|
_Bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags flags);
|
|
_Bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags flags);
|
|
_Bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags flags);
|
|
_Bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags flags);
|
|
_Bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags flags);
|
|
_Bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags flags);
|
|
_Bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags flags);
|
|
_Bool igInputScalar(const char* label,ImGuiDataType data_type,void* p_data,const void* p_step,const void* p_step_fast,const char* format,ImGuiInputTextFlags flags);
|
|
_Bool igInputScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_step,const void* p_step_fast,const char* format,ImGuiInputTextFlags flags);
|
|
_Bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags);
|
|
_Bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags);
|
|
_Bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags);
|
|
_Bool igColorPicker4(const char* label,float col[4],ImGuiColorEditFlags flags,const float* ref_col);
|
|
_Bool igColorButton(const char* desc_id,const ImVec4_c col,ImGuiColorEditFlags flags,const ImVec2_c size);
|
|
void igSetColorEditOptions(ImGuiColorEditFlags flags);
|
|
_Bool igTreeNode_Str(const char* label);
|
|
_Bool igTreeNode_StrStr(const char* str_id,const char* fmt,...);
|
|
_Bool igTreeNode_Ptr(const void* ptr_id,const char* fmt,...);
|
|
_Bool igTreeNodeV_Str(const char* str_id,const char* fmt,va_list args);
|
|
_Bool igTreeNodeV_Ptr(const void* ptr_id,const char* fmt,va_list args);
|
|
_Bool igTreeNodeEx_Str(const char* label,ImGuiTreeNodeFlags flags);
|
|
_Bool igTreeNodeEx_StrStr(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,...);
|
|
_Bool igTreeNodeEx_Ptr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,...);
|
|
_Bool igTreeNodeExV_Str(const char* str_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args);
|
|
_Bool igTreeNodeExV_Ptr(const void* ptr_id,ImGuiTreeNodeFlags flags,const char* fmt,va_list args);
|
|
void igTreePush_Str(const char* str_id);
|
|
void igTreePush_Ptr(const void* ptr_id);
|
|
void igTreePop(void);
|
|
float igGetTreeNodeToLabelSpacing(void);
|
|
_Bool igCollapsingHeader_TreeNodeFlags(const char* label,ImGuiTreeNodeFlags flags);
|
|
_Bool igCollapsingHeader_BoolPtr(const char* label, _Bool * p_visible,ImGuiTreeNodeFlags flags);
|
|
void igSetNextItemOpen( _Bool is_open,ImGuiCond cond);
|
|
void igSetNextItemStorageID(ImGuiID storage_id);
|
|
_Bool igTreeNodeGetOpen(ImGuiID storage_id);
|
|
_Bool igSelectable_Bool(const char* label, _Bool selected,ImGuiSelectableFlags flags,const ImVec2_c size);
|
|
_Bool igSelectable_BoolPtr(const char* label, _Bool * p_selected,ImGuiSelectableFlags flags,const ImVec2_c size);
|
|
ImGuiMultiSelectIO* igBeginMultiSelect(ImGuiMultiSelectFlags flags,int selection_size,int items_count);
|
|
ImGuiMultiSelectIO* igEndMultiSelect(void);
|
|
void igSetNextItemSelectionUserData(ImGuiSelectionUserData selection_user_data);
|
|
_Bool igIsItemToggledSelection(void);
|
|
_Bool igBeginListBox(const char* label,const ImVec2_c size);
|
|
void igEndListBox(void);
|
|
_Bool igListBox_Str_arr(const char* label,int* current_item,const char* const items[],int items_count,int height_in_items);
|
|
_Bool igListBox_FnStrPtr(const char* label,int* current_item,const char*(*getter)(void* user_data,int idx),void* user_data,int items_count,int height_in_items);
|
|
void igPlotLines_FloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2_c graph_size,int stride);
|
|
void igPlotLines_FnFloatPtr(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_c graph_size);
|
|
void igPlotHistogram_FloatPtr(const char* label,const float* values,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2_c graph_size,int stride);
|
|
void igPlotHistogram_FnFloatPtr(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_c graph_size);
|
|
void igValue_Bool(const char* prefix, _Bool b);
|
|
void igValue_Int(const char* prefix,int v);
|
|
void igValue_Uint(const char* prefix,unsigned int v);
|
|
void igValue_Float(const char* prefix,float v,const char* float_format);
|
|
_Bool igBeginMenuBar(void);
|
|
void igEndMenuBar(void);
|
|
_Bool igBeginMainMenuBar(void);
|
|
void igEndMainMenuBar(void);
|
|
_Bool igBeginMenu(const char* label, _Bool enabled);
|
|
void igEndMenu(void);
|
|
_Bool igMenuItem_Bool(const char* label,const char* shortcut, _Bool selected, _Bool enabled);
|
|
_Bool igMenuItem_BoolPtr(const char* label,const char* shortcut, _Bool * p_selected, _Bool enabled);
|
|
_Bool igBeginTooltip(void);
|
|
void igEndTooltip(void);
|
|
void igSetTooltip(const char* fmt,...);
|
|
void igSetTooltipV(const char* fmt,va_list args);
|
|
_Bool igBeginItemTooltip(void);
|
|
void igSetItemTooltip(const char* fmt,...);
|
|
void igSetItemTooltipV(const char* fmt,va_list args);
|
|
_Bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags);
|
|
_Bool igBeginPopupModal(const char* name, _Bool * p_open,ImGuiWindowFlags flags);
|
|
void igEndPopup(void);
|
|
void igOpenPopup_Str(const char* str_id,ImGuiPopupFlags popup_flags);
|
|
void igOpenPopup_ID(ImGuiID id,ImGuiPopupFlags popup_flags);
|
|
void igOpenPopupOnItemClick(const char* str_id,ImGuiPopupFlags popup_flags);
|
|
void igCloseCurrentPopup(void);
|
|
_Bool igBeginPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags);
|
|
_Bool igBeginPopupContextWindow(const char* str_id,ImGuiPopupFlags popup_flags);
|
|
_Bool igBeginPopupContextVoid(const char* str_id,ImGuiPopupFlags popup_flags);
|
|
_Bool igIsPopupOpen_Str(const char* str_id,ImGuiPopupFlags flags);
|
|
_Bool igBeginTable(const char* str_id,int columns,ImGuiTableFlags flags,const ImVec2_c outer_size,float inner_width);
|
|
void igEndTable(void);
|
|
void igTableNextRow(ImGuiTableRowFlags row_flags,float min_row_height);
|
|
_Bool igTableNextColumn(void);
|
|
_Bool igTableSetColumnIndex(int column_n);
|
|
void igTableSetupColumn(const char* label,ImGuiTableColumnFlags flags,float init_width_or_weight,ImGuiID user_id);
|
|
void igTableSetupScrollFreeze(int cols,int rows);
|
|
void igTableHeader(const char* label);
|
|
void igTableHeadersRow(void);
|
|
void igTableAngledHeadersRow(void);
|
|
ImGuiTableSortSpecs* igTableGetSortSpecs(void);
|
|
int igTableGetColumnCount(void);
|
|
int igTableGetColumnIndex(void);
|
|
int igTableGetRowIndex(void);
|
|
const char* igTableGetColumnName_Int(int column_n);
|
|
ImGuiTableColumnFlags igTableGetColumnFlags(int column_n);
|
|
void igTableSetColumnEnabled(int column_n, _Bool v);
|
|
int igTableGetHoveredColumn(void);
|
|
void igTableSetBgColor(ImGuiTableBgTarget target,ImU32 color,int column_n);
|
|
void igColumns(int count,const char* id, _Bool borders);
|
|
void igNextColumn(void);
|
|
int igGetColumnIndex(void);
|
|
float igGetColumnWidth(int column_index);
|
|
void igSetColumnWidth(int column_index,float width);
|
|
float igGetColumnOffset(int column_index);
|
|
void igSetColumnOffset(int column_index,float offset_x);
|
|
int igGetColumnsCount(void);
|
|
_Bool igBeginTabBar(const char* str_id,ImGuiTabBarFlags flags);
|
|
void igEndTabBar(void);
|
|
_Bool igBeginTabItem(const char* label, _Bool * p_open,ImGuiTabItemFlags flags);
|
|
void igEndTabItem(void);
|
|
_Bool igTabItemButton(const char* label,ImGuiTabItemFlags flags);
|
|
void igSetTabItemClosed(const char* tab_or_docked_window_label);
|
|
ImGuiID igDockSpace(ImGuiID dockspace_id,const ImVec2_c size,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class);
|
|
ImGuiID igDockSpaceOverViewport(ImGuiID dockspace_id,const ImGuiViewport* viewport,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class);
|
|
void igSetNextWindowDockID(ImGuiID dock_id,ImGuiCond cond);
|
|
void igSetNextWindowClass(const ImGuiWindowClass* window_class);
|
|
ImGuiID igGetWindowDockID(void);
|
|
_Bool igIsWindowDocked(void);
|
|
void igLogToTTY(int auto_open_depth);
|
|
void igLogToFile(int auto_open_depth,const char* filename);
|
|
void igLogToClipboard(int auto_open_depth);
|
|
void igLogFinish(void);
|
|
void igLogButtons(void);
|
|
void igLogText(const char* fmt,...);
|
|
void igLogTextV(const char* fmt,va_list args);
|
|
_Bool igBeginDragDropSource(ImGuiDragDropFlags flags);
|
|
_Bool igSetDragDropPayload(const char* type,const void* data,size_t sz,ImGuiCond cond);
|
|
void igEndDragDropSource(void);
|
|
_Bool igBeginDragDropTarget(void);
|
|
const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags);
|
|
void igEndDragDropTarget(void);
|
|
const ImGuiPayload* igGetDragDropPayload(void);
|
|
void igBeginDisabled( _Bool disabled);
|
|
void igEndDisabled(void);
|
|
void igPushClipRect(const ImVec2_c clip_rect_min,const ImVec2_c clip_rect_max, _Bool intersect_with_current_clip_rect);
|
|
void igPopClipRect(void);
|
|
void igSetItemDefaultFocus(void);
|
|
void igSetKeyboardFocusHere(int offset);
|
|
void igSetNavCursorVisible( _Bool visible);
|
|
void igSetNextItemAllowOverlap(void);
|
|
_Bool igIsItemHovered(ImGuiHoveredFlags flags);
|
|
_Bool igIsItemActive(void);
|
|
_Bool igIsItemFocused(void);
|
|
_Bool igIsItemClicked(ImGuiMouseButton mouse_button);
|
|
_Bool igIsItemVisible(void);
|
|
_Bool igIsItemEdited(void);
|
|
_Bool igIsItemActivated(void);
|
|
_Bool igIsItemDeactivated(void);
|
|
_Bool igIsItemDeactivatedAfterEdit(void);
|
|
_Bool igIsItemToggledOpen(void);
|
|
_Bool igIsAnyItemHovered(void);
|
|
_Bool igIsAnyItemActive(void);
|
|
_Bool igIsAnyItemFocused(void);
|
|
ImGuiID igGetItemID(void);
|
|
ImVec2_c igGetItemRectMin(void);
|
|
ImVec2_c igGetItemRectMax(void);
|
|
ImVec2_c igGetItemRectSize(void);
|
|
ImGuiItemFlags igGetItemFlags(void);
|
|
ImGuiViewport* igGetMainViewport(void);
|
|
ImDrawList* igGetBackgroundDrawList(ImGuiViewport* viewport);
|
|
ImDrawList* igGetForegroundDrawList_ViewportPtr(ImGuiViewport* viewport);
|
|
_Bool igIsRectVisible_Nil(const ImVec2_c size);
|
|
_Bool igIsRectVisible_Vec2(const ImVec2_c rect_min,const ImVec2_c rect_max);
|
|
double igGetTime(void);
|
|
int igGetFrameCount(void);
|
|
ImDrawListSharedData* igGetDrawListSharedData(void);
|
|
const char* igGetStyleColorName(ImGuiCol idx);
|
|
void igSetStateStorage(ImGuiStorage* storage);
|
|
ImGuiStorage* igGetStateStorage(void);
|
|
ImVec2_c igCalcTextSize(const char* text,const char* text_end, _Bool hide_text_after_double_hash,float wrap_width);
|
|
ImVec4_c igColorConvertU32ToFloat4(ImU32 in);
|
|
ImU32 igColorConvertFloat4ToU32(const ImVec4_c in);
|
|
void igColorConvertRGBtoHSV(float r,float g,float b,float* out_h,float* out_s,float* out_v);
|
|
void igColorConvertHSVtoRGB(float h,float s,float v,float* out_r,float* out_g,float* out_b);
|
|
_Bool igIsKeyDown_Nil(ImGuiKey key);
|
|
_Bool igIsKeyPressed_Bool(ImGuiKey key, _Bool repeat);
|
|
_Bool igIsKeyReleased_Nil(ImGuiKey key);
|
|
_Bool igIsKeyChordPressed_Nil(ImGuiKeyChord key_chord);
|
|
int igGetKeyPressedAmount(ImGuiKey key,float repeat_delay,float rate);
|
|
const char* igGetKeyName(ImGuiKey key);
|
|
void igSetNextFrameWantCaptureKeyboard( _Bool want_capture_keyboard);
|
|
_Bool igShortcut_Nil(ImGuiKeyChord key_chord,ImGuiInputFlags flags);
|
|
void igSetNextItemShortcut(ImGuiKeyChord key_chord,ImGuiInputFlags flags);
|
|
_Bool igSetItemKeyOwner_Nil(ImGuiKey key);
|
|
_Bool igIsMouseDown_Nil(ImGuiMouseButton button);
|
|
_Bool igIsMouseClicked_Bool(ImGuiMouseButton button, _Bool repeat);
|
|
_Bool igIsMouseReleased_Nil(ImGuiMouseButton button);
|
|
_Bool igIsMouseDoubleClicked_Nil(ImGuiMouseButton button);
|
|
_Bool igIsMouseReleasedWithDelay(ImGuiMouseButton button,float delay);
|
|
int igGetMouseClickedCount(ImGuiMouseButton button);
|
|
_Bool igIsMouseHoveringRect(const ImVec2_c r_min,const ImVec2_c r_max, _Bool clip);
|
|
_Bool igIsMousePosValid(const ImVec2_c* mouse_pos);
|
|
_Bool igIsAnyMouseDown(void);
|
|
ImVec2_c igGetMousePos(void);
|
|
ImVec2_c igGetMousePosOnOpeningCurrentPopup(void);
|
|
_Bool igIsMouseDragging(ImGuiMouseButton button,float lock_threshold);
|
|
ImVec2_c igGetMouseDragDelta(ImGuiMouseButton button,float lock_threshold);
|
|
void igResetMouseDragDelta(ImGuiMouseButton button);
|
|
ImGuiMouseCursor igGetMouseCursor(void);
|
|
void igSetMouseCursor(ImGuiMouseCursor cursor_type);
|
|
void igSetNextFrameWantCaptureMouse( _Bool want_capture_mouse);
|
|
const char* igGetClipboardText(void);
|
|
void igSetClipboardText(const char* text);
|
|
void igLoadIniSettingsFromDisk(const char* ini_filename);
|
|
void igLoadIniSettingsFromMemory(const char* ini_data,size_t ini_size);
|
|
void igSaveIniSettingsToDisk(const char* ini_filename);
|
|
const char* igSaveIniSettingsToMemory(size_t* out_ini_size);
|
|
void igDebugTextEncoding(const char* text);
|
|
void igDebugFlashStyleColor(ImGuiCol idx);
|
|
void igDebugStartItemPicker(void);
|
|
_Bool igDebugCheckVersionAndDataLayout(const char* version_str,size_t sz_io,size_t sz_style,size_t sz_vec2,size_t sz_vec4,size_t sz_drawvert,size_t sz_drawidx);
|
|
void igDebugLog(const char* fmt,...);
|
|
void igDebugLogV(const char* fmt,va_list args);
|
|
void igSetAllocatorFunctions(ImGuiMemAllocFunc alloc_func,ImGuiMemFreeFunc free_func,void* user_data);
|
|
void igGetAllocatorFunctions(ImGuiMemAllocFunc* p_alloc_func,ImGuiMemFreeFunc* p_free_func,void** p_user_data);
|
|
void* igMemAlloc(size_t size);
|
|
void igMemFree(void* ptr);
|
|
void igUpdatePlatformWindows(void);
|
|
void igRenderPlatformWindowsDefault(void* platform_render_arg,void* renderer_render_arg);
|
|
void igDestroyPlatformWindows(void);
|
|
ImGuiViewport* igFindViewportByID(ImGuiID viewport_id);
|
|
ImGuiViewport* igFindViewportByPlatformHandle(void* platform_handle);
|
|
ImGuiTableSortSpecs* ImGuiTableSortSpecs_ImGuiTableSortSpecs(void);
|
|
void ImGuiTableSortSpecs_destroy(ImGuiTableSortSpecs* self);
|
|
ImGuiTableColumnSortSpecs* ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs(void);
|
|
void ImGuiTableColumnSortSpecs_destroy(ImGuiTableColumnSortSpecs* self);
|
|
ImGuiStyle* ImGuiStyle_ImGuiStyle(void);
|
|
void ImGuiStyle_destroy(ImGuiStyle* self);
|
|
void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor);
|
|
void ImGuiIO_AddKeyEvent(ImGuiIO* self,ImGuiKey key, _Bool down);
|
|
void ImGuiIO_AddKeyAnalogEvent(ImGuiIO* self,ImGuiKey key, _Bool down,float v);
|
|
void ImGuiIO_AddMousePosEvent(ImGuiIO* self,float x,float y);
|
|
void ImGuiIO_AddMouseButtonEvent(ImGuiIO* self,int button, _Bool down);
|
|
void ImGuiIO_AddMouseWheelEvent(ImGuiIO* self,float wheel_x,float wheel_y);
|
|
void ImGuiIO_AddMouseSourceEvent(ImGuiIO* self,ImGuiMouseSource source);
|
|
void ImGuiIO_AddMouseViewportEvent(ImGuiIO* self,ImGuiID id);
|
|
void ImGuiIO_AddFocusEvent(ImGuiIO* self, _Bool focused);
|
|
void ImGuiIO_AddInputCharacter(ImGuiIO* self,unsigned int c);
|
|
void ImGuiIO_AddInputCharacterUTF16(ImGuiIO* self,ImWchar16 c);
|
|
void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* str);
|
|
void ImGuiIO_SetKeyEventNativeData(ImGuiIO* self,ImGuiKey key,int native_keycode,int native_scancode,int native_legacy_index);
|
|
void ImGuiIO_SetAppAcceptingEvents(ImGuiIO* self, _Bool accepting_events);
|
|
void ImGuiIO_ClearEventsQueue(ImGuiIO* self);
|
|
void ImGuiIO_ClearInputKeys(ImGuiIO* self);
|
|
void ImGuiIO_ClearInputMouse(ImGuiIO* self);
|
|
ImGuiIO* ImGuiIO_ImGuiIO(void);
|
|
void ImGuiIO_destroy(ImGuiIO* self);
|
|
ImGuiInputTextCallbackData* ImGuiInputTextCallbackData_ImGuiInputTextCallbackData(void);
|
|
void ImGuiInputTextCallbackData_destroy(ImGuiInputTextCallbackData* self);
|
|
void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count);
|
|
void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end);
|
|
void ImGuiInputTextCallbackData_SelectAll(ImGuiInputTextCallbackData* self);
|
|
void ImGuiInputTextCallbackData_SetSelection(ImGuiInputTextCallbackData* self,int s,int e);
|
|
void ImGuiInputTextCallbackData_ClearSelection(ImGuiInputTextCallbackData* self);
|
|
_Bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self);
|
|
ImGuiWindowClass* ImGuiWindowClass_ImGuiWindowClass(void);
|
|
void ImGuiWindowClass_destroy(ImGuiWindowClass* self);
|
|
ImGuiPayload* ImGuiPayload_ImGuiPayload(void);
|
|
void ImGuiPayload_destroy(ImGuiPayload* self);
|
|
void ImGuiPayload_Clear(ImGuiPayload* self);
|
|
_Bool ImGuiPayload_IsDataType(ImGuiPayload* self,const char* type);
|
|
_Bool ImGuiPayload_IsPreview(ImGuiPayload* self);
|
|
_Bool ImGuiPayload_IsDelivery(ImGuiPayload* self);
|
|
ImGuiOnceUponAFrame* ImGuiOnceUponAFrame_ImGuiOnceUponAFrame(void);
|
|
void ImGuiOnceUponAFrame_destroy(ImGuiOnceUponAFrame* self);
|
|
ImGuiTextFilter* ImGuiTextFilter_ImGuiTextFilter(const char* default_filter);
|
|
void ImGuiTextFilter_destroy(ImGuiTextFilter* self);
|
|
_Bool ImGuiTextFilter_Draw(ImGuiTextFilter* self,const char* label,float width);
|
|
_Bool ImGuiTextFilter_PassFilter(ImGuiTextFilter* self,const char* text,const char* text_end);
|
|
void ImGuiTextFilter_Build(ImGuiTextFilter* self);
|
|
void ImGuiTextFilter_Clear(ImGuiTextFilter* self);
|
|
_Bool ImGuiTextFilter_IsActive(ImGuiTextFilter* self);
|
|
ImGuiTextRange* ImGuiTextRange_ImGuiTextRange_Nil(void);
|
|
void ImGuiTextRange_destroy(ImGuiTextRange* self);
|
|
ImGuiTextRange* ImGuiTextRange_ImGuiTextRange_Str(const char* _b,const char* _e);
|
|
_Bool ImGuiTextRange_empty(ImGuiTextRange* self);
|
|
void ImGuiTextRange_split(ImGuiTextRange* self,char separator,ImVector_ImGuiTextRange* out);
|
|
ImGuiTextBuffer* ImGuiTextBuffer_ImGuiTextBuffer(void);
|
|
void ImGuiTextBuffer_destroy(ImGuiTextBuffer* self);
|
|
const char* ImGuiTextBuffer_begin(ImGuiTextBuffer* self);
|
|
const char* ImGuiTextBuffer_end(ImGuiTextBuffer* self);
|
|
int ImGuiTextBuffer_size(ImGuiTextBuffer* self);
|
|
_Bool ImGuiTextBuffer_empty(ImGuiTextBuffer* self);
|
|
void ImGuiTextBuffer_clear(ImGuiTextBuffer* self);
|
|
void ImGuiTextBuffer_resize(ImGuiTextBuffer* self,int size);
|
|
void ImGuiTextBuffer_reserve(ImGuiTextBuffer* self,int capacity);
|
|
const char* ImGuiTextBuffer_c_str(ImGuiTextBuffer* self);
|
|
void ImGuiTextBuffer_append(ImGuiTextBuffer* self,const char* str,const char* str_end);
|
|
void ImGuiTextBuffer_appendfv(ImGuiTextBuffer* self,const char* fmt,va_list args);
|
|
ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Int(ImGuiID _key,int _val);
|
|
void ImGuiStoragePair_destroy(ImGuiStoragePair* self);
|
|
ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Float(ImGuiID _key,float _val);
|
|
ImGuiStoragePair* ImGuiStoragePair_ImGuiStoragePair_Ptr(ImGuiID _key,void* _val);
|
|
void ImGuiStorage_Clear(ImGuiStorage* self);
|
|
int ImGuiStorage_GetInt(ImGuiStorage* self,ImGuiID key,int default_val);
|
|
void ImGuiStorage_SetInt(ImGuiStorage* self,ImGuiID key,int val);
|
|
_Bool ImGuiStorage_GetBool(ImGuiStorage* self,ImGuiID key, _Bool default_val);
|
|
void ImGuiStorage_SetBool(ImGuiStorage* self,ImGuiID key, _Bool val);
|
|
float ImGuiStorage_GetFloat(ImGuiStorage* self,ImGuiID key,float default_val);
|
|
void ImGuiStorage_SetFloat(ImGuiStorage* self,ImGuiID key,float val);
|
|
void* ImGuiStorage_GetVoidPtr(ImGuiStorage* self,ImGuiID key);
|
|
void ImGuiStorage_SetVoidPtr(ImGuiStorage* self,ImGuiID key,void* val);
|
|
int* ImGuiStorage_GetIntRef(ImGuiStorage* self,ImGuiID key,int default_val);
|
|
_Bool * ImGuiStorage_GetBoolRef(ImGuiStorage* self,ImGuiID key, _Bool default_val);
|
|
float* ImGuiStorage_GetFloatRef(ImGuiStorage* self,ImGuiID key,float default_val);
|
|
void** ImGuiStorage_GetVoidPtrRef(ImGuiStorage* self,ImGuiID key,void* default_val);
|
|
void ImGuiStorage_BuildSortByKey(ImGuiStorage* self);
|
|
void ImGuiStorage_SetAllInt(ImGuiStorage* self,int val);
|
|
ImGuiListClipper* ImGuiListClipper_ImGuiListClipper(void);
|
|
void ImGuiListClipper_destroy(ImGuiListClipper* self);
|
|
void ImGuiListClipper_Begin(ImGuiListClipper* self,int items_count,float items_height);
|
|
void ImGuiListClipper_End(ImGuiListClipper* self);
|
|
_Bool ImGuiListClipper_Step(ImGuiListClipper* self);
|
|
void ImGuiListClipper_IncludeItemByIndex(ImGuiListClipper* self,int item_index);
|
|
void ImGuiListClipper_IncludeItemsByIndex(ImGuiListClipper* self,int item_begin,int item_end);
|
|
void ImGuiListClipper_SeekCursorForItem(ImGuiListClipper* self,int item_index);
|
|
ImColor* ImColor_ImColor_Nil(void);
|
|
void ImColor_destroy(ImColor* self);
|
|
ImColor* ImColor_ImColor_Float(float r,float g,float b,float a);
|
|
ImColor* ImColor_ImColor_Vec4(const ImVec4_c col);
|
|
ImColor* ImColor_ImColor_Int(int r,int g,int b,int a);
|
|
ImColor* ImColor_ImColor_U32(ImU32 rgba);
|
|
void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a);
|
|
ImColor_c ImColor_HSV(float h,float s,float v,float a);
|
|
ImGuiSelectionBasicStorage* ImGuiSelectionBasicStorage_ImGuiSelectionBasicStorage(void);
|
|
void ImGuiSelectionBasicStorage_destroy(ImGuiSelectionBasicStorage* self);
|
|
void ImGuiSelectionBasicStorage_ApplyRequests(ImGuiSelectionBasicStorage* self,ImGuiMultiSelectIO* ms_io);
|
|
_Bool ImGuiSelectionBasicStorage_Contains(ImGuiSelectionBasicStorage* self,ImGuiID id);
|
|
void ImGuiSelectionBasicStorage_Clear(ImGuiSelectionBasicStorage* self);
|
|
void ImGuiSelectionBasicStorage_Swap(ImGuiSelectionBasicStorage* self,ImGuiSelectionBasicStorage* r);
|
|
void ImGuiSelectionBasicStorage_SetItemSelected(ImGuiSelectionBasicStorage* self,ImGuiID id, _Bool selected);
|
|
_Bool ImGuiSelectionBasicStorage_GetNextSelectedItem(ImGuiSelectionBasicStorage* self,void** opaque_it,ImGuiID* out_id);
|
|
ImGuiID ImGuiSelectionBasicStorage_GetStorageIdFromIndex(ImGuiSelectionBasicStorage* self,int idx);
|
|
ImGuiSelectionExternalStorage* ImGuiSelectionExternalStorage_ImGuiSelectionExternalStorage(void);
|
|
void ImGuiSelectionExternalStorage_destroy(ImGuiSelectionExternalStorage* self);
|
|
void ImGuiSelectionExternalStorage_ApplyRequests(ImGuiSelectionExternalStorage* self,ImGuiMultiSelectIO* ms_io);
|
|
ImDrawCmd* ImDrawCmd_ImDrawCmd(void);
|
|
void ImDrawCmd_destroy(ImDrawCmd* self);
|
|
ImTextureID ImDrawCmd_GetTexID(ImDrawCmd* self);
|
|
ImDrawListSplitter* ImDrawListSplitter_ImDrawListSplitter(void);
|
|
void ImDrawListSplitter_destroy(ImDrawListSplitter* self);
|
|
void ImDrawListSplitter_Clear(ImDrawListSplitter* self);
|
|
void ImDrawListSplitter_ClearFreeMemory(ImDrawListSplitter* self);
|
|
void ImDrawListSplitter_Split(ImDrawListSplitter* self,ImDrawList* draw_list,int count);
|
|
void ImDrawListSplitter_Merge(ImDrawListSplitter* self,ImDrawList* draw_list);
|
|
void ImDrawListSplitter_SetCurrentChannel(ImDrawListSplitter* self,ImDrawList* draw_list,int channel_idx);
|
|
ImDrawList* ImDrawList_ImDrawList(ImDrawListSharedData* shared_data);
|
|
void ImDrawList_destroy(ImDrawList* self);
|
|
void ImDrawList_PushClipRect(ImDrawList* self,const ImVec2_c clip_rect_min,const ImVec2_c clip_rect_max, _Bool intersect_with_current_clip_rect);
|
|
void ImDrawList_PushClipRectFullScreen(ImDrawList* self);
|
|
void ImDrawList_PopClipRect(ImDrawList* self);
|
|
void ImDrawList_PushTexture(ImDrawList* self,ImTextureRef_c tex_ref);
|
|
void ImDrawList_PopTexture(ImDrawList* self);
|
|
ImVec2_c ImDrawList_GetClipRectMin(ImDrawList* self);
|
|
ImVec2_c ImDrawList_GetClipRectMax(ImDrawList* self);
|
|
void ImDrawList_AddLine(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,ImU32 col,float thickness);
|
|
void ImDrawList_AddLineH(ImDrawList* self,float min_x,float max_x,float y,ImU32 col,float thickness);
|
|
void ImDrawList_AddLineV(ImDrawList* self,float x,float min_y,float max_y,ImU32 col,float thickness);
|
|
void ImDrawList_AddRect(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,float thickness,ImDrawFlags flags);
|
|
void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,ImDrawFlags flags);
|
|
void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left);
|
|
void ImDrawList_AddQuad(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,ImU32 col,float thickness);
|
|
void ImDrawList_AddQuadFilled(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,ImU32 col);
|
|
void ImDrawList_AddTriangle(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,ImU32 col,float thickness);
|
|
void ImDrawList_AddTriangleFilled(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,ImU32 col);
|
|
void ImDrawList_AddCircle(ImDrawList* self,const ImVec2_c center,float radius,ImU32 col,int num_segments,float thickness);
|
|
void ImDrawList_AddCircleFilled(ImDrawList* self,const ImVec2_c center,float radius,ImU32 col,int num_segments);
|
|
void ImDrawList_AddNgon(ImDrawList* self,const ImVec2_c center,float radius,ImU32 col,int num_segments,float thickness);
|
|
void ImDrawList_AddNgonFilled(ImDrawList* self,const ImVec2_c center,float radius,ImU32 col,int num_segments);
|
|
void ImDrawList_AddEllipse(ImDrawList* self,const ImVec2_c center,const ImVec2_c radius,ImU32 col,float rot,int num_segments,float thickness);
|
|
void ImDrawList_AddEllipseFilled(ImDrawList* self,const ImVec2_c center,const ImVec2_c radius,ImU32 col,float rot,int num_segments);
|
|
void ImDrawList_AddText_Vec2(ImDrawList* self,const ImVec2_c pos,ImU32 col,const char* text_begin,const char* text_end);
|
|
void ImDrawList_AddText_FontPtr(ImDrawList* self,ImFont* font,float font_size,const ImVec2_c pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect);
|
|
void ImDrawList_AddBezierCubic(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,ImU32 col,float thickness,int num_segments);
|
|
void ImDrawList_AddBezierQuadratic(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,ImU32 col,float thickness,int num_segments);
|
|
void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col,float thickness,ImDrawFlags flags);
|
|
void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col);
|
|
void ImDrawList_AddConcavePolyFilled(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col);
|
|
void ImDrawList_AddImage(ImDrawList* self,ImTextureRef_c tex_ref,const ImVec2_c p_min,const ImVec2_c p_max,const ImVec2_c uv_min,const ImVec2_c uv_max,ImU32 col);
|
|
void ImDrawList_AddImageQuad(ImDrawList* self,ImTextureRef_c tex_ref,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,const ImVec2_c uv1,const ImVec2_c uv2,const ImVec2_c uv3,const ImVec2_c uv4,ImU32 col);
|
|
void ImDrawList_AddImageRounded(ImDrawList* self,ImTextureRef_c tex_ref,const ImVec2_c p_min,const ImVec2_c p_max,const ImVec2_c uv_min,const ImVec2_c uv_max,ImU32 col,float rounding,ImDrawFlags flags);
|
|
void ImDrawList_PathClear(ImDrawList* self);
|
|
void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2_c pos);
|
|
void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2_c pos);
|
|
void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col);
|
|
void ImDrawList_PathFillConcave(ImDrawList* self,ImU32 col);
|
|
void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,float thickness,ImDrawFlags flags);
|
|
void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2_c center,float radius,float a_min,float a_max,int num_segments);
|
|
void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2_c center,float radius,int a_min_of_12,int a_max_of_12);
|
|
void ImDrawList_PathEllipticalArcTo(ImDrawList* self,const ImVec2_c center,const ImVec2_c radius,float rot,float a_min,float a_max,int num_segments);
|
|
void ImDrawList_PathBezierCubicCurveTo(ImDrawList* self,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,int num_segments);
|
|
void ImDrawList_PathBezierQuadraticCurveTo(ImDrawList* self,const ImVec2_c p2,const ImVec2_c p3,int num_segments);
|
|
void ImDrawList_PathRect(ImDrawList* self,const ImVec2_c rect_min,const ImVec2_c rect_max,float rounding,ImDrawFlags flags);
|
|
void ImDrawList_AddCallback(ImDrawList* self,ImDrawCallback callback,void* userdata,size_t userdata_size);
|
|
void ImDrawList_AddDrawCmd(ImDrawList* self);
|
|
ImDrawList* ImDrawList_CloneOutput(ImDrawList* self);
|
|
void ImDrawList_ChannelsSplit(ImDrawList* self,int count);
|
|
void ImDrawList_ChannelsMerge(ImDrawList* self);
|
|
void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int n);
|
|
void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count);
|
|
void ImDrawList_PrimUnreserve(ImDrawList* self,int idx_count,int vtx_count);
|
|
void ImDrawList_PrimRect(ImDrawList* self,const ImVec2_c a,const ImVec2_c b,ImU32 col);
|
|
void ImDrawList_PrimRectUV(ImDrawList* self,const ImVec2_c a,const ImVec2_c b,const ImVec2_c uv_a,const ImVec2_c uv_b,ImU32 col);
|
|
void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2_c a,const ImVec2_c b,const ImVec2_c c,const ImVec2_c d,const ImVec2_c uv_a,const ImVec2_c uv_b,const ImVec2_c uv_c,const ImVec2_c uv_d,ImU32 col);
|
|
void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2_c pos,const ImVec2_c uv,ImU32 col);
|
|
void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx);
|
|
void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2_c pos,const ImVec2_c uv,ImU32 col);
|
|
void ImDrawList__SetDrawListSharedData(ImDrawList* self,ImDrawListSharedData* data);
|
|
void ImDrawList__ResetForNewFrame(ImDrawList* self);
|
|
void ImDrawList__ClearFreeMemory(ImDrawList* self);
|
|
void ImDrawList__PopUnusedDrawCmd(ImDrawList* self);
|
|
void ImDrawList__TryMergeDrawCmds(ImDrawList* self);
|
|
void ImDrawList__OnChangedClipRect(ImDrawList* self);
|
|
void ImDrawList__OnChangedTexture(ImDrawList* self);
|
|
void ImDrawList__OnChangedVtxOffset(ImDrawList* self);
|
|
void ImDrawList__SetTexture(ImDrawList* self,ImTextureRef_c tex_ref);
|
|
int ImDrawList__CalcCircleAutoSegmentCount(ImDrawList* self,float radius);
|
|
void ImDrawList__PathArcToFastEx(ImDrawList* self,const ImVec2_c center,float radius,int a_min_sample,int a_max_sample,int a_step);
|
|
void ImDrawList__PathArcToN(ImDrawList* self,const ImVec2_c center,float radius,float a_min,float a_max,int num_segments);
|
|
ImDrawData* ImDrawData_ImDrawData(void);
|
|
void ImDrawData_destroy(ImDrawData* self);
|
|
void ImDrawData_Clear(ImDrawData* self);
|
|
void ImDrawData_AddDrawList(ImDrawData* self,ImDrawList* draw_list);
|
|
void ImDrawData_DeIndexAllBuffers(ImDrawData* self);
|
|
void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2_c fb_scale);
|
|
ImTextureData* ImTextureData_ImTextureData(void);
|
|
void ImTextureData_destroy(ImTextureData* self);
|
|
void ImTextureData_Create(ImTextureData* self,ImTextureFormat format,int w,int h);
|
|
void ImTextureData_DestroyPixels(ImTextureData* self);
|
|
void* ImTextureData_GetPixels(ImTextureData* self);
|
|
void* ImTextureData_GetPixelsAt(ImTextureData* self,int x,int y);
|
|
int ImTextureData_GetSizeInBytes(ImTextureData* self);
|
|
int ImTextureData_GetPitch(ImTextureData* self);
|
|
ImTextureRef_c ImTextureData_GetTexRef(ImTextureData* self);
|
|
ImTextureID ImTextureData_GetTexID(ImTextureData* self);
|
|
void ImTextureData_SetTexID(ImTextureData* self,ImTextureID tex_id);
|
|
void ImTextureData_SetStatus(ImTextureData* self,ImTextureStatus status);
|
|
ImFontConfig* ImFontConfig_ImFontConfig(void);
|
|
void ImFontConfig_destroy(ImFontConfig* self);
|
|
ImFontGlyph* ImFontGlyph_ImFontGlyph(void);
|
|
void ImFontGlyph_destroy(ImFontGlyph* self);
|
|
ImFontGlyphRangesBuilder* ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder(void);
|
|
void ImFontGlyphRangesBuilder_destroy(ImFontGlyphRangesBuilder* self);
|
|
void ImFontGlyphRangesBuilder_Clear(ImFontGlyphRangesBuilder* self);
|
|
_Bool ImFontGlyphRangesBuilder_GetBit(ImFontGlyphRangesBuilder* self,size_t n);
|
|
void ImFontGlyphRangesBuilder_SetBit(ImFontGlyphRangesBuilder* self,size_t n);
|
|
void ImFontGlyphRangesBuilder_AddChar(ImFontGlyphRangesBuilder* self,ImWchar c);
|
|
void ImFontGlyphRangesBuilder_AddText(ImFontGlyphRangesBuilder* self,const char* text,const char* text_end);
|
|
void ImFontGlyphRangesBuilder_AddRanges(ImFontGlyphRangesBuilder* self,const ImWchar* ranges);
|
|
void ImFontGlyphRangesBuilder_BuildRanges(ImFontGlyphRangesBuilder* self,ImVector_ImWchar* out_ranges);
|
|
ImFontAtlasRect* ImFontAtlasRect_ImFontAtlasRect(void);
|
|
void ImFontAtlasRect_destroy(ImFontAtlasRect* self);
|
|
ImFontAtlas* ImFontAtlas_ImFontAtlas(void);
|
|
void ImFontAtlas_destroy(ImFontAtlas* self);
|
|
ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg);
|
|
ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg);
|
|
ImFont* ImFontAtlas_AddFontDefaultVector(ImFontAtlas* self,const ImFontConfig* font_cfg);
|
|
ImFont* ImFontAtlas_AddFontDefaultBitmap(ImFontAtlas* self,const ImFontConfig* font_cfg);
|
|
ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges);
|
|
ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_data_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges);
|
|
ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_data_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges);
|
|
ImFont* ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self,const char* compressed_font_data_base85,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges);
|
|
void ImFontAtlas_RemoveFont(ImFontAtlas* self,ImFont* font);
|
|
void ImFontAtlas_Clear(ImFontAtlas* self);
|
|
void ImFontAtlas_ClearFonts(ImFontAtlas* self);
|
|
void ImFontAtlas_CompactCache(ImFontAtlas* self);
|
|
void ImFontAtlas_SetFontLoader(ImFontAtlas* self,const ImFontLoader* font_loader);
|
|
void ImFontAtlas_ClearInputData(ImFontAtlas* self);
|
|
void ImFontAtlas_ClearTexData(ImFontAtlas* self);
|
|
const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self);
|
|
ImFontAtlasRectId ImFontAtlas_AddCustomRect(ImFontAtlas* self,int width,int height,ImFontAtlasRect* out_r);
|
|
void ImFontAtlas_RemoveCustomRect(ImFontAtlas* self,ImFontAtlasRectId id);
|
|
_Bool ImFontAtlas_GetCustomRect(ImFontAtlas* self,ImFontAtlasRectId id,ImFontAtlasRect* out_r);
|
|
ImFontBaked* ImFontBaked_ImFontBaked(void);
|
|
void ImFontBaked_destroy(ImFontBaked* self);
|
|
void ImFontBaked_ClearOutputData(ImFontBaked* self);
|
|
ImFontGlyph* ImFontBaked_FindGlyph(ImFontBaked* self,ImWchar c);
|
|
ImFontGlyph* ImFontBaked_FindGlyphNoFallback(ImFontBaked* self,ImWchar c);
|
|
float ImFontBaked_GetCharAdvance(ImFontBaked* self,ImWchar c);
|
|
_Bool ImFontBaked_IsGlyphLoaded(ImFontBaked* self,ImWchar c);
|
|
ImFont* ImFont_ImFont(void);
|
|
void ImFont_destroy(ImFont* self);
|
|
_Bool ImFont_IsGlyphInFont(ImFont* self,ImWchar c);
|
|
_Bool ImFont_IsLoaded(ImFont* self);
|
|
const char* ImFont_GetDebugName(ImFont* self);
|
|
ImFontBaked* ImFont_GetFontBaked(ImFont* self,float font_size,float density);
|
|
ImVec2_c ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** out_remaining);
|
|
const char* ImFont_CalcWordWrapPosition(ImFont* self,float size,const char* text,const char* text_end,float wrap_width);
|
|
void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,const ImVec2_c pos,ImU32 col,ImWchar c,const ImVec4* cpu_fine_clip);
|
|
void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,const ImVec2_c pos,ImU32 col,const ImVec4_c clip_rect,const char* text_begin,const char* text_end,float wrap_width,ImDrawTextFlags flags);
|
|
void ImFont_ClearOutputData(ImFont* self);
|
|
void ImFont_AddRemapChar(ImFont* self,ImWchar from_codepoint,ImWchar to_codepoint);
|
|
_Bool ImFont_IsGlyphRangeUnused(ImFont* self,unsigned int c_begin,unsigned int c_last);
|
|
ImGuiViewport* ImGuiViewport_ImGuiViewport(void);
|
|
void ImGuiViewport_destroy(ImGuiViewport* self);
|
|
ImVec2_c ImGuiViewport_GetCenter(ImGuiViewport* self);
|
|
ImVec2_c ImGuiViewport_GetWorkCenter(ImGuiViewport* self);
|
|
const char* ImGuiViewport_GetDebugName(ImGuiViewport* self);
|
|
ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(void);
|
|
void ImGuiPlatformIO_destroy(ImGuiPlatformIO* self);
|
|
void ImGuiPlatformIO_ClearPlatformHandlers(ImGuiPlatformIO* self);
|
|
void ImGuiPlatformIO_ClearRendererHandlers(ImGuiPlatformIO* self);
|
|
ImGuiPlatformMonitor* ImGuiPlatformMonitor_ImGuiPlatformMonitor(void);
|
|
void ImGuiPlatformMonitor_destroy(ImGuiPlatformMonitor* self);
|
|
ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void);
|
|
void ImGuiPlatformImeData_destroy(ImGuiPlatformImeData* self);
|
|
ImGuiID igImHashData(const void* data,size_t data_size,ImGuiID seed);
|
|
ImGuiID igImHashStr(const char* data,size_t data_size,ImGuiID seed);
|
|
const char* igImHashSkipUncontributingPrefix(const char* label);
|
|
void igImQsort(void* base,size_t count,size_t size_of_element,int(*compare_func)(void const*,void const*));
|
|
ImU32 igImAlphaBlendColors(ImU32 col_a,ImU32 col_b);
|
|
_Bool igImIsPowerOfTwo_Int(int v);
|
|
_Bool igImIsPowerOfTwo_U64(ImU64 v);
|
|
int igImUpperPowerOfTwo(int v);
|
|
unsigned int igImCountSetBits(unsigned int v);
|
|
int igImStricmp(const char* str1,const char* str2);
|
|
int igImStrnicmp(const char* str1,const char* str2,size_t count);
|
|
void igImStrncpy(char* dst,const char* src,size_t count);
|
|
char* igImStrdup(const char* str);
|
|
void* igImMemdup(const void* src,size_t size);
|
|
char* igImStrdupcpy(char* dst,size_t* p_dst_size,const char* str);
|
|
const char* igImStrchrRange(const char* str_begin,const char* str_end,char c);
|
|
const char* igImStreolRange(const char* str,const char* str_end);
|
|
const char* igImStristr(const char* haystack,const char* haystack_end,const char* needle,const char* needle_end);
|
|
void igImStrTrimBlanks(char* str);
|
|
const char* igImStrSkipBlank(const char* str);
|
|
int igImStrlenW(const ImWchar* str);
|
|
const char* igImStrbol(const char* buf_mid_line,const char* buf_begin);
|
|
char igImToUpper(char c);
|
|
_Bool igImCharIsBlankA(char c);
|
|
_Bool igImCharIsBlankW(unsigned int c);
|
|
_Bool igImCharIsXdigitA(char c);
|
|
int igImFormatString(char* buf,size_t buf_size,const char* fmt,...);
|
|
int igImFormatStringV(char* buf,size_t buf_size,const char* fmt,va_list args);
|
|
void igImFormatStringToTempBuffer(const char** out_buf,const char** out_buf_end,const char* fmt,...);
|
|
void igImFormatStringToTempBufferV(const char** out_buf,const char** out_buf_end,const char* fmt,va_list args);
|
|
const char* igImParseFormatFindStart(const char* format);
|
|
const char* igImParseFormatFindEnd(const char* format);
|
|
const char* igImParseFormatTrimDecorations(const char* format,char* buf,size_t buf_size);
|
|
void igImParseFormatSanitizeForPrinting(const char* fmt_in,char* fmt_out,size_t fmt_out_size);
|
|
const char* igImParseFormatSanitizeForScanning(const char* fmt_in,char* fmt_out,size_t fmt_out_size);
|
|
int igImParseFormatPrecision(const char* format,int default_value);
|
|
int igImTextCharToUtf8(char out_buf[5],unsigned int c);
|
|
int igImTextStrToUtf8(char* out_buf,int out_buf_size,const ImWchar* in_text,const ImWchar* in_text_end);
|
|
int igImTextCharFromUtf8(unsigned int* out_char,const char* in_text,const char* in_text_end);
|
|
int igImTextStrFromUtf8(ImWchar* out_buf,int out_buf_size,const char* in_text,const char* in_text_end,const char** in_remaining);
|
|
int igImTextCountCharsFromUtf8(const char* in_text,const char* in_text_end);
|
|
int igImTextCountUtf8BytesFromChar(const char* in_text,const char* in_text_end);
|
|
int igImTextCountUtf8BytesFromStr(const ImWchar* in_text,const ImWchar* in_text_end);
|
|
const char* igImTextFindPreviousUtf8Codepoint(const char* in_text_start,const char* in_p);
|
|
const char* igImTextFindValidUtf8CodepointEnd(const char* in_text_start,const char* in_text_end,const char* in_p);
|
|
int igImTextCountLines(const char* in_text,const char* in_text_end);
|
|
ImVec2_c igImFontCalcTextSizeEx(ImFont* font,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end_display,const char* text_end,const char** out_remaining,ImVec2_c* out_offset,ImDrawTextFlags flags);
|
|
const char* igImFontCalcWordWrapPositionEx(ImFont* font,float size,const char* text,const char* text_end,float wrap_width,ImDrawTextFlags flags);
|
|
const char* igImTextCalcWordWrapNextLineStart(const char* text,const char* text_end,ImDrawTextFlags flags);
|
|
void igImTextInitClassifiers(void);
|
|
void igImTextClassifierClear(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class);
|
|
void igImTextClassifierSetCharClass(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class,unsigned int c);
|
|
void igImTextClassifierSetCharClassFromStr(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class,const char* s);
|
|
ImFileHandle igImFileOpen(const char* filename,const char* mode);
|
|
_Bool igImFileClose(ImFileHandle file);
|
|
ImU64 igImFileGetSize(ImFileHandle file);
|
|
ImU64 igImFileRead(void* data,ImU64 size,ImU64 count,ImFileHandle file);
|
|
ImU64 igImFileWrite(const void* data,ImU64 size,ImU64 count,ImFileHandle file);
|
|
void* igImFileLoadToMemory(const char* filename,const char* mode,size_t* out_file_size,int padding_bytes);
|
|
float igImPow_Float(float x,float y);
|
|
double igImPow_double(double x,double y);
|
|
float igImLog_Float(float x);
|
|
double igImLog_double(double x);
|
|
int igImAbs_Int(int x);
|
|
float igImAbs_Float(float x);
|
|
double igImAbs_double(double x);
|
|
float igImSign_Float(float x);
|
|
double igImSign_double(double x);
|
|
float igImRsqrt_Float(float x);
|
|
double igImRsqrt_double(double x);
|
|
ImVec2_c igImMin(const ImVec2_c lhs,const ImVec2_c rhs);
|
|
ImVec2_c igImMax(const ImVec2_c lhs,const ImVec2_c rhs);
|
|
ImVec2_c igImClamp(const ImVec2_c v,const ImVec2_c mn,const ImVec2_c mx);
|
|
ImVec2_c igImLerp_Vec2Float(const ImVec2_c a,const ImVec2_c b,float t);
|
|
ImVec2_c igImLerp_Vec2Vec2(const ImVec2_c a,const ImVec2_c b,const ImVec2_c t);
|
|
ImVec4_c igImLerp_Vec4(const ImVec4_c a,const ImVec4_c b,float t);
|
|
float igImSaturate(float f);
|
|
float igImLengthSqr_Vec2(const ImVec2_c lhs);
|
|
float igImLengthSqr_Vec4(const ImVec4_c lhs);
|
|
float igImInvLength(const ImVec2_c lhs,float fail_value);
|
|
float igImTrunc_Float(float f);
|
|
ImVec2_c igImTrunc_Vec2(const ImVec2_c v);
|
|
float igImFloor_Float(float f);
|
|
ImVec2_c igImFloor_Vec2(const ImVec2_c v);
|
|
float igImTrunc64(float f);
|
|
float igImRound64(float f);
|
|
int igImModPositive(int a,int b);
|
|
float igImDot(const ImVec2_c a,const ImVec2_c b);
|
|
ImVec2_c igImRotate(const ImVec2_c v,float cos_a,float sin_a);
|
|
float igImLinearSweep(float current,float target,float speed);
|
|
float igImLinearRemapClamp(float s0,float s1,float d0,float d1,float x);
|
|
ImVec2_c igImMul(const ImVec2_c lhs,const ImVec2_c rhs);
|
|
_Bool igImIsFloatAboveGuaranteedIntegerPrecision(float f);
|
|
float igImExponentialMovingAverage(float avg,float sample,int n);
|
|
ImVec2_c igImBezierCubicCalc(const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,float t);
|
|
ImVec2_c igImBezierCubicClosestPoint(const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,const ImVec2_c p,int num_segments);
|
|
ImVec2_c igImBezierCubicClosestPointCasteljau(const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,const ImVec2_c p,float tess_tol);
|
|
ImVec2_c igImBezierQuadraticCalc(const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,float t);
|
|
ImVec2_c igImLineClosestPoint(const ImVec2_c a,const ImVec2_c b,const ImVec2_c p);
|
|
_Bool igImTriangleContainsPoint(const ImVec2_c a,const ImVec2_c b,const ImVec2_c c,const ImVec2_c p);
|
|
ImVec2_c igImTriangleClosestPoint(const ImVec2_c a,const ImVec2_c b,const ImVec2_c c,const ImVec2_c p);
|
|
void igImTriangleBarycentricCoords(const ImVec2_c a,const ImVec2_c b,const ImVec2_c c,const ImVec2_c p,float* out_u,float* out_v,float* out_w);
|
|
float igImTriangleArea(const ImVec2_c a,const ImVec2_c b,const ImVec2_c c);
|
|
_Bool igImTriangleIsClockwise(const ImVec2_c a,const ImVec2_c b,const ImVec2_c c);
|
|
ImVec1* ImVec1_ImVec1_Nil(void);
|
|
void ImVec1_destroy(ImVec1* self);
|
|
ImVec1* ImVec1_ImVec1_Float(float _x);
|
|
ImVec2i* ImVec2i_ImVec2i_Nil(void);
|
|
void ImVec2i_destroy(ImVec2i* self);
|
|
ImVec2i* ImVec2i_ImVec2i_Int(int _x,int _y);
|
|
ImVec2ih* ImVec2ih_ImVec2ih_Nil(void);
|
|
void ImVec2ih_destroy(ImVec2ih* self);
|
|
ImVec2ih* ImVec2ih_ImVec2ih_short(short _x,short _y);
|
|
ImVec2ih* ImVec2ih_ImVec2ih_Vec2(const ImVec2_c rhs);
|
|
ImRect* ImRect_ImRect_Nil(void);
|
|
void ImRect_destroy(ImRect* self);
|
|
ImRect* ImRect_ImRect_Vec2(const ImVec2_c min,const ImVec2_c max);
|
|
ImRect* ImRect_ImRect_Vec4(const ImVec4_c v);
|
|
ImRect* ImRect_ImRect_Float(float x1,float y1,float x2,float y2);
|
|
ImVec2_c ImRect_GetCenter(ImRect* self);
|
|
ImVec2_c ImRect_GetSize(ImRect* self);
|
|
float ImRect_GetWidth(ImRect* self);
|
|
float ImRect_GetHeight(ImRect* self);
|
|
float ImRect_GetArea(ImRect* self);
|
|
ImVec2_c ImRect_GetTL(ImRect* self);
|
|
ImVec2_c ImRect_GetTR(ImRect* self);
|
|
ImVec2_c ImRect_GetBL(ImRect* self);
|
|
ImVec2_c ImRect_GetBR(ImRect* self);
|
|
_Bool ImRect_Contains_Vec2(ImRect* self,const ImVec2_c p);
|
|
_Bool ImRect_Contains_Rect(ImRect* self,const ImRect_c r);
|
|
_Bool ImRect_ContainsWithPad(ImRect* self,const ImVec2_c p,const ImVec2_c pad);
|
|
_Bool ImRect_Overlaps(ImRect* self,const ImRect_c r);
|
|
void ImRect_Add_Vec2(ImRect* self,const ImVec2_c p);
|
|
void ImRect_Add_Rect(ImRect* self,const ImRect_c r);
|
|
void ImRect_AddX(ImRect* self,float x);
|
|
void ImRect_AddY(ImRect* self,float y);
|
|
void ImRect_Expand_Float(ImRect* self,const float amount);
|
|
void ImRect_Expand_Vec2(ImRect* self,const ImVec2_c amount);
|
|
void ImRect_Translate(ImRect* self,const ImVec2_c d);
|
|
void ImRect_TranslateX(ImRect* self,float dx);
|
|
void ImRect_TranslateY(ImRect* self,float dy);
|
|
void ImRect_ClipWith(ImRect* self,const ImRect_c r);
|
|
void ImRect_ClipWithFull(ImRect* self,const ImRect_c r);
|
|
_Bool ImRect_IsInverted(ImRect* self);
|
|
ImVec4_c ImRect_ToVec4(ImRect* self);
|
|
const ImVec4_c* ImRect_AsVec4(ImRect* self);
|
|
size_t igImBitArrayGetStorageSizeInBytes(int bitcount);
|
|
void igImBitArrayClearAllBits(ImU32* arr,int bitcount);
|
|
_Bool igImBitArrayTestBit(const ImU32* arr,int n);
|
|
void igImBitArrayClearBit(ImU32* arr,int n);
|
|
void igImBitArraySetBit(ImU32* arr,int n);
|
|
void igImBitArraySetBitRange(ImU32* arr,int n,int n2);
|
|
void ImBitVector_Create(ImBitVector* self,int sz);
|
|
void ImBitVector_Clear(ImBitVector* self);
|
|
_Bool ImBitVector_TestBit(ImBitVector* self,int n);
|
|
void ImBitVector_SetBit(ImBitVector* self,int n);
|
|
void ImBitVector_ClearBit(ImBitVector* self,int n);
|
|
void ImGuiTextIndex_clear(ImGuiTextIndex* self);
|
|
int ImGuiTextIndex_size(ImGuiTextIndex* self);
|
|
const char* ImGuiTextIndex_get_line_begin(ImGuiTextIndex* self,const char* base,int n);
|
|
const char* ImGuiTextIndex_get_line_end(ImGuiTextIndex* self,const char* base,int n);
|
|
void ImGuiTextIndex_append(ImGuiTextIndex* self,const char* base,int old_size,int new_size);
|
|
ImGuiStoragePair* igImLowerBound(ImGuiStoragePair* in_begin,ImGuiStoragePair* in_end,ImGuiID key);
|
|
ImDrawListSharedData* ImDrawListSharedData_ImDrawListSharedData(void);
|
|
void ImDrawListSharedData_destroy(ImDrawListSharedData* self);
|
|
void ImDrawListSharedData_SetCircleTessellationMaxError(ImDrawListSharedData* self,float max_error);
|
|
ImDrawDataBuilder* ImDrawDataBuilder_ImDrawDataBuilder(void);
|
|
void ImDrawDataBuilder_destroy(ImDrawDataBuilder* self);
|
|
void* ImGuiStyleVarInfo_GetVarPtr(ImGuiStyleVarInfo* self,void* parent);
|
|
ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Int(ImGuiStyleVar idx,int v);
|
|
void ImGuiStyleMod_destroy(ImGuiStyleMod* self);
|
|
ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Float(ImGuiStyleVar idx,float v);
|
|
ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleMod_Vec2(ImGuiStyleVar idx,ImVec2_c v);
|
|
ImGuiComboPreviewData* ImGuiComboPreviewData_ImGuiComboPreviewData(void);
|
|
void ImGuiComboPreviewData_destroy(ImGuiComboPreviewData* self);
|
|
ImGuiMenuColumns* ImGuiMenuColumns_ImGuiMenuColumns(void);
|
|
void ImGuiMenuColumns_destroy(ImGuiMenuColumns* self);
|
|
void ImGuiMenuColumns_Update(ImGuiMenuColumns* self,float spacing, _Bool window_reappearing);
|
|
float ImGuiMenuColumns_DeclColumns(ImGuiMenuColumns* self,float w_icon,float w_label,float w_shortcut,float w_mark);
|
|
void ImGuiMenuColumns_CalcNextTotalWidth(ImGuiMenuColumns* self, _Bool update_offsets);
|
|
ImGuiInputTextDeactivatedState* ImGuiInputTextDeactivatedState_ImGuiInputTextDeactivatedState(void);
|
|
void ImGuiInputTextDeactivatedState_destroy(ImGuiInputTextDeactivatedState* self);
|
|
void ImGuiInputTextDeactivatedState_ClearFreeMemory(ImGuiInputTextDeactivatedState* self);
|
|
ImGuiInputTextState* ImGuiInputTextState_ImGuiInputTextState(void);
|
|
void ImGuiInputTextState_destroy(ImGuiInputTextState* self);
|
|
void ImGuiInputTextState_ClearText(ImGuiInputTextState* self);
|
|
void ImGuiInputTextState_ClearFreeMemory(ImGuiInputTextState* self);
|
|
void ImGuiInputTextState_OnKeyPressed(ImGuiInputTextState* self,int key);
|
|
void ImGuiInputTextState_OnCharPressed(ImGuiInputTextState* self,unsigned int c);
|
|
float ImGuiInputTextState_GetPreferredOffsetX(ImGuiInputTextState* self);
|
|
const char* ImGuiInputTextState_GetText(ImGuiInputTextState* self);
|
|
void ImGuiInputTextState_CursorAnimReset(ImGuiInputTextState* self);
|
|
void ImGuiInputTextState_CursorClamp(ImGuiInputTextState* self);
|
|
_Bool ImGuiInputTextState_HasSelection(ImGuiInputTextState* self);
|
|
void ImGuiInputTextState_ClearSelection(ImGuiInputTextState* self);
|
|
int ImGuiInputTextState_GetCursorPos(ImGuiInputTextState* self);
|
|
int ImGuiInputTextState_GetSelectionStart(ImGuiInputTextState* self);
|
|
int ImGuiInputTextState_GetSelectionEnd(ImGuiInputTextState* self);
|
|
void ImGuiInputTextState_SetSelection(ImGuiInputTextState* self,int start,int end);
|
|
void ImGuiInputTextState_SelectAll(ImGuiInputTextState* self);
|
|
void ImGuiInputTextState_ReloadUserBufAndSelectAll(ImGuiInputTextState* self);
|
|
void ImGuiInputTextState_ReloadUserBufAndKeepSelection(ImGuiInputTextState* self);
|
|
void ImGuiInputTextState_ReloadUserBufAndMoveToEnd(ImGuiInputTextState* self);
|
|
ImGuiNextWindowData* ImGuiNextWindowData_ImGuiNextWindowData(void);
|
|
void ImGuiNextWindowData_destroy(ImGuiNextWindowData* self);
|
|
void ImGuiNextWindowData_ClearFlags(ImGuiNextWindowData* self);
|
|
ImGuiNextItemData* ImGuiNextItemData_ImGuiNextItemData(void);
|
|
void ImGuiNextItemData_destroy(ImGuiNextItemData* self);
|
|
void ImGuiNextItemData_ClearFlags(ImGuiNextItemData* self);
|
|
ImGuiLastItemData* ImGuiLastItemData_ImGuiLastItemData(void);
|
|
void ImGuiLastItemData_destroy(ImGuiLastItemData* self);
|
|
ImGuiErrorRecoveryState* ImGuiErrorRecoveryState_ImGuiErrorRecoveryState(void);
|
|
void ImGuiErrorRecoveryState_destroy(ImGuiErrorRecoveryState* self);
|
|
ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(void* ptr);
|
|
void ImGuiPtrOrIndex_destroy(ImGuiPtrOrIndex* self);
|
|
ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int(int index);
|
|
ImGuiPopupData* ImGuiPopupData_ImGuiPopupData(void);
|
|
void ImGuiPopupData_destroy(ImGuiPopupData* self);
|
|
ImGuiInputEvent* ImGuiInputEvent_ImGuiInputEvent(void);
|
|
void ImGuiInputEvent_destroy(ImGuiInputEvent* self);
|
|
ImGuiKeyRoutingData* ImGuiKeyRoutingData_ImGuiKeyRoutingData(void);
|
|
void ImGuiKeyRoutingData_destroy(ImGuiKeyRoutingData* self);
|
|
ImGuiKeyRoutingTable* ImGuiKeyRoutingTable_ImGuiKeyRoutingTable(void);
|
|
void ImGuiKeyRoutingTable_destroy(ImGuiKeyRoutingTable* self);
|
|
void ImGuiKeyRoutingTable_Clear(ImGuiKeyRoutingTable* self);
|
|
ImGuiKeyOwnerData* ImGuiKeyOwnerData_ImGuiKeyOwnerData(void);
|
|
void ImGuiKeyOwnerData_destroy(ImGuiKeyOwnerData* self);
|
|
ImGuiListClipperRange ImGuiListClipperRange_FromIndices(int min,int max);
|
|
ImGuiListClipperRange ImGuiListClipperRange_FromPositions(float y1,float y2,int off_min,int off_max);
|
|
ImGuiListClipperData* ImGuiListClipperData_ImGuiListClipperData(void);
|
|
void ImGuiListClipperData_destroy(ImGuiListClipperData* self);
|
|
void ImGuiListClipperData_Reset(ImGuiListClipperData* self,ImGuiListClipper* clipper);
|
|
ImGuiNavItemData* ImGuiNavItemData_ImGuiNavItemData(void);
|
|
void ImGuiNavItemData_destroy(ImGuiNavItemData* self);
|
|
void ImGuiNavItemData_Clear(ImGuiNavItemData* self);
|
|
ImGuiTypingSelectState* ImGuiTypingSelectState_ImGuiTypingSelectState(void);
|
|
void ImGuiTypingSelectState_destroy(ImGuiTypingSelectState* self);
|
|
void ImGuiTypingSelectState_Clear(ImGuiTypingSelectState* self);
|
|
ImGuiOldColumnData* ImGuiOldColumnData_ImGuiOldColumnData(void);
|
|
void ImGuiOldColumnData_destroy(ImGuiOldColumnData* self);
|
|
ImGuiOldColumns* ImGuiOldColumns_ImGuiOldColumns(void);
|
|
void ImGuiOldColumns_destroy(ImGuiOldColumns* self);
|
|
ImGuiBoxSelectState* ImGuiBoxSelectState_ImGuiBoxSelectState(void);
|
|
void ImGuiBoxSelectState_destroy(ImGuiBoxSelectState* self);
|
|
ImGuiMultiSelectTempData* ImGuiMultiSelectTempData_ImGuiMultiSelectTempData(void);
|
|
void ImGuiMultiSelectTempData_destroy(ImGuiMultiSelectTempData* self);
|
|
void ImGuiMultiSelectTempData_Clear(ImGuiMultiSelectTempData* self);
|
|
void ImGuiMultiSelectTempData_ClearIO(ImGuiMultiSelectTempData* self);
|
|
ImGuiMultiSelectState* ImGuiMultiSelectState_ImGuiMultiSelectState(void);
|
|
void ImGuiMultiSelectState_destroy(ImGuiMultiSelectState* self);
|
|
ImGuiDockNode* ImGuiDockNode_ImGuiDockNode(ImGuiID id);
|
|
void ImGuiDockNode_destroy(ImGuiDockNode* self);
|
|
_Bool ImGuiDockNode_IsRootNode(ImGuiDockNode* self);
|
|
_Bool ImGuiDockNode_IsDockSpace(ImGuiDockNode* self);
|
|
_Bool ImGuiDockNode_IsFloatingNode(ImGuiDockNode* self);
|
|
_Bool ImGuiDockNode_IsCentralNode(ImGuiDockNode* self);
|
|
_Bool ImGuiDockNode_IsHiddenTabBar(ImGuiDockNode* self);
|
|
_Bool ImGuiDockNode_IsNoTabBar(ImGuiDockNode* self);
|
|
_Bool ImGuiDockNode_IsSplitNode(ImGuiDockNode* self);
|
|
_Bool ImGuiDockNode_IsLeafNode(ImGuiDockNode* self);
|
|
_Bool ImGuiDockNode_IsEmpty(ImGuiDockNode* self);
|
|
ImRect_c ImGuiDockNode_Rect(ImGuiDockNode* self);
|
|
void ImGuiDockNode_SetLocalFlags(ImGuiDockNode* self,ImGuiDockNodeFlags flags);
|
|
void ImGuiDockNode_UpdateMergedFlags(ImGuiDockNode* self);
|
|
ImGuiDockContext* ImGuiDockContext_ImGuiDockContext(void);
|
|
void ImGuiDockContext_destroy(ImGuiDockContext* self);
|
|
ImGuiViewportP* ImGuiViewportP_ImGuiViewportP(void);
|
|
void ImGuiViewportP_destroy(ImGuiViewportP* self);
|
|
void ImGuiViewportP_ClearRequestFlags(ImGuiViewportP* self);
|
|
ImVec2_c ImGuiViewportP_CalcWorkRectPos(ImGuiViewportP* self,const ImVec2_c inset_min);
|
|
ImVec2_c ImGuiViewportP_CalcWorkRectSize(ImGuiViewportP* self,const ImVec2_c inset_min,const ImVec2_c inset_max);
|
|
void ImGuiViewportP_UpdateWorkRect(ImGuiViewportP* self);
|
|
ImRect_c ImGuiViewportP_GetMainRect(ImGuiViewportP* self);
|
|
ImRect_c ImGuiViewportP_GetWorkRect(ImGuiViewportP* self);
|
|
ImRect_c ImGuiViewportP_GetBuildWorkRect(ImGuiViewportP* self);
|
|
ImGuiWindowSettings* ImGuiWindowSettings_ImGuiWindowSettings(void);
|
|
void ImGuiWindowSettings_destroy(ImGuiWindowSettings* self);
|
|
char* ImGuiWindowSettings_GetName(ImGuiWindowSettings* self);
|
|
ImGuiSettingsHandler* ImGuiSettingsHandler_ImGuiSettingsHandler(void);
|
|
void ImGuiSettingsHandler_destroy(ImGuiSettingsHandler* self);
|
|
ImGuiDebugAllocInfo* ImGuiDebugAllocInfo_ImGuiDebugAllocInfo(void);
|
|
void ImGuiDebugAllocInfo_destroy(ImGuiDebugAllocInfo* self);
|
|
ImGuiStackLevelInfo* ImGuiStackLevelInfo_ImGuiStackLevelInfo(void);
|
|
void ImGuiStackLevelInfo_destroy(ImGuiStackLevelInfo* self);
|
|
ImGuiDebugItemPathQuery* ImGuiDebugItemPathQuery_ImGuiDebugItemPathQuery(void);
|
|
void ImGuiDebugItemPathQuery_destroy(ImGuiDebugItemPathQuery* self);
|
|
ImGuiIDStackTool* ImGuiIDStackTool_ImGuiIDStackTool(void);
|
|
void ImGuiIDStackTool_destroy(ImGuiIDStackTool* self);
|
|
ImGuiContextHook* ImGuiContextHook_ImGuiContextHook(void);
|
|
void ImGuiContextHook_destroy(ImGuiContextHook* self);
|
|
ImGuiContext* ImGuiContext_ImGuiContext(ImFontAtlas* shared_font_atlas);
|
|
void ImGuiContext_destroy(ImGuiContext* self);
|
|
ImGuiWindow* ImGuiWindow_ImGuiWindow(ImGuiContext* context,const char* name);
|
|
void ImGuiWindow_destroy(ImGuiWindow* self);
|
|
ImGuiID ImGuiWindow_GetID_Str(ImGuiWindow* self,const char* str,const char* str_end);
|
|
ImGuiID ImGuiWindow_GetID_Ptr(ImGuiWindow* self,const void* ptr);
|
|
ImGuiID ImGuiWindow_GetID_Int(ImGuiWindow* self,int n);
|
|
ImGuiID ImGuiWindow_GetIDFromPos(ImGuiWindow* self,const ImVec2_c p_abs);
|
|
ImGuiID ImGuiWindow_GetIDFromRectangle(ImGuiWindow* self,const ImRect_c r_abs);
|
|
ImRect_c ImGuiWindow_Rect(ImGuiWindow* self);
|
|
ImRect_c ImGuiWindow_TitleBarRect(ImGuiWindow* self);
|
|
ImRect_c ImGuiWindow_MenuBarRect(ImGuiWindow* self);
|
|
ImGuiTabItem* ImGuiTabItem_ImGuiTabItem(void);
|
|
void ImGuiTabItem_destroy(ImGuiTabItem* self);
|
|
ImGuiTabBar* ImGuiTabBar_ImGuiTabBar(void);
|
|
void ImGuiTabBar_destroy(ImGuiTabBar* self);
|
|
ImGuiTableColumn* ImGuiTableColumn_ImGuiTableColumn(void);
|
|
void ImGuiTableColumn_destroy(ImGuiTableColumn* self);
|
|
ImGuiTableInstanceData* ImGuiTableInstanceData_ImGuiTableInstanceData(void);
|
|
void ImGuiTableInstanceData_destroy(ImGuiTableInstanceData* self);
|
|
ImGuiTable* ImGuiTable_ImGuiTable(void);
|
|
void ImGuiTable_destroy(ImGuiTable* self);
|
|
ImGuiTableTempData* ImGuiTableTempData_ImGuiTableTempData(void);
|
|
void ImGuiTableTempData_destroy(ImGuiTableTempData* self);
|
|
ImGuiTableColumnSettings* ImGuiTableColumnSettings_ImGuiTableColumnSettings(void);
|
|
void ImGuiTableColumnSettings_destroy(ImGuiTableColumnSettings* self);
|
|
ImGuiTableSettings* ImGuiTableSettings_ImGuiTableSettings(void);
|
|
void ImGuiTableSettings_destroy(ImGuiTableSettings* self);
|
|
ImGuiTableColumnSettings* ImGuiTableSettings_GetColumnSettings(ImGuiTableSettings* self);
|
|
ImGuiIO* igGetIO_ContextPtr(ImGuiContext* ctx);
|
|
ImGuiPlatformIO* igGetPlatformIO_ContextPtr(ImGuiContext* ctx);
|
|
float igGetScale(void);
|
|
ImGuiWindow* igGetCurrentWindowRead(void);
|
|
ImGuiWindow* igGetCurrentWindow(void);
|
|
ImGuiWindow* igFindWindowByID(ImGuiID id);
|
|
ImGuiWindow* igFindWindowByName(const char* name);
|
|
void igUpdateWindowParentAndRootLinks(ImGuiWindow* window,ImGuiWindowFlags flags,ImGuiWindow* parent_window);
|
|
void igUpdateWindowSkipRefresh(ImGuiWindow* window);
|
|
ImVec2_c igCalcWindowNextAutoFitSize(ImGuiWindow* window);
|
|
_Bool igIsWindowChildOf(ImGuiWindow* window,ImGuiWindow* potential_parent, _Bool popup_hierarchy, _Bool dock_hierarchy);
|
|
_Bool igIsWindowInBeginStack(ImGuiWindow* window);
|
|
_Bool igIsWindowWithinBeginStackOf(ImGuiWindow* window,ImGuiWindow* potential_parent);
|
|
_Bool igIsWindowAbove(ImGuiWindow* potential_above,ImGuiWindow* potential_below);
|
|
_Bool igIsWindowNavFocusable(ImGuiWindow* window);
|
|
void igSetWindowPos_WindowPtr(ImGuiWindow* window,const ImVec2_c pos,ImGuiCond cond);
|
|
void igSetWindowSize_WindowPtr(ImGuiWindow* window,const ImVec2_c size,ImGuiCond cond);
|
|
void igSetWindowCollapsed_WindowPtr(ImGuiWindow* window, _Bool collapsed,ImGuiCond cond);
|
|
void igSetWindowHitTestHole(ImGuiWindow* window,const ImVec2_c pos,const ImVec2_c size);
|
|
void igSetWindowHiddenAndSkipItemsForCurrentFrame(ImGuiWindow* window);
|
|
void igSetWindowParentWindowForFocusRoute(ImGuiWindow* window,ImGuiWindow* parent_window);
|
|
ImRect_c igWindowRectAbsToRel(ImGuiWindow* window,const ImRect_c r);
|
|
ImRect_c igWindowRectRelToAbs(ImGuiWindow* window,const ImRect_c r);
|
|
ImVec2_c igWindowPosAbsToRel(ImGuiWindow* window,const ImVec2_c p);
|
|
ImVec2_c igWindowPosRelToAbs(ImGuiWindow* window,const ImVec2_c p);
|
|
void igFocusWindow(ImGuiWindow* window,ImGuiFocusRequestFlags flags);
|
|
void igFocusTopMostWindowUnderOne(ImGuiWindow* under_this_window,ImGuiWindow* ignore_window,ImGuiViewport* filter_viewport,ImGuiFocusRequestFlags flags);
|
|
void igBringWindowToFocusFront(ImGuiWindow* window);
|
|
void igBringWindowToDisplayFront(ImGuiWindow* window);
|
|
void igBringWindowToDisplayBack(ImGuiWindow* window);
|
|
void igBringWindowToDisplayBehind(ImGuiWindow* window,ImGuiWindow* above_window);
|
|
int igFindWindowDisplayIndex(ImGuiWindow* window);
|
|
ImGuiWindow* igFindBottomMostVisibleWindowWithinBeginStack(ImGuiWindow* window);
|
|
void igSetNextWindowRefreshPolicy(ImGuiWindowRefreshFlags flags);
|
|
void igRegisterUserTexture(ImTextureData* tex);
|
|
void igUnregisterUserTexture(ImTextureData* tex);
|
|
void igRegisterFontAtlas(ImFontAtlas* atlas);
|
|
void igUnregisterFontAtlas(ImFontAtlas* atlas);
|
|
void igSetCurrentFont(ImFont* font,float font_size_before_scaling,float font_size_after_scaling);
|
|
void igUpdateCurrentFontSize(float restore_font_size_after_scaling);
|
|
void igSetFontRasterizerDensity(float rasterizer_density);
|
|
float igGetFontRasterizerDensity(void);
|
|
float igGetRoundedFontSize(float size);
|
|
ImFont* igGetDefaultFont(void);
|
|
void igPushPasswordFont(void);
|
|
void igPopPasswordFont(void);
|
|
ImDrawList* igGetForegroundDrawList_WindowPtr(ImGuiWindow* window);
|
|
void igAddDrawListToDrawDataEx(ImDrawData* draw_data,ImVector_ImDrawListPtr* out_list,ImDrawList* draw_list);
|
|
void igInitialize(void);
|
|
void igShutdown(void);
|
|
void igSetContextName(ImGuiContext* ctx,const char* name);
|
|
ImGuiID igAddContextHook(ImGuiContext* ctx,const ImGuiContextHook* hook);
|
|
void igRemoveContextHook(ImGuiContext* ctx,ImGuiID hook_to_remove);
|
|
void igCallContextHooks(ImGuiContext* ctx,ImGuiContextHookType type);
|
|
void igUpdateInputEvents( _Bool trickle_fast_inputs);
|
|
void igUpdateHoveredWindowAndCaptureFlags(const ImVec2_c mouse_pos);
|
|
void igFindHoveredWindowEx(const ImVec2_c pos, _Bool find_first_and_in_any_viewport,ImGuiWindow** out_hovered_window,ImGuiWindow** out_hovered_window_under_moving_window);
|
|
void igStartMouseMovingWindow(ImGuiWindow* window);
|
|
void igStartMouseMovingWindowOrNode(ImGuiWindow* window,ImGuiDockNode* node, _Bool undock);
|
|
void igStopMouseMovingWindow(void);
|
|
void igUpdateMouseMovingWindowNewFrame(void);
|
|
void igUpdateMouseMovingWindowEndFrame(void);
|
|
void igTranslateWindowsInViewport(ImGuiViewportP* viewport,const ImVec2_c old_pos,const ImVec2_c new_pos,const ImVec2_c old_size,const ImVec2_c new_size);
|
|
void igScaleWindowsInViewport(ImGuiViewportP* viewport,float scale);
|
|
void igDestroyPlatformWindow(ImGuiViewportP* viewport);
|
|
void igSetWindowViewport(ImGuiWindow* window,ImGuiViewportP* viewport);
|
|
void igSetCurrentViewport(ImGuiWindow* window,ImGuiViewportP* viewport);
|
|
const ImGuiPlatformMonitor* igGetViewportPlatformMonitor(ImGuiViewport* viewport);
|
|
ImGuiViewportP* igFindHoveredViewportFromPlatformWindowStack(const ImVec2_c mouse_platform_pos);
|
|
void igMarkIniSettingsDirty_Nil(void);
|
|
void igMarkIniSettingsDirty_WindowPtr(ImGuiWindow* window);
|
|
void igClearIniSettings(void);
|
|
void igAddSettingsHandler(const ImGuiSettingsHandler* handler);
|
|
void igRemoveSettingsHandler(const char* type_name);
|
|
ImGuiSettingsHandler* igFindSettingsHandler(const char* type_name);
|
|
ImGuiWindowSettings* igCreateNewWindowSettings(const char* name);
|
|
ImGuiWindowSettings* igFindWindowSettingsByID(ImGuiID id);
|
|
ImGuiWindowSettings* igFindWindowSettingsByWindow(ImGuiWindow* window);
|
|
void igClearWindowSettings(const char* name);
|
|
void igLocalizeRegisterEntries(const ImGuiLocEntry* entries,int count);
|
|
const char* igLocalizeGetMsg(ImGuiLocKey key);
|
|
void igSetScrollX_WindowPtr(ImGuiWindow* window,float scroll_x);
|
|
void igSetScrollY_WindowPtr(ImGuiWindow* window,float scroll_y);
|
|
void igSetScrollFromPosX_WindowPtr(ImGuiWindow* window,float local_x,float center_x_ratio);
|
|
void igSetScrollFromPosY_WindowPtr(ImGuiWindow* window,float local_y,float center_y_ratio);
|
|
void igScrollToItem(ImGuiScrollFlags flags);
|
|
void igScrollToRect(ImGuiWindow* window,const ImRect_c rect,ImGuiScrollFlags flags);
|
|
ImVec2_c igScrollToRectEx(ImGuiWindow* window,const ImRect_c rect,ImGuiScrollFlags flags);
|
|
void igScrollToBringRectIntoView(ImGuiWindow* window,const ImRect_c rect);
|
|
ImGuiItemStatusFlags igGetItemStatusFlags(void);
|
|
ImGuiID igGetActiveID(void);
|
|
ImGuiID igGetFocusID(void);
|
|
void igSetActiveID(ImGuiID id,ImGuiWindow* window);
|
|
void igSetFocusID(ImGuiID id,ImGuiWindow* window);
|
|
void igClearActiveID(void);
|
|
ImGuiID igGetHoveredID(void);
|
|
void igSetHoveredID(ImGuiID id);
|
|
void igKeepAliveID(ImGuiID id);
|
|
void igMarkItemEdited(ImGuiID id);
|
|
void igPushOverrideID(ImGuiID id);
|
|
ImGuiID igGetIDWithSeed_Str(const char* str_id_begin,const char* str_id_end,ImGuiID seed);
|
|
ImGuiID igGetIDWithSeed_Int(int n,ImGuiID seed);
|
|
void igItemSize_Vec2(const ImVec2_c size,float text_baseline_y);
|
|
void igItemSize_Rect(const ImRect_c bb,float text_baseline_y);
|
|
_Bool igItemAdd(const ImRect_c bb,ImGuiID id,const ImRect* nav_bb,ImGuiItemFlags extra_flags);
|
|
_Bool igItemHoverable(const ImRect_c bb,ImGuiID id,ImGuiItemFlags item_flags);
|
|
_Bool igIsWindowContentHoverable(ImGuiWindow* window,ImGuiHoveredFlags flags);
|
|
_Bool igIsClippedEx(const ImRect_c bb,ImGuiID id);
|
|
void igSetLastItemData(ImGuiID item_id,ImGuiItemFlags item_flags,ImGuiItemStatusFlags status_flags,const ImRect_c item_rect);
|
|
ImVec2_c igCalcItemSize(ImVec2_c size,float default_w,float default_h);
|
|
float igCalcWrapWidthForPos(const ImVec2_c pos,float wrap_pos_x);
|
|
void igPushMultiItemsWidths(int components,float width_full);
|
|
void igShrinkWidths(ImGuiShrinkWidthItem* items,int count,float width_excess,float width_min);
|
|
void igCalcClipRectVisibleItemsY(const ImRect_c clip_rect,const ImVec2_c pos,float items_height,int* out_visible_start,int* out_visible_end);
|
|
const ImGuiStyleVarInfo* igGetStyleVarInfo(ImGuiStyleVar idx);
|
|
void igBeginDisabledOverrideReenable(void);
|
|
void igEndDisabledOverrideReenable(void);
|
|
void igLogBegin(ImGuiLogFlags flags,int auto_open_depth);
|
|
void igLogToBuffer(int auto_open_depth);
|
|
void igLogRenderedText(const ImVec2_c* ref_pos,const char* text,const char* text_end);
|
|
void igLogSetNextTextDecoration(const char* prefix,const char* suffix);
|
|
_Bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2_c size_arg,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags);
|
|
ImGuiWindow* igFindFrontMostVisibleChildWindow(ImGuiWindow* window);
|
|
_Bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_window_flags);
|
|
_Bool igBeginPopupMenuEx(ImGuiID id,const char* label,ImGuiWindowFlags extra_window_flags);
|
|
void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags);
|
|
void igClosePopupToLevel(int remaining, _Bool restore_focus_to_window_under_popup);
|
|
void igClosePopupsOverWindow(ImGuiWindow* ref_window, _Bool restore_focus_to_window_under_popup);
|
|
void igClosePopupsExceptModals(void);
|
|
_Bool igIsPopupOpen_ID(ImGuiID id,ImGuiPopupFlags popup_flags);
|
|
ImRect_c igGetPopupAllowedExtentRect(ImGuiWindow* window);
|
|
ImGuiWindow* igGetTopMostPopupModal(void);
|
|
ImGuiWindow* igGetTopMostAndVisiblePopupModal(void);
|
|
ImGuiWindow* igFindBlockingModal(ImGuiWindow* window);
|
|
ImVec2_c igFindBestWindowPosForPopup(ImGuiWindow* window);
|
|
ImVec2_c igFindBestWindowPosForPopupEx(const ImVec2_c ref_pos,const ImVec2_c size,ImGuiDir* last_dir,const ImRect_c r_outer,const ImRect_c r_avoid,ImGuiPopupPositionPolicy policy);
|
|
ImGuiMouseButton igGetMouseButtonFromPopupFlags(ImGuiPopupFlags flags);
|
|
_Bool igIsPopupOpenRequestForItem(ImGuiPopupFlags flags,ImGuiID id);
|
|
_Bool igIsPopupOpenRequestForWindow(ImGuiPopupFlags flags);
|
|
_Bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags);
|
|
_Bool igBeginTooltipHidden(void);
|
|
_Bool igBeginViewportSideBar(const char* name,ImGuiViewport* viewport,ImGuiDir dir,float size,ImGuiWindowFlags window_flags);
|
|
_Bool igBeginMenuEx(const char* label,const char* icon, _Bool enabled);
|
|
_Bool igMenuItemEx(const char* label,const char* icon,const char* shortcut, _Bool selected, _Bool enabled);
|
|
_Bool igBeginComboPopup(ImGuiID popup_id,const ImRect_c bb,ImGuiComboFlags flags);
|
|
_Bool igBeginComboPreview(void);
|
|
void igEndComboPreview(void);
|
|
void igNavInitWindow(ImGuiWindow* window, _Bool force_reinit);
|
|
void igNavInitRequestApplyResult(void);
|
|
_Bool igNavMoveRequestButNoResultYet(void);
|
|
void igNavMoveRequestSubmit(ImGuiDir move_dir,ImGuiDir clip_dir,ImGuiNavMoveFlags move_flags,ImGuiScrollFlags scroll_flags);
|
|
void igNavMoveRequestForward(ImGuiDir move_dir,ImGuiDir clip_dir,ImGuiNavMoveFlags move_flags,ImGuiScrollFlags scroll_flags);
|
|
void igNavMoveRequestResolveWithLastItem(ImGuiNavItemData* result);
|
|
void igNavMoveRequestResolveWithPastTreeNode(ImGuiNavItemData* result,const ImGuiTreeNodeStackData* tree_node_data);
|
|
void igNavMoveRequestCancel(void);
|
|
void igNavMoveRequestApplyResult(void);
|
|
void igNavMoveRequestTryWrapping(ImGuiWindow* window,ImGuiNavMoveFlags move_flags);
|
|
void igNavHighlightActivated(ImGuiID id);
|
|
void igNavClearPreferredPosForAxis(ImGuiAxis axis);
|
|
void igSetNavCursorVisibleAfterMove(void);
|
|
void igNavUpdateCurrentWindowIsScrollPushableX(void);
|
|
void igSetNavWindow(ImGuiWindow* window);
|
|
void igSetNavID(ImGuiID id,ImGuiNavLayer nav_layer,ImGuiID focus_scope_id,const ImRect_c rect_rel);
|
|
void igSetNavFocusScope(ImGuiID focus_scope_id);
|
|
void igFocusItem(void);
|
|
void igActivateItemByID(ImGuiID id);
|
|
_Bool igIsNamedKey(ImGuiKey key);
|
|
_Bool igIsNamedKeyOrMod(ImGuiKey key);
|
|
_Bool igIsLegacyKey(ImGuiKey key);
|
|
_Bool igIsKeyboardKey(ImGuiKey key);
|
|
_Bool igIsGamepadKey(ImGuiKey key);
|
|
_Bool igIsMouseKey(ImGuiKey key);
|
|
_Bool igIsAliasKey(ImGuiKey key);
|
|
_Bool igIsLRModKey(ImGuiKey key);
|
|
ImGuiKeyChord igFixupKeyChord(ImGuiKeyChord key_chord);
|
|
ImGuiKey igConvertSingleModFlagToKey(ImGuiKey key);
|
|
ImGuiKeyData* igGetKeyData_ContextPtr(ImGuiContext* ctx,ImGuiKey key);
|
|
ImGuiKeyData* igGetKeyData_Key(ImGuiKey key);
|
|
const char* igGetKeyChordName(ImGuiKeyChord key_chord);
|
|
ImGuiKey igMouseButtonToKey(ImGuiMouseButton button);
|
|
_Bool igIsMouseDragPastThreshold(ImGuiMouseButton button,float lock_threshold);
|
|
ImVec2_c igGetKeyMagnitude2d(ImGuiKey key_left,ImGuiKey key_right,ImGuiKey key_up,ImGuiKey key_down);
|
|
float igGetNavTweakPressedAmount(ImGuiAxis axis);
|
|
int igCalcTypematicRepeatAmount(float t0,float t1,float repeat_delay,float repeat_rate);
|
|
void igGetTypematicRepeatRate(ImGuiInputFlags flags,float* repeat_delay,float* repeat_rate);
|
|
void igTeleportMousePos(const ImVec2_c pos);
|
|
void igSetActiveIdUsingAllKeyboardKeys(void);
|
|
_Bool igIsActiveIdUsingNavDir(ImGuiDir dir);
|
|
ImGuiID igGetKeyOwner(ImGuiKey key);
|
|
void igSetKeyOwner(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags);
|
|
void igSetKeyOwnersForKeyChord(ImGuiKeyChord key,ImGuiID owner_id,ImGuiInputFlags flags);
|
|
_Bool igSetItemKeyOwner_InputFlags(ImGuiKey key,ImGuiInputFlags flags);
|
|
_Bool igTestKeyOwner(ImGuiKey key,ImGuiID owner_id);
|
|
ImGuiKeyOwnerData* igGetKeyOwnerData(ImGuiContext* ctx,ImGuiKey key);
|
|
_Bool igIsKeyDown_ID(ImGuiKey key,ImGuiID owner_id);
|
|
_Bool igIsKeyPressed_InputFlags(ImGuiKey key,ImGuiInputFlags flags,ImGuiID owner_id);
|
|
_Bool igIsKeyReleased_ID(ImGuiKey key,ImGuiID owner_id);
|
|
_Bool igIsKeyChordPressed_InputFlags(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id);
|
|
_Bool igIsMouseDown_ID(ImGuiMouseButton button,ImGuiID owner_id);
|
|
_Bool igIsMouseClicked_InputFlags(ImGuiMouseButton button,ImGuiInputFlags flags,ImGuiID owner_id);
|
|
_Bool igIsMouseReleased_ID(ImGuiMouseButton button,ImGuiID owner_id);
|
|
_Bool igIsMouseDoubleClicked_ID(ImGuiMouseButton button,ImGuiID owner_id);
|
|
_Bool igShortcut_ID(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id);
|
|
_Bool igSetShortcutRouting(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id);
|
|
_Bool igTestShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id);
|
|
ImGuiKeyRoutingData* igGetShortcutRoutingData(ImGuiKeyChord key_chord);
|
|
void igDockContextInitialize(ImGuiContext* ctx);
|
|
void igDockContextShutdown(ImGuiContext* ctx);
|
|
void igDockContextClearNodes(ImGuiContext* ctx,ImGuiID root_id, _Bool clear_settings_refs);
|
|
void igDockContextRebuildNodes(ImGuiContext* ctx);
|
|
void igDockContextNewFrameUpdateUndocking(ImGuiContext* ctx);
|
|
void igDockContextNewFrameUpdateDocking(ImGuiContext* ctx);
|
|
void igDockContextEndFrame(ImGuiContext* ctx);
|
|
ImGuiID igDockContextGenNodeID(ImGuiContext* ctx);
|
|
void igDockContextQueueDock(ImGuiContext* ctx,ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,float split_ratio, _Bool split_outer);
|
|
void igDockContextQueueUndockWindow(ImGuiContext* ctx,ImGuiWindow* window);
|
|
void igDockContextQueueUndockNode(ImGuiContext* ctx,ImGuiDockNode* node);
|
|
void igDockContextProcessUndockWindow(ImGuiContext* ctx,ImGuiWindow* window, _Bool clear_persistent_docking_ref);
|
|
void igDockContextProcessUndockNode(ImGuiContext* ctx,ImGuiDockNode* node);
|
|
_Bool igDockContextCalcDropPosForDocking(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir, _Bool split_outer,ImVec2_c* out_pos);
|
|
ImGuiDockNode* igDockContextFindNodeByID(ImGuiContext* ctx,ImGuiID id);
|
|
void igDockNodeWindowMenuHandler_Default(ImGuiContext* ctx,ImGuiDockNode* node,ImGuiTabBar* tab_bar);
|
|
_Bool igDockNodeBeginAmendTabBar(ImGuiDockNode* node);
|
|
void igDockNodeEndAmendTabBar(void);
|
|
ImGuiDockNode* igDockNodeGetRootNode(ImGuiDockNode* node);
|
|
_Bool igDockNodeIsInHierarchyOf(ImGuiDockNode* node,ImGuiDockNode* parent);
|
|
int igDockNodeGetDepth(const ImGuiDockNode* node);
|
|
ImGuiID igDockNodeGetWindowMenuButtonId(const ImGuiDockNode* node);
|
|
ImGuiDockNode* igGetWindowDockNode(void);
|
|
_Bool igGetWindowAlwaysWantOwnTabBar(ImGuiWindow* window);
|
|
void igBeginDocked(ImGuiWindow* window, _Bool * p_open);
|
|
void igBeginDockableDragDropSource(ImGuiWindow* window);
|
|
void igBeginDockableDragDropTarget(ImGuiWindow* window);
|
|
void igSetWindowDock(ImGuiWindow* window,ImGuiID dock_id,ImGuiCond cond);
|
|
void igDockBuilderDockWindow(const char* window_name,ImGuiID node_id);
|
|
ImGuiDockNode* igDockBuilderGetNode(ImGuiID node_id);
|
|
ImGuiDockNode* igDockBuilderGetCentralNode(ImGuiID node_id);
|
|
ImGuiID igDockBuilderAddNode(ImGuiID node_id,ImGuiDockNodeFlags flags);
|
|
void igDockBuilderRemoveNode(ImGuiID node_id);
|
|
void igDockBuilderRemoveNodeDockedWindows(ImGuiID node_id, _Bool clear_settings_refs);
|
|
void igDockBuilderRemoveNodeChildNodes(ImGuiID node_id);
|
|
void igDockBuilderSetNodePos(ImGuiID node_id,ImVec2_c pos);
|
|
void igDockBuilderSetNodeSize(ImGuiID node_id,ImVec2_c size);
|
|
ImGuiID igDockBuilderSplitNode(ImGuiID node_id,ImGuiDir split_dir,float size_ratio_for_node_at_dir,ImGuiID* out_id_at_dir,ImGuiID* out_id_at_opposite_dir);
|
|
void igDockBuilderCopyDockSpace(ImGuiID src_dockspace_id,ImGuiID dst_dockspace_id,ImVector_const_charPtr* in_window_remap_pairs);
|
|
void igDockBuilderCopyNode(ImGuiID src_node_id,ImGuiID dst_node_id,ImVector_ImGuiID* out_node_remap_pairs);
|
|
void igDockBuilderCopyWindowSettings(const char* src_name,const char* dst_name);
|
|
void igDockBuilderFinish(ImGuiID node_id);
|
|
void igPushFocusScope(ImGuiID id);
|
|
void igPopFocusScope(void);
|
|
_Bool igIsInNavFocusRoute(ImGuiID focus_scope_id);
|
|
ImGuiID igGetCurrentFocusScope(void);
|
|
_Bool igIsDragDropActive(void);
|
|
_Bool igBeginDragDropTargetCustom(const ImRect_c bb,ImGuiID id);
|
|
_Bool igBeginDragDropTargetViewport(ImGuiViewport* viewport,const ImRect* p_bb);
|
|
void igClearDragDrop(void);
|
|
_Bool igIsDragDropPayloadBeingAccepted(void);
|
|
void igRenderDragDropTargetRectForItem(const ImRect_c bb);
|
|
void igRenderDragDropTargetRectEx(ImDrawList* draw_list,const ImRect_c bb,float rounding);
|
|
ImGuiTypingSelectRequest* igGetTypingSelectRequest(ImGuiTypingSelectFlags flags);
|
|
int igTypingSelectFindMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx);
|
|
int igTypingSelectFindNextSingleCharMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx);
|
|
int igTypingSelectFindBestLeadingMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data);
|
|
_Bool igBeginBoxSelect(const ImRect_c scope_rect,ImGuiWindow* window,ImGuiID box_select_id,ImGuiMultiSelectFlags ms_flags);
|
|
void igEndBoxSelect(const ImRect_c scope_rect,ImGuiMultiSelectFlags ms_flags);
|
|
void igMultiSelectItemHeader(ImGuiID id, _Bool * p_selected,ImGuiButtonFlags* p_button_flags);
|
|
void igMultiSelectItemFooter(ImGuiID id, _Bool * p_selected, _Bool * p_pressed);
|
|
void igMultiSelectAddSetAll(ImGuiMultiSelectTempData* ms, _Bool selected);
|
|
void igMultiSelectAddSetRange(ImGuiMultiSelectTempData* ms, _Bool selected,int range_dir,ImGuiSelectionUserData first_item,ImGuiSelectionUserData last_item);
|
|
ImGuiBoxSelectState* igGetBoxSelectState(ImGuiID id);
|
|
ImGuiMultiSelectState* igGetMultiSelectState(ImGuiID id);
|
|
void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect_c clip_rect);
|
|
void igBeginColumns(const char* str_id,int count,ImGuiOldColumnFlags flags);
|
|
void igEndColumns(void);
|
|
void igPushColumnClipRect(int column_index);
|
|
void igPushColumnsBackground(void);
|
|
void igPopColumnsBackground(void);
|
|
ImGuiID igGetColumnsID(const char* str_id,int count);
|
|
ImGuiOldColumns* igFindOrCreateColumns(ImGuiWindow* window,ImGuiID id);
|
|
float igGetColumnOffsetFromNorm(const ImGuiOldColumns* columns,float offset_norm);
|
|
float igGetColumnNormFromOffset(const ImGuiOldColumns* columns,float offset);
|
|
void igTableOpenContextMenu(int column_n);
|
|
void igTableSetColumnWidth(int column_n,float width);
|
|
void igTableSetColumnSortDirection(int column_n,ImGuiSortDirection sort_direction, _Bool append_to_sort_specs);
|
|
int igTableGetHoveredRow(void);
|
|
float igTableGetHeaderRowHeight(void);
|
|
float igTableGetHeaderAngledMaxLabelWidth(void);
|
|
void igTablePushBackgroundChannel(void);
|
|
void igTablePopBackgroundChannel(void);
|
|
void igTablePushColumnChannel(int column_n);
|
|
void igTablePopColumnChannel(void);
|
|
void igTableAngledHeadersRowEx(ImGuiID row_id,float angle,float max_label_width,const ImGuiTableHeaderData* data,int data_count);
|
|
ImGuiTable* igGetCurrentTable(void);
|
|
ImGuiTable* igTableFindByID(ImGuiID id);
|
|
_Bool igBeginTableEx(const char* name,ImGuiID id,int columns_count,ImGuiTableFlags flags,const ImVec2_c outer_size,float inner_width);
|
|
void igTableBeginInitMemory(ImGuiTable* table,int columns_count);
|
|
void igTableBeginApplyRequests(ImGuiTable* table);
|
|
void igTableSetupDrawChannels(ImGuiTable* table);
|
|
void igTableUpdateLayout(ImGuiTable* table);
|
|
void igTableUpdateBorders(ImGuiTable* table);
|
|
void igTableUpdateColumnsWeightFromWidth(ImGuiTable* table);
|
|
void igTableApplyExternalUnclipRect(ImGuiTable* table,ImRect* rect);
|
|
void igTableDrawBorders(ImGuiTable* table);
|
|
void igTableDrawDefaultContextMenu(ImGuiTable* table,ImGuiTableFlags flags_for_section_to_display);
|
|
_Bool igTableBeginContextMenuPopup(ImGuiTable* table);
|
|
void igTableMergeDrawChannels(ImGuiTable* table);
|
|
ImGuiTableInstanceData* igTableGetInstanceData(ImGuiTable* table,int instance_no);
|
|
ImGuiID igTableGetInstanceID(ImGuiTable* table,int instance_no);
|
|
void igTableFixDisplayOrder(ImGuiTable* table);
|
|
void igTableSortSpecsSanitize(ImGuiTable* table);
|
|
void igTableSortSpecsBuild(ImGuiTable* table);
|
|
ImGuiSortDirection igTableGetColumnNextSortDirection(ImGuiTableColumn* column);
|
|
void igTableFixColumnSortDirection(ImGuiTable* table,ImGuiTableColumn* column);
|
|
float igTableGetColumnWidthAuto(ImGuiTable* table,ImGuiTableColumn* column);
|
|
void igTableBeginRow(ImGuiTable* table);
|
|
void igTableEndRow(ImGuiTable* table);
|
|
void igTableBeginCell(ImGuiTable* table,int column_n);
|
|
void igTableEndCell(ImGuiTable* table);
|
|
ImRect_c igTableGetCellBgRect(const ImGuiTable* table,int column_n);
|
|
const char* igTableGetColumnName_TablePtr(const ImGuiTable* table,int column_n);
|
|
ImGuiID igTableGetColumnResizeID(ImGuiTable* table,int column_n,int instance_no);
|
|
float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n);
|
|
void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n);
|
|
void igTableSetColumnWidthAutoAll(ImGuiTable* table);
|
|
void igTableSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order);
|
|
void igTableQueueSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order);
|
|
void igTableRemove(ImGuiTable* table);
|
|
void igTableGcCompactTransientBuffers_TablePtr(ImGuiTable* table);
|
|
void igTableGcCompactTransientBuffers_TableTempDataPtr(ImGuiTableTempData* table);
|
|
void igTableGcCompactSettings(void);
|
|
void igTableLoadSettings(ImGuiTable* table);
|
|
void igTableSaveSettings(ImGuiTable* table);
|
|
void igTableResetSettings(ImGuiTable* table);
|
|
ImGuiTableSettings* igTableGetBoundSettings(ImGuiTable* table);
|
|
void igTableSettingsAddSettingsHandler(void);
|
|
ImGuiTableSettings* igTableSettingsCreate(ImGuiID id,int columns_count);
|
|
ImGuiTableSettings* igTableSettingsFindByID(ImGuiID id);
|
|
ImGuiTabBar* igGetCurrentTabBar(void);
|
|
ImGuiTabBar* igTabBarFindByID(ImGuiID id);
|
|
void igTabBarRemove(ImGuiTabBar* tab_bar);
|
|
_Bool igBeginTabBarEx(ImGuiTabBar* tab_bar,const ImRect_c bb,ImGuiTabBarFlags flags);
|
|
ImGuiTabItem* igTabBarFindTabByID(ImGuiTabBar* tab_bar,ImGuiID tab_id);
|
|
ImGuiTabItem* igTabBarFindTabByOrder(ImGuiTabBar* tab_bar,int order);
|
|
ImGuiTabItem* igTabBarFindMostRecentlySelectedTabForActiveWindow(ImGuiTabBar* tab_bar);
|
|
ImGuiTabItem* igTabBarGetCurrentTab(ImGuiTabBar* tab_bar);
|
|
int igTabBarGetTabOrder(ImGuiTabBar* tab_bar,ImGuiTabItem* tab);
|
|
const char* igTabBarGetTabName(ImGuiTabBar* tab_bar,ImGuiTabItem* tab);
|
|
void igTabBarAddTab(ImGuiTabBar* tab_bar,ImGuiTabItemFlags tab_flags,ImGuiWindow* window);
|
|
void igTabBarRemoveTab(ImGuiTabBar* tab_bar,ImGuiID tab_id);
|
|
void igTabBarCloseTab(ImGuiTabBar* tab_bar,ImGuiTabItem* tab);
|
|
void igTabBarQueueFocus_TabItemPtr(ImGuiTabBar* tab_bar,ImGuiTabItem* tab);
|
|
void igTabBarQueueFocus_Str(ImGuiTabBar* tab_bar,const char* tab_name);
|
|
void igTabBarQueueReorder(ImGuiTabBar* tab_bar,ImGuiTabItem* tab,int offset);
|
|
void igTabBarQueueReorderFromMousePos(ImGuiTabBar* tab_bar,ImGuiTabItem* tab,ImVec2_c mouse_pos);
|
|
_Bool igTabBarProcessReorder(ImGuiTabBar* tab_bar);
|
|
_Bool igTabItemEx(ImGuiTabBar* tab_bar,const char* label, _Bool * p_open,ImGuiTabItemFlags flags,ImGuiWindow* docked_window);
|
|
void igTabItemSpacing(const char* str_id,ImGuiTabItemFlags flags,float width);
|
|
ImVec2_c igTabItemCalcSize_Str(const char* label, _Bool has_close_button_or_unsaved_marker);
|
|
ImVec2_c igTabItemCalcSize_WindowPtr(ImGuiWindow* window);
|
|
void igTabItemBackground(ImDrawList* draw_list,const ImRect_c bb,ImGuiTabItemFlags flags,ImU32 col);
|
|
void igTabItemLabelAndCloseButton(ImDrawList* draw_list,const ImRect_c bb,ImGuiTabItemFlags flags,ImVec2_c frame_padding,const char* label,ImGuiID tab_id,ImGuiID close_button_id, _Bool is_contents_visible, _Bool * out_just_closed, _Bool * out_text_clipped);
|
|
void igRenderText(ImVec2_c pos,const char* text,const char* text_end, _Bool hide_text_after_hash);
|
|
void igRenderTextWrapped(ImVec2_c pos,const char* text,const char* text_end,float wrap_width);
|
|
void igRenderTextClipped(const ImVec2_c pos_min,const ImVec2_c pos_max,const char* text,const char* text_end,const ImVec2_c* text_size_if_known,const ImVec2_c align,const ImRect* clip_rect);
|
|
void igRenderTextClippedEx(ImDrawList* draw_list,const ImVec2_c pos_min,const ImVec2_c pos_max,const char* text,const char* text_end,const ImVec2_c* text_size_if_known,const ImVec2_c align,const ImRect* clip_rect);
|
|
void igRenderTextEllipsis(ImDrawList* draw_list,const ImVec2_c pos_min,const ImVec2_c pos_max,float ellipsis_max_x,const char* text,const char* text_end,const ImVec2_c* text_size_if_known);
|
|
void igRenderFrame(ImVec2_c p_min,ImVec2_c p_max,ImU32 fill_col, _Bool borders,float rounding);
|
|
void igRenderFrameBorder(ImVec2_c p_min,ImVec2_c p_max,float rounding);
|
|
void igRenderColorComponentMarker(const ImRect_c bb,ImU32 col,float rounding);
|
|
void igRenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list,ImVec2_c p_min,ImVec2_c p_max,ImU32 fill_col,float grid_step,ImVec2_c grid_off,float rounding,ImDrawFlags flags);
|
|
void igRenderNavCursor(const ImRect_c bb,ImGuiID id,ImGuiNavRenderCursorFlags flags);
|
|
const char* igFindRenderedTextEnd(const char* text,const char* text_end);
|
|
void igRenderMouseCursor(ImVec2_c pos,float scale,ImGuiMouseCursor mouse_cursor,ImU32 col_fill,ImU32 col_border,ImU32 col_shadow);
|
|
void igRenderArrow(ImDrawList* draw_list,ImVec2_c pos,ImU32 col,ImGuiDir dir,float scale);
|
|
void igRenderBullet(ImDrawList* draw_list,ImVec2_c pos,ImU32 col);
|
|
void igRenderCheckMark(ImDrawList* draw_list,ImVec2_c pos,ImU32 col,float sz);
|
|
void igRenderArrowPointingAt(ImDrawList* draw_list,ImVec2_c pos,ImVec2_c half_sz,ImGuiDir direction,ImU32 col);
|
|
void igRenderArrowDockMenu(ImDrawList* draw_list,ImVec2_c p_min,float sz,ImU32 col);
|
|
void igRenderRectFilledInRangeH(ImDrawList* draw_list,const ImRect_c rect,ImU32 col,float fill_x0,float fill_x1,float rounding);
|
|
void igRenderRectFilledWithHole(ImDrawList* draw_list,const ImRect_c outer,const ImRect_c inner,ImU32 col,float rounding);
|
|
ImDrawFlags igCalcRoundingFlagsForRectInRect(const ImRect_c r_in,const ImRect_c r_outer,float threshold);
|
|
void igTextEx(const char* text,const char* text_end,ImGuiTextFlags flags);
|
|
void igTextAligned(float align_x,float size_x,const char* fmt,...);
|
|
void igTextAlignedV(float align_x,float size_x,const char* fmt,va_list args);
|
|
_Bool igButtonEx(const char* label,const ImVec2_c size_arg,ImGuiButtonFlags flags);
|
|
_Bool igArrowButtonEx(const char* str_id,ImGuiDir dir,ImVec2_c size_arg,ImGuiButtonFlags flags);
|
|
_Bool igImageButtonEx(ImGuiID id,ImTextureRef_c tex_ref,const ImVec2_c image_size,const ImVec2_c uv0,const ImVec2_c uv1,const ImVec4_c bg_col,const ImVec4_c tint_col,ImGuiButtonFlags flags);
|
|
void igSeparatorEx(ImGuiSeparatorFlags flags,float thickness);
|
|
void igSeparatorTextEx(ImGuiID id,const char* label,const char* label_end,float extra_width);
|
|
_Bool igCheckboxFlags_S64Ptr(const char* label,ImS64* flags,ImS64 flags_value);
|
|
_Bool igCheckboxFlags_U64Ptr(const char* label,ImU64* flags,ImU64 flags_value);
|
|
_Bool igCloseButton(ImGuiID id,const ImVec2_c pos);
|
|
_Bool igCollapseButton(ImGuiID id,const ImVec2_c pos,ImGuiDockNode* dock_node);
|
|
void igScrollbar(ImGuiAxis axis);
|
|
_Bool igScrollbarEx(const ImRect_c bb,ImGuiID id,ImGuiAxis axis,ImS64* p_scroll_v,ImS64 avail_v,ImS64 contents_v,ImDrawFlags draw_rounding_flags);
|
|
ImRect_c igGetWindowScrollbarRect(ImGuiWindow* window,ImGuiAxis axis);
|
|
ImGuiID igGetWindowScrollbarID(ImGuiWindow* window,ImGuiAxis axis);
|
|
ImGuiID igGetWindowResizeCornerID(ImGuiWindow* window,int n);
|
|
ImGuiID igGetWindowResizeBorderID(ImGuiWindow* window,ImGuiDir dir);
|
|
void igExtendHitBoxWhenNearViewportEdge(ImGuiWindow* window,ImRect* bb,float threshold,ImGuiAxis axis);
|
|
_Bool igButtonBehavior(const ImRect_c bb,ImGuiID id, _Bool * out_hovered, _Bool * out_held,ImGuiButtonFlags flags);
|
|
_Bool igDragBehavior(ImGuiID id,ImGuiDataType data_type,void* p_v,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags);
|
|
_Bool igSliderBehavior(const ImRect_c bb,ImGuiID id,ImGuiDataType data_type,void* p_v,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags,ImRect* out_grab_bb);
|
|
_Bool igSplitterBehavior(const ImRect_c bb,ImGuiID id,ImGuiAxis axis,float* size1,float* size2,float min_size1,float min_size2,float hover_extend,float hover_visibility_delay,ImU32 bg_col);
|
|
_Bool igTreeNodeBehavior(ImGuiID id,ImGuiTreeNodeFlags flags,const char* label,const char* label_end);
|
|
void igTreeNodeDrawLineToChildNode(const ImVec2_c target_pos);
|
|
void igTreeNodeDrawLineToTreePop(const ImGuiTreeNodeStackData* data);
|
|
void igTreePushOverrideID(ImGuiID id);
|
|
void igTreeNodeSetOpen(ImGuiID storage_id, _Bool open);
|
|
_Bool igTreeNodeUpdateNextOpen(ImGuiID storage_id,ImGuiTreeNodeFlags flags);
|
|
const ImGuiDataTypeInfo* igDataTypeGetInfo(ImGuiDataType data_type);
|
|
int igDataTypeFormatString(char* buf,int buf_size,ImGuiDataType data_type,const void* p_data,const char* format);
|
|
void igDataTypeApplyOp(ImGuiDataType data_type,int op,void* output,const void* arg_1,const void* arg_2);
|
|
_Bool igDataTypeApplyFromText(const char* buf,ImGuiDataType data_type,void* p_data,const char* format,void* p_data_when_empty);
|
|
int igDataTypeCompare(ImGuiDataType data_type,const void* arg_1,const void* arg_2);
|
|
_Bool igDataTypeClamp(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max);
|
|
_Bool igDataTypeIsZero(ImGuiDataType data_type,const void* p_data);
|
|
_Bool igInputTextEx(const char* label,const char* hint,char* buf,int buf_size,const ImVec2_c size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
|
|
void igInputTextDeactivateHook(ImGuiID id);
|
|
_Bool igTempInputText(const ImRect_c bb,ImGuiID id,const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
|
|
_Bool igTempInputScalar(const ImRect_c bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format,const void* p_clamp_min,const void* p_clamp_max);
|
|
_Bool igTempInputIsActive(ImGuiID id);
|
|
ImGuiInputTextState* igGetInputTextState(ImGuiID id);
|
|
void igSetNextItemRefVal(ImGuiDataType data_type,void* p_data);
|
|
_Bool igIsItemActiveAsInputText(void);
|
|
void igColorTooltip(const char* text,const float* col,ImGuiColorEditFlags flags);
|
|
void igColorEditOptionsPopup(const float* col,ImGuiColorEditFlags flags);
|
|
void igColorPickerOptionsPopup(const float* ref_col,ImGuiColorEditFlags flags);
|
|
void igSetNextItemColorMarker(ImU32 col);
|
|
int igPlotEx(ImGuiPlotType plot_type,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,const ImVec2_c size_arg);
|
|
void igShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,ImVec2_c gradient_p0,ImVec2_c gradient_p1,ImU32 col0,ImU32 col1);
|
|
void igShadeVertsLinearUV(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,const ImVec2_c a,const ImVec2_c b,const ImVec2_c uv_a,const ImVec2_c uv_b, _Bool clamp);
|
|
void igShadeVertsTransformPos(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,const ImVec2_c pivot_in,float cos_a,float sin_a,const ImVec2_c pivot_out);
|
|
void igGcCompactTransientMiscBuffers(void);
|
|
void igGcCompactTransientWindowBuffers(ImGuiWindow* window);
|
|
void igGcAwakeTransientWindowBuffers(ImGuiWindow* window);
|
|
_Bool igErrorLog(const char* msg);
|
|
void igErrorRecoveryStoreState(ImGuiErrorRecoveryState* state_out);
|
|
void igErrorRecoveryTryToRecoverState(const ImGuiErrorRecoveryState* state_in);
|
|
void igErrorRecoveryTryToRecoverWindowState(const ImGuiErrorRecoveryState* state_in);
|
|
void igErrorCheckUsingSetCursorPosToExtendParentBoundaries(void);
|
|
void igErrorCheckEndFrameFinalizeErrorTooltip(void);
|
|
_Bool igBeginErrorTooltip(void);
|
|
void igEndErrorTooltip(void);
|
|
void igDemoMarker(const char* file,int line,const char* section);
|
|
void igDebugAllocHook(ImGuiDebugAllocInfo* info,int frame_count,void* ptr,size_t size);
|
|
void igDebugDrawCursorPos(ImU32 col);
|
|
void igDebugDrawLineExtents(ImU32 col);
|
|
void igDebugDrawItemRect(ImU32 col);
|
|
void igDebugTextUnformattedWithLocateItem(const char* line_begin,const char* line_end);
|
|
void igDebugLocateItem(ImGuiID target_id);
|
|
void igDebugLocateItemOnHover(ImGuiID target_id);
|
|
void igDebugLocateItemResolveWithLastItem(void);
|
|
void igDebugBreakClearData(void);
|
|
_Bool igDebugBreakButton(const char* label,const char* description_of_location);
|
|
void igDebugBreakButtonTooltip( _Bool keyboard_only,const char* description_of_location);
|
|
void igShowFontAtlas(ImFontAtlas* atlas);
|
|
ImU64 igDebugTextureIDToU64(ImTextureID tex_id);
|
|
void igDebugHookIdInfo(ImGuiID id,ImGuiDataType data_type,const void* data_id,const void* data_id_end);
|
|
void igDebugNodeColumns(ImGuiOldColumns* columns);
|
|
void igDebugNodeDockNode(ImGuiDockNode* node,const char* label);
|
|
void igDebugNodeDrawList(ImGuiWindow* window,ImGuiViewportP* viewport,const ImDrawList* draw_list,const char* label);
|
|
void igDebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawList* out_draw_list,const ImDrawList* draw_list,const ImDrawCmd* draw_cmd, _Bool show_mesh, _Bool show_aabb);
|
|
void igDebugNodeFont(ImFont* font);
|
|
void igDebugNodeFontGlyphsForSrcMask(ImFont* font,ImFontBaked* baked,int src_mask);
|
|
void igDebugNodeFontGlyph(ImFont* font,const ImFontGlyph* glyph);
|
|
void igDebugNodeTexture(ImTextureData* tex,int int_id,const ImFontAtlasRect* highlight_rect);
|
|
void igDebugNodeStorage(ImGuiStorage* storage,const char* label);
|
|
void igDebugNodeTabBar(ImGuiTabBar* tab_bar,const char* label);
|
|
void igDebugNodeTable(ImGuiTable* table);
|
|
void igDebugNodeTableSettings(ImGuiTableSettings* settings);
|
|
void igDebugNodeInputTextState(ImGuiInputTextState* state);
|
|
void igDebugNodeTypingSelectState(ImGuiTypingSelectState* state);
|
|
void igDebugNodeMultiSelectState(ImGuiMultiSelectState* state);
|
|
void igDebugNodeWindow(ImGuiWindow* window,const char* label);
|
|
void igDebugNodeWindowSettings(ImGuiWindowSettings* settings);
|
|
void igDebugNodeWindowsList(ImVector_ImGuiWindowPtr* windows,const char* label);
|
|
void igDebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows,int windows_size,ImGuiWindow* parent_in_begin_stack);
|
|
void igDebugNodeViewport(ImGuiViewportP* viewport);
|
|
void igDebugNodePlatformMonitor(ImGuiPlatformMonitor* monitor,const char* label,int idx);
|
|
void igDebugRenderKeyboardPreview(ImDrawList* draw_list);
|
|
void igDebugRenderViewportThumbnail(ImDrawList* draw_list,ImGuiViewportP* viewport,const ImRect_c bb);
|
|
ImFontLoader* ImFontLoader_ImFontLoader(void);
|
|
void ImFontLoader_destroy(ImFontLoader* self);
|
|
const ImFontLoader* igImFontAtlasGetFontLoaderForStbTruetype(void);
|
|
int igImFontAtlasRectId_GetIndex(ImFontAtlasRectId id);
|
|
unsigned int igImFontAtlasRectId_GetGeneration(ImFontAtlasRectId id);
|
|
ImFontAtlasRectId igImFontAtlasRectId_Make(int index_idx,int gen_idx);
|
|
ImFontAtlasBuilder* ImFontAtlasBuilder_ImFontAtlasBuilder(void);
|
|
void ImFontAtlasBuilder_destroy(ImFontAtlasBuilder* self);
|
|
void igImFontAtlasBuildInit(ImFontAtlas* atlas);
|
|
void igImFontAtlasBuildDestroy(ImFontAtlas* atlas);
|
|
void igImFontAtlasBuildMain(ImFontAtlas* atlas);
|
|
void igImFontAtlasBuildSetupFontLoader(ImFontAtlas* atlas,const ImFontLoader* font_loader);
|
|
void igImFontAtlasBuildNotifySetFont(ImFontAtlas* atlas,ImFont* old_font,ImFont* new_font);
|
|
void igImFontAtlasBuildUpdatePointers(ImFontAtlas* atlas);
|
|
void igImFontAtlasBuildRenderBitmapFromString(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char);
|
|
void igImFontAtlasBuildClear(ImFontAtlas* atlas);
|
|
ImTextureData* igImFontAtlasTextureAdd(ImFontAtlas* atlas,int w,int h);
|
|
void igImFontAtlasTextureMakeSpace(ImFontAtlas* atlas);
|
|
void igImFontAtlasTextureRepack(ImFontAtlas* atlas,int w,int h);
|
|
void igImFontAtlasTextureGrow(ImFontAtlas* atlas,int old_w,int old_h);
|
|
void igImFontAtlasTextureCompact(ImFontAtlas* atlas);
|
|
ImVec2i_c igImFontAtlasTextureGetSizeEstimate(ImFontAtlas* atlas);
|
|
void igImFontAtlasBuildSetupFontSpecialGlyphs(ImFontAtlas* atlas,ImFont* font,ImFontConfig* src);
|
|
void igImFontAtlasBuildLegacyPreloadAllGlyphRanges(ImFontAtlas* atlas);
|
|
void igImFontAtlasBuildGetOversampleFactors(ImFontConfig* src,ImFontBaked* baked,int* out_oversample_h,int* out_oversample_v);
|
|
void igImFontAtlasBuildDiscardBakes(ImFontAtlas* atlas,int unused_frames);
|
|
_Bool igImFontAtlasFontSourceInit(ImFontAtlas* atlas,ImFontConfig* src);
|
|
void igImFontAtlasFontSourceAddToFont(ImFontAtlas* atlas,ImFont* font,ImFontConfig* src);
|
|
void igImFontAtlasFontDestroySourceData(ImFontAtlas* atlas,ImFontConfig* src);
|
|
_Bool igImFontAtlasFontInitOutput(ImFontAtlas* atlas,ImFont* font);
|
|
void igImFontAtlasFontDestroyOutput(ImFontAtlas* atlas,ImFont* font);
|
|
void igImFontAtlasFontRebuildOutput(ImFontAtlas* atlas,ImFont* font);
|
|
void igImFontAtlasFontDiscardBakes(ImFontAtlas* atlas,ImFont* font,int unused_frames);
|
|
ImGuiID igImFontAtlasBakedGetId(ImGuiID font_id,float baked_size,float rasterizer_density);
|
|
ImFontBaked* igImFontAtlasBakedGetOrAdd(ImFontAtlas* atlas,ImFont* font,float font_size,float font_rasterizer_density);
|
|
ImFontBaked* igImFontAtlasBakedGetClosestMatch(ImFontAtlas* atlas,ImFont* font,float font_size,float font_rasterizer_density);
|
|
ImFontBaked* igImFontAtlasBakedAdd(ImFontAtlas* atlas,ImFont* font,float font_size,float font_rasterizer_density,ImGuiID baked_id);
|
|
void igImFontAtlasBakedDiscard(ImFontAtlas* atlas,ImFont* font,ImFontBaked* baked);
|
|
ImFontGlyph* igImFontAtlasBakedAddFontGlyph(ImFontAtlas* atlas,ImFontBaked* baked,ImFontConfig* src,const ImFontGlyph* in_glyph);
|
|
void igImFontAtlasBakedAddFontGlyphAdvancedX(ImFontAtlas* atlas,ImFontBaked* baked,ImFontConfig* src,ImWchar codepoint,float advance_x);
|
|
void igImFontAtlasBakedDiscardFontGlyph(ImFontAtlas* atlas,ImFont* font,ImFontBaked* baked,ImFontGlyph* glyph);
|
|
void igImFontAtlasBakedSetFontGlyphBitmap(ImFontAtlas* atlas,ImFontBaked* baked,ImFontConfig* src,ImFontGlyph* glyph,ImTextureRect* r,const unsigned char* src_pixels,ImTextureFormat src_fmt,int src_pitch);
|
|
void igImFontAtlasPackInit(ImFontAtlas* atlas);
|
|
ImFontAtlasRectId igImFontAtlasPackAddRect(ImFontAtlas* atlas,int w,int h,ImFontAtlasRectEntry* overwrite_entry);
|
|
ImTextureRect* igImFontAtlasPackGetRect(ImFontAtlas* atlas,ImFontAtlasRectId id);
|
|
ImTextureRect* igImFontAtlasPackGetRectSafe(ImFontAtlas* atlas,ImFontAtlasRectId id);
|
|
void igImFontAtlasPackDiscardRect(ImFontAtlas* atlas,ImFontAtlasRectId id);
|
|
void igImFontAtlasUpdateNewFrame(ImFontAtlas* atlas,int frame_count, _Bool renderer_has_textures);
|
|
void igImFontAtlasAddDrawListSharedData(ImFontAtlas* atlas,ImDrawListSharedData* data);
|
|
void igImFontAtlasRemoveDrawListSharedData(ImFontAtlas* atlas,ImDrawListSharedData* data);
|
|
void igImFontAtlasUpdateDrawListsTextures(ImFontAtlas* atlas,ImTextureRef_c old_tex,ImTextureRef_c new_tex);
|
|
void igImFontAtlasUpdateDrawListsSharedData(ImFontAtlas* atlas);
|
|
void igImFontAtlasTextureBlockConvert(const unsigned char* src_pixels,ImTextureFormat src_fmt,int src_pitch,unsigned char* dst_pixels,ImTextureFormat dst_fmt,int dst_pitch,int w,int h);
|
|
void igImFontAtlasTextureBlockPostProcess(ImFontAtlasPostProcessData* data);
|
|
void igImFontAtlasTextureBlockPostProcessMultiply(ImFontAtlasPostProcessData* data,float multiply_factor);
|
|
void igImFontAtlasTextureBlockFill(ImTextureData* dst_tex,int dst_x,int dst_y,int w,int h,ImU32 col);
|
|
void igImFontAtlasTextureBlockCopy(ImTextureData* src_tex,int src_x,int src_y,ImTextureData* dst_tex,int dst_x,int dst_y,int w,int h);
|
|
void igImFontAtlasTextureBlockQueueUpload(ImFontAtlas* atlas,ImTextureData* tex,int x,int y,int w,int h);
|
|
void igImTextureDataQueueUpload(ImTextureData* tex,int x,int y,int w,int h);
|
|
int igImTextureDataGetFormatBytesPerPixel(ImTextureFormat format);
|
|
const char* igImTextureDataGetStatusName(ImTextureStatus status);
|
|
const char* igImTextureDataGetFormatName(ImTextureFormat format);
|
|
void igImFontAtlasDebugLogTextureRequests(ImFontAtlas* atlas);
|
|
_Bool igImFontAtlasGetMouseCursorTexData(ImFontAtlas* atlas,ImGuiMouseCursor cursor_type,ImVec2_c* out_offset,ImVec2_c* out_size,ImVec2 out_uv_border[2],ImVec2 out_uv_fill[2]);
|
|
const ImFontLoader* ImGuiFreeType_GetFontLoader(void);
|
|
void ImGuiFreeType_SetAllocatorFunctions(void*(*alloc_func)(size_t sz,void* user_data),void(*free_func)(void* ptr,void* user_data),void* user_data);
|
|
_Bool ImGuiFreeType_DebugEditFontLoaderFlags(ImGuiFreeTypeLoaderFlags* p_font_loader_flags);
|
|
void ImGuiTextBuffer_appendf(ImGuiTextBuffer *self, const char *fmt, ...);
|
|
float igGET_FLT_MAX(void);
|
|
float igGET_FLT_MIN(void);
|
|
ImVector_ImWchar* ImVector_ImWchar_create(void);
|
|
void ImVector_ImWchar_destroy(ImVector_ImWchar* self);
|
|
void ImVector_ImWchar_Init(ImVector_ImWchar* p);
|
|
void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
|
|
void ImGuiPlatformIO_Set_Platform_GetWindowPos(ImGuiPlatformIO* platform_io, void(*user_callback)(ImGuiViewport* vp, ImVec2* out_pos));
|
|
void ImGuiPlatformIO_Set_Platform_GetWindowSize(ImGuiPlatformIO* platform_io, void(*user_callback)(ImGuiViewport* vp, ImVec2* out_size));
|
|
typedef struct tm tm;
|
|
typedef struct ImPlotContext ImPlotContext;
|
|
typedef struct ImPlotTick_c ImPlotTick_c;
|
|
typedef struct ImPlotAxis_c ImPlotAxis_c;
|
|
typedef struct ImPlotAxisColor ImPlotAxisColor;
|
|
typedef struct ImPlotItem ImPlotItem;
|
|
typedef struct ImPlotLegend ImPlotLegend;
|
|
typedef struct ImPlotPlot ImPlotPlot;
|
|
typedef struct ImPlotNextPlotData ImPlotNextPlotData;
|
|
typedef struct ImPlotTicker ImPlotTicker;
|
|
typedef struct ImVector_ImS16 {int Size;int Capacity;ImS16* Data;} ImVector_ImS16;
|
|
typedef struct ImVector_ImS32 {int Size;int Capacity;ImS32* Data;} ImVector_ImS32;
|
|
typedef struct ImVector_ImS64 {int Size;int Capacity;ImS64* Data;} ImVector_ImS64;
|
|
typedef struct ImVector_ImS8 {int Size;int Capacity;ImS8* Data;} ImVector_ImS8;
|
|
typedef struct ImVector_ImU64 {int Size;int Capacity;ImU64* Data;} ImVector_ImU64;
|
|
static const int IMPLOT_AUTO = -1;
|
|
struct ImPlotContext;
|
|
typedef int ImAxis;
|
|
typedef int ImPlotProp;
|
|
typedef int ImPlotFlags;
|
|
typedef int ImPlotAxisFlags;
|
|
typedef int ImPlotSubplotFlags;
|
|
typedef int ImPlotLegendFlags;
|
|
typedef int ImPlotMouseTextFlags;
|
|
typedef int ImPlotDragToolFlags;
|
|
typedef int ImPlotColormapScaleFlags;
|
|
typedef int ImPlotItemFlags;
|
|
typedef int ImPlotLineFlags;
|
|
typedef int ImPlotScatterFlags;
|
|
typedef int ImPlotBubblesFlags;
|
|
typedef int ImPlotPolygonFlags;
|
|
typedef int ImPlotStairsFlags;
|
|
typedef int ImPlotShadedFlags;
|
|
typedef int ImPlotBarsFlags;
|
|
typedef int ImPlotBarGroupsFlags;
|
|
typedef int ImPlotErrorBarsFlags;
|
|
typedef int ImPlotStemsFlags;
|
|
typedef int ImPlotInfLinesFlags;
|
|
typedef int ImPlotPieChartFlags;
|
|
typedef int ImPlotHeatmapFlags;
|
|
typedef int ImPlotHistogramFlags;
|
|
typedef int ImPlotDigitalFlags;
|
|
typedef int ImPlotImageFlags;
|
|
typedef int ImPlotTextFlags;
|
|
typedef int ImPlotDummyFlags;
|
|
typedef int ImPlotCond;
|
|
typedef int ImPlotCol;
|
|
typedef int ImPlotStyleVar;
|
|
typedef int ImPlotScale;
|
|
typedef int ImPlotMarker;
|
|
typedef int ImPlotColormap;
|
|
typedef int ImPlotLocation;
|
|
typedef int ImPlotBin;
|
|
typedef enum {
|
|
ImAxis_X1 = 0,
|
|
ImAxis_X2,
|
|
ImAxis_X3,
|
|
ImAxis_Y1,
|
|
ImAxis_Y2,
|
|
ImAxis_Y3,
|
|
ImAxis_COUNT
|
|
}ImAxis_;
|
|
typedef enum {
|
|
ImPlotProp_LineColor,
|
|
ImPlotProp_LineColors,
|
|
ImPlotProp_LineWeight,
|
|
ImPlotProp_FillColor,
|
|
ImPlotProp_FillColors,
|
|
ImPlotProp_FillAlpha,
|
|
ImPlotProp_Marker,
|
|
ImPlotProp_MarkerSize,
|
|
ImPlotProp_MarkerSizes,
|
|
ImPlotProp_MarkerLineColor,
|
|
ImPlotProp_MarkerLineColors,
|
|
ImPlotProp_MarkerFillColor,
|
|
ImPlotProp_MarkerFillColors,
|
|
ImPlotProp_Size,
|
|
ImPlotProp_Offset,
|
|
ImPlotProp_Stride,
|
|
ImPlotProp_Flags
|
|
}ImPlotProp_;
|
|
typedef enum {
|
|
ImPlotFlags_None = 0,
|
|
ImPlotFlags_NoTitle = 1 << 0,
|
|
ImPlotFlags_NoLegend = 1 << 1,
|
|
ImPlotFlags_NoMouseText = 1 << 2,
|
|
ImPlotFlags_NoInputs = 1 << 3,
|
|
ImPlotFlags_NoMenus = 1 << 4,
|
|
ImPlotFlags_NoBoxSelect = 1 << 5,
|
|
ImPlotFlags_NoFrame = 1 << 6,
|
|
ImPlotFlags_Equal = 1 << 7,
|
|
ImPlotFlags_Crosshairs = 1 << 8,
|
|
ImPlotFlags_CanvasOnly = ImPlotFlags_NoTitle | ImPlotFlags_NoLegend | ImPlotFlags_NoMenus | ImPlotFlags_NoBoxSelect | ImPlotFlags_NoMouseText
|
|
}ImPlotFlags_;
|
|
typedef enum {
|
|
ImPlotAxisFlags_None = 0,
|
|
ImPlotAxisFlags_NoLabel = 1 << 0,
|
|
ImPlotAxisFlags_NoGridLines = 1 << 1,
|
|
ImPlotAxisFlags_NoTickMarks = 1 << 2,
|
|
ImPlotAxisFlags_NoTickLabels = 1 << 3,
|
|
ImPlotAxisFlags_NoInitialFit = 1 << 4,
|
|
ImPlotAxisFlags_NoMenus = 1 << 5,
|
|
ImPlotAxisFlags_NoSideSwitch = 1 << 6,
|
|
ImPlotAxisFlags_NoHighlight = 1 << 7,
|
|
ImPlotAxisFlags_Opposite = 1 << 8,
|
|
ImPlotAxisFlags_Foreground = 1 << 9,
|
|
ImPlotAxisFlags_Invert = 1 << 10,
|
|
ImPlotAxisFlags_AutoFit = 1 << 11,
|
|
ImPlotAxisFlags_RangeFit = 1 << 12,
|
|
ImPlotAxisFlags_PanStretch = 1 << 13,
|
|
ImPlotAxisFlags_LockMin = 1 << 14,
|
|
ImPlotAxisFlags_LockMax = 1 << 15,
|
|
ImPlotAxisFlags_Lock = ImPlotAxisFlags_LockMin | ImPlotAxisFlags_LockMax,
|
|
ImPlotAxisFlags_NoDecorations = ImPlotAxisFlags_NoLabel | ImPlotAxisFlags_NoGridLines | ImPlotAxisFlags_NoTickMarks | ImPlotAxisFlags_NoTickLabels,
|
|
ImPlotAxisFlags_AuxDefault = ImPlotAxisFlags_NoGridLines | ImPlotAxisFlags_Opposite
|
|
}ImPlotAxisFlags_;
|
|
typedef enum {
|
|
ImPlotSubplotFlags_None = 0,
|
|
ImPlotSubplotFlags_NoTitle = 1 << 0,
|
|
ImPlotSubplotFlags_NoLegend = 1 << 1,
|
|
ImPlotSubplotFlags_NoMenus = 1 << 2,
|
|
ImPlotSubplotFlags_NoResize = 1 << 3,
|
|
ImPlotSubplotFlags_NoAlign = 1 << 4,
|
|
ImPlotSubplotFlags_ShareItems = 1 << 5,
|
|
ImPlotSubplotFlags_LinkRows = 1 << 6,
|
|
ImPlotSubplotFlags_LinkCols = 1 << 7,
|
|
ImPlotSubplotFlags_LinkAllX = 1 << 8,
|
|
ImPlotSubplotFlags_LinkAllY = 1 << 9,
|
|
ImPlotSubplotFlags_ColMajor = 1 << 10
|
|
}ImPlotSubplotFlags_;
|
|
typedef enum {
|
|
ImPlotLegendFlags_None = 0,
|
|
ImPlotLegendFlags_NoButtons = 1 << 0,
|
|
ImPlotLegendFlags_NoHighlightItem = 1 << 1,
|
|
ImPlotLegendFlags_NoHighlightAxis = 1 << 2,
|
|
ImPlotLegendFlags_NoMenus = 1 << 3,
|
|
ImPlotLegendFlags_Outside = 1 << 4,
|
|
ImPlotLegendFlags_Horizontal = 1 << 5,
|
|
ImPlotLegendFlags_Sort = 1 << 6,
|
|
ImPlotLegendFlags_Reverse = 1 << 7,
|
|
}ImPlotLegendFlags_;
|
|
typedef enum {
|
|
ImPlotMouseTextFlags_None = 0,
|
|
ImPlotMouseTextFlags_NoAuxAxes = 1 << 0,
|
|
ImPlotMouseTextFlags_NoFormat = 1 << 1,
|
|
ImPlotMouseTextFlags_ShowAlways = 1 << 2,
|
|
}ImPlotMouseTextFlags_;
|
|
typedef enum {
|
|
ImPlotDragToolFlags_None = 0,
|
|
ImPlotDragToolFlags_NoCursors = 1 << 0,
|
|
ImPlotDragToolFlags_NoFit = 1 << 1,
|
|
ImPlotDragToolFlags_NoInputs = 1 << 2,
|
|
ImPlotDragToolFlags_Delayed = 1 << 3,
|
|
}ImPlotDragToolFlags_;
|
|
typedef enum {
|
|
ImPlotColormapScaleFlags_None = 0,
|
|
ImPlotColormapScaleFlags_NoLabel = 1 << 0,
|
|
ImPlotColormapScaleFlags_Opposite = 1 << 1,
|
|
ImPlotColormapScaleFlags_Invert = 1 << 2,
|
|
}ImPlotColormapScaleFlags_;
|
|
typedef enum {
|
|
ImPlotItemFlags_None = 0,
|
|
ImPlotItemFlags_NoLegend = 1 << 0,
|
|
ImPlotItemFlags_NoFit = 1 << 1,
|
|
}ImPlotItemFlags_;
|
|
typedef enum {
|
|
ImPlotLineFlags_None = 0,
|
|
ImPlotLineFlags_Segments = 1 << 10,
|
|
ImPlotLineFlags_Loop = 1 << 11,
|
|
ImPlotLineFlags_SkipNaN = 1 << 12,
|
|
ImPlotLineFlags_NoClip = 1 << 13,
|
|
ImPlotLineFlags_Shaded = 1 << 14,
|
|
}ImPlotLineFlags_;
|
|
typedef enum {
|
|
ImPlotScatterFlags_None = 0,
|
|
ImPlotScatterFlags_NoClip = 1 << 10,
|
|
}ImPlotScatterFlags_;
|
|
typedef enum {
|
|
ImPlotBubblesFlags_None = 0,
|
|
}ImPlotBubblesFlags_;
|
|
typedef enum {
|
|
ImPlotPolygonFlags_None = 0,
|
|
ImPlotPolygonFlags_Concave = 1 << 10,
|
|
}ImPlotPolygonFlags_;
|
|
typedef enum {
|
|
ImPlotStairsFlags_None = 0,
|
|
ImPlotStairsFlags_PreStep = 1 << 10,
|
|
ImPlotStairsFlags_Shaded = 1 << 11
|
|
}ImPlotStairsFlags_;
|
|
typedef enum {
|
|
ImPlotShadedFlags_None = 0
|
|
}ImPlotShadedFlags_;
|
|
typedef enum {
|
|
ImPlotBarsFlags_None = 0,
|
|
ImPlotBarsFlags_Horizontal = 1 << 10,
|
|
}ImPlotBarsFlags_;
|
|
typedef enum {
|
|
ImPlotBarGroupsFlags_None = 0,
|
|
ImPlotBarGroupsFlags_Horizontal = 1 << 10,
|
|
ImPlotBarGroupsFlags_Stacked = 1 << 11,
|
|
}ImPlotBarGroupsFlags_;
|
|
typedef enum {
|
|
ImPlotErrorBarsFlags_None = 0,
|
|
ImPlotErrorBarsFlags_Horizontal = 1 << 10,
|
|
}ImPlotErrorBarsFlags_;
|
|
typedef enum {
|
|
ImPlotStemsFlags_None = 0,
|
|
ImPlotStemsFlags_Horizontal = 1 << 10,
|
|
}ImPlotStemsFlags_;
|
|
typedef enum {
|
|
ImPlotInfLinesFlags_None = 0,
|
|
ImPlotInfLinesFlags_Horizontal = 1 << 10
|
|
}ImPlotInfLinesFlags_;
|
|
typedef enum {
|
|
ImPlotPieChartFlags_None = 0,
|
|
ImPlotPieChartFlags_Normalize = 1 << 10,
|
|
ImPlotPieChartFlags_IgnoreHidden = 1 << 11,
|
|
ImPlotPieChartFlags_Exploding = 1 << 12,
|
|
ImPlotPieChartFlags_NoSliceBorder = 1 << 13
|
|
}ImPlotPieChartFlags_;
|
|
typedef enum {
|
|
ImPlotHeatmapFlags_None = 0,
|
|
ImPlotHeatmapFlags_ColMajor = 1 << 10,
|
|
}ImPlotHeatmapFlags_;
|
|
typedef enum {
|
|
ImPlotHistogramFlags_None = 0,
|
|
ImPlotHistogramFlags_Horizontal = 1 << 10,
|
|
ImPlotHistogramFlags_Cumulative = 1 << 11,
|
|
ImPlotHistogramFlags_Density = 1 << 12,
|
|
ImPlotHistogramFlags_NoOutliers = 1 << 13,
|
|
ImPlotHistogramFlags_ColMajor = 1 << 14
|
|
}ImPlotHistogramFlags_;
|
|
typedef enum {
|
|
ImPlotDigitalFlags_None = 0
|
|
}ImPlotDigitalFlags_;
|
|
typedef enum {
|
|
ImPlotImageFlags_None = 0
|
|
}ImPlotImageFlags_;
|
|
typedef enum {
|
|
ImPlotTextFlags_None = 0,
|
|
ImPlotTextFlags_Vertical = 1 << 10
|
|
}ImPlotTextFlags_;
|
|
typedef enum {
|
|
ImPlotDummyFlags_None = 0
|
|
}ImPlotDummyFlags_;
|
|
typedef enum {
|
|
ImPlotCond_None = ImGuiCond_None,
|
|
ImPlotCond_Always = ImGuiCond_Always,
|
|
ImPlotCond_Once = ImGuiCond_Once,
|
|
}ImPlotCond_;
|
|
typedef enum {
|
|
ImPlotCol_FrameBg,
|
|
ImPlotCol_PlotBg,
|
|
ImPlotCol_PlotBorder,
|
|
ImPlotCol_LegendBg,
|
|
ImPlotCol_LegendBorder,
|
|
ImPlotCol_LegendText,
|
|
ImPlotCol_TitleText,
|
|
ImPlotCol_InlayText,
|
|
ImPlotCol_AxisText,
|
|
ImPlotCol_AxisGrid,
|
|
ImPlotCol_AxisTick,
|
|
ImPlotCol_AxisBg,
|
|
ImPlotCol_AxisBgHovered,
|
|
ImPlotCol_AxisBgActive,
|
|
ImPlotCol_Selection,
|
|
ImPlotCol_Crosshairs,
|
|
ImPlotCol_COUNT
|
|
}ImPlotCol_;
|
|
typedef enum {
|
|
ImPlotStyleVar_PlotDefaultSize,
|
|
ImPlotStyleVar_PlotMinSize,
|
|
ImPlotStyleVar_PlotBorderSize,
|
|
ImPlotStyleVar_MinorAlpha,
|
|
ImPlotStyleVar_MajorTickLen,
|
|
ImPlotStyleVar_MinorTickLen,
|
|
ImPlotStyleVar_MajorTickSize,
|
|
ImPlotStyleVar_MinorTickSize,
|
|
ImPlotStyleVar_MajorGridSize,
|
|
ImPlotStyleVar_MinorGridSize,
|
|
ImPlotStyleVar_PlotPadding,
|
|
ImPlotStyleVar_LabelPadding,
|
|
ImPlotStyleVar_LegendPadding,
|
|
ImPlotStyleVar_LegendInnerPadding,
|
|
ImPlotStyleVar_LegendSpacing,
|
|
ImPlotStyleVar_MousePosPadding,
|
|
ImPlotStyleVar_AnnotationPadding,
|
|
ImPlotStyleVar_FitPadding,
|
|
ImPlotStyleVar_DigitalPadding,
|
|
ImPlotStyleVar_DigitalSpacing,
|
|
ImPlotStyleVar_COUNT
|
|
}ImPlotStyleVar_;
|
|
typedef enum {
|
|
ImPlotScale_Linear = 0,
|
|
ImPlotScale_Time,
|
|
ImPlotScale_Log10,
|
|
ImPlotScale_SymLog,
|
|
}ImPlotScale_;
|
|
typedef enum {
|
|
ImPlotMarker_None = -2,
|
|
ImPlotMarker_Auto = -1,
|
|
ImPlotMarker_Circle,
|
|
ImPlotMarker_Square,
|
|
ImPlotMarker_Diamond,
|
|
ImPlotMarker_Up,
|
|
ImPlotMarker_Down,
|
|
ImPlotMarker_Left,
|
|
ImPlotMarker_Right,
|
|
ImPlotMarker_Cross,
|
|
ImPlotMarker_Plus,
|
|
ImPlotMarker_Asterisk,
|
|
ImPlotMarker_COUNT
|
|
}ImPlotMarker_;
|
|
typedef enum {
|
|
ImPlotColormap_Deep = 0,
|
|
ImPlotColormap_Dark = 1,
|
|
ImPlotColormap_Pastel = 2,
|
|
ImPlotColormap_Paired = 3,
|
|
ImPlotColormap_Viridis = 4,
|
|
ImPlotColormap_Plasma = 5,
|
|
ImPlotColormap_Hot = 6,
|
|
ImPlotColormap_Cool = 7,
|
|
ImPlotColormap_Pink = 8,
|
|
ImPlotColormap_Jet = 9,
|
|
ImPlotColormap_Twilight = 10,
|
|
ImPlotColormap_RdBu = 11,
|
|
ImPlotColormap_BrBG = 12,
|
|
ImPlotColormap_PiYG = 13,
|
|
ImPlotColormap_Spectral = 14,
|
|
ImPlotColormap_Greys = 15,
|
|
}ImPlotColormap_;
|
|
typedef enum {
|
|
ImPlotLocation_Center = 0,
|
|
ImPlotLocation_North = 1 << 0,
|
|
ImPlotLocation_South = 1 << 1,
|
|
ImPlotLocation_West = 1 << 2,
|
|
ImPlotLocation_East = 1 << 3,
|
|
ImPlotLocation_NorthWest = ImPlotLocation_North | ImPlotLocation_West,
|
|
ImPlotLocation_NorthEast = ImPlotLocation_North | ImPlotLocation_East,
|
|
ImPlotLocation_SouthWest = ImPlotLocation_South | ImPlotLocation_West,
|
|
ImPlotLocation_SouthEast = ImPlotLocation_South | ImPlotLocation_East
|
|
}ImPlotLocation_;
|
|
typedef enum {
|
|
ImPlotBin_Sqrt = -1,
|
|
ImPlotBin_Sturges = -2,
|
|
ImPlotBin_Rice = -3,
|
|
ImPlotBin_Scott = -4,
|
|
}ImPlotBin_;
|
|
typedef struct ImPlotSpec_c ImPlotSpec_c;
|
|
struct ImPlotSpec_c
|
|
{
|
|
ImVec4_c LineColor;
|
|
ImU32* LineColors;
|
|
float LineWeight;
|
|
ImVec4_c FillColor;
|
|
ImU32* FillColors;
|
|
float FillAlpha;
|
|
ImPlotMarker Marker;
|
|
float MarkerSize;
|
|
float* MarkerSizes;
|
|
ImVec4_c MarkerLineColor;
|
|
ImU32* MarkerLineColors;
|
|
ImVec4_c MarkerFillColor;
|
|
ImU32* MarkerFillColors;
|
|
float Size;
|
|
int Offset;
|
|
int Stride;
|
|
ImPlotItemFlags Flags;
|
|
};
|
|
typedef struct ImPlotPoint_c ImPlotPoint_c;
|
|
struct ImPlotPoint_c
|
|
{
|
|
double x, y;
|
|
};
|
|
typedef struct ImPlotRange_c ImPlotRange_c;
|
|
struct ImPlotRange_c
|
|
{
|
|
double Min, Max;
|
|
};
|
|
typedef struct ImPlotRect_c ImPlotRect_c;
|
|
struct ImPlotRect_c
|
|
{
|
|
ImPlotRange_c X, Y;
|
|
};
|
|
typedef struct ImPlotStyle ImPlotStyle;
|
|
struct ImPlotStyle
|
|
{
|
|
ImVec2_c PlotDefaultSize;
|
|
ImVec2_c PlotMinSize;
|
|
float PlotBorderSize;
|
|
float MinorAlpha;
|
|
ImVec2_c MajorTickLen;
|
|
ImVec2_c MinorTickLen;
|
|
ImVec2_c MajorTickSize;
|
|
ImVec2_c MinorTickSize;
|
|
ImVec2_c MajorGridSize;
|
|
ImVec2_c MinorGridSize;
|
|
ImVec2_c PlotPadding;
|
|
ImVec2_c LabelPadding;
|
|
ImVec2_c LegendPadding;
|
|
ImVec2_c LegendInnerPadding;
|
|
ImVec2_c LegendSpacing;
|
|
ImVec2_c MousePosPadding;
|
|
ImVec2_c AnnotationPadding;
|
|
ImVec2_c FitPadding;
|
|
float DigitalPadding;
|
|
float DigitalSpacing;
|
|
ImVec4_c Colors[ImPlotCol_COUNT];
|
|
ImPlotColormap Colormap;
|
|
_Bool UseLocalTime;
|
|
_Bool UseISO8601;
|
|
_Bool Use24HourClock;
|
|
};
|
|
typedef struct ImPlotInputMap ImPlotInputMap;
|
|
struct ImPlotInputMap
|
|
{
|
|
ImGuiMouseButton Pan;
|
|
int PanMod;
|
|
ImGuiMouseButton Fit;
|
|
ImGuiMouseButton Select;
|
|
ImGuiMouseButton SelectCancel;
|
|
int SelectMod;
|
|
int SelectHorzMod;
|
|
int SelectVertMod;
|
|
ImGuiMouseButton Menu;
|
|
int OverrideMod;
|
|
int ZoomMod;
|
|
float ZoomRate;
|
|
};
|
|
typedef int (*ImPlotFormatter)(double value, char* buff, int size, void* user_data);
|
|
typedef ImPlotPoint_c (*ImPlotGetter)(int idx, void* user_data);
|
|
typedef double (*ImPlotTransform)(double value, void* user_data);
|
|
static const int IMPLOT_LABEL_MAX_SIZE = 32;
|
|
struct ImPlotTick_c;
|
|
struct ImPlotAxis_c;
|
|
struct ImPlotAxisColor;
|
|
struct ImPlotItem;
|
|
struct ImPlotLegend;
|
|
struct ImPlotPlot;
|
|
struct ImPlotNextPlotData;
|
|
struct ImPlotTicker;
|
|
typedef int ImPlotTimeUnit;
|
|
typedef int ImPlotDateFmt;
|
|
typedef int ImPlotTimeFmt;
|
|
typedef int ImPlotMarkerInternal;
|
|
typedef enum {
|
|
ImPlotTimeUnit_Us,
|
|
ImPlotTimeUnit_Ms,
|
|
ImPlotTimeUnit_S,
|
|
ImPlotTimeUnit_Min,
|
|
ImPlotTimeUnit_Hr,
|
|
ImPlotTimeUnit_Day,
|
|
ImPlotTimeUnit_Mo,
|
|
ImPlotTimeUnit_Yr,
|
|
ImPlotTimeUnit_COUNT
|
|
}ImPlotTimeUnit_;
|
|
typedef enum {
|
|
ImPlotDateFmt_None = 0,
|
|
ImPlotDateFmt_DayMo,
|
|
ImPlotDateFmt_DayMoYr,
|
|
ImPlotDateFmt_MoYr,
|
|
ImPlotDateFmt_Mo,
|
|
ImPlotDateFmt_Yr
|
|
}ImPlotDateFmt_;
|
|
typedef enum {
|
|
ImPlotTimeFmt_None = 0,
|
|
ImPlotTimeFmt_Us,
|
|
ImPlotTimeFmt_SUs,
|
|
ImPlotTimeFmt_SMs,
|
|
ImPlotTimeFmt_S,
|
|
ImPlotTimeFmt_MinSMs,
|
|
ImPlotTimeFmt_HrMinSMs,
|
|
ImPlotTimeFmt_HrMinS,
|
|
ImPlotTimeFmt_HrMin,
|
|
ImPlotTimeFmt_Hr
|
|
}ImPlotTimeFmt_;
|
|
typedef enum {
|
|
ImPlotMarker_Invalid = -3
|
|
}ImPlotMarkerInternal_;
|
|
typedef void (*ImPlotLocator)(ImPlotTicker* ticker, const ImPlotRange_c range, float pixels, _Bool vertical, ImPlotFormatter formatter, void* formatter_data);
|
|
typedef struct ImPlotDateTimeSpec_c ImPlotDateTimeSpec_c;
|
|
struct ImPlotDateTimeSpec_c
|
|
{
|
|
ImPlotDateFmt Date;
|
|
ImPlotTimeFmt Time;
|
|
_Bool UseISO8601;
|
|
_Bool Use24HourClock;
|
|
};
|
|
typedef struct ImPlotTime_c ImPlotTime_c;
|
|
struct ImPlotTime_c
|
|
{
|
|
time_t S;
|
|
int Us;
|
|
};
|
|
typedef struct ImPlotColormapData ImPlotColormapData;
|
|
typedef struct ImVector_bool {int Size;int Capacity; _Bool * Data;} ImVector_bool;
|
|
struct ImPlotColormapData
|
|
{
|
|
ImVector_ImU32 Keys;
|
|
ImVector_int KeyCounts;
|
|
ImVector_int KeyOffsets;
|
|
ImVector_ImU32 Tables;
|
|
ImVector_int TableSizes;
|
|
ImVector_int TableOffsets;
|
|
ImGuiTextBuffer Text;
|
|
ImVector_int TextOffsets;
|
|
ImVector_bool Quals;
|
|
ImGuiStorage Map;
|
|
int Count;
|
|
};
|
|
typedef struct ImPlotPointError ImPlotPointError;
|
|
struct ImPlotPointError
|
|
{
|
|
double X, Y, Neg, Pos;
|
|
};
|
|
typedef struct ImPlotAnnotation ImPlotAnnotation;
|
|
struct ImPlotAnnotation
|
|
{
|
|
ImVec2_c Pos;
|
|
ImVec2_c Offset;
|
|
ImU32 ColorBg;
|
|
ImU32 ColorFg;
|
|
int TextOffset;
|
|
_Bool Clamp;
|
|
};
|
|
typedef struct ImPlotAnnotationCollection ImPlotAnnotationCollection;
|
|
typedef struct ImVector_ImPlotAnnotation {int Size;int Capacity;ImPlotAnnotation* Data;} ImVector_ImPlotAnnotation;
|
|
struct ImPlotAnnotationCollection
|
|
{
|
|
ImVector_ImPlotAnnotation Annotations;
|
|
ImGuiTextBuffer TextBuffer;
|
|
int Size;
|
|
};
|
|
typedef struct ImPlotTag ImPlotTag;
|
|
struct ImPlotTag
|
|
{
|
|
ImAxis Axis;
|
|
double Value;
|
|
ImU32 ColorBg;
|
|
ImU32 ColorFg;
|
|
int TextOffset;
|
|
};
|
|
typedef struct ImPlotTagCollection ImPlotTagCollection;
|
|
typedef struct ImVector_ImPlotTag {int Size;int Capacity;ImPlotTag* Data;} ImVector_ImPlotTag;
|
|
struct ImPlotTagCollection
|
|
{
|
|
ImVector_ImPlotTag Tags;
|
|
ImGuiTextBuffer TextBuffer;
|
|
int Size;
|
|
};
|
|
struct ImPlotTick_c
|
|
{
|
|
double PlotPos;
|
|
float PixelPos;
|
|
ImVec2_c LabelSize;
|
|
int TextOffset;
|
|
_Bool Major;
|
|
_Bool ShowLabel;
|
|
int Level;
|
|
int Idx;
|
|
};
|
|
typedef struct ImVector_ImPlotTick {int Size;int Capacity;ImPlotTick_c* Data;} ImVector_ImPlotTick;
|
|
struct ImPlotTicker
|
|
{
|
|
ImVector_ImPlotTick Ticks;
|
|
ImGuiTextBuffer TextBuffer;
|
|
ImVec2_c MaxSize;
|
|
ImVec2_c LateSize;
|
|
int Levels;
|
|
};
|
|
struct ImPlotAxis_c
|
|
{
|
|
ImGuiID ID;
|
|
ImPlotAxisFlags Flags;
|
|
ImPlotAxisFlags PreviousFlags;
|
|
ImPlotRange_c Range;
|
|
ImPlotCond RangeCond;
|
|
ImPlotScale Scale;
|
|
ImPlotRange_c FitExtents;
|
|
ImPlotAxis_c* OrthoAxis;
|
|
ImPlotRange_c ConstraintRange;
|
|
ImPlotRange_c ConstraintZoom;
|
|
ImPlotTicker Ticker;
|
|
ImPlotFormatter Formatter;
|
|
void* FormatterData;
|
|
char FormatSpec[16];
|
|
ImPlotLocator Locator;
|
|
double* LinkedMin;
|
|
double* LinkedMax;
|
|
int PickerLevel;
|
|
ImPlotTime_c PickerTimeMin, PickerTimeMax;
|
|
ImPlotTransform TransformForward;
|
|
ImPlotTransform TransformInverse;
|
|
void* TransformData;
|
|
float PixelMin, PixelMax;
|
|
double ScaleMin, ScaleMax;
|
|
double ScaleToPixel;
|
|
float Datum1, Datum2;
|
|
ImRect_c HoverRect;
|
|
int LabelOffset;
|
|
ImU32 ColorMaj, ColorMin, ColorTick, ColorTxt, ColorBg, ColorHov, ColorAct, ColorHiLi;
|
|
_Bool Enabled;
|
|
_Bool Vertical;
|
|
_Bool FitThisFrame;
|
|
_Bool HasRange;
|
|
_Bool HasFormatSpec;
|
|
_Bool ShowDefaultTicks;
|
|
_Bool Hovered;
|
|
_Bool Held;
|
|
};
|
|
typedef struct ImPlotAlignmentData ImPlotAlignmentData;
|
|
struct ImPlotAlignmentData
|
|
{
|
|
_Bool Vertical;
|
|
float PadA;
|
|
float PadB;
|
|
float PadAMax;
|
|
float PadBMax;
|
|
};
|
|
struct ImPlotItem
|
|
{
|
|
ImGuiID ID;
|
|
ImU32 Color;
|
|
ImPlotMarker Marker;
|
|
ImRect_c LegendHoverRect;
|
|
int NameOffset;
|
|
_Bool Show;
|
|
_Bool LegendHovered;
|
|
_Bool SeenThisFrame;
|
|
};
|
|
struct ImPlotLegend
|
|
{
|
|
ImPlotLegendFlags Flags;
|
|
ImPlotLegendFlags PreviousFlags;
|
|
ImPlotLocation Location;
|
|
ImPlotLocation PreviousLocation;
|
|
ImVec2_c Scroll;
|
|
ImVector_int Indices;
|
|
ImGuiTextBuffer Labels;
|
|
ImRect_c Rect;
|
|
ImRect_c RectClamped;
|
|
_Bool Hovered;
|
|
_Bool Held;
|
|
_Bool CanGoInside;
|
|
};
|
|
typedef struct ImPlotItemGroup ImPlotItemGroup;
|
|
typedef struct ImVector_ImPlotItem {int Size;int Capacity;ImPlotItem* Data;} ImVector_ImPlotItem;
|
|
typedef struct ImPool_ImPlotItem {ImVector_ImPlotItem Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;ImPoolIdx AliveCount;} ImPool_ImPlotItem;
|
|
struct ImPlotItemGroup
|
|
{
|
|
ImGuiID ID;
|
|
ImPlotLegend Legend;
|
|
ImPool_ImPlotItem ItemPool;
|
|
int ColormapIdx;
|
|
ImPlotMarker MarkerIdx;
|
|
};
|
|
struct ImPlotPlot
|
|
{
|
|
ImGuiID ID;
|
|
ImPlotFlags Flags;
|
|
ImPlotFlags PreviousFlags;
|
|
ImPlotLocation MouseTextLocation;
|
|
ImPlotMouseTextFlags MouseTextFlags;
|
|
ImPlotAxis_c Axes[ImAxis_COUNT];
|
|
ImGuiTextBuffer TextBuffer;
|
|
ImPlotItemGroup Items;
|
|
ImAxis CurrentX;
|
|
ImAxis CurrentY;
|
|
ImRect_c FrameRect;
|
|
ImRect_c CanvasRect;
|
|
ImRect_c PlotRect;
|
|
ImRect_c AxesRect;
|
|
ImRect_c SelectRect;
|
|
ImVec2_c SelectStart;
|
|
int TitleOffset;
|
|
_Bool JustCreated;
|
|
_Bool Initialized;
|
|
_Bool SetupLocked;
|
|
_Bool FitThisFrame;
|
|
_Bool Hovered;
|
|
_Bool Held;
|
|
_Bool Selecting;
|
|
_Bool Selected;
|
|
_Bool ContextLocked;
|
|
};
|
|
typedef struct ImPlotSubplot ImPlotSubplot;
|
|
typedef struct ImVector_ImPlotAlignmentData {int Size;int Capacity;ImPlotAlignmentData* Data;} ImVector_ImPlotAlignmentData;
|
|
typedef struct ImVector_ImPlotRange {int Size;int Capacity;ImPlotRange_c* Data;} ImVector_ImPlotRange;
|
|
struct ImPlotSubplot
|
|
{
|
|
ImGuiID ID;
|
|
ImPlotSubplotFlags Flags;
|
|
ImPlotSubplotFlags PreviousFlags;
|
|
ImPlotItemGroup Items;
|
|
int Rows;
|
|
int Cols;
|
|
int CurrentIdx;
|
|
ImRect_c FrameRect;
|
|
ImRect_c GridRect;
|
|
ImVec2_c CellSize;
|
|
ImVector_ImPlotAlignmentData RowAlignmentData;
|
|
ImVector_ImPlotAlignmentData ColAlignmentData;
|
|
ImVector_float RowRatios;
|
|
ImVector_float ColRatios;
|
|
ImVector_ImPlotRange RowLinkData;
|
|
ImVector_ImPlotRange ColLinkData;
|
|
float TempSizes[2];
|
|
_Bool FrameHovered;
|
|
_Bool HasTitle;
|
|
};
|
|
struct ImPlotNextPlotData
|
|
{
|
|
ImPlotCond RangeCond[ImAxis_COUNT];
|
|
ImPlotRange_c Range[ImAxis_COUNT];
|
|
_Bool HasRange[ImAxis_COUNT];
|
|
_Bool Fit[ImAxis_COUNT];
|
|
double* LinkedMin[ImAxis_COUNT];
|
|
double* LinkedMax[ImAxis_COUNT];
|
|
};
|
|
typedef struct ImPlotNextItemData ImPlotNextItemData;
|
|
struct ImPlotNextItemData
|
|
{
|
|
ImPlotSpec_c Spec;
|
|
_Bool RenderLine;
|
|
_Bool RenderFill;
|
|
_Bool RenderMarkerLine;
|
|
_Bool RenderMarkerFill;
|
|
_Bool RenderMarkers;
|
|
_Bool HasHidden;
|
|
_Bool Hidden;
|
|
ImPlotCond HiddenCond;
|
|
};
|
|
typedef struct ImVector_ImPlotPlot {int Size;int Capacity;ImPlotPlot* Data;} ImVector_ImPlotPlot;
|
|
typedef struct ImPool_ImPlotPlot {ImVector_ImPlotPlot Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;ImPoolIdx AliveCount;} ImPool_ImPlotPlot;
|
|
typedef struct ImVector_ImPlotSubplot {int Size;int Capacity;ImPlotSubplot* Data;} ImVector_ImPlotSubplot;
|
|
typedef struct ImPool_ImPlotSubplot {ImVector_ImPlotSubplot Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;ImPoolIdx AliveCount;} ImPool_ImPlotSubplot;
|
|
typedef struct ImVector_ImPlotColormap {int Size;int Capacity;ImPlotColormap* Data;} ImVector_ImPlotColormap;
|
|
typedef struct ImVector_double {int Size;int Capacity;double* Data;} ImVector_double;
|
|
typedef struct ImPool_ImPlotAlignmentData {ImVector_ImPlotAlignmentData Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;ImPoolIdx AliveCount;} ImPool_ImPlotAlignmentData;
|
|
struct ImPlotContext
|
|
{
|
|
ImPool_ImPlotPlot Plots;
|
|
ImPool_ImPlotSubplot Subplots;
|
|
ImPlotPlot* CurrentPlot;
|
|
ImPlotSubplot* CurrentSubplot;
|
|
ImPlotItemGroup* CurrentItems;
|
|
ImPlotItem* CurrentItem;
|
|
ImPlotItem* PreviousItem;
|
|
ImPlotTicker CTicker;
|
|
ImPlotAnnotationCollection Annotations;
|
|
ImPlotTagCollection Tags;
|
|
ImPlotStyle Style;
|
|
ImVector_ImGuiColorMod ColorModifiers;
|
|
ImVector_ImGuiStyleMod StyleModifiers;
|
|
ImPlotColormapData ColormapData;
|
|
ImVector_ImPlotColormap ColormapModifiers;
|
|
tm Tm;
|
|
ImVector_double TempDouble1, TempDouble2;
|
|
ImVector_int TempInt1;
|
|
int DigitalPlotItemCnt;
|
|
int DigitalPlotOffset;
|
|
ImPlotNextPlotData NextPlotData;
|
|
ImPlotNextItemData NextItemData;
|
|
ImPlotInputMap InputMap;
|
|
_Bool OpenContextThisFrame;
|
|
ImGuiTextBuffer MousePosStringBuilder;
|
|
ImPlotItemGroup* SortItems;
|
|
ImPool_ImPlotAlignmentData AlignmentData;
|
|
ImPlotAlignmentData* CurrentAlignmentH;
|
|
ImPlotAlignmentData* CurrentAlignmentV;
|
|
};
|
|
typedef struct Formatter_Time_Data Formatter_Time_Data;
|
|
struct Formatter_Time_Data
|
|
{
|
|
ImPlotTime_c Time;
|
|
ImPlotDateTimeSpec_c Spec;
|
|
ImPlotFormatter UserFormatter;
|
|
void* UserFormatterData;
|
|
};
|
|
typedef struct ImPlotDateTimeSpec_c ImPlotDateTimeSpec;
|
|
typedef struct ImPlotPoint_c ImPlotPoint;
|
|
typedef struct ImPlotRange_c ImPlotRange;
|
|
typedef struct ImPlotTime_c ImPlotTime;
|
|
typedef struct ImPlotRect_c ImPlotRect;
|
|
typedef struct ImPlotSpec_c ImPlotSpec;
|
|
typedef struct ImPlotTick_c ImPlotTick;
|
|
typedef struct ImPlotAxis_c ImPlotAxis;
|
|
typedef void *(*ImPlotPoint_getter)(void* data, int idx, ImPlotPoint_c *point);
|
|
ImPlotSpec* ImPlotSpec_ImPlotSpec(void);
|
|
void ImPlotSpec_destroy(ImPlotSpec* self);
|
|
void ImPlotSpec_SetProp_Float(ImPlotSpec* self,ImPlotProp prop,float v);
|
|
void ImPlotSpec_SetProp_double(ImPlotSpec* self,ImPlotProp prop,double v);
|
|
void ImPlotSpec_SetProp_S8(ImPlotSpec* self,ImPlotProp prop,ImS8 v);
|
|
void ImPlotSpec_SetProp_U8(ImPlotSpec* self,ImPlotProp prop,ImU8 v);
|
|
void ImPlotSpec_SetProp_S16(ImPlotSpec* self,ImPlotProp prop,ImS16 v);
|
|
void ImPlotSpec_SetProp_U16(ImPlotSpec* self,ImPlotProp prop,ImU16 v);
|
|
void ImPlotSpec_SetProp_S32(ImPlotSpec* self,ImPlotProp prop,ImS32 v);
|
|
void ImPlotSpec_SetProp_U32(ImPlotSpec* self,ImPlotProp prop,ImU32 v);
|
|
void ImPlotSpec_SetProp_S64(ImPlotSpec* self,ImPlotProp prop,ImS64 v);
|
|
void ImPlotSpec_SetProp_U64(ImPlotSpec* self,ImPlotProp prop,ImU64 v);
|
|
void ImPlotSpec_SetProp_U32Ptr(ImPlotSpec* self,ImPlotProp prop,ImU32* v);
|
|
void ImPlotSpec_SetProp_FloatPtr(ImPlotSpec* self,ImPlotProp prop,float* v);
|
|
void ImPlotSpec_SetProp_Vec4(ImPlotSpec* self,ImPlotProp prop,const ImVec4_c v);
|
|
ImPlotPoint* ImPlotPoint_ImPlotPoint_Nil(void);
|
|
void ImPlotPoint_destroy(ImPlotPoint* self);
|
|
ImPlotPoint* ImPlotPoint_ImPlotPoint_double(double _x,double _y);
|
|
ImPlotPoint* ImPlotPoint_ImPlotPoint_Vec2(const ImVec2_c p);
|
|
ImPlotRange* ImPlotRange_ImPlotRange_Nil(void);
|
|
void ImPlotRange_destroy(ImPlotRange* self);
|
|
ImPlotRange* ImPlotRange_ImPlotRange_double(double _min,double _max);
|
|
_Bool ImPlotRange_Contains(ImPlotRange* self,double value);
|
|
double ImPlotRange_Size(ImPlotRange* self);
|
|
double ImPlotRange_Clamp(ImPlotRange* self,double value);
|
|
ImPlotRect* ImPlotRect_ImPlotRect_Nil(void);
|
|
void ImPlotRect_destroy(ImPlotRect* self);
|
|
ImPlotRect* ImPlotRect_ImPlotRect_double(double x_min,double x_max,double y_min,double y_max);
|
|
_Bool ImPlotRect_Contains_PlotPoint(ImPlotRect* self,const ImPlotPoint_c p);
|
|
_Bool ImPlotRect_Contains_double(ImPlotRect* self,double x,double y);
|
|
ImPlotPoint_c ImPlotRect_Size(ImPlotRect* self);
|
|
ImPlotPoint_c ImPlotRect_Clamp_PlotPoint(ImPlotRect* self,const ImPlotPoint_c p);
|
|
ImPlotPoint_c ImPlotRect_Clamp_double(ImPlotRect* self,double x,double y);
|
|
ImPlotPoint_c ImPlotRect_Min(ImPlotRect* self);
|
|
ImPlotPoint_c ImPlotRect_Max(ImPlotRect* self);
|
|
ImPlotStyle* ImPlotStyle_ImPlotStyle(void);
|
|
void ImPlotStyle_destroy(ImPlotStyle* self);
|
|
ImPlotInputMap* ImPlotInputMap_ImPlotInputMap(void);
|
|
void ImPlotInputMap_destroy(ImPlotInputMap* self);
|
|
ImPlotContext* ImPlot_CreateContext(void);
|
|
void ImPlot_DestroyContext(ImPlotContext* ctx);
|
|
ImPlotContext* ImPlot_GetCurrentContext(void);
|
|
void ImPlot_SetCurrentContext(ImPlotContext* ctx);
|
|
void ImPlot_SetImGuiContext(ImGuiContext* ctx);
|
|
_Bool ImPlot_BeginPlot(const char* title_id,const ImVec2_c size,ImPlotFlags flags);
|
|
void ImPlot_EndPlot(void);
|
|
_Bool ImPlot_BeginSubplots(const char* title_id,int rows,int cols,const ImVec2_c size,ImPlotSubplotFlags flags,float* row_ratios,float* col_ratios);
|
|
void ImPlot_EndSubplots(void);
|
|
void ImPlot_SetupAxis(ImAxis axis,const char* label,ImPlotAxisFlags flags);
|
|
void ImPlot_SetupAxisLimits(ImAxis axis,double v_min,double v_max,ImPlotCond cond);
|
|
void ImPlot_SetupAxisLinks(ImAxis axis,double* link_min,double* link_max);
|
|
void ImPlot_SetupAxisFormat_Str(ImAxis axis,const char* fmt);
|
|
void ImPlot_SetupAxisFormat_PlotFormatter(ImAxis axis,ImPlotFormatter formatter,void* data);
|
|
void ImPlot_SetupAxisTicks_doublePtr(ImAxis axis,const double* values,int n_ticks,const char* const labels[], _Bool keep_default);
|
|
void ImPlot_SetupAxisTicks_double(ImAxis axis,double v_min,double v_max,int n_ticks,const char* const labels[], _Bool keep_default);
|
|
void ImPlot_SetupAxisScale_PlotScale(ImAxis axis,ImPlotScale scale);
|
|
void ImPlot_SetupAxisScale_PlotTransform(ImAxis axis,ImPlotTransform forward,ImPlotTransform inverse,void* data);
|
|
void ImPlot_SetupAxisLimitsConstraints(ImAxis axis,double v_min,double v_max);
|
|
void ImPlot_SetupAxisZoomConstraints(ImAxis axis,double z_min,double z_max);
|
|
void ImPlot_SetupAxes(const char* x_label,const char* y_label,ImPlotAxisFlags x_flags,ImPlotAxisFlags y_flags);
|
|
void ImPlot_SetupAxesLimits(double x_min,double x_max,double y_min,double y_max,ImPlotCond cond);
|
|
void ImPlot_SetupLegend(ImPlotLocation location,ImPlotLegendFlags flags);
|
|
void ImPlot_SetupMouseText(ImPlotLocation location,ImPlotMouseTextFlags flags);
|
|
void ImPlot_SetupFinish(void);
|
|
void ImPlot_SetNextAxisLimits(ImAxis axis,double v_min,double v_max,ImPlotCond cond);
|
|
void ImPlot_SetNextAxisLinks(ImAxis axis,double* link_min,double* link_max);
|
|
void ImPlot_SetNextAxisToFit(ImAxis axis);
|
|
void ImPlot_SetNextAxesLimits(double x_min,double x_max,double y_min,double y_max,ImPlotCond cond);
|
|
void ImPlot_SetNextAxesToFit(void);
|
|
void ImPlot_PlotLine_FloatPtrInt(const char* label_id,const float* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_doublePtrInt(const char* label_id,const double* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_S8PtrInt(const char* label_id,const ImS8* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_U8PtrInt(const char* label_id,const ImU8* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_S16PtrInt(const char* label_id,const ImS16* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_U16PtrInt(const char* label_id,const ImU16* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_S32PtrInt(const char* label_id,const ImS32* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_U32PtrInt(const char* label_id,const ImU32* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_S64PtrInt(const char* label_id,const ImS64* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_U64PtrInt(const char* label_id,const ImU64* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_FloatPtrFloatPtr(const char* label_id,const float* xs,const float* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_doublePtrdoublePtr(const char* label_id,const double* xs,const double* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_S8PtrS8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_U8PtrU8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_S16PtrS16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_U16PtrU16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_S32PtrS32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_U32PtrU32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_S64PtrS64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLine_U64PtrU64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLineG_LJ(const char* label_id,ImPlotPoint_getter getter,void* data,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotLineG(const char* label_id,ImPlotGetter getter,void* data,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_FloatPtrInt(const char* label_id,const float* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_doublePtrInt(const char* label_id,const double* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_S8PtrInt(const char* label_id,const ImS8* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_U8PtrInt(const char* label_id,const ImU8* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_S16PtrInt(const char* label_id,const ImS16* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_U16PtrInt(const char* label_id,const ImU16* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_S32PtrInt(const char* label_id,const ImS32* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_U32PtrInt(const char* label_id,const ImU32* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_S64PtrInt(const char* label_id,const ImS64* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_U64PtrInt(const char* label_id,const ImU64* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_FloatPtrFloatPtr(const char* label_id,const float* xs,const float* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_doublePtrdoublePtr(const char* label_id,const double* xs,const double* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_S8PtrS8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_U8PtrU8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_S16PtrS16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_U16PtrU16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_S32PtrS32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_U32PtrU32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_S64PtrS64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatter_U64PtrU64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatterG_LJ(const char* label_id,ImPlotPoint_getter getter,void* data,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotScatterG(const char* label_id,ImPlotGetter getter,void* data,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_FloatPtrFloatPtrInt(const char* label_id,const float* values,const float* szs,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_doublePtrdoublePtrInt(const char* label_id,const double* values,const double* szs,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_S8PtrS8PtrInt(const char* label_id,const ImS8* values,const ImS8* szs,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_U8PtrU8PtrInt(const char* label_id,const ImU8* values,const ImU8* szs,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_S16PtrS16PtrInt(const char* label_id,const ImS16* values,const ImS16* szs,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_U16PtrU16PtrInt(const char* label_id,const ImU16* values,const ImU16* szs,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_S32PtrS32PtrInt(const char* label_id,const ImS32* values,const ImS32* szs,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_U32PtrU32PtrInt(const char* label_id,const ImU32* values,const ImU32* szs,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_S64PtrS64PtrInt(const char* label_id,const ImS64* values,const ImS64* szs,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_U64PtrU64PtrInt(const char* label_id,const ImU64* values,const ImU64* szs,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_FloatPtrFloatPtrFloatPtr(const char* label_id,const float* xs,const float* ys,const float* szs,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_doublePtrdoublePtrdoublePtr(const char* label_id,const double* xs,const double* ys,const double* szs,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_S8PtrS8PtrS8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,const ImS8* szs,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_U8PtrU8PtrU8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,const ImU8* szs,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_S16PtrS16PtrS16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,const ImS16* szs,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_U16PtrU16PtrU16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,const ImU16* szs,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_S32PtrS32PtrS32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,const ImS32* szs,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_U32PtrU32PtrU32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,const ImU32* szs,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_S64PtrS64PtrS64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,const ImS64* szs,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBubbles_U64PtrU64PtrU64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,const ImU64* szs,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPolygon_FloatPtr(const char* label_id,const float* xs,const float* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPolygon_doublePtr(const char* label_id,const double* xs,const double* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPolygon_S8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPolygon_U8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPolygon_S16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPolygon_U16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPolygon_S32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPolygon_U32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPolygon_S64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPolygon_U64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_FloatPtrInt(const char* label_id,const float* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_doublePtrInt(const char* label_id,const double* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_S8PtrInt(const char* label_id,const ImS8* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_U8PtrInt(const char* label_id,const ImU8* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_S16PtrInt(const char* label_id,const ImS16* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_U16PtrInt(const char* label_id,const ImU16* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_S32PtrInt(const char* label_id,const ImS32* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_U32PtrInt(const char* label_id,const ImU32* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_S64PtrInt(const char* label_id,const ImS64* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_U64PtrInt(const char* label_id,const ImU64* values,int count,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_FloatPtrFloatPtr(const char* label_id,const float* xs,const float* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_doublePtrdoublePtr(const char* label_id,const double* xs,const double* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_S8PtrS8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_U8PtrU8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_S16PtrS16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_U16PtrU16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_S32PtrS32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_U32PtrU32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_S64PtrS64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairs_U64PtrU64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairsG_LJ(const char* label_id,ImPlotPoint_getter getter,void* data,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStairsG(const char* label_id,ImPlotGetter getter,void* data,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_FloatPtrInt(const char* label_id,const float* values,int count,double yref,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_doublePtrInt(const char* label_id,const double* values,int count,double yref,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S8PtrInt(const char* label_id,const ImS8* values,int count,double yref,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U8PtrInt(const char* label_id,const ImU8* values,int count,double yref,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S16PtrInt(const char* label_id,const ImS16* values,int count,double yref,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U16PtrInt(const char* label_id,const ImU16* values,int count,double yref,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S32PtrInt(const char* label_id,const ImS32* values,int count,double yref,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U32PtrInt(const char* label_id,const ImU32* values,int count,double yref,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S64PtrInt(const char* label_id,const ImS64* values,int count,double yref,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U64PtrInt(const char* label_id,const ImU64* values,int count,double yref,double xscale,double xstart,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_FloatPtrFloatPtrInt(const char* label_id,const float* xs,const float* ys,int count,double yref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_doublePtrdoublePtrInt(const char* label_id,const double* xs,const double* ys,int count,double yref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S8PtrS8PtrInt(const char* label_id,const ImS8* xs,const ImS8* ys,int count,double yref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U8PtrU8PtrInt(const char* label_id,const ImU8* xs,const ImU8* ys,int count,double yref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S16PtrS16PtrInt(const char* label_id,const ImS16* xs,const ImS16* ys,int count,double yref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U16PtrU16PtrInt(const char* label_id,const ImU16* xs,const ImU16* ys,int count,double yref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S32PtrS32PtrInt(const char* label_id,const ImS32* xs,const ImS32* ys,int count,double yref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U32PtrU32PtrInt(const char* label_id,const ImU32* xs,const ImU32* ys,int count,double yref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S64PtrS64PtrInt(const char* label_id,const ImS64* xs,const ImS64* ys,int count,double yref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U64PtrU64PtrInt(const char* label_id,const ImU64* xs,const ImU64* ys,int count,double yref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr(const char* label_id,const float* xs,const float* ys1,const float* ys2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr(const char* label_id,const double* xs,const double* ys1,const double* ys2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S8PtrS8PtrS8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys1,const ImS8* ys2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U8PtrU8PtrU8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys1,const ImU8* ys2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S16PtrS16PtrS16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys1,const ImS16* ys2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U16PtrU16PtrU16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys1,const ImU16* ys2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S32PtrS32PtrS32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys1,const ImS32* ys2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U32PtrU32PtrU32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys1,const ImU32* ys2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_S64PtrS64PtrS64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys1,const ImS64* ys2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShaded_U64PtrU64PtrU64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys1,const ImU64* ys2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShadedG_LJ(const char* label_id,ImPlotPoint_getter getter1,void* data1,ImPlotPoint_getter getter2,void* data2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotShadedG(const char* label_id,ImPlotGetter getter1,void* data1,ImPlotGetter getter2,void* data2,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_FloatPtrInt(const char* label_id,const float* values,int count,double bar_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_doublePtrInt(const char* label_id,const double* values,int count,double bar_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_S8PtrInt(const char* label_id,const ImS8* values,int count,double bar_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_U8PtrInt(const char* label_id,const ImU8* values,int count,double bar_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_S16PtrInt(const char* label_id,const ImS16* values,int count,double bar_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_U16PtrInt(const char* label_id,const ImU16* values,int count,double bar_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_S32PtrInt(const char* label_id,const ImS32* values,int count,double bar_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_U32PtrInt(const char* label_id,const ImU32* values,int count,double bar_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_S64PtrInt(const char* label_id,const ImS64* values,int count,double bar_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_U64PtrInt(const char* label_id,const ImU64* values,int count,double bar_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_FloatPtrFloatPtr(const char* label_id,const float* xs,const float* ys,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_doublePtrdoublePtr(const char* label_id,const double* xs,const double* ys,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_S8PtrS8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_U8PtrU8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_S16PtrS16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_U16PtrU16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_S32PtrS32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_U32PtrU32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_S64PtrS64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBars_U64PtrU64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarsG_LJ(const char* label_id,ImPlotPoint_getter getter,void* data,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarsG(const char* label_id,ImPlotGetter getter,void* data,int count,double bar_size,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarGroups_FloatPtr(const char* const label_ids[],const float* values,int item_count,int group_count,double group_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarGroups_doublePtr(const char* const label_ids[],const double* values,int item_count,int group_count,double group_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarGroups_S8Ptr(const char* const label_ids[],const ImS8* values,int item_count,int group_count,double group_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarGroups_U8Ptr(const char* const label_ids[],const ImU8* values,int item_count,int group_count,double group_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarGroups_S16Ptr(const char* const label_ids[],const ImS16* values,int item_count,int group_count,double group_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarGroups_U16Ptr(const char* const label_ids[],const ImU16* values,int item_count,int group_count,double group_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarGroups_S32Ptr(const char* const label_ids[],const ImS32* values,int item_count,int group_count,double group_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarGroups_U32Ptr(const char* const label_ids[],const ImU32* values,int item_count,int group_count,double group_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarGroups_S64Ptr(const char* const label_ids[],const ImS64* values,int item_count,int group_count,double group_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotBarGroups_U64Ptr(const char* const label_ids[],const ImU64* values,int item_count,int group_count,double group_size,double shift,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt(const char* label_id,const float* xs,const float* ys,const float* err,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt(const char* label_id,const double* xs,const double* ys,const double* err,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt(const char* label_id,const ImS8* xs,const ImS8* ys,const ImS8* err,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrInt(const char* label_id,const ImU8* xs,const ImU8* ys,const ImU8* err,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt(const char* label_id,const ImS16* xs,const ImS16* ys,const ImS16* err,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt(const char* label_id,const ImU16* xs,const ImU16* ys,const ImU16* err,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt(const char* label_id,const ImS32* xs,const ImS32* ys,const ImS32* err,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt(const char* label_id,const ImU32* xs,const ImU32* ys,const ImU32* err,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt(const char* label_id,const ImS64* xs,const ImS64* ys,const ImS64* err,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt(const char* label_id,const ImU64* xs,const ImU64* ys,const ImU64* err,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr(const char* label_id,const float* xs,const float* ys,const float* neg,const float* pos,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr(const char* label_id,const double* xs,const double* ys,const double* neg,const double* pos,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,const ImS8* neg,const ImS8* pos,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_U8PtrU8PtrU8PtrU8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,const ImU8* neg,const ImU8* pos,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,const ImS16* neg,const ImS16* pos,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,const ImU16* neg,const ImU16* pos,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,const ImS32* neg,const ImS32* pos,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,const ImU32* neg,const ImU32* pos,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,const ImS64* neg,const ImS64* pos,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,const ImU64* neg,const ImU64* pos,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_FloatPtrInt(const char* label_id,const float* values,int count,double ref,double scale,double start,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_doublePtrInt(const char* label_id,const double* values,int count,double ref,double scale,double start,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_S8PtrInt(const char* label_id,const ImS8* values,int count,double ref,double scale,double start,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_U8PtrInt(const char* label_id,const ImU8* values,int count,double ref,double scale,double start,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_S16PtrInt(const char* label_id,const ImS16* values,int count,double ref,double scale,double start,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_U16PtrInt(const char* label_id,const ImU16* values,int count,double ref,double scale,double start,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_S32PtrInt(const char* label_id,const ImS32* values,int count,double ref,double scale,double start,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_U32PtrInt(const char* label_id,const ImU32* values,int count,double ref,double scale,double start,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_S64PtrInt(const char* label_id,const ImS64* values,int count,double ref,double scale,double start,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_U64PtrInt(const char* label_id,const ImU64* values,int count,double ref,double scale,double start,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_FloatPtrFloatPtr(const char* label_id,const float* xs,const float* ys,int count,double ref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_doublePtrdoublePtr(const char* label_id,const double* xs,const double* ys,int count,double ref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_S8PtrS8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,int count,double ref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_U8PtrU8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,int count,double ref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_S16PtrS16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,int count,double ref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_U16PtrU16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,int count,double ref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_S32PtrS32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,int count,double ref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_U32PtrU32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,int count,double ref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_S64PtrS64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,int count,double ref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotStems_U64PtrU64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,int count,double ref,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotInfLines_FloatPtr(const char* label_id,const float* values,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotInfLines_doublePtr(const char* label_id,const double* values,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotInfLines_S8Ptr(const char* label_id,const ImS8* values,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotInfLines_U8Ptr(const char* label_id,const ImU8* values,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotInfLines_S16Ptr(const char* label_id,const ImS16* values,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotInfLines_U16Ptr(const char* label_id,const ImU16* values,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotInfLines_S32Ptr(const char* label_id,const ImS32* values,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotInfLines_U32Ptr(const char* label_id,const ImU32* values,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotInfLines_S64Ptr(const char* label_id,const ImS64* values,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotInfLines_U64Ptr(const char* label_id,const ImU64* values,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_FloatPtrPlotFormatter(const char* const label_ids[],const float* values,int count,double x,double y,double radius,ImPlotFormatter fmt,void* fmt_data,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_doublePtrPlotFormatter(const char* const label_ids[],const double* values,int count,double x,double y,double radius,ImPlotFormatter fmt,void* fmt_data,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_S8PtrPlotFormatter(const char* const label_ids[],const ImS8* values,int count,double x,double y,double radius,ImPlotFormatter fmt,void* fmt_data,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_U8PtrPlotFormatter(const char* const label_ids[],const ImU8* values,int count,double x,double y,double radius,ImPlotFormatter fmt,void* fmt_data,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_S16PtrPlotFormatter(const char* const label_ids[],const ImS16* values,int count,double x,double y,double radius,ImPlotFormatter fmt,void* fmt_data,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_U16PtrPlotFormatter(const char* const label_ids[],const ImU16* values,int count,double x,double y,double radius,ImPlotFormatter fmt,void* fmt_data,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_S32PtrPlotFormatter(const char* const label_ids[],const ImS32* values,int count,double x,double y,double radius,ImPlotFormatter fmt,void* fmt_data,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_U32PtrPlotFormatter(const char* const label_ids[],const ImU32* values,int count,double x,double y,double radius,ImPlotFormatter fmt,void* fmt_data,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_S64PtrPlotFormatter(const char* const label_ids[],const ImS64* values,int count,double x,double y,double radius,ImPlotFormatter fmt,void* fmt_data,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_U64PtrPlotFormatter(const char* const label_ids[],const ImU64* values,int count,double x,double y,double radius,ImPlotFormatter fmt,void* fmt_data,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_FloatPtrStr(const char* const label_ids[],const float* values,int count,double x,double y,double radius,const char* label_fmt,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_doublePtrStr(const char* const label_ids[],const double* values,int count,double x,double y,double radius,const char* label_fmt,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_S8PtrStr(const char* const label_ids[],const ImS8* values,int count,double x,double y,double radius,const char* label_fmt,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_U8PtrStr(const char* const label_ids[],const ImU8* values,int count,double x,double y,double radius,const char* label_fmt,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_S16PtrStr(const char* const label_ids[],const ImS16* values,int count,double x,double y,double radius,const char* label_fmt,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_U16PtrStr(const char* const label_ids[],const ImU16* values,int count,double x,double y,double radius,const char* label_fmt,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_S32PtrStr(const char* const label_ids[],const ImS32* values,int count,double x,double y,double radius,const char* label_fmt,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_U32PtrStr(const char* const label_ids[],const ImU32* values,int count,double x,double y,double radius,const char* label_fmt,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_S64PtrStr(const char* const label_ids[],const ImS64* values,int count,double x,double y,double radius,const char* label_fmt,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotPieChart_U64PtrStr(const char* const label_ids[],const ImU64* values,int count,double x,double y,double radius,const char* label_fmt,double angle0,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotHeatmap_FloatPtr(const char* label_id,const float* values,int rows,int cols,double scale_min,double scale_max,const char* label_fmt,const ImPlotPoint_c bounds_min,const ImPlotPoint_c bounds_max,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotHeatmap_doublePtr(const char* label_id,const double* values,int rows,int cols,double scale_min,double scale_max,const char* label_fmt,const ImPlotPoint_c bounds_min,const ImPlotPoint_c bounds_max,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotHeatmap_S8Ptr(const char* label_id,const ImS8* values,int rows,int cols,double scale_min,double scale_max,const char* label_fmt,const ImPlotPoint_c bounds_min,const ImPlotPoint_c bounds_max,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotHeatmap_U8Ptr(const char* label_id,const ImU8* values,int rows,int cols,double scale_min,double scale_max,const char* label_fmt,const ImPlotPoint_c bounds_min,const ImPlotPoint_c bounds_max,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotHeatmap_S16Ptr(const char* label_id,const ImS16* values,int rows,int cols,double scale_min,double scale_max,const char* label_fmt,const ImPlotPoint_c bounds_min,const ImPlotPoint_c bounds_max,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotHeatmap_U16Ptr(const char* label_id,const ImU16* values,int rows,int cols,double scale_min,double scale_max,const char* label_fmt,const ImPlotPoint_c bounds_min,const ImPlotPoint_c bounds_max,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotHeatmap_S32Ptr(const char* label_id,const ImS32* values,int rows,int cols,double scale_min,double scale_max,const char* label_fmt,const ImPlotPoint_c bounds_min,const ImPlotPoint_c bounds_max,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotHeatmap_U32Ptr(const char* label_id,const ImU32* values,int rows,int cols,double scale_min,double scale_max,const char* label_fmt,const ImPlotPoint_c bounds_min,const ImPlotPoint_c bounds_max,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotHeatmap_S64Ptr(const char* label_id,const ImS64* values,int rows,int cols,double scale_min,double scale_max,const char* label_fmt,const ImPlotPoint_c bounds_min,const ImPlotPoint_c bounds_max,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotHeatmap_U64Ptr(const char* label_id,const ImU64* values,int rows,int cols,double scale_min,double scale_max,const char* label_fmt,const ImPlotPoint_c bounds_min,const ImPlotPoint_c bounds_max,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram_FloatPtr(const char* label_id,const float* values,int count,int bins,double bar_scale,ImPlotRange_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram_doublePtr(const char* label_id,const double* values,int count,int bins,double bar_scale,ImPlotRange_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram_S8Ptr(const char* label_id,const ImS8* values,int count,int bins,double bar_scale,ImPlotRange_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram_U8Ptr(const char* label_id,const ImU8* values,int count,int bins,double bar_scale,ImPlotRange_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram_S16Ptr(const char* label_id,const ImS16* values,int count,int bins,double bar_scale,ImPlotRange_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram_U16Ptr(const char* label_id,const ImU16* values,int count,int bins,double bar_scale,ImPlotRange_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram_S32Ptr(const char* label_id,const ImS32* values,int count,int bins,double bar_scale,ImPlotRange_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram_U32Ptr(const char* label_id,const ImU32* values,int count,int bins,double bar_scale,ImPlotRange_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram_S64Ptr(const char* label_id,const ImS64* values,int count,int bins,double bar_scale,ImPlotRange_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram_U64Ptr(const char* label_id,const ImU64* values,int count,int bins,double bar_scale,ImPlotRange_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram2D_FloatPtr(const char* label_id,const float* xs,const float* ys,int count,int x_bins,int y_bins,ImPlotRect_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram2D_doublePtr(const char* label_id,const double* xs,const double* ys,int count,int x_bins,int y_bins,ImPlotRect_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram2D_S8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,int count,int x_bins,int y_bins,ImPlotRect_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram2D_U8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,int count,int x_bins,int y_bins,ImPlotRect_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram2D_S16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,int count,int x_bins,int y_bins,ImPlotRect_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram2D_U16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,int count,int x_bins,int y_bins,ImPlotRect_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram2D_S32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,int count,int x_bins,int y_bins,ImPlotRect_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram2D_U32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,int count,int x_bins,int y_bins,ImPlotRect_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram2D_S64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,int count,int x_bins,int y_bins,ImPlotRect_c range,const ImPlotSpec_c spec);
|
|
double ImPlot_PlotHistogram2D_U64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,int count,int x_bins,int y_bins,ImPlotRect_c range,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigital_FloatPtr(const char* label_id,const float* xs,const float* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigital_doublePtr(const char* label_id,const double* xs,const double* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigital_S8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigital_U8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigital_S16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigital_U16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigital_S32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigital_U32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigital_S64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigital_U64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigitalG_LJ(const char* label_id,ImPlotPoint_getter getter,void* data,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDigitalG(const char* label_id,ImPlotGetter getter,void* data,int count,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotImage(const char* label_id,ImTextureRef_c tex_ref,const ImPlotPoint_c bounds_min,const ImPlotPoint_c bounds_max,const ImVec2_c uv0,const ImVec2_c uv1,const ImVec4_c tint_col,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotText(const char* text,double x,double y,const ImVec2_c pix_offset,const ImPlotSpec_c spec);
|
|
void ImPlot_PlotDummy(const char* label_id,const ImPlotSpec_c spec);
|
|
_Bool ImPlot_DragPoint(int id,double* x,double* y,const ImVec4_c col,float size,ImPlotDragToolFlags flags, _Bool * out_clicked, _Bool * out_hovered, _Bool * out_held);
|
|
_Bool ImPlot_DragLineX(int id,double* x,const ImVec4_c col,float thickness,ImPlotDragToolFlags flags, _Bool * out_clicked, _Bool * out_hovered, _Bool * out_held);
|
|
_Bool ImPlot_DragLineY(int id,double* y,const ImVec4_c col,float thickness,ImPlotDragToolFlags flags, _Bool * out_clicked, _Bool * out_hovered, _Bool * out_held);
|
|
_Bool ImPlot_DragRect(int id,double* x1,double* y1,double* x2,double* y2,const ImVec4_c col,ImPlotDragToolFlags flags, _Bool * out_clicked, _Bool * out_hovered, _Bool * out_held);
|
|
void ImPlot_Annotation_Bool(double x,double y,const ImVec4_c col,const ImVec2_c pix_offset, _Bool clamp, _Bool round);
|
|
void ImPlot_Annotation_Str(double x,double y,const ImVec4_c col,const ImVec2_c pix_offset, _Bool clamp,const char* fmt,...);
|
|
void ImPlot_AnnotationV(double x,double y,const ImVec4_c col,const ImVec2_c pix_offset, _Bool clamp,const char* fmt,va_list args);
|
|
void ImPlot_TagX_Bool(double x,const ImVec4_c col, _Bool round);
|
|
void ImPlot_TagX_Str(double x,const ImVec4_c col,const char* fmt,...);
|
|
void ImPlot_TagXV(double x,const ImVec4_c col,const char* fmt,va_list args);
|
|
void ImPlot_TagY_Bool(double y,const ImVec4_c col, _Bool round);
|
|
void ImPlot_TagY_Str(double y,const ImVec4_c col,const char* fmt,...);
|
|
void ImPlot_TagYV(double y,const ImVec4_c col,const char* fmt,va_list args);
|
|
void ImPlot_SetAxis(ImAxis axis);
|
|
void ImPlot_SetAxes(ImAxis x_axis,ImAxis y_axis);
|
|
ImPlotPoint_c ImPlot_PixelsToPlot_Vec2(const ImVec2_c pix,ImAxis x_axis,ImAxis y_axis);
|
|
ImPlotPoint_c ImPlot_PixelsToPlot_Float(float x,float y,ImAxis x_axis,ImAxis y_axis);
|
|
ImVec2_c ImPlot_PlotToPixels_PlotPoint(const ImPlotPoint_c plt,ImAxis x_axis,ImAxis y_axis);
|
|
ImVec2_c ImPlot_PlotToPixels_double(double x,double y,ImAxis x_axis,ImAxis y_axis);
|
|
ImVec2_c ImPlot_GetPlotPos(void);
|
|
ImVec2_c ImPlot_GetPlotSize(void);
|
|
ImPlotPoint_c ImPlot_GetPlotMousePos(ImAxis x_axis,ImAxis y_axis);
|
|
ImPlotRect_c ImPlot_GetPlotLimits(ImAxis x_axis,ImAxis y_axis);
|
|
_Bool ImPlot_IsPlotHovered(void);
|
|
_Bool ImPlot_IsAxisHovered(ImAxis axis);
|
|
_Bool ImPlot_IsSubplotsHovered(void);
|
|
_Bool ImPlot_IsPlotSelected(void);
|
|
ImPlotRect_c ImPlot_GetPlotSelection(ImAxis x_axis,ImAxis y_axis);
|
|
void ImPlot_CancelPlotSelection(void);
|
|
void ImPlot_HideNextItem( _Bool hidden,ImPlotCond cond);
|
|
_Bool ImPlot_BeginAlignedPlots(const char* group_id, _Bool vertical);
|
|
void ImPlot_EndAlignedPlots(void);
|
|
_Bool ImPlot_BeginLegendPopup(const char* label_id,ImGuiMouseButton mouse_button);
|
|
void ImPlot_EndLegendPopup(void);
|
|
_Bool ImPlot_IsLegendEntryHovered(const char* label_id);
|
|
_Bool ImPlot_BeginDragDropTargetPlot(void);
|
|
_Bool ImPlot_BeginDragDropTargetAxis(ImAxis axis);
|
|
_Bool ImPlot_BeginDragDropTargetLegend(void);
|
|
void ImPlot_EndDragDropTarget(void);
|
|
_Bool ImPlot_BeginDragDropSourcePlot(ImGuiDragDropFlags flags);
|
|
_Bool ImPlot_BeginDragDropSourceAxis(ImAxis axis,ImGuiDragDropFlags flags);
|
|
_Bool ImPlot_BeginDragDropSourceItem(const char* label_id,ImGuiDragDropFlags flags);
|
|
void ImPlot_EndDragDropSource(void);
|
|
ImPlotStyle* ImPlot_GetStyle(void);
|
|
void ImPlot_StyleColorsAuto(ImPlotStyle* dst);
|
|
void ImPlot_StyleColorsClassic(ImPlotStyle* dst);
|
|
void ImPlot_StyleColorsDark(ImPlotStyle* dst);
|
|
void ImPlot_StyleColorsLight(ImPlotStyle* dst);
|
|
void ImPlot_PushStyleColor_U32(ImPlotCol idx,ImU32 col);
|
|
void ImPlot_PushStyleColor_Vec4(ImPlotCol idx,const ImVec4_c col);
|
|
void ImPlot_PopStyleColor(int count);
|
|
void ImPlot_PushStyleVar_Float(ImPlotStyleVar idx,float val);
|
|
void ImPlot_PushStyleVar_Int(ImPlotStyleVar idx,int val);
|
|
void ImPlot_PushStyleVar_Vec2(ImPlotStyleVar idx,const ImVec2_c val);
|
|
void ImPlot_PopStyleVar(int count);
|
|
ImVec4_c ImPlot_GetLastItemColor(void);
|
|
const char* ImPlot_GetStyleColorName(ImPlotCol idx);
|
|
const char* ImPlot_GetMarkerName(ImPlotMarker idx);
|
|
ImPlotMarker ImPlot_NextMarker(void);
|
|
ImPlotColormap ImPlot_AddColormap_Vec4Ptr(const char* name,const ImVec4* cols,int size, _Bool qual);
|
|
ImPlotColormap ImPlot_AddColormap_U32Ptr(const char* name,const ImU32* cols,int size, _Bool qual);
|
|
int ImPlot_GetColormapCount(void);
|
|
const char* ImPlot_GetColormapName(ImPlotColormap cmap);
|
|
ImPlotColormap ImPlot_GetColormapIndex(const char* name);
|
|
void ImPlot_PushColormap_PlotColormap(ImPlotColormap cmap);
|
|
void ImPlot_PushColormap_Str(const char* name);
|
|
void ImPlot_PopColormap(int count);
|
|
ImVec4_c ImPlot_NextColormapColor(void);
|
|
int ImPlot_GetColormapSize(ImPlotColormap cmap);
|
|
ImVec4_c ImPlot_GetColormapColor(int idx,ImPlotColormap cmap);
|
|
ImVec4_c ImPlot_SampleColormap(float t,ImPlotColormap cmap);
|
|
void ImPlot_ColormapScale(const char* label,double scale_min,double scale_max,const ImVec2_c size,const char* format,ImPlotColormapScaleFlags flags,ImPlotColormap cmap);
|
|
_Bool ImPlot_ColormapSlider(const char* label,float* t,ImVec4* out,const char* format,ImPlotColormap cmap);
|
|
_Bool ImPlot_ColormapButton(const char* label,const ImVec2_c size,ImPlotColormap cmap);
|
|
void ImPlot_BustColorCache(const char* plot_title_id);
|
|
ImPlotInputMap* ImPlot_GetInputMap(void);
|
|
void ImPlot_MapInputDefault(ImPlotInputMap* dst);
|
|
void ImPlot_MapInputReverse(ImPlotInputMap* dst);
|
|
void ImPlot_ItemIcon_Vec4(const ImVec4_c col);
|
|
void ImPlot_ItemIcon_U32(ImU32 col);
|
|
void ImPlot_ColormapIcon(ImPlotColormap cmap);
|
|
ImDrawList* ImPlot_GetPlotDrawList(void);
|
|
void ImPlot_PushPlotClipRect(float expand);
|
|
void ImPlot_PopPlotClipRect(void);
|
|
_Bool ImPlot_ShowStyleSelector(const char* label);
|
|
_Bool ImPlot_ShowColormapSelector(const char* label);
|
|
_Bool ImPlot_ShowInputMapSelector(const char* label);
|
|
void ImPlot_ShowStyleEditor(ImPlotStyle* ref);
|
|
void ImPlot_ShowUserGuide(void);
|
|
void ImPlot_ShowMetricsWindow( _Bool * p_popen);
|
|
void ImPlot_ShowDemoWindow( _Bool * p_open);
|
|
float ImPlot_ImLog10_Float(float x);
|
|
double ImPlot_ImLog10_double(double x);
|
|
float ImPlot_ImSinh_Float(float x);
|
|
double ImPlot_ImSinh_double(double x);
|
|
float ImPlot_ImAsinh_Float(float x);
|
|
double ImPlot_ImAsinh_double(double x);
|
|
float ImPlot_ImRemap_Float(float x,float x0,float x1,float y0,float y1);
|
|
double ImPlot_ImRemap_double(double x,double x0,double x1,double y0,double y1);
|
|
ImS8 ImPlot_ImRemap_S8(ImS8 x,ImS8 x0,ImS8 x1,ImS8 y0,ImS8 y1);
|
|
ImU8 ImPlot_ImRemap_U8(ImU8 x,ImU8 x0,ImU8 x1,ImU8 y0,ImU8 y1);
|
|
ImS16 ImPlot_ImRemap_S16(ImS16 x,ImS16 x0,ImS16 x1,ImS16 y0,ImS16 y1);
|
|
ImU16 ImPlot_ImRemap_U16(ImU16 x,ImU16 x0,ImU16 x1,ImU16 y0,ImU16 y1);
|
|
ImS32 ImPlot_ImRemap_S32(ImS32 x,ImS32 x0,ImS32 x1,ImS32 y0,ImS32 y1);
|
|
ImU32 ImPlot_ImRemap_U32(ImU32 x,ImU32 x0,ImU32 x1,ImU32 y0,ImU32 y1);
|
|
ImS64 ImPlot_ImRemap_S64(ImS64 x,ImS64 x0,ImS64 x1,ImS64 y0,ImS64 y1);
|
|
ImU64 ImPlot_ImRemap_U64(ImU64 x,ImU64 x0,ImU64 x1,ImU64 y0,ImU64 y1);
|
|
float ImPlot_ImRemap01_Float(float x,float x0,float x1);
|
|
double ImPlot_ImRemap01_double(double x,double x0,double x1);
|
|
ImS8 ImPlot_ImRemap01_S8(ImS8 x,ImS8 x0,ImS8 x1);
|
|
ImU8 ImPlot_ImRemap01_U8(ImU8 x,ImU8 x0,ImU8 x1);
|
|
ImS16 ImPlot_ImRemap01_S16(ImS16 x,ImS16 x0,ImS16 x1);
|
|
ImU16 ImPlot_ImRemap01_U16(ImU16 x,ImU16 x0,ImU16 x1);
|
|
ImS32 ImPlot_ImRemap01_S32(ImS32 x,ImS32 x0,ImS32 x1);
|
|
ImU32 ImPlot_ImRemap01_U32(ImU32 x,ImU32 x0,ImU32 x1);
|
|
ImS64 ImPlot_ImRemap01_S64(ImS64 x,ImS64 x0,ImS64 x1);
|
|
ImU64 ImPlot_ImRemap01_U64(ImU64 x,ImU64 x0,ImU64 x1);
|
|
int ImPlot_ImPosMod(int l,int r);
|
|
_Bool ImPlot_ImNan(double val);
|
|
_Bool ImPlot_ImNanOrInf(double val);
|
|
double ImPlot_ImConstrainNan(double val);
|
|
double ImPlot_ImConstrainInf(double val);
|
|
double ImPlot_ImConstrainLog(double val);
|
|
double ImPlot_ImConstrainTime(double val);
|
|
_Bool ImPlot_ImAlmostEqual(double v1,double v2,int ulp);
|
|
float ImPlot_ImMinArray_FloatPtr(const float* values,int count);
|
|
double ImPlot_ImMinArray_doublePtr(const double* values,int count);
|
|
ImS8 ImPlot_ImMinArray_S8Ptr(const ImS8* values,int count);
|
|
ImU8 ImPlot_ImMinArray_U8Ptr(const ImU8* values,int count);
|
|
ImS16 ImPlot_ImMinArray_S16Ptr(const ImS16* values,int count);
|
|
ImU16 ImPlot_ImMinArray_U16Ptr(const ImU16* values,int count);
|
|
ImS32 ImPlot_ImMinArray_S32Ptr(const ImS32* values,int count);
|
|
ImU32 ImPlot_ImMinArray_U32Ptr(const ImU32* values,int count);
|
|
ImS64 ImPlot_ImMinArray_S64Ptr(const ImS64* values,int count);
|
|
ImU64 ImPlot_ImMinArray_U64Ptr(const ImU64* values,int count);
|
|
float ImPlot_ImMaxArray_FloatPtr(const float* values,int count);
|
|
double ImPlot_ImMaxArray_doublePtr(const double* values,int count);
|
|
ImS8 ImPlot_ImMaxArray_S8Ptr(const ImS8* values,int count);
|
|
ImU8 ImPlot_ImMaxArray_U8Ptr(const ImU8* values,int count);
|
|
ImS16 ImPlot_ImMaxArray_S16Ptr(const ImS16* values,int count);
|
|
ImU16 ImPlot_ImMaxArray_U16Ptr(const ImU16* values,int count);
|
|
ImS32 ImPlot_ImMaxArray_S32Ptr(const ImS32* values,int count);
|
|
ImU32 ImPlot_ImMaxArray_U32Ptr(const ImU32* values,int count);
|
|
ImS64 ImPlot_ImMaxArray_S64Ptr(const ImS64* values,int count);
|
|
ImU64 ImPlot_ImMaxArray_U64Ptr(const ImU64* values,int count);
|
|
void ImPlot_ImMinMaxArray_FloatPtr(const float* values,int count,float* min_out,float* max_out);
|
|
void ImPlot_ImMinMaxArray_doublePtr(const double* values,int count,double* min_out,double* max_out);
|
|
void ImPlot_ImMinMaxArray_S8Ptr(const ImS8* values,int count,ImS8* min_out,ImS8* max_out);
|
|
void ImPlot_ImMinMaxArray_U8Ptr(const ImU8* values,int count,ImU8* min_out,ImU8* max_out);
|
|
void ImPlot_ImMinMaxArray_S16Ptr(const ImS16* values,int count,ImS16* min_out,ImS16* max_out);
|
|
void ImPlot_ImMinMaxArray_U16Ptr(const ImU16* values,int count,ImU16* min_out,ImU16* max_out);
|
|
void ImPlot_ImMinMaxArray_S32Ptr(const ImS32* values,int count,ImS32* min_out,ImS32* max_out);
|
|
void ImPlot_ImMinMaxArray_U32Ptr(const ImU32* values,int count,ImU32* min_out,ImU32* max_out);
|
|
void ImPlot_ImMinMaxArray_S64Ptr(const ImS64* values,int count,ImS64* min_out,ImS64* max_out);
|
|
void ImPlot_ImMinMaxArray_U64Ptr(const ImU64* values,int count,ImU64* min_out,ImU64* max_out);
|
|
float ImPlot_ImSum_FloatPtr(const float* values,int count);
|
|
double ImPlot_ImSum_doublePtr(const double* values,int count);
|
|
ImS8 ImPlot_ImSum_S8Ptr(const ImS8* values,int count);
|
|
ImU8 ImPlot_ImSum_U8Ptr(const ImU8* values,int count);
|
|
ImS16 ImPlot_ImSum_S16Ptr(const ImS16* values,int count);
|
|
ImU16 ImPlot_ImSum_U16Ptr(const ImU16* values,int count);
|
|
ImS32 ImPlot_ImSum_S32Ptr(const ImS32* values,int count);
|
|
ImU32 ImPlot_ImSum_U32Ptr(const ImU32* values,int count);
|
|
ImS64 ImPlot_ImSum_S64Ptr(const ImS64* values,int count);
|
|
ImU64 ImPlot_ImSum_U64Ptr(const ImU64* values,int count);
|
|
double ImPlot_ImMean_FloatPtr(const float* values,int count);
|
|
double ImPlot_ImMean_doublePtr(const double* values,int count);
|
|
double ImPlot_ImMean_S8Ptr(const ImS8* values,int count);
|
|
double ImPlot_ImMean_U8Ptr(const ImU8* values,int count);
|
|
double ImPlot_ImMean_S16Ptr(const ImS16* values,int count);
|
|
double ImPlot_ImMean_U16Ptr(const ImU16* values,int count);
|
|
double ImPlot_ImMean_S32Ptr(const ImS32* values,int count);
|
|
double ImPlot_ImMean_U32Ptr(const ImU32* values,int count);
|
|
double ImPlot_ImMean_S64Ptr(const ImS64* values,int count);
|
|
double ImPlot_ImMean_U64Ptr(const ImU64* values,int count);
|
|
double ImPlot_ImStdDev_FloatPtr(const float* values,int count);
|
|
double ImPlot_ImStdDev_doublePtr(const double* values,int count);
|
|
double ImPlot_ImStdDev_S8Ptr(const ImS8* values,int count);
|
|
double ImPlot_ImStdDev_U8Ptr(const ImU8* values,int count);
|
|
double ImPlot_ImStdDev_S16Ptr(const ImS16* values,int count);
|
|
double ImPlot_ImStdDev_U16Ptr(const ImU16* values,int count);
|
|
double ImPlot_ImStdDev_S32Ptr(const ImS32* values,int count);
|
|
double ImPlot_ImStdDev_U32Ptr(const ImU32* values,int count);
|
|
double ImPlot_ImStdDev_S64Ptr(const ImS64* values,int count);
|
|
double ImPlot_ImStdDev_U64Ptr(const ImU64* values,int count);
|
|
ImU32 ImPlot_ImMixU32(ImU32 a,ImU32 b,ImU32 s);
|
|
ImU32 ImPlot_ImLerpU32(const ImU32* colors,int size,float t);
|
|
ImU32 ImPlot_ImAlphaU32(ImU32 col,float alpha);
|
|
_Bool ImPlot_ImOverlaps_Float(float min_a,float max_a,float min_b,float max_b);
|
|
_Bool ImPlot_ImOverlaps_double(double min_a,double max_a,double min_b,double max_b);
|
|
_Bool ImPlot_ImOverlaps_S8(ImS8 min_a,ImS8 max_a,ImS8 min_b,ImS8 max_b);
|
|
_Bool ImPlot_ImOverlaps_U8(ImU8 min_a,ImU8 max_a,ImU8 min_b,ImU8 max_b);
|
|
_Bool ImPlot_ImOverlaps_S16(ImS16 min_a,ImS16 max_a,ImS16 min_b,ImS16 max_b);
|
|
_Bool ImPlot_ImOverlaps_U16(ImU16 min_a,ImU16 max_a,ImU16 min_b,ImU16 max_b);
|
|
_Bool ImPlot_ImOverlaps_S32(ImS32 min_a,ImS32 max_a,ImS32 min_b,ImS32 max_b);
|
|
_Bool ImPlot_ImOverlaps_U32(ImU32 min_a,ImU32 max_a,ImU32 min_b,ImU32 max_b);
|
|
_Bool ImPlot_ImOverlaps_S64(ImS64 min_a,ImS64 max_a,ImS64 min_b,ImS64 max_b);
|
|
_Bool ImPlot_ImOverlaps_U64(ImU64 min_a,ImU64 max_a,ImU64 min_b,ImU64 max_b);
|
|
ImPlotDateTimeSpec* ImPlotDateTimeSpec_ImPlotDateTimeSpec_Nil(void);
|
|
void ImPlotDateTimeSpec_destroy(ImPlotDateTimeSpec* self);
|
|
ImPlotDateTimeSpec* ImPlotDateTimeSpec_ImPlotDateTimeSpec_PlotDateFmt(ImPlotDateFmt date_fmt,ImPlotTimeFmt time_fmt, _Bool use_24_hr_clk, _Bool use_iso_8601);
|
|
ImPlotTime* ImPlotTime_ImPlotTime_Nil(void);
|
|
void ImPlotTime_destroy(ImPlotTime* self);
|
|
ImPlotTime* ImPlotTime_ImPlotTime_time_t(time_t s,int us);
|
|
void ImPlotTime_RollOver(ImPlotTime* self);
|
|
double ImPlotTime_ToDouble(ImPlotTime* self);
|
|
ImPlotTime_c ImPlotTime_FromDouble(double t);
|
|
ImPlotColormapData* ImPlotColormapData_ImPlotColormapData(void);
|
|
void ImPlotColormapData_destroy(ImPlotColormapData* self);
|
|
int ImPlotColormapData_Append(ImPlotColormapData* self,const char* name,const ImU32* keys,int count, _Bool qual);
|
|
void ImPlotColormapData__AppendTable(ImPlotColormapData* self,ImPlotColormap cmap);
|
|
void ImPlotColormapData_RebuildTables(ImPlotColormapData* self);
|
|
_Bool ImPlotColormapData_IsQual(ImPlotColormapData* self,ImPlotColormap cmap);
|
|
const char* ImPlotColormapData_GetName(ImPlotColormapData* self,ImPlotColormap cmap);
|
|
ImPlotColormap ImPlotColormapData_GetIndex(ImPlotColormapData* self,const char* name);
|
|
const ImU32* ImPlotColormapData_GetKeys(ImPlotColormapData* self,ImPlotColormap cmap);
|
|
int ImPlotColormapData_GetKeyCount(ImPlotColormapData* self,ImPlotColormap cmap);
|
|
ImU32 ImPlotColormapData_GetKeyColor(ImPlotColormapData* self,ImPlotColormap cmap,int idx);
|
|
void ImPlotColormapData_SetKeyColor(ImPlotColormapData* self,ImPlotColormap cmap,int idx,ImU32 value);
|
|
const ImU32* ImPlotColormapData_GetTable(ImPlotColormapData* self,ImPlotColormap cmap);
|
|
int ImPlotColormapData_GetTableSize(ImPlotColormapData* self,ImPlotColormap cmap);
|
|
ImU32 ImPlotColormapData_GetTableColor(ImPlotColormapData* self,ImPlotColormap cmap,int idx);
|
|
ImU32 ImPlotColormapData_LerpTable(ImPlotColormapData* self,ImPlotColormap cmap,float t);
|
|
ImPlotPointError* ImPlotPointError_ImPlotPointError_Nil(void);
|
|
void ImPlotPointError_destroy(ImPlotPointError* self);
|
|
ImPlotPointError* ImPlotPointError_ImPlotPointError_double(double x,double y,double neg,double pos);
|
|
ImPlotAnnotation* ImPlotAnnotation_ImPlotAnnotation(void);
|
|
void ImPlotAnnotation_destroy(ImPlotAnnotation* self);
|
|
ImPlotAnnotationCollection* ImPlotAnnotationCollection_ImPlotAnnotationCollection(void);
|
|
void ImPlotAnnotationCollection_destroy(ImPlotAnnotationCollection* self);
|
|
void ImPlotAnnotationCollection_AppendV(ImPlotAnnotationCollection* self,const ImVec2_c pos,const ImVec2_c off,ImU32 bg,ImU32 fg, _Bool clamp,const char* fmt,va_list args);
|
|
void ImPlotAnnotationCollection_Append(ImPlotAnnotationCollection* self,const ImVec2_c pos,const ImVec2_c off,ImU32 bg,ImU32 fg, _Bool clamp,const char* fmt,...);
|
|
const char* ImPlotAnnotationCollection_GetText(ImPlotAnnotationCollection* self,int idx);
|
|
void ImPlotAnnotationCollection_Reset(ImPlotAnnotationCollection* self);
|
|
ImPlotTag* ImPlotTag_ImPlotTag(void);
|
|
void ImPlotTag_destroy(ImPlotTag* self);
|
|
ImPlotTagCollection* ImPlotTagCollection_ImPlotTagCollection(void);
|
|
void ImPlotTagCollection_destroy(ImPlotTagCollection* self);
|
|
void ImPlotTagCollection_AppendV(ImPlotTagCollection* self,ImAxis axis,double value,ImU32 bg,ImU32 fg,const char* fmt,va_list args);
|
|
void ImPlotTagCollection_Append(ImPlotTagCollection* self,ImAxis axis,double value,ImU32 bg,ImU32 fg,const char* fmt,...);
|
|
const char* ImPlotTagCollection_GetText(ImPlotTagCollection* self,int idx);
|
|
void ImPlotTagCollection_Reset(ImPlotTagCollection* self);
|
|
ImPlotTick* ImPlotTick_ImPlotTick_Nil(void);
|
|
void ImPlotTick_destroy(ImPlotTick* self);
|
|
ImPlotTick* ImPlotTick_ImPlotTick_double(double value, _Bool major,int level, _Bool show_label);
|
|
ImPlotTicker* ImPlotTicker_ImPlotTicker(void);
|
|
void ImPlotTicker_destroy(ImPlotTicker* self);
|
|
ImPlotTick* ImPlotTicker_AddTick_doubleStr(ImPlotTicker* self,double value, _Bool major,int level, _Bool show_label,const char* label);
|
|
ImPlotTick* ImPlotTicker_AddTick_doublePlotFormatter(ImPlotTicker* self,double value, _Bool major,int level, _Bool show_label,ImPlotFormatter formatter,void* data);
|
|
ImPlotTick* ImPlotTicker_AddTick_PlotTick(ImPlotTicker* self,ImPlotTick_c tick);
|
|
const char* ImPlotTicker_GetText_Int(ImPlotTicker* self,int idx);
|
|
const char* ImPlotTicker_GetText_PlotTick(ImPlotTicker* self,const ImPlotTick_c tick);
|
|
void ImPlotTicker_OverrideSizeLate(ImPlotTicker* self,const ImVec2_c size);
|
|
void ImPlotTicker_Reset(ImPlotTicker* self);
|
|
int ImPlotTicker_TickCount(ImPlotTicker* self);
|
|
ImPlotAxis* ImPlotAxis_ImPlotAxis(void);
|
|
void ImPlotAxis_destroy(ImPlotAxis* self);
|
|
void ImPlotAxis_Reset(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_SetMin(ImPlotAxis* self,double _min, _Bool force);
|
|
_Bool ImPlotAxis_SetMax(ImPlotAxis* self,double _max, _Bool force);
|
|
void ImPlotAxis_SetRange_double(ImPlotAxis* self,double v1,double v2);
|
|
void ImPlotAxis_SetRange_PlotRange(ImPlotAxis* self,const ImPlotRange_c range);
|
|
void ImPlotAxis_SetAspect(ImPlotAxis* self,double unit_per_pix);
|
|
float ImPlotAxis_PixelSize(ImPlotAxis* self);
|
|
double ImPlotAxis_GetAspect(ImPlotAxis* self);
|
|
void ImPlotAxis_Constrain(ImPlotAxis* self);
|
|
void ImPlotAxis_UpdateTransformCache(ImPlotAxis* self);
|
|
float ImPlotAxis_PlotToPixels(ImPlotAxis* self,double plt);
|
|
double ImPlotAxis_PixelsToPlot(ImPlotAxis* self,float pix);
|
|
void ImPlotAxis_ExtendFit(ImPlotAxis* self,double v);
|
|
void ImPlotAxis_ExtendFitWith(ImPlotAxis* self,ImPlotAxis* alt,double v,double v_alt);
|
|
void ImPlotAxis_ApplyFit(ImPlotAxis* self,float padding);
|
|
_Bool ImPlotAxis_HasLabel(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_HasGridLines(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_HasTickLabels(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_HasTickMarks(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_WillRender(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsOpposite(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsInverted(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsForeground(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsAutoFitting(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_CanInitFit(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsRangeLocked(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsLockedMin(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsLockedMax(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsLocked(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsInputLockedMin(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsInputLockedMax(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsInputLocked(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_HasMenus(ImPlotAxis* self);
|
|
_Bool ImPlotAxis_IsPanLocked(ImPlotAxis* self, _Bool increasing);
|
|
void ImPlotAxis_PushLinks(ImPlotAxis* self);
|
|
void ImPlotAxis_PullLinks(ImPlotAxis* self);
|
|
ImPlotAlignmentData* ImPlotAlignmentData_ImPlotAlignmentData(void);
|
|
void ImPlotAlignmentData_destroy(ImPlotAlignmentData* self);
|
|
void ImPlotAlignmentData_Begin(ImPlotAlignmentData* self);
|
|
void ImPlotAlignmentData_Update(ImPlotAlignmentData* self,float* pad_a,float* pad_b,float* delta_a,float* delta_b);
|
|
void ImPlotAlignmentData_End(ImPlotAlignmentData* self);
|
|
void ImPlotAlignmentData_Reset(ImPlotAlignmentData* self);
|
|
ImPlotItem* ImPlotItem_ImPlotItem(void);
|
|
void ImPlotItem_destroy(ImPlotItem* self);
|
|
ImPlotLegend* ImPlotLegend_ImPlotLegend(void);
|
|
void ImPlotLegend_destroy(ImPlotLegend* self);
|
|
void ImPlotLegend_Reset(ImPlotLegend* self);
|
|
ImPlotItemGroup* ImPlotItemGroup_ImPlotItemGroup(void);
|
|
void ImPlotItemGroup_destroy(ImPlotItemGroup* self);
|
|
int ImPlotItemGroup_GetItemCount(ImPlotItemGroup* self);
|
|
ImGuiID ImPlotItemGroup_GetItemID(ImPlotItemGroup* self,const char* label_id);
|
|
ImPlotItem* ImPlotItemGroup_GetItem_ID(ImPlotItemGroup* self,ImGuiID id);
|
|
ImPlotItem* ImPlotItemGroup_GetItem_Str(ImPlotItemGroup* self,const char* label_id);
|
|
ImPlotItem* ImPlotItemGroup_GetOrAddItem(ImPlotItemGroup* self,ImGuiID id);
|
|
ImPlotItem* ImPlotItemGroup_GetItemByIndex(ImPlotItemGroup* self,int i);
|
|
int ImPlotItemGroup_GetItemIndex(ImPlotItemGroup* self,ImPlotItem* item);
|
|
int ImPlotItemGroup_GetLegendCount(ImPlotItemGroup* self);
|
|
ImPlotItem* ImPlotItemGroup_GetLegendItem(ImPlotItemGroup* self,int i);
|
|
const char* ImPlotItemGroup_GetLegendLabel(ImPlotItemGroup* self,int i);
|
|
void ImPlotItemGroup_Reset(ImPlotItemGroup* self);
|
|
ImPlotPlot* ImPlotPlot_ImPlotPlot(void);
|
|
void ImPlotPlot_destroy(ImPlotPlot* self);
|
|
_Bool ImPlotPlot_IsInputLocked(ImPlotPlot* self);
|
|
void ImPlotPlot_ClearTextBuffer(ImPlotPlot* self);
|
|
void ImPlotPlot_SetTitle(ImPlotPlot* self,const char* title);
|
|
_Bool ImPlotPlot_HasTitle(ImPlotPlot* self);
|
|
const char* ImPlotPlot_GetTitle(ImPlotPlot* self);
|
|
ImPlotAxis* ImPlotPlot_XAxis_Nil(ImPlotPlot* self,int i);
|
|
const ImPlotAxis* ImPlotPlot_XAxis__const(ImPlotPlot* self,int i);
|
|
ImPlotAxis* ImPlotPlot_YAxis_Nil(ImPlotPlot* self,int i);
|
|
const ImPlotAxis* ImPlotPlot_YAxis__const(ImPlotPlot* self,int i);
|
|
int ImPlotPlot_EnabledAxesX(ImPlotPlot* self);
|
|
int ImPlotPlot_EnabledAxesY(ImPlotPlot* self);
|
|
void ImPlotPlot_SetAxisLabel(ImPlotPlot* self,ImPlotAxis* axis,const char* label);
|
|
const char* ImPlotPlot_GetAxisLabel(ImPlotPlot* self,const ImPlotAxis_c axis);
|
|
ImPlotSubplot* ImPlotSubplot_ImPlotSubplot(void);
|
|
void ImPlotSubplot_destroy(ImPlotSubplot* self);
|
|
ImPlotNextPlotData* ImPlotNextPlotData_ImPlotNextPlotData(void);
|
|
void ImPlotNextPlotData_destroy(ImPlotNextPlotData* self);
|
|
void ImPlotNextPlotData_Reset(ImPlotNextPlotData* self);
|
|
ImPlotNextItemData* ImPlotNextItemData_ImPlotNextItemData(void);
|
|
void ImPlotNextItemData_destroy(ImPlotNextItemData* self);
|
|
void ImPlotNextItemData_Reset(ImPlotNextItemData* self);
|
|
void ImPlot_Initialize(ImPlotContext* ctx);
|
|
void ImPlot_ResetCtxForNextPlot(ImPlotContext* ctx);
|
|
void ImPlot_ResetCtxForNextAlignedPlots(ImPlotContext* ctx);
|
|
void ImPlot_ResetCtxForNextSubplot(ImPlotContext* ctx);
|
|
ImPlotPlot* ImPlot_GetPlot(const char* title);
|
|
ImPlotPlot* ImPlot_GetCurrentPlot(void);
|
|
void ImPlot_BustPlotCache(void);
|
|
void ImPlot_ShowPlotContextMenu(ImPlotPlot* plot);
|
|
void ImPlot_SetupLock(void);
|
|
void ImPlot_SubplotNextCell(void);
|
|
void ImPlot_ShowSubplotsContextMenu(ImPlotSubplot* subplot);
|
|
_Bool ImPlot_BeginItem(const char* label_id,const ImPlotSpec_c spec,const ImVec4_c item_col,ImPlotMarker item_mkr);
|
|
void ImPlot_EndItem(void);
|
|
ImPlotItem* ImPlot_RegisterOrGetItem(const char* label_id,ImPlotItemFlags flags, _Bool * just_created);
|
|
ImPlotItem* ImPlot_GetItem(const char* label_id);
|
|
ImPlotItem* ImPlot_GetCurrentItem(void);
|
|
void ImPlot_BustItemCache(void);
|
|
_Bool ImPlot_AnyAxesInputLocked(ImPlotAxis* axes,int count);
|
|
_Bool ImPlot_AllAxesInputLocked(ImPlotAxis* axes,int count);
|
|
_Bool ImPlot_AnyAxesHeld(ImPlotAxis* axes,int count);
|
|
_Bool ImPlot_AnyAxesHovered(ImPlotAxis* axes,int count);
|
|
_Bool ImPlot_FitThisFrame(void);
|
|
void ImPlot_FitPointX(double x);
|
|
void ImPlot_FitPointY(double y);
|
|
void ImPlot_FitPoint(const ImPlotPoint_c p);
|
|
_Bool ImPlot_RangesOverlap(const ImPlotRange_c r1,const ImPlotRange_c r2);
|
|
void ImPlot_ShowAxisContextMenu(ImPlotAxis* axis,ImPlotAxis* equal_axis, _Bool time_allowed);
|
|
ImVec2_c ImPlot_GetLocationPos(const ImRect_c outer_rect,const ImVec2_c inner_size,ImPlotLocation location,const ImVec2_c pad);
|
|
ImVec2_c ImPlot_CalcLegendSize(ImPlotItemGroup* items,const ImVec2_c pad,const ImVec2_c spacing, _Bool vertical);
|
|
_Bool ImPlot_ClampLegendRect(ImRect* legend_rect,const ImRect_c outer_rect,const ImVec2_c pad);
|
|
_Bool ImPlot_ShowLegendEntries(ImPlotItemGroup* items,const ImRect_c legend_bb, _Bool interactable,const ImVec2_c pad,const ImVec2_c spacing, _Bool vertical,ImDrawList* DrawList);
|
|
void ImPlot_ShowAltLegend(const char* title_id, _Bool vertical,const ImVec2_c size, _Bool interactable);
|
|
_Bool ImPlot_ShowLegendContextMenu(ImPlotLegend* legend, _Bool visible);
|
|
void ImPlot_LabelAxisValue(const ImPlotAxis_c axis,double value,char* buff,int size, _Bool round);
|
|
const ImPlotNextItemData* ImPlot_GetItemData(void);
|
|
_Bool ImPlot_IsColorAuto_Vec4(const ImVec4_c col);
|
|
_Bool ImPlot_IsColorAuto_PlotCol(ImPlotCol idx);
|
|
ImVec4_c ImPlot_GetAutoColor(ImPlotCol idx);
|
|
ImVec4_c ImPlot_GetStyleColorVec4(ImPlotCol idx);
|
|
ImU32 ImPlot_GetStyleColorU32(ImPlotCol idx);
|
|
void ImPlot_AddTextVertical(ImDrawList* DrawList,ImVec2_c pos,ImU32 col,const char* text_begin,const char* text_end);
|
|
void ImPlot_AddTextCentered(ImDrawList* DrawList,ImVec2_c top_center,ImU32 col,const char* text_begin,const char* text_end);
|
|
ImVec2_c ImPlot_CalcTextSizeVertical(const char* text);
|
|
ImU32 ImPlot_CalcTextColor_Vec4(const ImVec4_c bg);
|
|
ImU32 ImPlot_CalcTextColor_U32(ImU32 bg);
|
|
ImU32 ImPlot_CalcHoverColor(ImU32 col);
|
|
ImVec2_c ImPlot_ClampLabelPos(ImVec2_c pos,const ImVec2_c size,const ImVec2_c Min,const ImVec2_c Max);
|
|
ImU32 ImPlot_GetColormapColorU32(int idx,ImPlotColormap cmap);
|
|
ImU32 ImPlot_NextColormapColorU32(void);
|
|
ImU32 ImPlot_SampleColormapU32(float t,ImPlotColormap cmap);
|
|
void ImPlot_RenderColorBar(const ImU32* colors,int size,ImDrawList* DrawList,const ImRect_c bounds, _Bool vert, _Bool reversed, _Bool continuous);
|
|
double ImPlot_NiceNum(double x, _Bool round);
|
|
int ImPlot_OrderOfMagnitude(double val);
|
|
int ImPlot_OrderToPrecision(int order);
|
|
int ImPlot_Precision(double val);
|
|
double ImPlot_RoundTo(double val,int prec);
|
|
ImVec2_c ImPlot_Intersection(const ImVec2_c a1,const ImVec2_c a2,const ImVec2_c b1,const ImVec2_c b2);
|
|
void ImPlot_FillRange_Vector_Float_Ptr(ImVector_float * buffer,int n,float vmin,float vmax);
|
|
void ImPlot_FillRange_Vector_double_Ptr(ImVector_double * buffer,int n,double vmin,double vmax);
|
|
void ImPlot_FillRange_Vector_S8_Ptr(ImVector_ImS8 * buffer,int n,ImS8 vmin,ImS8 vmax);
|
|
void ImPlot_FillRange_Vector_U8_Ptr(ImVector_ImU8 * buffer,int n,ImU8 vmin,ImU8 vmax);
|
|
void ImPlot_FillRange_Vector_S16_Ptr(ImVector_ImS16 * buffer,int n,ImS16 vmin,ImS16 vmax);
|
|
void ImPlot_FillRange_Vector_U16_Ptr(ImVector_ImU16 * buffer,int n,ImU16 vmin,ImU16 vmax);
|
|
void ImPlot_FillRange_Vector_S32_Ptr(ImVector_ImS32 * buffer,int n,ImS32 vmin,ImS32 vmax);
|
|
void ImPlot_FillRange_Vector_U32_Ptr(ImVector_ImU32 * buffer,int n,ImU32 vmin,ImU32 vmax);
|
|
void ImPlot_FillRange_Vector_S64_Ptr(ImVector_ImS64 * buffer,int n,ImS64 vmin,ImS64 vmax);
|
|
void ImPlot_FillRange_Vector_U64_Ptr(ImVector_ImU64 * buffer,int n,ImU64 vmin,ImU64 vmax);
|
|
_Bool ImPlot_IsLeapYear(int year);
|
|
int ImPlot_GetDaysInMonth(int year,int month);
|
|
ImPlotTime_c ImPlot_MkGmtTime(struct tm* ptm);
|
|
tm* ImPlot_GetGmtTime(const ImPlotTime_c t,tm* ptm);
|
|
ImPlotTime_c ImPlot_MkLocTime(struct tm* ptm);
|
|
tm* ImPlot_GetLocTime(const ImPlotTime_c t,tm* ptm);
|
|
ImPlotTime_c ImPlot_MkTime(struct tm* ptm);
|
|
tm* ImPlot_GetTime(const ImPlotTime_c t,tm* ptm);
|
|
ImPlotTime_c ImPlot_MakeTime(int year,int month,int day,int hour,int min,int sec,int us);
|
|
int ImPlot_GetYear(const ImPlotTime_c t);
|
|
int ImPlot_GetMonth(const ImPlotTime_c t);
|
|
ImPlotTime_c ImPlot_AddTime(const ImPlotTime_c t,ImPlotTimeUnit unit,int count);
|
|
ImPlotTime_c ImPlot_FloorTime(const ImPlotTime_c t,ImPlotTimeUnit unit);
|
|
ImPlotTime_c ImPlot_CeilTime(const ImPlotTime_c t,ImPlotTimeUnit unit);
|
|
ImPlotTime_c ImPlot_RoundTime(const ImPlotTime_c t,ImPlotTimeUnit unit);
|
|
ImPlotTime_c ImPlot_CombineDateTime(const ImPlotTime_c date_part,const ImPlotTime_c time_part);
|
|
ImPlotTime_c ImPlot_Now(void);
|
|
ImPlotTime_c ImPlot_Today(void);
|
|
int ImPlot_FormatTime(const ImPlotTime_c t,char* buffer,int size,ImPlotTimeFmt fmt, _Bool use_24_hr_clk);
|
|
int ImPlot_FormatDate(const ImPlotTime_c t,char* buffer,int size,ImPlotDateFmt fmt, _Bool use_iso_8601);
|
|
int ImPlot_FormatDateTime(const ImPlotTime_c t,char* buffer,int size,ImPlotDateTimeSpec_c fmt);
|
|
_Bool ImPlot_ShowDatePicker(const char* id,int* level,ImPlotTime* t,const ImPlotTime* t1,const ImPlotTime* t2);
|
|
_Bool ImPlot_ShowTimePicker(const char* id,ImPlotTime* t);
|
|
double ImPlot_TransformForward_Log10(double v,void* noname1);
|
|
double ImPlot_TransformInverse_Log10(double v,void* noname1);
|
|
double ImPlot_TransformForward_SymLog(double v,void* noname1);
|
|
double ImPlot_TransformInverse_SymLog(double v,void* noname1);
|
|
double ImPlot_TransformForward_Logit(double v,void* noname1);
|
|
double ImPlot_TransformInverse_Logit(double v,void* noname1);
|
|
int ImPlot_Formatter_Default(double value,char* buff,int size,void* data);
|
|
int ImPlot_Formatter_Logit(double value,char* buff,int size,void* noname1);
|
|
int ImPlot_Formatter_Time(double noname1,char* buff,int size,void* data);
|
|
void ImPlot_Locator_Default(ImPlotTicker* ticker,const ImPlotRange_c range,float pixels, _Bool vertical,ImPlotFormatter formatter,void* formatter_data);
|
|
void ImPlot_Locator_Time(ImPlotTicker* ticker,const ImPlotRange_c range,float pixels, _Bool vertical,ImPlotFormatter formatter,void* formatter_data);
|
|
void ImPlot_Locator_Log10(ImPlotTicker* ticker,const ImPlotRange_c range,float pixels, _Bool vertical,ImPlotFormatter formatter,void* formatter_data);
|
|
void ImPlot_Locator_SymLog(ImPlotTicker* ticker,const ImPlotRange_c range,float pixels, _Bool vertical,ImPlotFormatter formatter,void* formatter_data);
|
|
typedef struct ImGuiWindow ImGuiWindow;
|
|
struct ImGuiWindow;
|
|
typedef enum {
|
|
TRANSLATE_X = (1u << 0),
|
|
TRANSLATE_Y = (1u << 1),
|
|
TRANSLATE_Z = (1u << 2),
|
|
ROTATE_X = (1u << 3),
|
|
ROTATE_Y = (1u << 4),
|
|
ROTATE_Z = (1u << 5),
|
|
ROTATE_SCREEN = (1u << 6),
|
|
SCALE_X = (1u << 7),
|
|
SCALE_Y = (1u << 8),
|
|
SCALE_Z = (1u << 9),
|
|
BOUNDS = (1u << 10),
|
|
SCALE_XU = (1u << 11),
|
|
SCALE_YU = (1u << 12),
|
|
SCALE_ZU = (1u << 13),
|
|
TRANSLATE = TRANSLATE_X | TRANSLATE_Y | TRANSLATE_Z,
|
|
ROTATE = ROTATE_X | ROTATE_Y | ROTATE_Z | ROTATE_SCREEN,
|
|
SCALE = SCALE_X | SCALE_Y | SCALE_Z,
|
|
SCALEU = SCALE_XU | SCALE_YU | SCALE_ZU,
|
|
UNIVERSAL = TRANSLATE | ROTATE | SCALEU
|
|
}OPERATION;
|
|
typedef enum {
|
|
LOCAL,
|
|
WORLD
|
|
}MODE;
|
|
typedef enum {
|
|
MT_NONE,
|
|
MT_MOVE_X,
|
|
MT_MOVE_Y,
|
|
MT_MOVE_Z,
|
|
MT_MOVE_YZ,
|
|
MT_MOVE_ZX,
|
|
MT_MOVE_XY,
|
|
MT_MOVE_SCREEN,
|
|
MT_ROTATE_X,
|
|
MT_ROTATE_Y,
|
|
MT_ROTATE_Z,
|
|
MT_ROTATE_SCREEN,
|
|
MT_SCALE_X,
|
|
MT_SCALE_Y,
|
|
MT_SCALE_Z,
|
|
MT_SCALE_XYZ
|
|
}MOVETYPE;
|
|
typedef enum {
|
|
DIRECTION_X,
|
|
DIRECTION_Y,
|
|
DIRECTION_Z,
|
|
PLANE_X,
|
|
PLANE_Y,
|
|
PLANE_Z,
|
|
SELECTION,
|
|
INACTIVE,
|
|
TRANSLATION_LINE,
|
|
SCALE_LINE,
|
|
ROTATION_USING_BORDER,
|
|
ROTATION_USING_FILL,
|
|
HATCHED_AXIS_LINES,
|
|
TEXT,
|
|
TEXT_SHADOW,
|
|
COUNT
|
|
}COLOR;
|
|
typedef struct Style Style;
|
|
struct Style
|
|
{
|
|
float TranslationLineThickness;
|
|
float TranslationLineArrowSize;
|
|
float RotationLineThickness;
|
|
float RotationOuterLineThickness;
|
|
float ScaleLineThickness;
|
|
float ScaleLineCircleSize;
|
|
float HatchedAxisLineThickness;
|
|
float CenterCircleSize;
|
|
ImVec4 Colors[COUNT];
|
|
};
|
|
void ImGuizmo_SetDrawlist(ImDrawList* drawlist);
|
|
void ImGuizmo_BeginFrame(void);
|
|
void ImGuizmo_SetImGuiContext(ImGuiContext* ctx);
|
|
_Bool ImGuizmo_IsOver_Nil(void);
|
|
_Bool ImGuizmo_IsUsing(void);
|
|
_Bool ImGuizmo_IsUsingViewManipulate(void);
|
|
_Bool ImGuizmo_IsViewManipulateHovered(void);
|
|
_Bool ImGuizmo_IsUsingAny(void);
|
|
void ImGuizmo_Enable( _Bool enable);
|
|
void ImGuizmo_DecomposeMatrixToComponents(const float* matrix,float* translation,float* rotation,float* scale);
|
|
void ImGuizmo_RecomposeMatrixFromComponents(const float* translation,const float* rotation,const float* scale,float* matrix);
|
|
void ImGuizmo_SetRect(float x,float y,float width,float height);
|
|
void ImGuizmo_SetOrthographic( _Bool isOrthographic);
|
|
void ImGuizmo_DrawAxes(const float* view,const float* projection,const float* matrices,int matrixCount);
|
|
void ImGuizmo_DrawCubes(const float* view,const float* projection,const float* matrices,int matrixCount);
|
|
void ImGuizmo_DrawGrid(const float* view,const float* projection,const float* matrix,const float gridSize);
|
|
void ImGuizmo_DrawGridCustom(const float* view,const float* projection,const float* matrix,const float gridSize,const float majorStep,const unsigned int subdivision);
|
|
void ImGuizmo_DrawGridCustomColor(const float* view,const float* projection,const float* matrix,const float gridSize,const float majorStep,const unsigned int subdivision,const ImU32 majorCol,const ImU32 minorCol,const ImU32 centerCol);
|
|
_Bool ImGuizmo_Manipulate(const float* view,const float* projection,OPERATION operation,MODE mode,float* matrix,float* deltaMatrix,const float* snap,const float* localBounds,const float* boundsSnap);
|
|
void ImGuizmo_ViewManipulate_Float(float* view,float length,ImVec2_c position,ImVec2_c size,ImU32 backgroundColor);
|
|
void ImGuizmo_ViewManipulate_FloatPtr(float* view,const float* projection,OPERATION operation,MODE mode,float* matrix,float length,ImVec2_c position,ImVec2_c size,ImU32 backgroundColor);
|
|
void ImGuizmo_SetAlternativeWindow(ImGuiWindow* window);
|
|
void ImGuizmo_SetID(int id);
|
|
void ImGuizmo_PushID_Str(const char* str_id);
|
|
void ImGuizmo_PushID_StrStr(const char* str_id_begin,const char* str_id_end);
|
|
void ImGuizmo_PushID_Ptr(const void* ptr_id);
|
|
void ImGuizmo_PushID_Int(int int_id);
|
|
void ImGuizmo_PopID(void);
|
|
ImGuiID ImGuizmo_GetID_Str(const char* str_id);
|
|
ImGuiID ImGuizmo_GetID_StrStr(const char* str_id_begin,const char* str_id_end);
|
|
ImGuiID ImGuizmo_GetID_Ptr(const void* ptr_id);
|
|
_Bool ImGuizmo_IsOver_OPERATION(OPERATION op);
|
|
void ImGuizmo_SetGizmoSizeClipSpace(float value);
|
|
MOVETYPE ImGuizmo_GetActiveHandleType(void);
|
|
MOVETYPE ImGuizmo_GetHoveredHandleType(void);
|
|
MOVETYPE ImGuizmo_GetActiveMoveType(void);
|
|
MOVETYPE ImGuizmo_GetHoveredMoveType(void);
|
|
void ImGuizmo_AllowAxisFlip( _Bool value);
|
|
void ImGuizmo_SetAxisLimit(float value);
|
|
void ImGuizmo_SetAxisMask( _Bool x, _Bool y, _Bool z);
|
|
void ImGuizmo_SetPlaneLimit(float value);
|
|
_Bool ImGuizmo_IsOver_FloatPtr(float* position,float pixelRadius);
|
|
Style* Style_Style(void);
|
|
void Style_destroy(Style* self);
|
|
Style* ImGuizmo_GetStyle(void);
|
|
typedef int vgButtons;
|
|
typedef int vgModifiers;
|
|
typedef struct Vec4{
|
|
float x,y,z,w;
|
|
}Vec4;
|
|
typedef struct vec4{
|
|
float x,y,z,w;
|
|
}vec4;
|
|
typedef struct vec3{
|
|
float x,y,z;
|
|
}vec3;
|
|
typedef struct Mat4{
|
|
union {
|
|
float f[16];
|
|
Vec4 v[4];
|
|
};
|
|
}Mat4;
|
|
typedef struct quat{
|
|
float x,y,z,w;
|
|
}quat;
|
|
typedef struct ImVector_vec3 {int Size;int Capacity;vec3* Data;} ImVector_vec3;
|
|
typedef struct imguiGizmo imguiGizmo;
|
|
enum {
|
|
mode3Axes = 0x0001,
|
|
modeDirection = 0x0002,
|
|
modeDirPlane = 0x0004,
|
|
modeDual = 0x0008,
|
|
modePanDolly = 0x0010,
|
|
modeMask = 0x00ff,
|
|
cubeAtOrigin = 0x0100,
|
|
sphereAtOrigin = 0x0200,
|
|
noSolidAtOrigin = 0x0400,
|
|
modeFullAxes = 0x0800,
|
|
axesModeMask = 0xff00
|
|
};
|
|
enum { sphereTess16, sphereTess8, sphereTess4, sphereTess2 };
|
|
enum { CONE_SURF, CONE_CAP, CYL_SURF, CYL_CAP };
|
|
enum { axisIsX, axisIsY, axisIsZ };
|
|
typedef enum { backSide, frontSide }solidSides;
|
|
struct imguiGizmo
|
|
{
|
|
quat qtV;
|
|
quat qtV2;
|
|
vec3 posPanDolly;
|
|
vgButtons buttonPanDolly;
|
|
vec3 axesVecModifier;
|
|
int drawMode;
|
|
int axesOriginType;
|
|
_Bool showFullAxes;
|
|
};
|
|
void imguiGizmo_buildPlane(const float size,const float thickness);
|
|
void imguiGizmo_buildCube(const float size);
|
|
void imguiGizmo_buildPolygon(const vec3 size,ImVector_vec3 * vtx,ImVector_vec3 * norm);
|
|
void imguiGizmo_buildSphere(float radius,int tessFactor);
|
|
void imguiGizmo_buildCone(float x0,float x1,float radius,int slices);
|
|
void imguiGizmo_buildCylinder(float x0,float x1,float radius,int slices);
|
|
void imguiGizmo_resizeAxesOf(const vec3 newSize);
|
|
void imguiGizmo_restoreAxesSize(void);
|
|
void imguiGizmo_resizeSolidOf(float newSize);
|
|
void imguiGizmo_restoreSolidSize(void);
|
|
void imguiGizmo_setDirectionColor_U32U32(ImU32 dColor,const ImU32 pColor);
|
|
void imguiGizmo_setDirectionColor_Vec4Vec4(const ImVec4_c dColor,const ImVec4_c pColor);
|
|
void imguiGizmo_setDirectionColor_U32(ImU32 color);
|
|
void imguiGizmo_setDirectionColor_Vec4(const ImVec4_c color);
|
|
void imguiGizmo_restoreDirectionColor(void);
|
|
void imguiGizmo_setSphereColors_Vec4(const ImVec4_c a,const ImVec4_c b);
|
|
void imguiGizmo_setSphereColors_U32(ImU32 a,ImU32 b);
|
|
void imguiGizmo_restoreSphereColors(void);
|
|
void imguiGizmo_setGizmoFeelingRot(float f);
|
|
float imguiGizmo_getGizmoFeelingRot(void);
|
|
void imguiGizmo_setPanModifier(vgModifiers v);
|
|
void imguiGizmo_setDollyModifier(vgModifiers v);
|
|
void imguiGizmo_setDollyScale(float scale);
|
|
float imguiGizmo_getDollyScale(void);
|
|
void imguiGizmo_setDollyWheelScale(float scale);
|
|
float imguiGizmo_getDollyWheelScale(void);
|
|
void imguiGizmo_setPanScale(float scale);
|
|
float imguiGizmo_getPanScale(void);
|
|
void imguiGizmo_flipRotOnX( _Bool b);
|
|
void imguiGizmo_flipRotOnY( _Bool b);
|
|
void imguiGizmo_flipRotOnZ( _Bool b);
|
|
void imguiGizmo_setFlipDolly( _Bool b);
|
|
void imguiGizmo_setFlipPanX( _Bool b);
|
|
void imguiGizmo_setFlipPanY( _Bool b);
|
|
_Bool imguiGizmo_getFlipRotOnX(void);
|
|
_Bool imguiGizmo_getFlipRotOnY(void);
|
|
_Bool imguiGizmo_getFlipRotOnZ(void);
|
|
_Bool imguiGizmo_getFlipPanX(void);
|
|
_Bool imguiGizmo_getFlipPanY(void);
|
|
_Bool imguiGizmo_getFlipDolly(void);
|
|
void imguiGizmo_reverseX( _Bool b);
|
|
void imguiGizmo_reverseY( _Bool b);
|
|
void imguiGizmo_reverseZ( _Bool b);
|
|
_Bool imguiGizmo_getReverseX(void);
|
|
_Bool imguiGizmo_getReverseY(void);
|
|
_Bool imguiGizmo_getReverseZ(void);
|
|
_Bool imguiGizmo_drawFunc(imguiGizmo* self,const char* label,float size);
|
|
void imguiGizmo_modeSettings(imguiGizmo* self,uint32_t mode);
|
|
void imguiGizmo_setDualMode(imguiGizmo* self,const uint32_t mode);
|
|
_Bool imguiGizmo_getTransforms_vec3Ptr(imguiGizmo* self,quat* q,const char* label,vec3* vDir,float size);
|
|
_Bool imguiGizmo_getTransforms_vec4Ptr(imguiGizmo* self,quat* q,const char* label,vec4* axis_angle,float size);
|
|
vec3 imguiGizmo_checkTowards_vec3(imguiGizmo* self,const vec3 v);
|
|
vec4 imguiGizmo_checkTowards_vec4(imguiGizmo* self,const vec4 v);
|
|
quat imguiGizmo_checkTowards_quat(imguiGizmo* self,const quat q);
|
|
_Bool iggizmo3D_quatPtrFloat(const char* t,quat* q,float sz,uint32_t flag);
|
|
_Bool iggizmo3D_vec4Ptr(const char* t,vec4* v,float sz,uint32_t flag);
|
|
_Bool iggizmo3D_vec3PtrFloat(const char* t,vec3* v,float sz,uint32_t flag);
|
|
_Bool iggizmo3D_quatPtrquatPtr(const char* t,quat* q,quat* ql,float sz,uint32_t flag);
|
|
_Bool iggizmo3D_quatPtrvec4Ptr(const char* t,quat* q,vec4* v,float sz,uint32_t flag);
|
|
_Bool iggizmo3D_quatPtrvec3Ptr(const char* t,quat* q,vec3* v,float sz,uint32_t flag);
|
|
_Bool iggizmo3D_vec3PtrquatPtrFloat(const char* t,vec3* vm,quat* q,float sz,uint32_t flag);
|
|
_Bool iggizmo3D_vec3Ptrvec4Ptr(const char* t,vec3* vm,vec4* v,float sz,uint32_t flag);
|
|
_Bool iggizmo3D_vec3Ptrvec3Ptr(const char* t,vec3* vm,vec3* v,float sz,uint32_t flag);
|
|
_Bool iggizmo3D_vec3PtrquatPtrquatPtr(const char* t,vec3* vm,quat* q,quat* ql,float sz,uint32_t flag);
|
|
_Bool iggizmo3D_vec3PtrquatPtrvec4Ptr(const char* t,vec3* vm,quat* q,vec4* v,float sz,uint32_t flag);
|
|
_Bool iggizmo3D_vec3PtrquatPtrvec3Ptr(const char* t,vec3* vm,quat* q,vec3* v,float sz,uint32_t flag);
|
|
void mat4_cast( quat *q,Mat4* mat);
|
|
void mat4_pos_cast( quat *q, vec3 pos, Mat4* mat);
|
|
void quat_cast(float f[16], quat *qq);
|
|
void quat_pos_cast(float f[16], quat *qq, vec3 *pos);
|
|
typedef struct ImGuiContext ImGuiContext;
|
|
typedef struct ImVec2_c ImVec2_c;
|
|
typedef struct ImNodesContext ImNodesContext;
|
|
typedef struct ImNodesEditorContext ImNodesEditorContext;
|
|
typedef int ImNodesCol;
|
|
typedef int ImNodesStyleVar;
|
|
typedef int ImNodesStyleFlags;
|
|
typedef int ImNodesPinShape;
|
|
typedef int ImNodesAttributeFlags;
|
|
typedef int ImNodesMiniMapLocation;
|
|
typedef enum {
|
|
ImNodesCol_NodeBackground = 0,
|
|
ImNodesCol_NodeBackgroundHovered,
|
|
ImNodesCol_NodeBackgroundSelected,
|
|
ImNodesCol_NodeOutline,
|
|
ImNodesCol_TitleBar,
|
|
ImNodesCol_TitleBarHovered,
|
|
ImNodesCol_TitleBarSelected,
|
|
ImNodesCol_Link,
|
|
ImNodesCol_LinkHovered,
|
|
ImNodesCol_LinkSelected,
|
|
ImNodesCol_Pin,
|
|
ImNodesCol_PinHovered,
|
|
ImNodesCol_BoxSelector,
|
|
ImNodesCol_BoxSelectorOutline,
|
|
ImNodesCol_GridBackground,
|
|
ImNodesCol_GridLine,
|
|
ImNodesCol_GridLinePrimary,
|
|
ImNodesCol_MiniMapBackground,
|
|
ImNodesCol_MiniMapBackgroundHovered,
|
|
ImNodesCol_MiniMapOutline,
|
|
ImNodesCol_MiniMapOutlineHovered,
|
|
ImNodesCol_MiniMapNodeBackground,
|
|
ImNodesCol_MiniMapNodeBackgroundHovered,
|
|
ImNodesCol_MiniMapNodeBackgroundSelected,
|
|
ImNodesCol_MiniMapNodeOutline,
|
|
ImNodesCol_MiniMapLink,
|
|
ImNodesCol_MiniMapLinkSelected,
|
|
ImNodesCol_MiniMapCanvas,
|
|
ImNodesCol_MiniMapCanvasOutline,
|
|
ImNodesCol_COUNT
|
|
}ImNodesCol_;
|
|
typedef enum {
|
|
ImNodesStyleVar_GridSpacing = 0,
|
|
ImNodesStyleVar_NodeCornerRounding,
|
|
ImNodesStyleVar_NodePadding,
|
|
ImNodesStyleVar_NodeBorderThickness,
|
|
ImNodesStyleVar_LinkThickness,
|
|
ImNodesStyleVar_LinkLineSegmentsPerLength,
|
|
ImNodesStyleVar_LinkHoverDistance,
|
|
ImNodesStyleVar_PinCircleRadius,
|
|
ImNodesStyleVar_PinQuadSideLength,
|
|
ImNodesStyleVar_PinTriangleSideLength,
|
|
ImNodesStyleVar_PinLineThickness,
|
|
ImNodesStyleVar_PinHoverRadius,
|
|
ImNodesStyleVar_PinOffset,
|
|
ImNodesStyleVar_MiniMapPadding,
|
|
ImNodesStyleVar_MiniMapOffset,
|
|
ImNodesStyleVar_COUNT
|
|
}ImNodesStyleVar_;
|
|
typedef enum {
|
|
ImNodesStyleFlags_None = 0,
|
|
ImNodesStyleFlags_NodeOutline = 1 << 0,
|
|
ImNodesStyleFlags_GridLines = 1 << 2,
|
|
ImNodesStyleFlags_GridLinesPrimary = 1 << 3,
|
|
ImNodesStyleFlags_GridSnapping = 1 << 4
|
|
}ImNodesStyleFlags_;
|
|
typedef enum {
|
|
ImNodesPinShape_Circle,
|
|
ImNodesPinShape_CircleFilled,
|
|
ImNodesPinShape_Triangle,
|
|
ImNodesPinShape_TriangleFilled,
|
|
ImNodesPinShape_Quad,
|
|
ImNodesPinShape_QuadFilled
|
|
}ImNodesPinShape_;
|
|
typedef enum {
|
|
ImNodesAttributeFlags_None = 0,
|
|
ImNodesAttributeFlags_EnableLinkDetachWithDragClick = 1 << 0,
|
|
ImNodesAttributeFlags_EnableLinkCreationOnSnap = 1 << 1
|
|
}ImNodesAttributeFlags_;
|
|
typedef struct ImNodesIO ImNodesIO;
|
|
struct EmulateThreeButtonMouse
|
|
{
|
|
const _Bool * Modifier;
|
|
};
|
|
typedef struct EmulateThreeButtonMouse EmulateThreeButtonMouse;
|
|
struct LinkDetachWithModifierClick
|
|
{
|
|
const _Bool * Modifier;
|
|
};
|
|
typedef struct LinkDetachWithModifierClick LinkDetachWithModifierClick;
|
|
struct MultipleSelectModifier
|
|
{
|
|
const _Bool * Modifier;
|
|
};
|
|
typedef struct MultipleSelectModifier MultipleSelectModifier;
|
|
struct ImNodesIO
|
|
{
|
|
EmulateThreeButtonMouse EmulateThreeButtonMouse;
|
|
LinkDetachWithModifierClick LinkDetachWithModifierClick;
|
|
MultipleSelectModifier MultipleSelectModifier;
|
|
int AltMouseButton;
|
|
float AutoPanningSpeed;
|
|
};
|
|
typedef struct EmulateThreeButtonMouse EmulateThreeButtonMouse;
|
|
typedef struct LinkDetachWithModifierClick LinkDetachWithModifierClick;
|
|
typedef struct MultipleSelectModifier MultipleSelectModifier;
|
|
typedef struct ImNodesStyle ImNodesStyle;
|
|
struct ImNodesStyle
|
|
{
|
|
float GridSpacing;
|
|
float NodeCornerRounding;
|
|
ImVec2_c NodePadding;
|
|
float NodeBorderThickness;
|
|
float LinkThickness;
|
|
float LinkLineSegmentsPerLength;
|
|
float LinkHoverDistance;
|
|
float PinCircleRadius;
|
|
float PinQuadSideLength;
|
|
float PinTriangleSideLength;
|
|
float PinLineThickness;
|
|
float PinHoverRadius;
|
|
float PinOffset;
|
|
ImVec2_c MiniMapPadding;
|
|
ImVec2_c MiniMapOffset;
|
|
ImNodesStyleFlags Flags;
|
|
unsigned int Colors[ImNodesCol_COUNT];
|
|
};
|
|
typedef enum {
|
|
ImNodesMiniMapLocation_BottomLeft,
|
|
ImNodesMiniMapLocation_BottomRight,
|
|
ImNodesMiniMapLocation_TopLeft,
|
|
ImNodesMiniMapLocation_TopRight,
|
|
}ImNodesMiniMapLocation_;
|
|
struct ImGuiContext;
|
|
struct ImVec2_c;
|
|
struct ImNodesContext;
|
|
struct ImNodesEditorContext;
|
|
typedef void (*ImNodesMiniMapNodeHoveringCallback)(int, void*);
|
|
typedef void* ImNodesMiniMapNodeHoveringCallbackUserData;
|
|
EmulateThreeButtonMouse* EmulateThreeButtonMouse_EmulateThreeButtonMouse(void);
|
|
void EmulateThreeButtonMouse_destroy(EmulateThreeButtonMouse* self);
|
|
LinkDetachWithModifierClick* LinkDetachWithModifierClick_LinkDetachWithModifierClick(void);
|
|
void LinkDetachWithModifierClick_destroy(LinkDetachWithModifierClick* self);
|
|
MultipleSelectModifier* MultipleSelectModifier_MultipleSelectModifier(void);
|
|
void MultipleSelectModifier_destroy(MultipleSelectModifier* self);
|
|
ImNodesIO* ImNodesIO_ImNodesIO(void);
|
|
void ImNodesIO_destroy(ImNodesIO* self);
|
|
ImNodesStyle* ImNodesStyle_ImNodesStyle(void);
|
|
void ImNodesStyle_destroy(ImNodesStyle* self);
|
|
void imnodes_SetImGuiContext(ImGuiContext* ctx);
|
|
ImNodesContext* imnodes_CreateContext(void);
|
|
void imnodes_DestroyContext(ImNodesContext* ctx);
|
|
ImNodesContext* imnodes_GetCurrentContext(void);
|
|
void imnodes_SetCurrentContext(ImNodesContext* ctx);
|
|
ImNodesEditorContext* imnodes_EditorContextCreate(void);
|
|
void imnodes_EditorContextFree(ImNodesEditorContext* noname1);
|
|
void imnodes_EditorContextSet(ImNodesEditorContext* noname1);
|
|
ImVec2_c imnodes_EditorContextGetPanning(void);
|
|
void imnodes_EditorContextResetPanning(const ImVec2_c pos);
|
|
void imnodes_EditorContextMoveToNode(const int node_id);
|
|
ImNodesIO* imnodes_GetIO(void);
|
|
ImNodesStyle* imnodes_GetStyle(void);
|
|
void imnodes_StyleColorsDark(ImNodesStyle* dest);
|
|
void imnodes_StyleColorsClassic(ImNodesStyle* dest);
|
|
void imnodes_StyleColorsLight(ImNodesStyle* dest);
|
|
void imnodes_BeginNodeEditor(void);
|
|
void imnodes_EndNodeEditor(void);
|
|
void imnodes_MiniMap(const float minimap_size_fraction,const ImNodesMiniMapLocation location,const ImNodesMiniMapNodeHoveringCallback node_hovering_callback,const ImNodesMiniMapNodeHoveringCallbackUserData node_hovering_callback_data);
|
|
void imnodes_PushColorStyle(ImNodesCol item,unsigned int color);
|
|
void imnodes_PopColorStyle(void);
|
|
void imnodes_PushStyleVar_Float(ImNodesStyleVar style_item,float value);
|
|
void imnodes_PushStyleVar_Vec2(ImNodesStyleVar style_item,const ImVec2_c value);
|
|
void imnodes_PopStyleVar(int count);
|
|
void imnodes_BeginNode(int id);
|
|
void imnodes_EndNode(void);
|
|
ImVec2_c imnodes_GetNodeDimensions(int id);
|
|
void imnodes_BeginNodeTitleBar(void);
|
|
void imnodes_EndNodeTitleBar(void);
|
|
void imnodes_BeginInputAttribute(int id,ImNodesPinShape shape);
|
|
void imnodes_EndInputAttribute(void);
|
|
void imnodes_BeginOutputAttribute(int id,ImNodesPinShape shape);
|
|
void imnodes_EndOutputAttribute(void);
|
|
void imnodes_BeginStaticAttribute(int id);
|
|
void imnodes_EndStaticAttribute(void);
|
|
void imnodes_PushAttributeFlag(ImNodesAttributeFlags flag);
|
|
void imnodes_PopAttributeFlag(void);
|
|
void imnodes_Link(int id,int start_attribute_id,int end_attribute_id);
|
|
void imnodes_SetNodeDraggable(int node_id,const _Bool draggable);
|
|
void imnodes_SetNodeScreenSpacePos(int node_id,const ImVec2_c screen_space_pos);
|
|
void imnodes_SetNodeEditorSpacePos(int node_id,const ImVec2_c editor_space_pos);
|
|
void imnodes_SetNodeGridSpacePos(int node_id,const ImVec2_c grid_pos);
|
|
ImVec2_c imnodes_GetNodeScreenSpacePos(const int node_id);
|
|
ImVec2_c imnodes_GetNodeEditorSpacePos(const int node_id);
|
|
ImVec2_c imnodes_GetNodeGridSpacePos(const int node_id);
|
|
void imnodes_SnapNodeToGrid(int node_id);
|
|
_Bool imnodes_IsEditorHovered(void);
|
|
_Bool imnodes_IsNodeHovered(int* node_id);
|
|
_Bool imnodes_IsLinkHovered(int* link_id);
|
|
_Bool imnodes_IsPinHovered(int* attribute_id);
|
|
int imnodes_NumSelectedNodes(void);
|
|
int imnodes_NumSelectedLinks(void);
|
|
void imnodes_GetSelectedNodes(int* node_ids);
|
|
void imnodes_GetSelectedLinks(int* link_ids);
|
|
void imnodes_ClearNodeSelection_Nil(void);
|
|
void imnodes_ClearLinkSelection_Nil(void);
|
|
void imnodes_SelectNode(int node_id);
|
|
void imnodes_ClearNodeSelection_Int(int node_id);
|
|
_Bool imnodes_IsNodeSelected(int node_id);
|
|
void imnodes_SelectLink(int link_id);
|
|
void imnodes_ClearLinkSelection_Int(int link_id);
|
|
_Bool imnodes_IsLinkSelected(int link_id);
|
|
_Bool imnodes_IsAttributeActive(void);
|
|
_Bool imnodes_IsAnyAttributeActive(int* attribute_id);
|
|
_Bool imnodes_IsLinkStarted(int* started_at_attribute_id);
|
|
_Bool imnodes_IsLinkDropped(int* started_at_attribute_id, _Bool including_detached_links);
|
|
_Bool imnodes_IsLinkCreated_BoolPtr(int* started_at_attribute_id,int* ended_at_attribute_id, _Bool * created_from_snap);
|
|
_Bool imnodes_IsLinkCreated_IntPtr(int* started_at_node_id,int* started_at_attribute_id,int* ended_at_node_id,int* ended_at_attribute_id, _Bool * created_from_snap);
|
|
_Bool imnodes_IsLinkDestroyed(int* link_id);
|
|
const char* imnodes_SaveCurrentEditorStateToIniString(size_t* data_size);
|
|
const char* imnodes_SaveEditorStateToIniString(const ImNodesEditorContext* editor,size_t* data_size);
|
|
void imnodes_LoadCurrentEditorStateFromIniString(const char* data,size_t data_size);
|
|
void imnodes_LoadEditorStateFromIniString(ImNodesEditorContext* editor,const char* data,size_t data_size);
|
|
void imnodes_SaveCurrentEditorStateToIniFile(const char* file_name);
|
|
void imnodes_SaveEditorStateToIniFile(const ImNodesEditorContext* editor,const char* file_name);
|
|
void imnodes_LoadCurrentEditorStateFromIniFile(const char* file_name);
|
|
void imnodes_LoadEditorStateFromIniFile(ImNodesEditorContext* editor,const char* file_name);
|
|
_Bool * getIOKeyCtrlPtr();
|
|
typedef struct _CanvasStateImpl _CanvasStateImpl;
|
|
typedef struct Context Context;
|
|
typedef enum {
|
|
ColCanvasLines,
|
|
ColNodeBg,
|
|
ColNodeActiveBg,
|
|
ColNodeBorder,
|
|
ColConnection,
|
|
ColConnectionActive,
|
|
ColSelectBg,
|
|
ColSelectBorder,
|
|
ColMax
|
|
}StyleColor;
|
|
struct _CanvasStateImpl;
|
|
typedef struct CanvasState CanvasState;
|
|
struct CanvasStyle
|
|
{
|
|
float CurveThickness;
|
|
float ConnectionIndent;
|
|
float GridSpacing;
|
|
float CurveStrength;
|
|
float NodeRounding;
|
|
ImVec2_c NodeSpacing;
|
|
};
|
|
typedef struct CanvasStyle CanvasStyle;
|
|
struct CanvasState
|
|
{
|
|
float Zoom;
|
|
ImVec2_c Offset;
|
|
ImColor Colors[ColMax];
|
|
CanvasStyle Style;
|
|
_CanvasStateImpl* _Impl;
|
|
};
|
|
typedef struct CanvasStyle CanvasStyle;
|
|
typedef enum {
|
|
ImNodesStyleVar_GridSpacing_r,
|
|
ImNodesStyleVar_CurveThickness,
|
|
ImNodesStyleVar_CurveStrength,
|
|
ImNodesStyleVar_SlotRadius,
|
|
ImNodesStyleVar_NodeRounding,
|
|
ImNodesStyleVar_NodeSpacing,
|
|
ImNodesStyleVar_ItemSpacing,
|
|
ImNodesStyleVar_COUNT_r,
|
|
}ImNodesStyleVar;
|
|
typedef enum {
|
|
ImNodesStyleCol_GridLines,
|
|
ImNodesStyleCol_NodeBodyBg,
|
|
ImNodesStyleCol_NodeBodyBgHovered,
|
|
ImNodesStyleCol_NodeBodyBgActive,
|
|
ImNodesStyleCol_NodeBorder,
|
|
ImNodesStyleCol_Connection,
|
|
ImNodesStyleCol_ConnectionActive,
|
|
ImNodesStyleCol_SelectBg,
|
|
ImNodesStyleCol_SelectBorder,
|
|
ImNodesStyleCol_NodeTitleBarBg,
|
|
ImNodesStyleCol_NodeTitleBarBgHovered,
|
|
ImNodesStyleCol_NodeTitleBarBgActive,
|
|
ImNodesStyleCol_COUNT,
|
|
}ImNodesStyleCol;
|
|
typedef struct SlotInfo SlotInfo;
|
|
struct SlotInfo
|
|
{
|
|
const char* title;
|
|
int kind;
|
|
};
|
|
typedef struct StyleVars StyleVars;
|
|
struct StyleVars
|
|
{
|
|
float SlotRadius;
|
|
ImVec2_c ItemSpacing;
|
|
struct
|
|
{
|
|
ImVec4_c NodeBodyBg;
|
|
ImVec4_c NodeBodyBgHovered;
|
|
ImVec4_c NodeBodyBgActive;
|
|
ImVec4_c NodeBorder;
|
|
ImVec4_c NodeTitleBarBg;
|
|
ImVec4_c NodeTitleBarBgHovered;
|
|
ImVec4_c NodeTitleBarBgActive;
|
|
} Colors;
|
|
};
|
|
struct Context;
|
|
CanvasState* CanvasState_CanvasState(void);
|
|
void CanvasState_destroy(CanvasState* self);
|
|
void ImNodes_BeginCanvas(CanvasState* canvas);
|
|
void ImNodes_EndCanvas(void);
|
|
_Bool ImNodes_BeginNode(void* node_id,ImVec2* pos, _Bool * selected);
|
|
void ImNodes_EndNode(void);
|
|
_Bool ImNodes_IsNodeHovered(void);
|
|
void ImNodes_AutoPositionNode(void* node_id);
|
|
_Bool ImNodes_GetNewConnection(void** input_node,const char** input_slot_title,void** output_node,const char** output_slot_title);
|
|
_Bool ImNodes_GetPendingConnection(void** node_id,const char** slot_title,int* slot_kind);
|
|
_Bool ImNodes_Connection(void* input_node,const char* input_slot,void* output_node,const char* output_slot);
|
|
CanvasState* ImNodes_GetCurrentCanvas(void);
|
|
int ImNodes_InputSlotKind(int kind);
|
|
int ImNodes_OutputSlotKind(int kind);
|
|
_Bool ImNodes_IsInputSlotKind(int kind);
|
|
_Bool ImNodes_IsOutputSlotKind(int kind);
|
|
_Bool ImNodes_BeginSlot(const char* title,int kind);
|
|
_Bool ImNodes_BeginInputSlot(const char* title,int kind);
|
|
_Bool ImNodes_BeginOutputSlot(const char* title,int kind);
|
|
void ImNodes_EndSlot(void);
|
|
_Bool ImNodes_IsSlotCurveHovered(void);
|
|
_Bool ImNodes_IsConnectingCompatibleSlot(void);
|
|
Context* ImNodes_Ez_CreateContext(void);
|
|
void ImNodes_Ez_FreeContext(Context* ctx);
|
|
void ImNodes_Ez_SetContext(Context* ctx);
|
|
CanvasState* ImNodes_Ez_GetState(void);
|
|
void ImNodes_Ez_BeginCanvas(void);
|
|
void ImNodes_Ez_EndCanvas(void);
|
|
_Bool ImNodes_Ez_BeginNode(void* node_id,const char* title,ImVec2* pos, _Bool * selected);
|
|
void ImNodes_Ez_EndNode(void);
|
|
void ImNodes_Ez_InputSlots(const SlotInfo* slots,int snum);
|
|
void ImNodes_Ez_OutputSlots(const SlotInfo* slots,int snum);
|
|
_Bool ImNodes_Ez_Connection(void* input_node,const char* input_slot,void* output_node,const char* output_slot);
|
|
void ImNodes_Ez_PushStyleVar_Float(ImNodesStyleVar idx,float val);
|
|
void ImNodes_Ez_PushStyleVar_Vec2(ImNodesStyleVar idx,const ImVec2_c val);
|
|
void ImNodes_Ez_PopStyleVar(int count);
|
|
void ImNodes_Ez_PushStyleColor_U32(ImNodesStyleCol idx,ImU32 col);
|
|
void ImNodes_Ez_PushStyleColor_Vec4(ImNodesStyleCol idx,const ImVec4_c col);
|
|
void ImNodes_Ez_PopStyleColor(int count);
|
|
typedef struct TextEditor TextEditor;
|
|
struct CursorPosition_c
|
|
{
|
|
int line;
|
|
int column;
|
|
};
|
|
typedef struct CursorPosition_c CursorPosition_c;
|
|
struct CursorSelection_c
|
|
{
|
|
CursorPosition_c start;
|
|
CursorPosition_c end;
|
|
};
|
|
typedef struct CursorSelection_c CursorSelection_c;
|
|
typedef enum {
|
|
alignTop,
|
|
alignMiddle,
|
|
alignBottom
|
|
}Scroll;
|
|
struct Decorator
|
|
{
|
|
int line;
|
|
float width;
|
|
float height;
|
|
ImVec2_c glyphSize;
|
|
void* userData;
|
|
};
|
|
typedef struct Decorator Decorator;
|
|
typedef enum {
|
|
text=0,
|
|
keyword=1,
|
|
declaration=2,
|
|
number=3,
|
|
string=4,
|
|
punctuation=5,
|
|
preprocessor=6,
|
|
identifier=7,
|
|
knownIdentifier=8,
|
|
comment=9,
|
|
background=10,
|
|
cursor=11,
|
|
selection=12,
|
|
whitespace=13,
|
|
matchingBracketBackground=14,
|
|
matchingBracketActive=15,
|
|
matchingBracketLevel1=16,
|
|
matchingBracketLevel2=17,
|
|
matchingBracketLevel3=18,
|
|
matchingBracketError=19,
|
|
lineNumber=20,
|
|
currentLineNumber=21,
|
|
count=22,
|
|
}Color;
|
|
struct Glyph
|
|
{
|
|
ImWchar codepoint;
|
|
Color color;
|
|
};
|
|
typedef struct Glyph Glyph;
|
|
struct Trie
|
|
{
|
|
};
|
|
typedef struct Trie Trie;
|
|
struct CodePoint
|
|
{
|
|
};
|
|
typedef struct CodePoint CodePoint;
|
|
struct TextEditor
|
|
{
|
|
};
|
|
typedef struct CursorPosition_c CursorPosition_c;
|
|
typedef struct CursorSelection_c CursorSelection_c;
|
|
typedef struct Change Change;
|
|
typedef struct Decorator Decorator;
|
|
typedef struct Palette Palette;
|
|
typedef struct Glyph Glyph;
|
|
typedef struct Iterator Iterator;
|
|
typedef struct Language Language;
|
|
typedef struct AutoCompleteState AutoCompleteState;
|
|
typedef struct AutoCompleteConfig AutoCompleteConfig;
|
|
typedef struct Trie Trie;
|
|
typedef struct CodePoint CodePoint;
|
|
typedef struct TextDiff TextDiff;
|
|
struct TextDiff
|
|
{
|
|
TextEditor _TextEditor;
|
|
};
|
|
typedef struct CursorPosition_c CursorPosition;
|
|
typedef struct CursorSelection_c CursorSelection;
|
|
TextEditor* TextEditor_TextEditor(void);
|
|
void TextEditor_destroy(TextEditor* self);
|
|
void TextEditor_SetTabSize(TextEditor* self,int value);
|
|
int TextEditor_GetTabSize(TextEditor* self);
|
|
void TextEditor_SetInsertSpacesOnTabs(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsInsertSpacesOnTabs(TextEditor* self);
|
|
void TextEditor_SetLineSpacing(TextEditor* self,float value);
|
|
float TextEditor_GetLineSpacing(TextEditor* self);
|
|
void TextEditor_SetReadOnlyEnabled(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsReadOnlyEnabled(TextEditor* self);
|
|
void TextEditor_SetAutoIndentEnabled(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsAutoIndentEnabled(TextEditor* self);
|
|
void TextEditor_SetShowWhitespacesEnabled(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsShowWhitespacesEnabled(TextEditor* self);
|
|
void TextEditor_SetShowSpacesEnabled(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsShowSpacesEnabled(TextEditor* self);
|
|
void TextEditor_SetShowTabsEnabled(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsShowTabsEnabled(TextEditor* self);
|
|
void TextEditor_SetShowLineNumbersEnabled(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsShowLineNumbersEnabled(TextEditor* self);
|
|
void TextEditor_SetShowScrollbarMiniMapEnabled(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsShowScrollbarMiniMapEnabled(TextEditor* self);
|
|
void TextEditor_SetShowPanScrollIndicatorEnabled(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsShowPanScrollIndicatorEnabled(TextEditor* self);
|
|
void TextEditor_SetShowMatchingBrackets(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsShowingMatchingBrackets(TextEditor* self);
|
|
void TextEditor_SetCompletePairedGlyphs(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsCompletingPairedGlyphs(TextEditor* self);
|
|
void TextEditor_SetOverwriteEnabled(TextEditor* self, _Bool value);
|
|
_Bool TextEditor_IsOverwriteEnabled(TextEditor* self);
|
|
void TextEditor_SetMiddleMousePanMode(TextEditor* self);
|
|
void TextEditor_SetMiddleMouseScrollMode(TextEditor* self);
|
|
_Bool TextEditor_IsMiddleMousePanMode(TextEditor* self);
|
|
void TextEditor_SetText(TextEditor* self,const char* text);
|
|
const char* TextEditor_GetText(TextEditor* self);
|
|
const char* TextEditor_GetCursorText(TextEditor* self,size_t cursor);
|
|
const char* TextEditor_GetLineText(TextEditor* self,int line);
|
|
const char* TextEditor_GetSectionText(TextEditor* self,int startLine,int startColumn,int endLine,int endColumn);
|
|
void TextEditor_ReplaceSectionText(TextEditor* self,int startLine,int startColumn,int endLine,int endColumn,const char* text);
|
|
void TextEditor_ClearText(TextEditor* self);
|
|
_Bool TextEditor_IsEmpty(TextEditor* self);
|
|
int TextEditor_GetLineCount(TextEditor* self);
|
|
void TextEditor_Render(TextEditor* self,const char* title,const ImVec2_c size, _Bool border);
|
|
void TextEditor_SetFocus(TextEditor* self);
|
|
void TextEditor_Cut(TextEditor* self);
|
|
void TextEditor_Copy(TextEditor* self);
|
|
void TextEditor_Paste(TextEditor* self);
|
|
void TextEditor_Undo(TextEditor* self);
|
|
void TextEditor_Redo(TextEditor* self);
|
|
_Bool TextEditor_CanUndo(TextEditor* self);
|
|
_Bool TextEditor_CanRedo(TextEditor* self);
|
|
size_t TextEditor_GetUndoIndex(TextEditor* self);
|
|
void TextEditor_SetCursor(TextEditor* self,int line,int column);
|
|
void TextEditor_SelectAll(TextEditor* self);
|
|
void TextEditor_SelectLine(TextEditor* self,int line);
|
|
void TextEditor_SelectLines(TextEditor* self,int start,int end);
|
|
void TextEditor_SelectRegion(TextEditor* self,int startLine,int startColumn,int endLine,int endColumn);
|
|
void TextEditor_SelectToBrackets(TextEditor* self, _Bool includeBrackets);
|
|
void TextEditor_GrowSelectionsToCurlyBrackets(TextEditor* self);
|
|
void TextEditor_ShrinkSelectionsToCurlyBrackets(TextEditor* self);
|
|
void TextEditor_AddNextOccurrence(TextEditor* self);
|
|
void TextEditor_SelectAllOccurrences(TextEditor* self);
|
|
_Bool TextEditor_AnyCursorHasSelection(TextEditor* self);
|
|
_Bool TextEditor_AllCursorsHaveSelection(TextEditor* self);
|
|
_Bool TextEditor_CurrentCursorHasSelection(TextEditor* self);
|
|
void TextEditor_ClearCursors(TextEditor* self);
|
|
size_t TextEditor_GetNumberOfCursors(TextEditor* self);
|
|
void TextEditor_GetCursor_size_t(TextEditor* self,int* line,int* column,size_t cursor);
|
|
void TextEditor_GetCursor_IntPtr(TextEditor* self,int* startLine,int* startColumn,int* endLine,int* endColumn,size_t cursor);
|
|
void TextEditor_GetMainCursor(TextEditor* self,int* line,int* column);
|
|
void TextEditor_GetCurrentCursor(TextEditor* self,int* line,int* column);
|
|
CursorPosition* CursorPosition_CursorPosition_Nil(void);
|
|
void CursorPosition_destroy(CursorPosition* self);
|
|
CursorPosition* CursorPosition_CursorPosition_Int(int l,int c);
|
|
CursorSelection* CursorSelection_CursorSelection_Nil(void);
|
|
void CursorSelection_destroy(CursorSelection* self);
|
|
CursorSelection* CursorSelection_CursorSelection_CursorPosition(CursorPosition_c s,CursorPosition_c e);
|
|
CursorPosition_c TextEditor_GetMainCursorPosition(TextEditor* self);
|
|
CursorPosition_c TextEditor_GetCurrentCursorPosition(TextEditor* self);
|
|
CursorPosition_c TextEditor_GetCursorPosition(TextEditor* self,size_t cursor);
|
|
CursorSelection_c TextEditor_GetCursorSelection(TextEditor* self,size_t cursor);
|
|
CursorSelection_c TextEditor_GetMainCursorSelection(TextEditor* self);
|
|
const char* TextEditor_GetWordAtScreenPos(TextEditor* self,const ImVec2_c screenPos);
|
|
void TextEditor_ScrollToLine(TextEditor* self,int line,Scroll alignment);
|
|
int TextEditor_GetFirstVisibleLine(TextEditor* self);
|
|
int TextEditor_GetLastVisibleLine(TextEditor* self);
|
|
int TextEditor_GetFirstVisibleColumn(TextEditor* self);
|
|
int TextEditor_GetLastVisibleColumn(TextEditor* self);
|
|
float TextEditor_GetLineHeight(TextEditor* self);
|
|
float TextEditor_GetGlyphWidth(TextEditor* self);
|
|
void TextEditor_SelectFirstOccurrenceOf(TextEditor* self,const char* text, _Bool caseSensitive, _Bool wholeWord);
|
|
void TextEditor_SelectNextOccurrenceOf(TextEditor* self,const char* text, _Bool caseSensitive, _Bool wholeWord);
|
|
void TextEditor_SelectAllOccurrencesOf(TextEditor* self,const char* text, _Bool caseSensitive, _Bool wholeWord);
|
|
void TextEditor_ReplaceTextInCurrentCursor(TextEditor* self,const char* text);
|
|
void TextEditor_ReplaceTextInAllCursors(TextEditor* self,const char* text);
|
|
void TextEditor_OpenFindReplaceWindow(TextEditor* self);
|
|
void TextEditor_CloseFindReplaceWindow(TextEditor* self);
|
|
void TextEditor_SetFindButtonLabel(TextEditor* self,const char* label);
|
|
void TextEditor_SetFindAllButtonLabel(TextEditor* self,const char* label);
|
|
void TextEditor_SetReplaceButtonLabel(TextEditor* self,const char* label);
|
|
void TextEditor_SetReplaceAllButtonLabel(TextEditor* self,const char* label);
|
|
_Bool TextEditor_HasFindString(TextEditor* self);
|
|
void TextEditor_FindNext(TextEditor* self);
|
|
void TextEditor_FindAll(TextEditor* self);
|
|
void TextEditor_AddMarker(TextEditor* self,int line,ImU32 lineNumberColor,ImU32 textColor,const char* lineNumberTooltip,const char* textTooltip);
|
|
void TextEditor_ClearMarkers(TextEditor* self);
|
|
_Bool TextEditor_HasMarkers(TextEditor* self);
|
|
void TextEditor_SetChangeCallback(TextEditor* self,void(*cb)(),int delay);
|
|
void TextEditor_SetInsertor(TextEditor* self,void*(*cb)(int));
|
|
void TextEditor_SetDeletor(TextEditor* self,void(*cb)(int,void*));
|
|
void TextEditor_SetUserData(TextEditor* self,int line,void* data);
|
|
void* TextEditor_GetUserData(TextEditor* self,int line);
|
|
void TextEditor_IterateUserData(TextEditor* self,void(*cb)(int,void*));
|
|
void TextEditor_SetLineDecorator(TextEditor* self,float width,void(*cb)(Decorator&));
|
|
void TextEditor_ClearLineDecorator(TextEditor* self);
|
|
_Bool TextEditor_HasLineDecorator(TextEditor* self);
|
|
void TextEditor_SetLineNumberContextMenuCallback(TextEditor* self,void(*cb)(int));
|
|
void TextEditor_ClearLineNumberContextMenuCallback(TextEditor* self);
|
|
_Bool TextEditor_HasLineNumberContextMenuCallback(TextEditor* self);
|
|
void TextEditor_SetTextContextMenuCallback(TextEditor* self,void(*cb)(int,int));
|
|
void TextEditor_ClearTextContextMenuCallback(TextEditor* self);
|
|
_Bool TextEditor_HasTextContextMenuCallback(TextEditor* self);
|
|
void TextEditor_IndentLines(TextEditor* self);
|
|
void TextEditor_DeindentLines(TextEditor* self);
|
|
void TextEditor_MoveUpLines(TextEditor* self);
|
|
void TextEditor_MoveDownLines(TextEditor* self);
|
|
void TextEditor_ToggleComments(TextEditor* self);
|
|
void TextEditor_FilterSelections(TextEditor* self,const char*(*cb)(const char*));
|
|
void TextEditor_SelectionToLowerCase(TextEditor* self);
|
|
void TextEditor_SelectionToUpperCase(TextEditor* self);
|
|
void TextEditor_StripTrailingWhitespaces(TextEditor* self);
|
|
void TextEditor_FilterLines(TextEditor* self,const char*(*cb)(const char*));
|
|
void TextEditor_TabsToSpaces(TextEditor* self);
|
|
void TextEditor_SpacesToTabs(TextEditor* self);
|
|
void TextEditor_SetPalette(TextEditor* self,const Palette* newPalette);
|
|
const Palette* TextEditor_GetPalette(TextEditor* self);
|
|
void TextEditor_SetDefaultPalette(const Palette* aValue);
|
|
Palette* TextEditor_GetDefaultPalette(void);
|
|
const Palette* TextEditor_GetDarkPalette(void);
|
|
const Palette* TextEditor_GetLightPalette(void);
|
|
Glyph* Glyph_Glyph_Nil(void);
|
|
void Glyph_destroy(Glyph* self);
|
|
Glyph* Glyph_Glyph_Wchar(ImWchar cp);
|
|
Glyph* Glyph_Glyph_WcharColor(ImWchar cp,Color col);
|
|
const Language* Language_C(void);
|
|
const Language* Language_Cpp(void);
|
|
const Language* Language_Cs(void);
|
|
const Language* Language_AngelScript(void);
|
|
const Language* Language_Lua(void);
|
|
const Language* Language_Python(void);
|
|
const Language* Language_Glsl(void);
|
|
const Language* Language_Hlsl(void);
|
|
const Language* Language_Json(void);
|
|
const Language* Language_Markdown(void);
|
|
const Language* Language_Sql(void);
|
|
void TextEditor_SetLanguage(TextEditor* self,const Language* l);
|
|
const Language* TextEditor_GetLanguage(TextEditor* self);
|
|
_Bool TextEditor_HasLanguage(TextEditor* self);
|
|
const char* TextEditor_GetLanguageName(TextEditor* self);
|
|
void TextEditor_IterateIdentifiers(TextEditor* self,void(*cb)(const char*));
|
|
void TextEditor_SetAutoCompleteConfig(TextEditor* self,const AutoCompleteConfig* config);
|
|
Trie* Trie_Trie(void);
|
|
void Trie_destroy(Trie* self);
|
|
void Trie_clear(Trie* self);
|
|
void Trie_insert(Trie* self,const char* word);
|
|
size_t CodePoint_write(char* i,ImWchar codepoint);
|
|
_Bool CodePoint_isLetter(ImWchar codepoint);
|
|
_Bool CodePoint_isNumber(ImWchar codepoint);
|
|
_Bool CodePoint_isWord(ImWchar codepoint);
|
|
_Bool CodePoint_isWhiteSpace(ImWchar codepoint);
|
|
_Bool CodePoint_isXidStart(ImWchar codepoint);
|
|
_Bool CodePoint_isXidContinue(ImWchar codepoint);
|
|
_Bool CodePoint_isLower(ImWchar codepoint);
|
|
_Bool CodePoint_isUpper(ImWchar codepoint);
|
|
ImWchar CodePoint_toUpper(ImWchar codepoint);
|
|
ImWchar CodePoint_toLower(ImWchar codepoint);
|
|
_Bool CodePoint_isPairOpener(ImWchar ch);
|
|
_Bool CodePoint_isPairCloser(ImWchar ch);
|
|
ImWchar CodePoint_toPairCloser(ImWchar ch);
|
|
ImWchar CodePoint_toPairOpener(ImWchar ch);
|
|
_Bool CodePoint_isMatchingPair(ImWchar open,ImWchar close);
|
|
_Bool CodePoint_isBracketOpener(ImWchar ch);
|
|
_Bool CodePoint_isBracketCloser(ImWchar ch);
|
|
_Bool CodePoint_isMatchingBrackets(ImWchar open,ImWchar close);
|
|
void TextEditor_SetImGuiContext(ImGuiContext* ctx);
|
|
TextDiff* TextDiff_TextDiff(void);
|
|
void TextDiff_destroy(TextDiff* self);
|
|
void TextDiff_SetSideBySideMode(TextDiff* self, _Bool flag);
|
|
_Bool TextDiff_GetSideBySideMode(TextDiff* self);
|
|
void TextDiff_SetText(TextDiff* self,const char* left,const char* right);
|
|
void TextDiff_SetLanguage(TextDiff* self,const Language* l);
|
|
void TextDiff_SetColors(TextDiff* self,ImU32 ac,ImU32 dc);
|
|
void TextDiff_Render(TextDiff* self,const char* title,const ImVec2_c size, _Bool border);
|
|
char* TextEditor_GetText_alloc(TextEditor* self);
|
|
void TextEditor_GetText_free(char* ptr);
|
|
const char* TextEditor_GetText_static(TextEditor* self);
|
|
typedef struct ImPlot3DContext ImPlot3DContext;
|
|
typedef struct ImPlot3DStyle_c ImPlot3DStyle_c;
|
|
typedef struct ImPlot3DPoint_c ImPlot3DPoint_c;
|
|
typedef struct ImPlot3DRay ImPlot3DRay;
|
|
typedef struct ImPlot3DPlane ImPlot3DPlane;
|
|
typedef struct ImPlot3DBox ImPlot3DBox;
|
|
typedef struct ImPlot3DRange ImPlot3DRange;
|
|
typedef struct ImPlot3DQuat_c ImPlot3DQuat_c;
|
|
struct ImPlot3DContext;
|
|
struct ImPlot3DStyle_c;
|
|
struct ImPlot3DPoint_c;
|
|
struct ImPlot3DRay;
|
|
struct ImPlot3DPlane;
|
|
struct ImPlot3DBox;
|
|
struct ImPlot3DRange;
|
|
struct ImPlot3DQuat_c;
|
|
typedef int ImPlot3DCond;
|
|
typedef int ImPlot3DCol;
|
|
typedef int ImPlot3DStyleVar;
|
|
typedef int ImPlot3DMarker;
|
|
typedef int ImPlot3DLocation;
|
|
typedef int ImAxis3D;
|
|
typedef int ImPlane3D;
|
|
typedef int ImPlot3DScale;
|
|
typedef int ImPlot3DColormap;
|
|
typedef int ImPlot3DProp;
|
|
typedef int ImPlot3DFlags;
|
|
typedef int ImPlot3DItemFlags;
|
|
typedef int ImPlot3DScatterFlags;
|
|
typedef int ImPlot3DLineFlags;
|
|
typedef int ImPlot3DTriangleFlags;
|
|
typedef int ImPlot3DQuadFlags;
|
|
typedef int ImPlot3DSurfaceFlags;
|
|
typedef int ImPlot3DMeshFlags;
|
|
typedef int ImPlot3DImageFlags;
|
|
typedef int ImPlot3DDummyFlags;
|
|
typedef int ImPlot3DLegendFlags;
|
|
typedef int ImPlot3DAxisFlags;
|
|
typedef enum {
|
|
ImPlot3DProp_LineColor,
|
|
ImPlot3DProp_LineColors,
|
|
ImPlot3DProp_LineWeight,
|
|
ImPlot3DProp_FillColor,
|
|
ImPlot3DProp_FillColors,
|
|
ImPlot3DProp_FillAlpha,
|
|
ImPlot3DProp_Marker,
|
|
ImPlot3DProp_MarkerSize,
|
|
ImPlot3DProp_MarkerSizes,
|
|
ImPlot3DProp_MarkerLineColor,
|
|
ImPlot3DProp_MarkerLineColors,
|
|
ImPlot3DProp_MarkerFillColor,
|
|
ImPlot3DProp_MarkerFillColors,
|
|
ImPlot3DProp_Offset,
|
|
ImPlot3DProp_Stride,
|
|
ImPlot3DProp_Flags
|
|
}ImPlot3DProp_;
|
|
typedef enum {
|
|
ImPlot3DFlags_None = 0,
|
|
ImPlot3DFlags_NoTitle = 1 << 0,
|
|
ImPlot3DFlags_NoLegend = 1 << 1,
|
|
ImPlot3DFlags_NoMouseText = 1 << 2,
|
|
ImPlot3DFlags_NoClip = 1 << 3,
|
|
ImPlot3DFlags_NoMenus = 1 << 4,
|
|
ImPlot3DFlags_Equal = 1 << 5,
|
|
ImPlot3DFlags_NoRotate = 1 << 6,
|
|
ImPlot3DFlags_NoPan = 1 << 7,
|
|
ImPlot3DFlags_NoZoom = 1 << 8,
|
|
ImPlot3DFlags_NoInputs = 1 << 9,
|
|
ImPlot3DFlags_CanvasOnly = ImPlot3DFlags_NoTitle | ImPlot3DFlags_NoLegend | ImPlot3DFlags_NoMouseText,
|
|
}ImPlot3DFlags_;
|
|
typedef enum {
|
|
ImPlot3DCond_None = ImGuiCond_None,
|
|
ImPlot3DCond_Always = ImGuiCond_Always,
|
|
ImPlot3DCond_Once = ImGuiCond_Once,
|
|
}ImPlot3DCond_;
|
|
typedef enum {
|
|
ImPlot3DCol_TitleText,
|
|
ImPlot3DCol_InlayText,
|
|
ImPlot3DCol_FrameBg,
|
|
ImPlot3DCol_PlotBg,
|
|
ImPlot3DCol_PlotBorder,
|
|
ImPlot3DCol_LegendBg,
|
|
ImPlot3DCol_LegendBorder,
|
|
ImPlot3DCol_LegendText,
|
|
ImPlot3DCol_AxisText,
|
|
ImPlot3DCol_AxisGrid,
|
|
ImPlot3DCol_AxisTick,
|
|
ImPlot3DCol_AxisBg,
|
|
ImPlot3DCol_AxisBgHovered,
|
|
ImPlot3DCol_AxisBgActive,
|
|
ImPlot3DCol_COUNT,
|
|
}ImPlot3DCol_;
|
|
typedef enum {
|
|
ImPlot3DStyleVar_LineWeight,
|
|
ImPlot3DStyleVar_Marker,
|
|
ImPlot3DStyleVar_MarkerSize,
|
|
ImPlot3DStyleVar_FillAlpha,
|
|
ImPlot3DStyleVar_PlotDefaultSize,
|
|
ImPlot3DStyleVar_PlotMinSize,
|
|
ImPlot3DStyleVar_PlotPadding,
|
|
ImPlot3DStyleVar_LabelPadding,
|
|
ImPlot3DStyleVar_ViewScaleFactor,
|
|
ImPlot3DStyleVar_LegendPadding,
|
|
ImPlot3DStyleVar_LegendInnerPadding,
|
|
ImPlot3DStyleVar_LegendSpacing,
|
|
ImPlot3DStyleVar_COUNT
|
|
}ImPlot3DStyleVar_;
|
|
typedef enum {
|
|
ImPlot3DMarker_None = -2,
|
|
ImPlot3DMarker_Auto = -1,
|
|
ImPlot3DMarker_Circle,
|
|
ImPlot3DMarker_Square,
|
|
ImPlot3DMarker_Diamond,
|
|
ImPlot3DMarker_Up,
|
|
ImPlot3DMarker_Down,
|
|
ImPlot3DMarker_Left,
|
|
ImPlot3DMarker_Right,
|
|
ImPlot3DMarker_Cross,
|
|
ImPlot3DMarker_Plus,
|
|
ImPlot3DMarker_Asterisk,
|
|
ImPlot3DMarker_COUNT
|
|
}ImPlot3DMarker_;
|
|
typedef enum {
|
|
ImPlot3DItemFlags_None = 0,
|
|
ImPlot3DItemFlags_NoLegend = 1 << 0,
|
|
ImPlot3DItemFlags_NoFit = 1 << 1,
|
|
}ImPlot3DItemFlags_;
|
|
typedef enum {
|
|
ImPlot3DScatterFlags_None = 0,
|
|
ImPlot3DScatterFlags_NoLegend = ImPlot3DItemFlags_NoLegend,
|
|
ImPlot3DScatterFlags_NoFit = ImPlot3DItemFlags_NoFit,
|
|
}ImPlot3DScatterFlags_;
|
|
typedef enum {
|
|
ImPlot3DLineFlags_None = 0,
|
|
ImPlot3DLineFlags_NoLegend = ImPlot3DItemFlags_NoLegend,
|
|
ImPlot3DLineFlags_NoFit = ImPlot3DItemFlags_NoFit,
|
|
ImPlot3DLineFlags_Segments = 1 << 10,
|
|
ImPlot3DLineFlags_Loop = 1 << 11,
|
|
ImPlot3DLineFlags_SkipNaN = 1 << 12,
|
|
}ImPlot3DLineFlags_;
|
|
typedef enum {
|
|
ImPlot3DTriangleFlags_None = 0,
|
|
ImPlot3DTriangleFlags_NoLegend = ImPlot3DItemFlags_NoLegend,
|
|
ImPlot3DTriangleFlags_NoFit = ImPlot3DItemFlags_NoFit,
|
|
ImPlot3DTriangleFlags_NoLines = 1 << 10,
|
|
ImPlot3DTriangleFlags_NoFill = 1 << 11,
|
|
ImPlot3DTriangleFlags_NoMarkers = 1 << 12,
|
|
}ImPlot3DTriangleFlags_;
|
|
typedef enum {
|
|
ImPlot3DQuadFlags_None = 0,
|
|
ImPlot3DQuadFlags_NoLegend = ImPlot3DItemFlags_NoLegend,
|
|
ImPlot3DQuadFlags_NoFit = ImPlot3DItemFlags_NoFit,
|
|
ImPlot3DQuadFlags_NoLines = 1 << 10,
|
|
ImPlot3DQuadFlags_NoFill = 1 << 11,
|
|
ImPlot3DQuadFlags_NoMarkers = 1 << 12,
|
|
}ImPlot3DQuadFlags_;
|
|
typedef enum {
|
|
ImPlot3DSurfaceFlags_None = 0,
|
|
ImPlot3DSurfaceFlags_NoLegend = ImPlot3DItemFlags_NoLegend,
|
|
ImPlot3DSurfaceFlags_NoFit = ImPlot3DItemFlags_NoFit,
|
|
ImPlot3DSurfaceFlags_NoLines = 1 << 10,
|
|
ImPlot3DSurfaceFlags_NoFill = 1 << 11,
|
|
ImPlot3DSurfaceFlags_NoMarkers = 1 << 12,
|
|
}ImPlot3DSurfaceFlags_;
|
|
typedef enum {
|
|
ImPlot3DMeshFlags_None = 0,
|
|
ImPlot3DMeshFlags_NoLegend = ImPlot3DItemFlags_NoLegend,
|
|
ImPlot3DMeshFlags_NoFit = ImPlot3DItemFlags_NoFit,
|
|
ImPlot3DMeshFlags_NoLines = 1 << 10,
|
|
ImPlot3DMeshFlags_NoFill = 1 << 11,
|
|
ImPlot3DMeshFlags_NoMarkers = 1 << 12,
|
|
}ImPlot3DMeshFlags_;
|
|
typedef enum {
|
|
ImPlot3DImageFlags_None = 0,
|
|
ImPlot3DImageFlags_NoLegend = ImPlot3DItemFlags_NoLegend,
|
|
ImPlot3DImageFlags_NoFit = ImPlot3DItemFlags_NoFit,
|
|
}ImPlot3DImageFlags_;
|
|
typedef enum {
|
|
ImPlot3DDummyFlags_None = 0
|
|
}ImPlot3DDummyFlags_;
|
|
typedef enum {
|
|
ImPlot3DLegendFlags_None = 0,
|
|
ImPlot3DLegendFlags_NoButtons = 1 << 0,
|
|
ImPlot3DLegendFlags_NoHighlightItem = 1 << 1,
|
|
ImPlot3DLegendFlags_Horizontal = 1 << 2,
|
|
}ImPlot3DLegendFlags_;
|
|
typedef enum {
|
|
ImPlot3DLocation_Center = 0,
|
|
ImPlot3DLocation_North = 1 << 0,
|
|
ImPlot3DLocation_South = 1 << 1,
|
|
ImPlot3DLocation_West = 1 << 2,
|
|
ImPlot3DLocation_East = 1 << 3,
|
|
ImPlot3DLocation_NorthWest = ImPlot3DLocation_North | ImPlot3DLocation_West,
|
|
ImPlot3DLocation_NorthEast = ImPlot3DLocation_North | ImPlot3DLocation_East,
|
|
ImPlot3DLocation_SouthWest = ImPlot3DLocation_South | ImPlot3DLocation_West,
|
|
ImPlot3DLocation_SouthEast = ImPlot3DLocation_South | ImPlot3DLocation_East
|
|
}ImPlot3DLocation_;
|
|
typedef enum {
|
|
ImPlot3DAxisFlags_None = 0,
|
|
ImPlot3DAxisFlags_NoLabel = 1 << 0,
|
|
ImPlot3DAxisFlags_NoGridLines = 1 << 1,
|
|
ImPlot3DAxisFlags_NoTickMarks = 1 << 2,
|
|
ImPlot3DAxisFlags_NoTickLabels = 1 << 3,
|
|
ImPlot3DAxisFlags_LockMin = 1 << 4,
|
|
ImPlot3DAxisFlags_LockMax = 1 << 5,
|
|
ImPlot3DAxisFlags_AutoFit = 1 << 6,
|
|
ImPlot3DAxisFlags_Invert = 1 << 7,
|
|
ImPlot3DAxisFlags_PanStretch = 1 << 8,
|
|
ImPlot3DAxisFlags_Lock = ImPlot3DAxisFlags_LockMin | ImPlot3DAxisFlags_LockMax,
|
|
ImPlot3DAxisFlags_NoDecorations = ImPlot3DAxisFlags_NoLabel | ImPlot3DAxisFlags_NoGridLines | ImPlot3DAxisFlags_NoTickLabels,
|
|
}ImPlot3DAxisFlags_;
|
|
typedef enum {
|
|
ImAxis3D_X = 0,
|
|
ImAxis3D_Y,
|
|
ImAxis3D_Z,
|
|
ImAxis3D_COUNT,
|
|
}ImAxis3D_;
|
|
typedef enum {
|
|
ImPlane3D_YZ = 0,
|
|
ImPlane3D_XZ,
|
|
ImPlane3D_XY,
|
|
ImPlane3D_COUNT,
|
|
}ImPlane3D_;
|
|
typedef enum {
|
|
ImPlot3DScale_Linear = 0,
|
|
ImPlot3DScale_Log10,
|
|
ImPlot3DScale_SymLog,
|
|
}ImPlot3DScale_;
|
|
typedef enum {
|
|
ImPlot3DColormap_Deep = 0,
|
|
ImPlot3DColormap_Dark = 1,
|
|
ImPlot3DColormap_Pastel = 2,
|
|
ImPlot3DColormap_Paired = 3,
|
|
ImPlot3DColormap_Viridis = 4,
|
|
ImPlot3DColormap_Plasma = 5,
|
|
ImPlot3DColormap_Hot = 6,
|
|
ImPlot3DColormap_Cool = 7,
|
|
ImPlot3DColormap_Pink = 8,
|
|
ImPlot3DColormap_Jet = 9,
|
|
ImPlot3DColormap_Twilight = 10,
|
|
ImPlot3DColormap_RdBu = 11,
|
|
ImPlot3DColormap_BrBG = 12,
|
|
ImPlot3DColormap_PiYG = 13,
|
|
ImPlot3DColormap_Spectral = 14,
|
|
ImPlot3DColormap_Greys = 15,
|
|
}ImPlot3DColormap_;
|
|
typedef struct ImPlot3DSpec_c ImPlot3DSpec_c;
|
|
struct ImPlot3DSpec_c
|
|
{
|
|
ImVec4_c LineColor;
|
|
ImU32* LineColors;
|
|
float LineWeight;
|
|
ImVec4_c FillColor;
|
|
ImU32* FillColors;
|
|
float FillAlpha;
|
|
ImPlot3DMarker Marker;
|
|
float MarkerSize;
|
|
float* MarkerSizes;
|
|
ImVec4_c MarkerLineColor;
|
|
ImU32* MarkerLineColors;
|
|
ImVec4_c MarkerFillColor;
|
|
ImU32* MarkerFillColors;
|
|
int Offset;
|
|
int Stride;
|
|
ImPlot3DItemFlags Flags;
|
|
};
|
|
typedef int (*ImPlot3DFormatter)(double value, char* buff, int size, void* user_data);
|
|
typedef double (*ImPlot3DTransform)(double value, void* user_data);
|
|
struct ImPlot3DPoint_c
|
|
{
|
|
double x, y, z;
|
|
};
|
|
struct ImPlot3DRay
|
|
{
|
|
ImPlot3DPoint_c Origin;
|
|
ImPlot3DPoint_c Direction;
|
|
};
|
|
struct ImPlot3DPlane
|
|
{
|
|
ImPlot3DPoint_c Point;
|
|
ImPlot3DPoint_c Normal;
|
|
};
|
|
struct ImPlot3DBox
|
|
{
|
|
ImPlot3DPoint_c Min;
|
|
ImPlot3DPoint_c Max;
|
|
};
|
|
struct ImPlot3DRange
|
|
{
|
|
double Min;
|
|
double Max;
|
|
};
|
|
struct ImPlot3DQuat_c
|
|
{
|
|
double x, y, z, w;
|
|
};
|
|
struct ImPlot3DStyle_c
|
|
{
|
|
float LineWeight;
|
|
int Marker;
|
|
float MarkerSize;
|
|
float FillAlpha;
|
|
ImVec2_c PlotDefaultSize;
|
|
ImVec2_c PlotMinSize;
|
|
ImVec2_c PlotPadding;
|
|
ImVec2_c LabelPadding;
|
|
float ViewScaleFactor;
|
|
ImVec2_c LegendPadding;
|
|
ImVec2_c LegendInnerPadding;
|
|
ImVec2_c LegendSpacing;
|
|
ImVec4_c Colors[ImPlot3DCol_COUNT];
|
|
ImPlot3DColormap Colormap;
|
|
};
|
|
static const int CUBE_VTX_COUNT = 8;
|
|
static const int CUBE_IDX_COUNT = 36;
|
|
static const int SPHERE_VTX_COUNT = 162;
|
|
static const int SPHERE_IDX_COUNT = 960;
|
|
static const int DUCK_VTX_COUNT = 254;
|
|
static const int DUCK_IDX_COUNT = 1428;
|
|
typedef struct ImPlot3DPoint_c ImPlot3DPoint;
|
|
typedef struct ImPlot3DQuat_c ImPlot3DQuat;
|
|
typedef struct ImPlot3DSpec_c ImPlot3DSpec;
|
|
typedef struct ImPlot3DStyle_c ImPlot3DStyle;
|
|
ImPlot3DSpec* ImPlot3DSpec_ImPlot3DSpec(void);
|
|
void ImPlot3DSpec_destroy(ImPlot3DSpec* self);
|
|
void ImPlot3DSpec_SetProp_Float(ImPlot3DSpec* self,ImPlot3DProp prop,float v);
|
|
void ImPlot3DSpec_SetProp_double(ImPlot3DSpec* self,ImPlot3DProp prop,double v);
|
|
void ImPlot3DSpec_SetProp_S8(ImPlot3DSpec* self,ImPlot3DProp prop,ImS8 v);
|
|
void ImPlot3DSpec_SetProp_U8(ImPlot3DSpec* self,ImPlot3DProp prop,ImU8 v);
|
|
void ImPlot3DSpec_SetProp_S16(ImPlot3DSpec* self,ImPlot3DProp prop,ImS16 v);
|
|
void ImPlot3DSpec_SetProp_U16(ImPlot3DSpec* self,ImPlot3DProp prop,ImU16 v);
|
|
void ImPlot3DSpec_SetProp_S32(ImPlot3DSpec* self,ImPlot3DProp prop,ImS32 v);
|
|
void ImPlot3DSpec_SetProp_U32(ImPlot3DSpec* self,ImPlot3DProp prop,ImU32 v);
|
|
void ImPlot3DSpec_SetProp_S64(ImPlot3DSpec* self,ImPlot3DProp prop,ImS64 v);
|
|
void ImPlot3DSpec_SetProp_U64(ImPlot3DSpec* self,ImPlot3DProp prop,ImU64 v);
|
|
void ImPlot3DSpec_SetProp_U32Ptr(ImPlot3DSpec* self,ImPlot3DProp prop,ImU32* v);
|
|
void ImPlot3DSpec_SetProp_FloatPtr(ImPlot3DSpec* self,ImPlot3DProp prop,float* v);
|
|
void ImPlot3DSpec_SetProp_Vec4(ImPlot3DSpec* self,ImPlot3DProp prop,const ImVec4_c v);
|
|
ImPlot3DContext* ImPlot3D_CreateContext(void);
|
|
void ImPlot3D_DestroyContext(ImPlot3DContext* ctx);
|
|
ImPlot3DContext* ImPlot3D_GetCurrentContext(void);
|
|
void ImPlot3D_SetCurrentContext(ImPlot3DContext* ctx);
|
|
_Bool ImPlot3D_BeginPlot(const char* title_id,const ImVec2_c size,ImPlot3DFlags flags);
|
|
void ImPlot3D_EndPlot(void);
|
|
void ImPlot3D_SetupAxis(ImAxis3D axis,const char* label,ImPlot3DAxisFlags flags);
|
|
void ImPlot3D_SetupAxisLimits(ImAxis3D axis,double v_min,double v_max,ImPlot3DCond cond);
|
|
void ImPlot3D_SetupAxisFormat(ImAxis3D axis,ImPlot3DFormatter formatter,void* data);
|
|
void ImPlot3D_SetupAxisTicks_doublePtr(ImAxis3D axis,const double* values,int n_ticks,const char* const labels[], _Bool keep_default);
|
|
void ImPlot3D_SetupAxisTicks_double(ImAxis3D axis,double v_min,double v_max,int n_ticks,const char* const labels[], _Bool keep_default);
|
|
void ImPlot3D_SetupAxisScale_Plot3DScale(ImAxis3D axis,ImPlot3DScale scale);
|
|
void ImPlot3D_SetupAxisScale_Plot3DTransform(ImAxis3D axis,ImPlot3DTransform forward,ImPlot3DTransform inverse,void* data);
|
|
void ImPlot3D_SetupAxisLimitsConstraints(ImAxis3D axis,double v_min,double v_max);
|
|
void ImPlot3D_SetupAxisZoomConstraints(ImAxis3D axis,double zoom_min,double zoom_max);
|
|
void ImPlot3D_SetupAxes(const char* x_label,const char* y_label,const char* z_label,ImPlot3DAxisFlags x_flags,ImPlot3DAxisFlags y_flags,ImPlot3DAxisFlags z_flags);
|
|
void ImPlot3D_SetupAxesLimits(double x_min,double x_max,double y_min,double y_max,double z_min,double z_max,ImPlot3DCond cond);
|
|
void ImPlot3D_SetupBoxRotation_double(double elevation,double azimuth, _Bool animate,ImPlot3DCond cond);
|
|
void ImPlot3D_SetupBoxRotation_Plot3DQuat(ImPlot3DQuat_c rotation, _Bool animate,ImPlot3DCond cond);
|
|
void ImPlot3D_SetupBoxInitialRotation_double(double elevation,double azimuth);
|
|
void ImPlot3D_SetupBoxInitialRotation_Plot3DQuat(ImPlot3DQuat_c rotation);
|
|
void ImPlot3D_SetupBoxScale(double x,double y,double z);
|
|
void ImPlot3D_SetupLegend(ImPlot3DLocation location,ImPlot3DLegendFlags flags);
|
|
void ImPlot3D_PlotScatter_FloatPtr(const char* label_id,const float* xs,const float* ys,const float* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotScatter_doublePtr(const char* label_id,const double* xs,const double* ys,const double* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotScatter_S8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,const ImS8* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotScatter_U8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,const ImU8* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotScatter_S16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,const ImS16* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotScatter_U16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,const ImU16* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotScatter_S32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,const ImS32* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotScatter_U32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,const ImU32* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotScatter_S64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,const ImS64* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotScatter_U64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,const ImU64* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotLine_FloatPtr(const char* label_id,const float* xs,const float* ys,const float* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotLine_doublePtr(const char* label_id,const double* xs,const double* ys,const double* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotLine_S8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,const ImS8* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotLine_U8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,const ImU8* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotLine_S16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,const ImS16* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotLine_U16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,const ImU16* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotLine_S32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,const ImS32* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotLine_U32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,const ImU32* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotLine_S64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,const ImS64* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotLine_U64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,const ImU64* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotTriangle_FloatPtr(const char* label_id,const float* xs,const float* ys,const float* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotTriangle_doublePtr(const char* label_id,const double* xs,const double* ys,const double* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotTriangle_S8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,const ImS8* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotTriangle_U8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,const ImU8* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotTriangle_S16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,const ImS16* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotTriangle_U16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,const ImU16* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotTriangle_S32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,const ImS32* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotTriangle_U32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,const ImU32* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotTriangle_S64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,const ImS64* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotTriangle_U64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,const ImU64* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotQuad_FloatPtr(const char* label_id,const float* xs,const float* ys,const float* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotQuad_doublePtr(const char* label_id,const double* xs,const double* ys,const double* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotQuad_S8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,const ImS8* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotQuad_U8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,const ImU8* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotQuad_S16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,const ImS16* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotQuad_U16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,const ImU16* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotQuad_S32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,const ImS32* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotQuad_U32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,const ImU32* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotQuad_S64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,const ImS64* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotQuad_U64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,const ImU64* zs,int count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotSurface_FloatPtr(const char* label_id,const float* xs,const float* ys,const float* zs,int x_count,int y_count,double scale_min,double scale_max,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotSurface_doublePtr(const char* label_id,const double* xs,const double* ys,const double* zs,int x_count,int y_count,double scale_min,double scale_max,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotSurface_S8Ptr(const char* label_id,const ImS8* xs,const ImS8* ys,const ImS8* zs,int x_count,int y_count,double scale_min,double scale_max,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotSurface_U8Ptr(const char* label_id,const ImU8* xs,const ImU8* ys,const ImU8* zs,int x_count,int y_count,double scale_min,double scale_max,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotSurface_S16Ptr(const char* label_id,const ImS16* xs,const ImS16* ys,const ImS16* zs,int x_count,int y_count,double scale_min,double scale_max,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotSurface_U16Ptr(const char* label_id,const ImU16* xs,const ImU16* ys,const ImU16* zs,int x_count,int y_count,double scale_min,double scale_max,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotSurface_S32Ptr(const char* label_id,const ImS32* xs,const ImS32* ys,const ImS32* zs,int x_count,int y_count,double scale_min,double scale_max,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotSurface_U32Ptr(const char* label_id,const ImU32* xs,const ImU32* ys,const ImU32* zs,int x_count,int y_count,double scale_min,double scale_max,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotSurface_S64Ptr(const char* label_id,const ImS64* xs,const ImS64* ys,const ImS64* zs,int x_count,int y_count,double scale_min,double scale_max,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotSurface_U64Ptr(const char* label_id,const ImU64* xs,const ImU64* ys,const ImU64* zs,int x_count,int y_count,double scale_min,double scale_max,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotMesh_FloatPtr(const char* label_id,const float* vtx_xs,const float* vtx_ys,const float* vtx_zs,const unsigned int* idxs,int vtx_count,int idx_count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotMesh_doublePtr(const char* label_id,const double* vtx_xs,const double* vtx_ys,const double* vtx_zs,const unsigned int* idxs,int vtx_count,int idx_count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotMesh_S8Ptr(const char* label_id,const ImS8* vtx_xs,const ImS8* vtx_ys,const ImS8* vtx_zs,const unsigned int* idxs,int vtx_count,int idx_count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotMesh_U8Ptr(const char* label_id,const ImU8* vtx_xs,const ImU8* vtx_ys,const ImU8* vtx_zs,const unsigned int* idxs,int vtx_count,int idx_count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotMesh_S16Ptr(const char* label_id,const ImS16* vtx_xs,const ImS16* vtx_ys,const ImS16* vtx_zs,const unsigned int* idxs,int vtx_count,int idx_count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotMesh_U16Ptr(const char* label_id,const ImU16* vtx_xs,const ImU16* vtx_ys,const ImU16* vtx_zs,const unsigned int* idxs,int vtx_count,int idx_count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotMesh_S32Ptr(const char* label_id,const ImS32* vtx_xs,const ImS32* vtx_ys,const ImS32* vtx_zs,const unsigned int* idxs,int vtx_count,int idx_count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotMesh_U32Ptr(const char* label_id,const ImU32* vtx_xs,const ImU32* vtx_ys,const ImU32* vtx_zs,const unsigned int* idxs,int vtx_count,int idx_count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotMesh_S64Ptr(const char* label_id,const ImS64* vtx_xs,const ImS64* vtx_ys,const ImS64* vtx_zs,const unsigned int* idxs,int vtx_count,int idx_count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotMesh_U64Ptr(const char* label_id,const ImU64* vtx_xs,const ImU64* vtx_ys,const ImU64* vtx_zs,const unsigned int* idxs,int vtx_count,int idx_count,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotImage_Vec2(const char* label_id,ImTextureRef_c tex_ref,const ImPlot3DPoint_c center,const ImPlot3DPoint_c axis_u,const ImPlot3DPoint_c axis_v,const ImVec2_c uv0,const ImVec2_c uv1,const ImVec4_c tint_col,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotImage_Plot3DPoint(const char* label_id,ImTextureRef_c tex_ref,const ImPlot3DPoint_c p0,const ImPlot3DPoint_c p1,const ImPlot3DPoint_c p2,const ImPlot3DPoint_c p3,const ImVec2_c uv0,const ImVec2_c uv1,const ImVec2_c uv2,const ImVec2_c uv3,const ImVec4_c tint_col,const ImPlot3DSpec_c spec);
|
|
void ImPlot3D_PlotText(const char* text,double x,double y,double z,double angle,const ImVec2_c pix_offset);
|
|
void ImPlot3D_PlotDummy(const char* label_id,const ImPlot3DSpec_c spec);
|
|
ImVec2_c ImPlot3D_PlotToPixels_Plot3DPoint(const ImPlot3DPoint_c point);
|
|
ImVec2_c ImPlot3D_PlotToPixels_double(double x,double y,double z);
|
|
ImPlot3DRay ImPlot3D_PixelsToPlotRay_Vec2(const ImVec2_c pix);
|
|
ImPlot3DRay ImPlot3D_PixelsToPlotRay_double(double x,double y);
|
|
ImPlot3DPoint_c ImPlot3D_PixelsToPlotPlane_Vec2(const ImVec2_c pix,ImPlane3D plane, _Bool mask);
|
|
ImPlot3DPoint_c ImPlot3D_PixelsToPlotPlane_double(double x,double y,ImPlane3D plane, _Bool mask);
|
|
ImVec2_c ImPlot3D_GetPlotRectPos(void);
|
|
ImVec2_c ImPlot3D_GetPlotRectSize(void);
|
|
ImDrawList* ImPlot3D_GetPlotDrawList(void);
|
|
ImPlot3DStyle* ImPlot3D_GetStyle(void);
|
|
void ImPlot3D_SetStyle(const ImPlot3DStyle_c style);
|
|
void ImPlot3D_StyleColorsAuto(ImPlot3DStyle* dst);
|
|
void ImPlot3D_StyleColorsDark(ImPlot3DStyle* dst);
|
|
void ImPlot3D_StyleColorsLight(ImPlot3DStyle* dst);
|
|
void ImPlot3D_StyleColorsClassic(ImPlot3DStyle* dst);
|
|
void ImPlot3D_PushStyleColor_U32(ImPlot3DCol idx,ImU32 col);
|
|
void ImPlot3D_PushStyleColor_Vec4(ImPlot3DCol idx,const ImVec4_c col);
|
|
void ImPlot3D_PopStyleColor(int count);
|
|
void ImPlot3D_PushStyleVar_Float(ImPlot3DStyleVar idx,float val);
|
|
void ImPlot3D_PushStyleVar_Int(ImPlot3DStyleVar idx,int val);
|
|
void ImPlot3D_PushStyleVar_Vec2(ImPlot3DStyleVar idx,const ImVec2_c val);
|
|
void ImPlot3D_PopStyleVar(int count);
|
|
ImVec4_c ImPlot3D_GetStyleColorVec4(ImPlot3DCol idx);
|
|
ImU32 ImPlot3D_GetStyleColorU32(ImPlot3DCol idx);
|
|
ImPlot3DMarker ImPlot3D_NextMarker(void);
|
|
ImPlot3DColormap ImPlot3D_AddColormap_Vec4Ptr(const char* name,const ImVec4* cols,int size, _Bool qual);
|
|
ImPlot3DColormap ImPlot3D_AddColormap_U32Ptr(const char* name,const ImU32* cols,int size, _Bool qual);
|
|
int ImPlot3D_GetColormapCount(void);
|
|
const char* ImPlot3D_GetColormapName(ImPlot3DColormap cmap);
|
|
ImPlot3DColormap ImPlot3D_GetColormapIndex(const char* name);
|
|
void ImPlot3D_PushColormap_Plot3DColormap(ImPlot3DColormap cmap);
|
|
void ImPlot3D_PushColormap_Str(const char* name);
|
|
void ImPlot3D_PopColormap(int count);
|
|
ImVec4_c ImPlot3D_NextColormapColor(void);
|
|
int ImPlot3D_GetColormapSize(ImPlot3DColormap cmap);
|
|
ImVec4_c ImPlot3D_GetColormapColor(int idx,ImPlot3DColormap cmap);
|
|
ImVec4_c ImPlot3D_SampleColormap(float t,ImPlot3DColormap cmap);
|
|
void ImPlot3D_ShowDemoWindow( _Bool * p_open);
|
|
void ImPlot3D_ShowAllDemos(void);
|
|
void ImPlot3D_ShowStyleEditor(ImPlot3DStyle* ref);
|
|
_Bool ImPlot3D_ShowStyleSelector(const char* label);
|
|
_Bool ImPlot3D_ShowColormapSelector(const char* label);
|
|
void ImPlot3D_ShowMetricsWindow( _Bool * p_popen);
|
|
void ImPlot3D_ShowAboutWindow( _Bool * p_open);
|
|
ImPlot3DPoint* ImPlot3DPoint_ImPlot3DPoint_Nil(void);
|
|
void ImPlot3DPoint_destroy(ImPlot3DPoint* self);
|
|
ImPlot3DPoint* ImPlot3DPoint_ImPlot3DPoint_double(double _x,double _y,double _z);
|
|
double ImPlot3DPoint_Dot(ImPlot3DPoint* self,const ImPlot3DPoint_c rhs);
|
|
ImPlot3DPoint_c ImPlot3DPoint_Cross(ImPlot3DPoint* self,const ImPlot3DPoint_c rhs);
|
|
double ImPlot3DPoint_Length(ImPlot3DPoint* self);
|
|
double ImPlot3DPoint_LengthSquared(ImPlot3DPoint* self);
|
|
void ImPlot3DPoint_Normalize(ImPlot3DPoint* self);
|
|
ImPlot3DPoint_c ImPlot3DPoint_Normalized(ImPlot3DPoint* self);
|
|
_Bool ImPlot3DPoint_IsNaN(ImPlot3DPoint* self);
|
|
ImPlot3DBox* ImPlot3DBox_ImPlot3DBox_Nil(void);
|
|
void ImPlot3DBox_destroy(ImPlot3DBox* self);
|
|
ImPlot3DBox* ImPlot3DBox_ImPlot3DBox_Plot3DPoint(const ImPlot3DPoint_c min,const ImPlot3DPoint_c max);
|
|
void ImPlot3DBox_Expand(ImPlot3DBox* self,const ImPlot3DPoint_c point);
|
|
_Bool ImPlot3DBox_Contains(ImPlot3DBox* self,const ImPlot3DPoint_c point);
|
|
_Bool ImPlot3DBox_ClipLineSegment(ImPlot3DBox* self,const ImPlot3DPoint_c p0,const ImPlot3DPoint_c p1,ImPlot3DPoint* p0_clipped,ImPlot3DPoint* p1_clipped);
|
|
ImPlot3DRange* ImPlot3DRange_ImPlot3DRange_Nil(void);
|
|
void ImPlot3DRange_destroy(ImPlot3DRange* self);
|
|
ImPlot3DRange* ImPlot3DRange_ImPlot3DRange_double(double min,double max);
|
|
void ImPlot3DRange_Expand(ImPlot3DRange* self,double value);
|
|
_Bool ImPlot3DRange_Contains(ImPlot3DRange* self,double value);
|
|
double ImPlot3DRange_Size(ImPlot3DRange* self);
|
|
ImPlot3DQuat* ImPlot3DQuat_ImPlot3DQuat_Nil(void);
|
|
void ImPlot3DQuat_destroy(ImPlot3DQuat* self);
|
|
ImPlot3DQuat* ImPlot3DQuat_ImPlot3DQuat_doubledouble(double _x,double _y,double _z,double _w);
|
|
ImPlot3DQuat* ImPlot3DQuat_ImPlot3DQuat_doublePlot3DPoint(double _angle,const ImPlot3DPoint_c _axis);
|
|
ImPlot3DQuat_c ImPlot3DQuat_FromTwoVectors(const ImPlot3DPoint_c v0,const ImPlot3DPoint_c v1);
|
|
ImPlot3DQuat_c ImPlot3DQuat_FromElAz(double elevation,double azimuth);
|
|
double ImPlot3DQuat_Length(ImPlot3DQuat* self);
|
|
ImPlot3DQuat_c ImPlot3DQuat_Normalized(ImPlot3DQuat* self);
|
|
ImPlot3DQuat_c ImPlot3DQuat_Conjugate(ImPlot3DQuat* self);
|
|
ImPlot3DQuat_c ImPlot3DQuat_Inverse(ImPlot3DQuat* self);
|
|
ImPlot3DQuat_c* ImPlot3DQuat_Normalize(ImPlot3DQuat* self);
|
|
ImPlot3DQuat_c ImPlot3DQuat_Slerp(const ImPlot3DQuat_c q1,const ImPlot3DQuat_c q2,double t);
|
|
double ImPlot3DQuat_Dot(ImPlot3DQuat* self,const ImPlot3DQuat_c rhs);
|
|
ImVec4_c ImPlot3DStyle_GetColor(ImPlot3DStyle* self,ImPlot3DCol idx);
|
|
void ImPlot3DStyle_SetColor(ImPlot3DStyle* self,ImPlot3DCol idx,const ImVec4_c col);
|
|
ImPlot3DStyle* ImPlot3DStyle_ImPlot3DStyle_Nil(void);
|
|
void ImPlot3DStyle_destroy(ImPlot3DStyle* self);
|
|
ImPlot3DStyle* ImPlot3DStyle_ImPlot3DStyle_Plot3DStyle(const ImPlot3DStyle_c other);
|
|
typedef struct NodeId NodeId;
|
|
typedef struct LinkId LinkId;
|
|
typedef struct PinId PinId;
|
|
typedef struct EditorContext EditorContext;
|
|
struct NodeId;
|
|
struct LinkId;
|
|
struct PinId;
|
|
typedef enum {
|
|
Input,
|
|
Output
|
|
}PinKind;
|
|
typedef enum {
|
|
Forward,
|
|
Backward
|
|
}FlowDirection;
|
|
typedef enum {
|
|
FitVerticalView,
|
|
FitHorizontalView,
|
|
CenterOnly,
|
|
}CanvasSizeMode;
|
|
typedef enum {
|
|
None=0x00000000,
|
|
Navigation=0x00000001,
|
|
Position=0x00000002,
|
|
Size=0x00000004,
|
|
Selection=0x00000008,
|
|
AddNode=0x00000010,
|
|
RemoveNode=0x00000020,
|
|
User=0x00000040,
|
|
}SaveReasonFlags;
|
|
typedef _Bool (*ConfigSaveSettings)(const char* data, size_t size, SaveReasonFlags reason, void* userPointer);
|
|
typedef size_t (*ConfigLoadSettings)(char* data, void* userPointer);
|
|
typedef _Bool (*ConfigSaveNodeSettings)(NodeId nodeId, const char* data, size_t size, SaveReasonFlags reason, void* userPointer);
|
|
typedef size_t (*ConfigLoadNodeSettings)(NodeId nodeId, char* data, void* userPointer);
|
|
typedef void (*ConfigSession)(void* userPointer);
|
|
typedef struct Config Config;
|
|
typedef CanvasSizeMode CanvasSizeModeAlias;
|
|
struct Config
|
|
{
|
|
const char* SettingsFile;
|
|
ConfigSession BeginSaveSession;
|
|
ConfigSession EndSaveSession;
|
|
ConfigSaveSettings SaveSettings;
|
|
ConfigLoadSettings LoadSettings;
|
|
ConfigSaveNodeSettings SaveNodeSettings;
|
|
ConfigLoadNodeSettings LoadNodeSettings;
|
|
void* UserPointer;
|
|
ImVector_float CustomZoomLevels;
|
|
CanvasSizeModeAlias CanvasSizeMode;
|
|
int DragButtonIndex;
|
|
int SelectButtonIndex;
|
|
int NavigateButtonIndex;
|
|
int ContextMenuButtonIndex;
|
|
_Bool EnableSmoothZoom;
|
|
float SmoothZoomPower;
|
|
};
|
|
typedef enum {
|
|
StyleColor_Bg,
|
|
StyleColor_Grid,
|
|
StyleColor_NodeBg,
|
|
StyleColor_NodeBorder,
|
|
StyleColor_HovNodeBorder,
|
|
StyleColor_SelNodeBorder,
|
|
StyleColor_NodeSelRect,
|
|
StyleColor_NodeSelRectBorder,
|
|
StyleColor_HovLinkBorder,
|
|
StyleColor_SelLinkBorder,
|
|
StyleColor_HighlightLinkBorder,
|
|
StyleColor_LinkSelRect,
|
|
StyleColor_LinkSelRectBorder,
|
|
StyleColor_PinRect,
|
|
StyleColor_PinRectBorder,
|
|
StyleColor_Flow,
|
|
StyleColor_FlowMarker,
|
|
StyleColor_GroupBg,
|
|
StyleColor_GroupBorder,
|
|
StyleColor_Count
|
|
}StyleColor;
|
|
typedef enum {
|
|
StyleVar_NodePadding,
|
|
StyleVar_NodeRounding,
|
|
StyleVar_NodeBorderWidth,
|
|
StyleVar_HoveredNodeBorderWidth,
|
|
StyleVar_SelectedNodeBorderWidth,
|
|
StyleVar_PinRounding,
|
|
StyleVar_PinBorderWidth,
|
|
StyleVar_LinkStrength,
|
|
StyleVar_SourceDirection,
|
|
StyleVar_TargetDirection,
|
|
StyleVar_ScrollDuration,
|
|
StyleVar_FlowMarkerDistance,
|
|
StyleVar_FlowSpeed,
|
|
StyleVar_FlowDuration,
|
|
StyleVar_PivotAlignment,
|
|
StyleVar_PivotSize,
|
|
StyleVar_PivotScale,
|
|
StyleVar_PinCorners,
|
|
StyleVar_PinRadius,
|
|
StyleVar_PinArrowSize,
|
|
StyleVar_PinArrowWidth,
|
|
StyleVar_GroupRounding,
|
|
StyleVar_GroupBorderWidth,
|
|
StyleVar_HighlightConnectedLinks,
|
|
StyleVar_SnapLinkToPinDir,
|
|
StyleVar_HoveredNodeBorderOffset,
|
|
StyleVar_SelectedNodeBorderOffset,
|
|
StyleVar_Count
|
|
}StyleVar;
|
|
typedef struct cimnodes_editor_Style cimnodes_editor_Style;
|
|
struct cimnodes_editor_Style
|
|
{
|
|
ImVec4_c NodePadding;
|
|
float NodeRounding;
|
|
float NodeBorderWidth;
|
|
float HoveredNodeBorderWidth;
|
|
float HoverNodeBorderOffset;
|
|
float SelectedNodeBorderWidth;
|
|
float SelectedNodeBorderOffset;
|
|
float PinRounding;
|
|
float PinBorderWidth;
|
|
float LinkStrength;
|
|
ImVec2_c SourceDirection;
|
|
ImVec2_c TargetDirection;
|
|
float ScrollDuration;
|
|
float FlowMarkerDistance;
|
|
float FlowSpeed;
|
|
float FlowDuration;
|
|
ImVec2_c PivotAlignment;
|
|
ImVec2_c PivotSize;
|
|
ImVec2_c PivotScale;
|
|
float PinCorners;
|
|
float PinRadius;
|
|
float PinArrowSize;
|
|
float PinArrowWidth;
|
|
float GroupRounding;
|
|
float GroupBorderWidth;
|
|
float HighlightConnectedLinks;
|
|
float SnapLinkToPinDir;
|
|
ImVec4_c Colors[StyleColor_Count];
|
|
};
|
|
struct EditorContext;
|
|
typedef struct SafeType SafeType;
|
|
typedef struct SafePointerType SafePointerType;
|
|
typedef struct NodeId NodeId;
|
|
typedef struct LinkId LinkId;
|
|
typedef struct PinId PinId;
|
|
Config* ax_NodeEditor_Config_Config_Config(void);
|
|
void Config_destroy(Config* self);
|
|
void ax_NodeEditor_SetCurrentEditor(EditorContext* ctx);
|
|
EditorContext* ax_NodeEditor_GetCurrentEditor(void);
|
|
EditorContext* ax_NodeEditor_CreateEditor(const Config* config);
|
|
void ax_NodeEditor_DestroyEditor(EditorContext* ctx);
|
|
const Config* ax_NodeEditor_GetConfig(EditorContext* ctx);
|
|
cimnodes_editor_Style* ax_NodeEditor_GetStyle(void);
|
|
const char* ax_NodeEditor_GetStyleColorName(StyleColor colorIndex);
|
|
void ax_NodeEditor_PushStyleColor(StyleColor colorIndex,const ImVec4_c color);
|
|
void ax_NodeEditor_PopStyleColor(int count);
|
|
void ax_NodeEditor_PushStyleVar_Float(StyleVar varIndex,float value);
|
|
void ax_NodeEditor_PushStyleVar_Vec2(StyleVar varIndex,const ImVec2_c value);
|
|
void ax_NodeEditor_PushStyleVar_Vec4(StyleVar varIndex,const ImVec4_c value);
|
|
void ax_NodeEditor_PopStyleVar(int count);
|
|
void ax_NodeEditor_Begin(const char* id,const ImVec2_c size);
|
|
void ax_NodeEditor_End(void);
|
|
void ax_NodeEditor_BeginNode(NodeId* id);
|
|
void ax_NodeEditor_BeginPin(PinId* id,PinKind kind);
|
|
void ax_NodeEditor_PinRect(const ImVec2_c a,const ImVec2_c b);
|
|
void ax_NodeEditor_PinPivotRect(const ImVec2_c a,const ImVec2_c b);
|
|
void ax_NodeEditor_PinPivotSize(const ImVec2_c size);
|
|
void ax_NodeEditor_PinPivotScale(const ImVec2_c scale);
|
|
void ax_NodeEditor_PinPivotAlignment(const ImVec2_c alignment);
|
|
void ax_NodeEditor_EndPin(void);
|
|
void ax_NodeEditor_Group(const ImVec2_c size);
|
|
void ax_NodeEditor_EndNode(void);
|
|
_Bool ax_NodeEditor_BeginGroupHint(NodeId* nodeId);
|
|
ImVec2_c ax_NodeEditor_GetGroupMin(void);
|
|
ImVec2_c ax_NodeEditor_GetGroupMax(void);
|
|
ImDrawList* ax_NodeEditor_GetHintForegroundDrawList(void);
|
|
ImDrawList* ax_NodeEditor_GetHintBackgroundDrawList(void);
|
|
void ax_NodeEditor_EndGroupHint(void);
|
|
ImDrawList* ax_NodeEditor_GetNodeBackgroundDrawList(NodeId* nodeId);
|
|
_Bool ax_NodeEditor_Link(LinkId* id,PinId* startPinId,PinId* endPinId,const ImVec4_c color,float thickness);
|
|
void ax_NodeEditor_Flow(LinkId* linkId,FlowDirection direction);
|
|
_Bool ax_NodeEditor_BeginCreate(const ImVec4_c color,float thickness);
|
|
_Bool ax_NodeEditor_QueryNewLink_Nil(PinId* startId,PinId* endId);
|
|
_Bool ax_NodeEditor_QueryNewLink_Vec4(PinId* startId,PinId* endId,const ImVec4_c color,float thickness);
|
|
_Bool ax_NodeEditor_QueryNewNode_Nil(PinId* pinId);
|
|
_Bool ax_NodeEditor_QueryNewNode_Vec4(PinId* pinId,const ImVec4_c color,float thickness);
|
|
_Bool ax_NodeEditor_AcceptNewItem_Nil(void);
|
|
_Bool ax_NodeEditor_AcceptNewItem_Vec4(const ImVec4_c color,float thickness);
|
|
void ax_NodeEditor_RejectNewItem_Nil(void);
|
|
void ax_NodeEditor_RejectNewItem_Vec4(const ImVec4_c color,float thickness);
|
|
void ax_NodeEditor_EndCreate(void);
|
|
_Bool ax_NodeEditor_BeginDelete(void);
|
|
_Bool ax_NodeEditor_QueryDeletedLink(LinkId* linkId,PinId* startId,PinId* endId);
|
|
_Bool ax_NodeEditor_QueryDeletedNode(NodeId* nodeId);
|
|
_Bool ax_NodeEditor_AcceptDeletedItem( _Bool deleteDependencies);
|
|
void ax_NodeEditor_RejectDeletedItem(void);
|
|
void ax_NodeEditor_EndDelete(void);
|
|
void ax_NodeEditor_SetNodePosition(NodeId* nodeId,const ImVec2_c editorPosition);
|
|
void ax_NodeEditor_SetGroupSize(NodeId* nodeId,const ImVec2_c size);
|
|
ImVec2_c ax_NodeEditor_GetNodePosition(NodeId* nodeId);
|
|
ImVec2_c ax_NodeEditor_GetNodeSize(NodeId* nodeId);
|
|
void ax_NodeEditor_CenterNodeOnScreen(NodeId* nodeId);
|
|
void ax_NodeEditor_SetNodeZPosition(NodeId* nodeId,float z);
|
|
float ax_NodeEditor_GetNodeZPosition(NodeId* nodeId);
|
|
void ax_NodeEditor_RestoreNodeState(NodeId* nodeId);
|
|
void ax_NodeEditor_Suspend(void);
|
|
void ax_NodeEditor_Resume(void);
|
|
_Bool ax_NodeEditor_IsSuspended(void);
|
|
_Bool ax_NodeEditor_IsActive(void);
|
|
_Bool ax_NodeEditor_HasSelectionChanged(void);
|
|
int ax_NodeEditor_GetSelectedObjectCount(void);
|
|
int ax_NodeEditor_GetSelectedNodes(NodeId* nodes,int size);
|
|
int ax_NodeEditor_GetSelectedLinks(LinkId* links,int size);
|
|
_Bool ax_NodeEditor_IsNodeSelected(NodeId* nodeId);
|
|
_Bool ax_NodeEditor_IsLinkSelected(LinkId* linkId);
|
|
void ax_NodeEditor_ClearSelection(void);
|
|
void ax_NodeEditor_SelectNode(NodeId* nodeId, _Bool append);
|
|
void ax_NodeEditor_SelectLink(LinkId* linkId, _Bool append);
|
|
void ax_NodeEditor_DeselectNode(NodeId* nodeId);
|
|
void ax_NodeEditor_DeselectLink(LinkId* linkId);
|
|
_Bool ax_NodeEditor_DeleteNode(NodeId* nodeId);
|
|
_Bool ax_NodeEditor_DeleteLink(LinkId* linkId);
|
|
_Bool ax_NodeEditor_HasAnyLinks_NodeId(NodeId* nodeId);
|
|
_Bool ax_NodeEditor_HasAnyLinks_PinId(PinId* pinId);
|
|
int ax_NodeEditor_BreakLinks_NodeId(NodeId* nodeId);
|
|
int ax_NodeEditor_BreakLinks_PinId(PinId* pinId);
|
|
void ax_NodeEditor_NavigateToContent(float duration);
|
|
void ax_NodeEditor_NavigateToSelection( _Bool zoomIn,float duration);
|
|
_Bool ax_NodeEditor_ShowNodeContextMenu(NodeId* nodeId);
|
|
_Bool ax_NodeEditor_ShowPinContextMenu(PinId* pinId);
|
|
_Bool ax_NodeEditor_ShowLinkContextMenu(LinkId* linkId);
|
|
_Bool ax_NodeEditor_ShowBackgroundContextMenu(void);
|
|
void ax_NodeEditor_EnableShortcuts( _Bool enable);
|
|
_Bool ax_NodeEditor_AreShortcutsEnabled(void);
|
|
_Bool ax_NodeEditor_BeginShortcut(void);
|
|
_Bool ax_NodeEditor_AcceptCut(void);
|
|
_Bool ax_NodeEditor_AcceptCopy(void);
|
|
_Bool ax_NodeEditor_AcceptPaste(void);
|
|
_Bool ax_NodeEditor_AcceptDuplicate(void);
|
|
_Bool ax_NodeEditor_AcceptCreateNode(void);
|
|
int ax_NodeEditor_GetActionContextSize(void);
|
|
int ax_NodeEditor_GetActionContextNodes(NodeId* nodes,int size);
|
|
int ax_NodeEditor_GetActionContextLinks(LinkId* links,int size);
|
|
void ax_NodeEditor_EndShortcut(void);
|
|
float ax_NodeEditor_GetCurrentZoom(void);
|
|
NodeId* ax_NodeEditor_GetHoveredNode(void);
|
|
PinId* ax_NodeEditor_GetHoveredPin(void);
|
|
LinkId* ax_NodeEditor_GetHoveredLink(void);
|
|
NodeId* ax_NodeEditor_GetDoubleClickedNode(void);
|
|
PinId* ax_NodeEditor_GetDoubleClickedPin(void);
|
|
LinkId* ax_NodeEditor_GetDoubleClickedLink(void);
|
|
_Bool ax_NodeEditor_IsBackgroundClicked(void);
|
|
_Bool ax_NodeEditor_IsBackgroundDoubleClicked(void);
|
|
ImGuiMouseButton ax_NodeEditor_GetBackgroundClickButtonIndex(void);
|
|
ImGuiMouseButton ax_NodeEditor_GetBackgroundDoubleClickButtonIndex(void);
|
|
_Bool ax_NodeEditor_GetLinkPins(LinkId* linkId,PinId* startPinId,PinId* endPinId);
|
|
_Bool ax_NodeEditor_PinHadAnyLinks(PinId* pinId);
|
|
ImVec2_c ax_NodeEditor_GetScreenSize(void);
|
|
ImVec2_c ax_NodeEditor_ScreenToCanvas(const ImVec2_c pos);
|
|
ImVec2_c ax_NodeEditor_CanvasToScreen(const ImVec2_c pos);
|
|
int ax_NodeEditor_GetNodeCount(void);
|
|
int ax_NodeEditor_GetOrderedNodeIds(NodeId* nodes,int size);
|
|
NodeId* ax_NodeEditor_NodeId(uintptr_t val);
|
|
void ax_NodeEditor_NodeId_destroy(NodeId* self);
|
|
PinId* ax_NodeEditor_PinId(uintptr_t val);
|
|
void ax_NodeEditor_PinId_destroy(PinId* self);
|
|
LinkId* ax_NodeEditor_LinkId(uintptr_t val);
|
|
void ax_NodeEditor_LinkId_destroy(LinkId* self);
|
|
uintptr_t ax_NodeEditor_NodeId_value(NodeId* self);
|
|
uintptr_t ax_NodeEditor_PinId_value(PinId* self);
|
|
uintptr_t ax_NodeEditor_LinkId_value(LinkId* self);
|
|
typedef struct GLFWwindow GLFWwindow;
|
|
typedef struct GLFWmonitor GLFWmonitor;
|
|
struct GLFWwindow;
|
|
struct GLFWmonitor;
|
|
void ImGui_ImplGlfw_CharCallback(GLFWwindow* window,unsigned int c);
|
|
void ImGui_ImplGlfw_CursorEnterCallback(GLFWwindow* window,int entered);
|
|
void ImGui_ImplGlfw_CursorPosCallback(GLFWwindow* window,double x,double y);
|
|
float ImGui_ImplGlfw_GetContentScaleForMonitor(GLFWmonitor* monitor);
|
|
float ImGui_ImplGlfw_GetContentScaleForWindow(GLFWwindow* window);
|
|
bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks);
|
|
bool ImGui_ImplGlfw_InitForOther(GLFWwindow* window,bool install_callbacks);
|
|
bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks);
|
|
void ImGui_ImplGlfw_InstallCallbacks(GLFWwindow* window);
|
|
void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window,int key,int scancode,int action,int mods);
|
|
void ImGui_ImplGlfw_MonitorCallback(GLFWmonitor* monitor,int event);
|
|
void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window,int button,int action,int mods);
|
|
void ImGui_ImplGlfw_NewFrame(void);
|
|
void ImGui_ImplGlfw_RestoreCallbacks(GLFWwindow* window);
|
|
void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window,double xoffset,double yoffset);
|
|
void ImGui_ImplGlfw_SetCallbacksChainForAllWindows(bool chain_for_all_windows);
|
|
void ImGui_ImplGlfw_Shutdown(void);
|
|
void ImGui_ImplGlfw_Sleep(int milliseconds);
|
|
void ImGui_ImplGlfw_WindowFocusCallback(GLFWwindow* window,int focused);
|
|
bool ImGui_ImplOpenGL3_CreateDeviceObjects(void);
|
|
void ImGui_ImplOpenGL3_DestroyDeviceObjects(void);
|
|
bool ImGui_ImplOpenGL3_Init(const char* glsl_version);
|
|
void ImGui_ImplOpenGL3_NewFrame(void);
|
|
void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data);
|
|
void ImGui_ImplOpenGL3_Shutdown(void);
|
|
void ImGui_ImplOpenGL3_UpdateTexture(ImTextureData* tex);
|
|
bool ImGui_ImplOpenGL2_CreateDeviceObjects(void);
|
|
void ImGui_ImplOpenGL2_DestroyDeviceObjects(void);
|
|
bool ImGui_ImplOpenGL2_Init(void);
|
|
void ImGui_ImplOpenGL2_NewFrame(void);
|
|
void ImGui_ImplOpenGL2_RenderDrawData(ImDrawData* draw_data);
|
|
void ImGui_ImplOpenGL2_Shutdown(void);
|
|
void ImGui_ImplOpenGL2_UpdateTexture(ImTextureData* tex);
|
|
typedef struct SDL_Window SDL_Window;
|
|
typedef struct SDL_Renderer SDL_Renderer;
|
|
typedef struct _SDL_GameController _SDL_GameController;
|
|
struct SDL_Window;
|
|
struct SDL_Renderer;
|
|
struct _SDL_GameController;
|
|
typedef union SDL_Event SDL_Event;
|
|
typedef enum { ImGui_ImplSDL2_GamepadMode_AutoFirst, ImGui_ImplSDL2_GamepadMode_AutoAll, ImGui_ImplSDL2_GamepadMode_Manual }ImGui_ImplSDL2_GamepadMode;
|
|
typedef enum { ImGui_ImplSDL2_MouseCaptureMode_Enabled, ImGui_ImplSDL2_MouseCaptureMode_EnabledAfterDrag, ImGui_ImplSDL2_MouseCaptureMode_Disabled }ImGui_ImplSDL2_MouseCaptureMode;
|
|
float ImGui_ImplSDL2_GetContentScaleForDisplay(int display_index);
|
|
float ImGui_ImplSDL2_GetContentScaleForWindow(SDL_Window* window);
|
|
bool ImGui_ImplSDL2_InitForD3D(SDL_Window* window);
|
|
bool ImGui_ImplSDL2_InitForMetal(SDL_Window* window);
|
|
bool ImGui_ImplSDL2_InitForOpenGL(SDL_Window* window,void* sdl_gl_context);
|
|
bool ImGui_ImplSDL2_InitForOther(SDL_Window* window);
|
|
bool ImGui_ImplSDL2_InitForSDLRenderer(SDL_Window* window,SDL_Renderer* renderer);
|
|
bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window);
|
|
void ImGui_ImplSDL2_NewFrame(void);
|
|
bool ImGui_ImplSDL2_ProcessEvent(const SDL_Event* event);
|
|
void ImGui_ImplSDL2_SetGamepadMode(ImGui_ImplSDL2_GamepadMode mode,struct _SDL_GameController** manual_gamepads_array,int manual_gamepads_count);
|
|
void ImGui_ImplSDL2_SetMouseCaptureMode(ImGui_ImplSDL2_MouseCaptureMode mode);
|
|
void ImGui_ImplSDL2_Shutdown(void);
|
|
typedef struct SDL_Window SDL_Window;
|
|
typedef struct SDL_Renderer SDL_Renderer;
|
|
typedef struct SDL_Gamepad SDL_Gamepad;
|
|
struct SDL_Window;
|
|
struct SDL_Renderer;
|
|
struct SDL_Gamepad;
|
|
typedef union SDL_Event SDL_Event;
|
|
typedef enum { ImGui_ImplSDL3_GamepadMode_AutoFirst, ImGui_ImplSDL3_GamepadMode_AutoAll, ImGui_ImplSDL3_GamepadMode_Manual }ImGui_ImplSDL3_GamepadMode;
|
|
typedef enum { ImGui_ImplSDL3_MouseCaptureMode_Enabled, ImGui_ImplSDL3_MouseCaptureMode_EnabledAfterDrag, ImGui_ImplSDL3_MouseCaptureMode_Disabled }ImGui_ImplSDL3_MouseCaptureMode;
|
|
bool ImGui_ImplSDL3_InitForD3D(SDL_Window* window);
|
|
bool ImGui_ImplSDL3_InitForMetal(SDL_Window* window);
|
|
bool ImGui_ImplSDL3_InitForOpenGL(SDL_Window* window,void* sdl_gl_context);
|
|
bool ImGui_ImplSDL3_InitForOther(SDL_Window* window);
|
|
bool ImGui_ImplSDL3_InitForSDLGPU(SDL_Window* window);
|
|
bool ImGui_ImplSDL3_InitForSDLRenderer(SDL_Window* window,SDL_Renderer* renderer);
|
|
bool ImGui_ImplSDL3_InitForVulkan(SDL_Window* window);
|
|
void ImGui_ImplSDL3_NewFrame(void);
|
|
bool ImGui_ImplSDL3_ProcessEvent(const SDL_Event* event);
|
|
void ImGui_ImplSDL3_SetGamepadMode(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array,int manual_gamepads_count);
|
|
void ImGui_ImplSDL3_SetMouseCaptureMode(ImGui_ImplSDL3_MouseCaptureMode mode);
|
|
void ImGui_ImplSDL3_Shutdown(void);
|
|
]]
|
|
--[[ END AUTOGENERATED SEGMENT ]]
|
|
|
|
|
|
-- glfw3 implementation and extras ----------------------------------------
|
|
local cdecl = cdecl or ''
|
|
cdecl = cdecl..[[
|
|
|
|
|
|
//addons
|
|
bool Knob(const char* label, float* value_p, float minv, float maxv);
|
|
|
|
//Log
|
|
typedef struct Log Log;
|
|
Log* Log_new();
|
|
void Log_Add(Log* log,const char* fmt, ...);
|
|
void Log_Draw(Log* log, const char* title); //, bool* p_open = NULL
|
|
void Log_delete(Log* log);
|
|
|
|
]]
|
|
|
|
|
|
|
|
if jit.os == "Windows" then
|
|
cdecl = cdecl..[[
|
|
|
|
// Helpers: UTF-8 <> wchar
|
|
int igImTextStrToUtf8(char* buf, int buf_size, const ImWchar* in_text, const ImWchar* in_text_end); // return output UTF-8 bytes count
|
|
int igImTextCharFromUtf8(unsigned int* out_char, const char* in_text, const char* in_text_end); // return input UTF-8 bytes count
|
|
int igImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const char* in_text_end, const char** in_remaining); // return input UTF-8 bytes count
|
|
int igImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end); // return number of UTF-8 code-points (NOT bytes count)
|
|
int igImTextCountUtf8BytesFromStr(const ImWchar* in_text, const ImWchar* in_text_end); // return number of bytes to express string as UTF-8 code-points
|
|
|
|
]]
|
|
end
|
|
|
|
return cdecl |