mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 03:48:30 +01:00
Update imgui submodule to 1.67 and re-generate.
This commit is contained in:
165
cimgui.h
165
cimgui.h
@@ -1,5 +1,5 @@
|
||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||
//based on imgui.h file version "1.66b" from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.67" from Dear ImGui https://github.com/ocornut/imgui
|
||||
#ifndef CIMGUI_INCLUDED
|
||||
#define CIMGUI_INCLUDED
|
||||
#include <stdio.h>
|
||||
@@ -43,15 +43,13 @@ typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple;
|
||||
|
||||
#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
typedef struct CustomRect CustomRect;
|
||||
typedef struct GlyphRangesBuilder GlyphRangesBuilder;
|
||||
typedef struct ImFontGlyph ImFontGlyph;
|
||||
typedef unsigned short ImDrawIdx;;
|
||||
typedef struct Pair Pair;
|
||||
typedef struct TextRange TextRange;
|
||||
typedef struct ImVec4 ImVec4;
|
||||
typedef struct ImVec2 ImVec2;
|
||||
typedef struct ImGuiTextBuffer ImGuiTextBuffer;
|
||||
typedef struct ImGuiTextFilter ImGuiTextFilter;
|
||||
typedef struct ImGuiTextBuffer ImGuiTextBuffer;
|
||||
typedef struct ImGuiStyle ImGuiStyle;
|
||||
typedef struct ImGuiStorage ImGuiStorage;
|
||||
typedef struct ImGuiSizeCallbackData ImGuiSizeCallbackData;
|
||||
@@ -62,6 +60,8 @@ typedef struct ImGuiInputTextCallbackData ImGuiInputTextCallbackData;
|
||||
typedef struct ImGuiIO ImGuiIO;
|
||||
typedef struct ImGuiContext ImGuiContext;
|
||||
typedef struct ImColor ImColor;
|
||||
typedef struct ImFontGlyphRangesBuilder ImFontGlyphRangesBuilder;
|
||||
typedef struct ImFontGlyph ImFontGlyph;
|
||||
typedef struct ImFontConfig ImFontConfig;
|
||||
typedef struct ImFontAtlas ImFontAtlas;
|
||||
typedef struct ImFont ImFont;
|
||||
@@ -80,8 +80,9 @@ struct ImDrawVert;
|
||||
struct ImFont;
|
||||
struct ImFontAtlas;
|
||||
struct ImFontConfig;
|
||||
struct ImFontGlyph;
|
||||
struct ImFontGlyphRangesBuilder;
|
||||
struct ImColor;
|
||||
typedef void* ImTextureID;
|
||||
struct ImGuiContext;
|
||||
struct ImGuiIO;
|
||||
struct ImGuiInputTextCallbackData;
|
||||
@@ -91,8 +92,9 @@ struct ImGuiPayload;
|
||||
struct ImGuiSizeCallbackData;
|
||||
struct ImGuiStorage;
|
||||
struct ImGuiStyle;
|
||||
struct ImGuiTextFilter;
|
||||
struct ImGuiTextBuffer;
|
||||
struct ImGuiTextFilter;
|
||||
typedef void* ImTextureID;
|
||||
typedef unsigned int ImGuiID;
|
||||
typedef unsigned short ImWchar;
|
||||
typedef int ImGuiCol;
|
||||
@@ -116,6 +118,8 @@ typedef int ImGuiFocusedFlags;
|
||||
typedef int ImGuiHoveredFlags;
|
||||
typedef int ImGuiInputTextFlags;
|
||||
typedef int ImGuiSelectableFlags;
|
||||
typedef int ImGuiTabBarFlags;
|
||||
typedef int ImGuiTabItemFlags;
|
||||
typedef int ImGuiTreeNodeFlags;
|
||||
typedef int ImGuiWindowFlags;
|
||||
typedef int (*ImGuiInputTextCallback)(ImGuiInputTextCallbackData *data);
|
||||
@@ -154,6 +158,7 @@ enum ImGuiWindowFlags_
|
||||
ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 16,
|
||||
ImGuiWindowFlags_NoNavInputs = 1 << 18,
|
||||
ImGuiWindowFlags_NoNavFocus = 1 << 19,
|
||||
ImGuiWindowFlags_UnsavedDocument = 1 << 20,
|
||||
ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
||||
ImGuiWindowFlags_NoDecoration = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse,
|
||||
ImGuiWindowFlags_NoInputs = ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
||||
@@ -225,6 +230,28 @@ enum ImGuiComboFlags_
|
||||
ImGuiComboFlags_NoPreview = 1 << 6,
|
||||
ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest
|
||||
};
|
||||
enum ImGuiTabBarFlags_
|
||||
{
|
||||
ImGuiTabBarFlags_None = 0,
|
||||
ImGuiTabBarFlags_Reorderable = 1 << 0,
|
||||
ImGuiTabBarFlags_AutoSelectNewTabs = 1 << 1,
|
||||
ImGuiTabBarFlags_NoCloseWithMiddleMouseButton = 1 << 2,
|
||||
ImGuiTabBarFlags_NoTabListPopupButton = 1 << 3,
|
||||
ImGuiTabBarFlags_NoTabListScrollingButtons = 1 << 4,
|
||||
ImGuiTabBarFlags_NoTooltip = 1 << 5,
|
||||
ImGuiTabBarFlags_FittingPolicyResizeDown = 1 << 6,
|
||||
ImGuiTabBarFlags_FittingPolicyScroll = 1 << 7,
|
||||
ImGuiTabBarFlags_FittingPolicyMask_ = ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll,
|
||||
ImGuiTabBarFlags_FittingPolicyDefault_ = ImGuiTabBarFlags_FittingPolicyResizeDown
|
||||
};
|
||||
enum ImGuiTabItemFlags_
|
||||
{
|
||||
ImGuiTabItemFlags_None = 0,
|
||||
ImGuiTabItemFlags_UnsavedDocument = 1 << 0,
|
||||
ImGuiTabItemFlags_SetSelected = 1 << 1,
|
||||
ImGuiTabItemFlags_NoCloseWithMiddleMouseButton = 1 << 2,
|
||||
ImGuiTabItemFlags_NoPushId = 1 << 3
|
||||
};
|
||||
enum ImGuiFocusedFlags_
|
||||
{
|
||||
ImGuiFocusedFlags_None = 0,
|
||||
@@ -384,6 +411,11 @@ enum ImGuiCol_
|
||||
ImGuiCol_ResizeGrip,
|
||||
ImGuiCol_ResizeGripHovered,
|
||||
ImGuiCol_ResizeGripActive,
|
||||
ImGuiCol_Tab,
|
||||
ImGuiCol_TabHovered,
|
||||
ImGuiCol_TabActive,
|
||||
ImGuiCol_TabUnfocused,
|
||||
ImGuiCol_TabUnfocusedActive,
|
||||
ImGuiCol_PlotLines,
|
||||
ImGuiCol_PlotLinesHovered,
|
||||
ImGuiCol_PlotHistogram,
|
||||
@@ -418,6 +450,7 @@ enum ImGuiStyleVar_
|
||||
ImGuiStyleVar_ScrollbarRounding,
|
||||
ImGuiStyleVar_GrabMinSize,
|
||||
ImGuiStyleVar_GrabRounding,
|
||||
ImGuiStyleVar_TabRounding,
|
||||
ImGuiStyleVar_ButtonTextAlign,
|
||||
ImGuiStyleVar_COUNT
|
||||
};
|
||||
@@ -469,6 +502,24 @@ enum ImGuiCond_
|
||||
ImGuiCond_FirstUseEver = 1 << 2,
|
||||
ImGuiCond_Appearing = 1 << 3
|
||||
};
|
||||
typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector;
|
||||
typedef struct ImVector_float {int Size;int Capacity;float* Data;} ImVector_float;
|
||||
typedef struct ImVector_ImWchar {int Size;int Capacity;ImWchar* Data;} ImVector_ImWchar;
|
||||
typedef struct ImVector_ImFontConfig {int Size;int Capacity;ImFontConfig* Data;} ImVector_ImFontConfig;
|
||||
typedef struct ImVector_ImFontGlyph {int Size;int Capacity;ImFontGlyph* Data;} ImVector_ImFontGlyph;
|
||||
typedef struct ImVector_TextRange {int Size;int Capacity;TextRange* Data;} ImVector_TextRange;
|
||||
typedef struct ImVector_CustomRect {int Size;int Capacity;CustomRect* Data;} ImVector_CustomRect;
|
||||
typedef struct ImVector_ImDrawChannel {int Size;int Capacity;ImDrawChannel* Data;} ImVector_ImDrawChannel;
|
||||
typedef struct ImVector_char {int Size;int Capacity;char* Data;} ImVector_char;
|
||||
typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID;
|
||||
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
|
||||
typedef struct ImVector_int {int Size;int Capacity;int* Data;} ImVector_int;
|
||||
typedef struct ImVector_Pair {int Size;int Capacity;Pair* Data;} ImVector_Pair;
|
||||
typedef struct ImVector_ImFontPtr {int Size;int Capacity;ImFont** Data;} ImVector_ImFontPtr;
|
||||
typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4;
|
||||
typedef struct ImVector_ImDrawCmd {int Size;int Capacity;ImDrawCmd* Data;} ImVector_ImDrawCmd;
|
||||
typedef struct ImVector_ImDrawIdx {int Size;int Capacity;ImDrawIdx* Data;} ImVector_ImDrawIdx;
|
||||
typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2;
|
||||
struct ImGuiStyle
|
||||
{
|
||||
float Alpha;
|
||||
@@ -493,6 +544,8 @@ struct ImGuiStyle
|
||||
float ScrollbarRounding;
|
||||
float GrabMinSize;
|
||||
float GrabRounding;
|
||||
float TabRounding;
|
||||
float TabBorderSize;
|
||||
ImVec2 ButtonTextAlign;
|
||||
ImVec2 DisplayWindowPadding;
|
||||
ImVec2 DisplaySafeAreaPadding;
|
||||
@@ -518,7 +571,7 @@ struct ImGuiIO
|
||||
float KeyRepeatDelay;
|
||||
float KeyRepeatRate;
|
||||
void* UserData;
|
||||
ImFontAtlas* Fonts;
|
||||
ImFontAtlas*Fonts;
|
||||
float FontGlobalScale;
|
||||
bool FontAllowUserScaling;
|
||||
ImFont* FontDefault;
|
||||
@@ -528,9 +581,13 @@ struct ImGuiIO
|
||||
bool MouseDrawCursor;
|
||||
bool ConfigMacOSXBehaviors;
|
||||
bool ConfigInputTextCursorBlink;
|
||||
bool ConfigResizeWindowsFromEdges;
|
||||
bool ConfigWindowsResizeFromEdges;
|
||||
bool ConfigWindowsMoveFromTitleBarOnly;
|
||||
const char* BackendPlatformName;
|
||||
const char* BackendRendererName;
|
||||
void* BackendPlatformUserData;
|
||||
void* BackendRendererUserData;
|
||||
void* BackendLanguageUserData;
|
||||
const char* (*GetClipboardTextFn)(void* user_data);
|
||||
void (*SetClipboardTextFn)(void* user_data, const char* text);
|
||||
void* ClipboardUserData;
|
||||
@@ -546,7 +603,6 @@ struct ImGuiIO
|
||||
bool KeyAlt;
|
||||
bool KeySuper;
|
||||
bool KeysDown[512];
|
||||
ImWchar InputCharacters[16+1];
|
||||
float NavInputs[ImGuiNavInput_COUNT];
|
||||
bool WantCaptureMouse;
|
||||
bool WantCaptureKeyboard;
|
||||
@@ -577,6 +633,7 @@ struct ImGuiIO
|
||||
float KeysDownDurationPrev[512];
|
||||
float NavInputsDownDuration[ImGuiNavInput_COUNT];
|
||||
float NavInputsDownDurationPrev[ImGuiNavInput_COUNT];
|
||||
ImVector_ImWchar InputQueueCharacters;
|
||||
};
|
||||
struct ImGuiInputTextCallbackData
|
||||
{
|
||||
@@ -611,24 +668,6 @@ struct ImGuiPayload
|
||||
bool Preview;
|
||||
bool Delivery;
|
||||
};
|
||||
typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector;
|
||||
typedef struct ImVector_float {int Size;int Capacity;float* Data;} ImVector_float;
|
||||
typedef struct ImVector_ImWchar {int Size;int Capacity;ImWchar* Data;} ImVector_ImWchar;
|
||||
typedef struct ImVector_ImFontConfig {int Size;int Capacity;ImFontConfig* Data;} ImVector_ImFontConfig;
|
||||
typedef struct ImVector_ImFontGlyph {int Size;int Capacity;ImFontGlyph* Data;} ImVector_ImFontGlyph;
|
||||
typedef struct ImVector_unsigned_char {int Size;int Capacity;unsigned char* Data;} ImVector_unsigned_char;
|
||||
typedef struct ImVector_Pair {int Size;int Capacity;Pair* Data;} ImVector_Pair;
|
||||
typedef struct ImVector_CustomRect {int Size;int Capacity;CustomRect* Data;} ImVector_CustomRect;
|
||||
typedef struct ImVector_ImDrawChannel {int Size;int Capacity;ImDrawChannel* Data;} ImVector_ImDrawChannel;
|
||||
typedef struct ImVector_char {int Size;int Capacity;char* Data;} ImVector_char;
|
||||
typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID;
|
||||
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
|
||||
typedef struct ImVector_ImDrawCmd {int Size;int Capacity;ImDrawCmd* Data;} ImVector_ImDrawCmd;
|
||||
typedef struct ImVector_ImFontPtr {int Size;int Capacity;ImFont** Data;} ImVector_ImFontPtr;
|
||||
typedef struct ImVector_TextRange {int Size;int Capacity;TextRange* Data;} ImVector_TextRange;
|
||||
typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4;
|
||||
typedef struct ImVector_ImDrawIdx {int Size;int Capacity;ImDrawIdx* Data;} ImVector_ImDrawIdx;
|
||||
typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2;
|
||||
struct ImGuiOnceUponAFrame
|
||||
{
|
||||
int RefFrame;
|
||||
@@ -751,6 +790,10 @@ struct ImFontGlyph
|
||||
float X0, Y0, X1, Y1;
|
||||
float U0, V0, U1, V1;
|
||||
};
|
||||
struct ImFontGlyphRangesBuilder
|
||||
{
|
||||
ImVector_int UsedChars;
|
||||
};
|
||||
enum ImFontAtlasFlags_
|
||||
{
|
||||
ImFontAtlasFlags_None = 0,
|
||||
@@ -793,10 +836,6 @@ struct ImFont
|
||||
bool DirtyLookupTables;
|
||||
int MetricsTotalSurface;
|
||||
};
|
||||
struct GlyphRangesBuilder
|
||||
{
|
||||
ImVector_unsigned_char UsedChars;
|
||||
};
|
||||
struct CustomRect
|
||||
{
|
||||
unsigned int ID;
|
||||
@@ -846,7 +885,6 @@ inline ImColor_Simple ImColorToSimple(ImColor col)
|
||||
#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
|
||||
#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
typedef ImFontAtlas::GlyphRangesBuilder GlyphRangesBuilder;
|
||||
typedef ImFontAtlas::CustomRect CustomRect;
|
||||
typedef ImGuiTextFilter::TextRange TextRange;
|
||||
typedef ImGuiStorage::Pair Pair;
|
||||
@@ -924,7 +962,7 @@ CIMGUI_API float igGetScrollMaxY(void);
|
||||
CIMGUI_API void igSetScrollX(float scroll_x);
|
||||
CIMGUI_API void igSetScrollY(float scroll_y);
|
||||
CIMGUI_API void igSetScrollHereY(float center_y_ratio);
|
||||
CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio);
|
||||
CIMGUI_API void igSetScrollFromPosY(float local_y,float center_y_ratio);
|
||||
CIMGUI_API void igPushFont(ImFont* font);
|
||||
CIMGUI_API void igPopFont(void);
|
||||
CIMGUI_API void igPushStyleColorU32(ImGuiCol idx,ImU32 col);
|
||||
@@ -943,14 +981,14 @@ CIMGUI_API ImU32 igGetColorU32U32(ImU32 col);
|
||||
CIMGUI_API void igPushItemWidth(float item_width);
|
||||
CIMGUI_API void igPopItemWidth(void);
|
||||
CIMGUI_API float igCalcItemWidth(void);
|
||||
CIMGUI_API void igPushTextWrapPos(float wrap_pos_x);
|
||||
CIMGUI_API void igPushTextWrapPos(float wrap_local_pos_x);
|
||||
CIMGUI_API void igPopTextWrapPos(void);
|
||||
CIMGUI_API void igPushAllowKeyboardFocus(bool allow_keyboard_focus);
|
||||
CIMGUI_API void igPopAllowKeyboardFocus(void);
|
||||
CIMGUI_API void igPushButtonRepeat(bool repeat);
|
||||
CIMGUI_API void igPopButtonRepeat(void);
|
||||
CIMGUI_API void igSeparator(void);
|
||||
CIMGUI_API void igSameLine(float pos_x,float spacing_w);
|
||||
CIMGUI_API void igSameLine(float local_pos_x,float spacing_w);
|
||||
CIMGUI_API void igNewLine(void);
|
||||
CIMGUI_API void igSpacing(void);
|
||||
CIMGUI_API void igDummy(const ImVec2 size);
|
||||
@@ -962,11 +1000,11 @@ CIMGUI_API ImVec2 igGetCursorPos(void);
|
||||
CIMGUI_API float igGetCursorPosX(void);
|
||||
CIMGUI_API float igGetCursorPosY(void);
|
||||
CIMGUI_API void igSetCursorPos(const ImVec2 local_pos);
|
||||
CIMGUI_API void igSetCursorPosX(float x);
|
||||
CIMGUI_API void igSetCursorPosY(float y);
|
||||
CIMGUI_API void igSetCursorPosX(float local_x);
|
||||
CIMGUI_API void igSetCursorPosY(float local_y);
|
||||
CIMGUI_API ImVec2 igGetCursorStartPos(void);
|
||||
CIMGUI_API ImVec2 igGetCursorScreenPos(void);
|
||||
CIMGUI_API void igSetCursorScreenPos(const ImVec2 screen_pos);
|
||||
CIMGUI_API void igSetCursorScreenPos(const ImVec2 pos);
|
||||
CIMGUI_API void igAlignTextToFramePadding(void);
|
||||
CIMGUI_API float igGetTextLineHeight(void);
|
||||
CIMGUI_API float igGetTextLineHeightWithSpacing(void);
|
||||
@@ -1038,17 +1076,17 @@ CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_mi
|
||||
CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* v,const void* v_min,const void* v_max,const char* format,float power);
|
||||
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
|
||||
CIMGUI_API bool igInputTextMultiline(const char* label,char* buf,size_t buf_size,const ImVec2 size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
|
||||
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags extra_flags);
|
||||
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags extra_flags);
|
||||
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags extra_flags);
|
||||
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags extra_flags);
|
||||
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags extra_flags);
|
||||
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags extra_flags);
|
||||
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags extra_flags);
|
||||
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags extra_flags);
|
||||
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags extra_flags);
|
||||
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
|
||||
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags extra_flags);
|
||||
CIMGUI_API bool igInputFloat(const char* label,float* v,float step,float step_fast,const char* format,ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igInputFloat2(const char* label,float v[2],const char* format,ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igInputFloat3(const char* label,float v[3],const char* format,ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igInputFloat4(const char* label,float v[4],const char* format,ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igInputInt(const char* label,int* v,int step,int step_fast,ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igInputInt2(const char* label,int v[2],ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igInputInt3(const char* label,int v[3],ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igInputInt4(const char* label,int v[4],ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igInputDouble(const char* label,double* v,double step,double step_fast,const char* format,ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igInputScalar(const char* label,ImGuiDataType data_type,void* v,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igInputScalarN(const char* label,ImGuiDataType data_type,void* v,int components,const void* step,const void* step_fast,const char* format,ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igColorEdit3(const char* label,float col[3],ImGuiColorEditFlags flags);
|
||||
CIMGUI_API bool igColorEdit4(const char* label,float col[4],ImGuiColorEditFlags flags);
|
||||
CIMGUI_API bool igColorPicker3(const char* label,float col[3],ImGuiColorEditFlags flags);
|
||||
@@ -1118,6 +1156,11 @@ CIMGUI_API void igSetColumnWidth(int column_index,float width);
|
||||
CIMGUI_API float igGetColumnOffset(int column_index);
|
||||
CIMGUI_API void igSetColumnOffset(int column_index,float offset_x);
|
||||
CIMGUI_API int igGetColumnsCount(void);
|
||||
CIMGUI_API bool igBeginTabBar(const char* str_id,ImGuiTabBarFlags flags);
|
||||
CIMGUI_API void igEndTabBar(void);
|
||||
CIMGUI_API bool igBeginTabItem(const char* label,bool* p_open,ImGuiTabItemFlags flags);
|
||||
CIMGUI_API void igEndTabItem(void);
|
||||
CIMGUI_API void igSetTabItemClosed(const char* tab_or_docked_window_label);
|
||||
CIMGUI_API void igLogToTTY(int max_depth);
|
||||
CIMGUI_API void igLogToFile(int max_depth,const char* filename);
|
||||
CIMGUI_API void igLogToClipboard(int max_depth);
|
||||
@@ -1183,8 +1226,8 @@ CIMGUI_API ImVec2 igGetMouseDragDelta(int button,float lock_threshold);
|
||||
CIMGUI_API void igResetMouseDragDelta(int button);
|
||||
CIMGUI_API ImGuiMouseCursor igGetMouseCursor(void);
|
||||
CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type);
|
||||
CIMGUI_API void igCaptureKeyboardFromApp(bool capture);
|
||||
CIMGUI_API void igCaptureMouseFromApp(bool capture);
|
||||
CIMGUI_API void igCaptureKeyboardFromApp(bool want_capture_keyboard_value);
|
||||
CIMGUI_API void igCaptureMouseFromApp(bool want_capture_mouse_value);
|
||||
CIMGUI_API const char* igGetClipboardText(void);
|
||||
CIMGUI_API void igSetClipboardText(const char* text);
|
||||
CIMGUI_API void igLoadIniSettingsFromDisk(const char* ini_filename);
|
||||
@@ -1198,7 +1241,7 @@ CIMGUI_API ImGuiStyle* ImGuiStyle_ImGuiStyle(void);
|
||||
CIMGUI_API void ImGuiStyle_destroy(ImGuiStyle* self);
|
||||
CIMGUI_API void ImGuiStyle_ScaleAllSizes(ImGuiStyle* self,float scale_factor);
|
||||
CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,ImWchar c);
|
||||
CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* utf8_chars);
|
||||
CIMGUI_API void ImGuiIO_AddInputCharactersUTF8(ImGuiIO* self,const char* str);
|
||||
CIMGUI_API void ImGuiIO_ClearInputCharacters(ImGuiIO* self);
|
||||
CIMGUI_API ImGuiIO* ImGuiIO_ImGuiIO(void);
|
||||
CIMGUI_API void ImGuiIO_destroy(ImGuiIO* self);
|
||||
@@ -1333,6 +1376,14 @@ CIMGUI_API void ImDrawData_DeIndexAllBuffers(ImDrawData* self);
|
||||
CIMGUI_API void ImDrawData_ScaleClipRects(ImDrawData* self,const ImVec2 sc);
|
||||
CIMGUI_API ImFontConfig* ImFontConfig_ImFontConfig(void);
|
||||
CIMGUI_API void ImFontConfig_destroy(ImFontConfig* self);
|
||||
CIMGUI_API ImFontGlyphRangesBuilder* ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder(void);
|
||||
CIMGUI_API void ImFontGlyphRangesBuilder_destroy(ImFontGlyphRangesBuilder* self);
|
||||
CIMGUI_API bool ImFontGlyphRangesBuilder_GetBit(ImFontGlyphRangesBuilder* self,int n);
|
||||
CIMGUI_API void ImFontGlyphRangesBuilder_SetBit(ImFontGlyphRangesBuilder* self,int n);
|
||||
CIMGUI_API void ImFontGlyphRangesBuilder_AddChar(ImFontGlyphRangesBuilder* self,ImWchar c);
|
||||
CIMGUI_API void ImFontGlyphRangesBuilder_AddText(ImFontGlyphRangesBuilder* self,const char* text,const char* text_end);
|
||||
CIMGUI_API void ImFontGlyphRangesBuilder_AddRanges(ImFontGlyphRangesBuilder* self,const ImWchar* ranges);
|
||||
CIMGUI_API void ImFontGlyphRangesBuilder_BuildRanges(ImFontGlyphRangesBuilder* self,ImVector_ImWchar* out_ranges);
|
||||
CIMGUI_API ImFontAtlas* ImFontAtlas_ImFontAtlas(void);
|
||||
CIMGUI_API void ImFontAtlas_destroy(ImFontAtlas* self);
|
||||
CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg);
|
||||
@@ -1346,9 +1397,9 @@ CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self);
|
||||
CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self);
|
||||
CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self);
|
||||
CIMGUI_API bool ImFontAtlas_Build(ImFontAtlas* self);
|
||||
CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self);
|
||||
CIMGUI_API void ImFontAtlas_GetTexDataAsAlpha8(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel);
|
||||
CIMGUI_API void ImFontAtlas_GetTexDataAsRGBA32(ImFontAtlas* self,unsigned char** out_pixels,int* out_width,int* out_height,int* out_bytes_per_pixel);
|
||||
CIMGUI_API bool ImFontAtlas_IsBuilt(ImFontAtlas* self);
|
||||
CIMGUI_API void ImFontAtlas_SetTexID(ImFontAtlas* self,ImTextureID id);
|
||||
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self);
|
||||
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesKorean(ImFontAtlas* self);
|
||||
@@ -1357,14 +1408,6 @@ CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseFull(ImFontAtlas* sel
|
||||
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self);
|
||||
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesCyrillic(ImFontAtlas* self);
|
||||
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesThai(ImFontAtlas* self);
|
||||
CIMGUI_API GlyphRangesBuilder* GlyphRangesBuilder_GlyphRangesBuilder(void);
|
||||
CIMGUI_API void GlyphRangesBuilder_destroy(GlyphRangesBuilder* self);
|
||||
CIMGUI_API bool GlyphRangesBuilder_GetBit(GlyphRangesBuilder* self,int n);
|
||||
CIMGUI_API void GlyphRangesBuilder_SetBit(GlyphRangesBuilder* self,int n);
|
||||
CIMGUI_API void GlyphRangesBuilder_AddChar(GlyphRangesBuilder* self,ImWchar c);
|
||||
CIMGUI_API void GlyphRangesBuilder_AddText(GlyphRangesBuilder* self,const char* text,const char* text_end);
|
||||
CIMGUI_API void GlyphRangesBuilder_AddRanges(GlyphRangesBuilder* self,const ImWchar* ranges);
|
||||
CIMGUI_API void GlyphRangesBuilder_BuildRanges(GlyphRangesBuilder* self,ImVector_ImWchar* out_ranges);
|
||||
CIMGUI_API CustomRect* CustomRect_CustomRect(void);
|
||||
CIMGUI_API void CustomRect_destroy(CustomRect* self);
|
||||
CIMGUI_API bool CustomRect_IsPacked(CustomRect* self);
|
||||
|
Reference in New Issue
Block a user