Ylva And Malin
Data Structures | Namespaces | Macros | Typedefs | Enumerations | Functions
imgui.h File Reference
#include "imconfig.h"
#include <float.h>
#include <stdarg.h>
#include <stddef.h>
#include <string.h>
#include <assert.h>
Include dependency graph for imgui.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ImVec2
 
struct  ImVec4
 
struct  ImGuiStyle
 
struct  ImGuiIO
 
class  ImVector< T >
 
struct  ImNewDummy
 
struct  ImGuiOnceUponAFrame
 
struct  ImGuiTextFilter
 
struct  ImGuiTextFilter::TextRange
 
struct  ImGuiTextBuffer
 
struct  ImGuiStorage
 
struct  ImGuiStorage::Pair
 
struct  ImGuiTextEditCallbackData
 
struct  ImGuiSizeCallbackData
 
struct  ImGuiPayload
 
struct  ImColor
 
struct  ImGuiListClipper
 
struct  ImDrawCmd
 
struct  ImDrawVert
 
struct  ImDrawChannel
 
struct  ImDrawList
 
struct  ImDrawData
 
struct  ImFontConfig
 
struct  ImFontGlyph
 
struct  ImFontAtlas
 
struct  ImFontAtlas::GlyphRangesBuilder
 
struct  ImFontAtlas::CustomRect
 
struct  ImFont
 

Namespaces

 ImGui
 

Macros

#define IMGUI_VERSION   "1.62 WIP"
 
#define IMGUI_CHECKVERSION()   ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert))
 
#define IMGUI_API
 
#define IM_ASSERT(_EXPR)   assert(_EXPR)
 
#define IM_FMTARGS(FMT)
 
#define IM_FMTLIST(FMT)
 
#define IM_ARRAYSIZE(_ARR)   ((int)(sizeof(_ARR)/sizeof(*_ARR)))
 
#define IM_OFFSETOF(_TYPE, _MEMBER)   ((size_t)&(((_TYPE*)0)->_MEMBER))
 
#define IMGUI_PAYLOAD_TYPE_COLOR_3F   "_COL3F"
 
#define IMGUI_PAYLOAD_TYPE_COLOR_4F   "_COL4F"
 
#define IM_PLACEMENT_NEW(_PTR)   new(ImNewDummy(), _PTR)
 
#define IM_NEW(_TYPE)   new(ImNewDummy(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE
 
#define IMGUI_ONCE_UPON_A_FRAME   static ImGuiOnceUponAFrame imgui_oaf; if (imgui_oaf)
 
#define IM_COL32_R_SHIFT   0
 
#define IM_COL32_G_SHIFT   8
 
#define IM_COL32_B_SHIFT   16
 
#define IM_COL32_A_SHIFT   24
 
#define IM_COL32_A_MASK   0xFF000000
 
#define IM_COL32(R, G, B, A)   (((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))
 
#define IM_COL32_WHITE   IM_COL32(255,255,255,255)
 
#define IM_COL32_BLACK   IM_COL32(0,0,0,255)
 
#define IM_COL32_BLACK_TRANS   IM_COL32(0,0,0,0)
 

Typedefs

typedef voidImTextureID
 
typedef unsigned int ImGuiID
 
typedef unsigned short ImWchar
 
typedef int ImGuiCol
 
typedef int ImGuiDataType
 
typedef int ImGuiDir
 
typedef int ImGuiCond
 
typedef int ImGuiKey
 
typedef int ImGuiNavInput
 
typedef int ImGuiMouseCursor
 
typedef int ImGuiStyleVar
 
typedef int ImDrawCornerFlags
 
typedef int ImDrawListFlags
 
typedef int ImFontAtlasFlags
 
typedef int ImGuiBackendFlags
 
typedef int ImGuiColorEditFlags
 
typedef int ImGuiColumnsFlags
 
typedef int ImGuiConfigFlags
 
typedef int ImGuiComboFlags
 
typedef int ImGuiDragDropFlags
 
typedef int ImGuiFocusedFlags
 
typedef int ImGuiHoveredFlags
 
typedef int ImGuiInputTextFlags
 
typedef int ImGuiSelectableFlags
 
typedef int ImGuiTreeNodeFlags
 
typedef int ImGuiWindowFlags
 
typedef int(* ImGuiTextEditCallback) (ImGuiTextEditCallbackData *data)
 
typedef void(* ImGuiSizeCallback) (ImGuiSizeCallbackData *data)
 
typedef signed int ImS32
 
typedef unsigned int ImU32
 
typedef signed long long ImS64
 
typedef unsigned long long ImU64
 
typedef void(* ImDrawCallback) (const ImDrawList *parent_list, const ImDrawCmd *cmd)
 
typedef unsigned short ImDrawIdx
 

Enumerations

enum  ImGuiWindowFlags_ {
  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_NoSavedSettings = 1 << 8,
  ImGuiWindowFlags_NoInputs = 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_AlwaysUseWindowPadding = 1 << 16,
  ImGuiWindowFlags_ResizeFromAnySide = 1 << 17,
  ImGuiWindowFlags_NoNavInputs = 1 << 18,
  ImGuiWindowFlags_NoNavFocus = 1 << 19,
  ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
  ImGuiWindowFlags_NavFlattened = 1 << 23,
  ImGuiWindowFlags_ChildWindow = 1 << 24,
  ImGuiWindowFlags_Tooltip = 1 << 25,
  ImGuiWindowFlags_Popup = 1 << 26,
  ImGuiWindowFlags_Modal = 1 << 27,
  ImGuiWindowFlags_ChildMenu = 1 << 28
}
 
enum  ImGuiInputTextFlags_ {
  ImGuiInputTextFlags_CharsDecimal = 1 << 0,
  ImGuiInputTextFlags_CharsHexadecimal = 1 << 1,
  ImGuiInputTextFlags_CharsUppercase = 1 << 2,
  ImGuiInputTextFlags_CharsNoBlank = 1 << 3,
  ImGuiInputTextFlags_AutoSelectAll = 1 << 4,
  ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5,
  ImGuiInputTextFlags_CallbackCompletion = 1 << 6,
  ImGuiInputTextFlags_CallbackHistory = 1 << 7,
  ImGuiInputTextFlags_CallbackAlways = 1 << 8,
  ImGuiInputTextFlags_CallbackCharFilter = 1 << 9,
  ImGuiInputTextFlags_AllowTabInput = 1 << 10,
  ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11,
  ImGuiInputTextFlags_NoHorizontalScroll = 1 << 12,
  ImGuiInputTextFlags_AlwaysInsertMode = 1 << 13,
  ImGuiInputTextFlags_ReadOnly = 1 << 14,
  ImGuiInputTextFlags_Password = 1 << 15,
  ImGuiInputTextFlags_NoUndoRedo = 1 << 16,
  ImGuiInputTextFlags_CharsScientific = 1 << 17,
  ImGuiInputTextFlags_Multiline = 1 << 20
}
 
enum  ImGuiTreeNodeFlags_ {
  ImGuiTreeNodeFlags_Selected = 1 << 0,
  ImGuiTreeNodeFlags_Framed = 1 << 1,
  ImGuiTreeNodeFlags_AllowItemOverlap = 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_NavLeftJumpsBackHere = 1 << 13,
  ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog,
  ImGuiTreeNodeFlags_AllowOverlapMode = ImGuiTreeNodeFlags_AllowItemOverlap
}
 
enum  ImGuiSelectableFlags_ {
  ImGuiSelectableFlags_DontClosePopups = 1 << 0,
  ImGuiSelectableFlags_SpanAllColumns = 1 << 1,
  ImGuiSelectableFlags_AllowDoubleClick = 1 << 2
}
 
enum  ImGuiComboFlags_ {
  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_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest
}
 
enum  ImGuiFocusedFlags_ {
  ImGuiFocusedFlags_ChildWindows = 1 << 0,
  ImGuiFocusedFlags_RootWindow = 1 << 1,
  ImGuiFocusedFlags_AnyWindow = 1 << 2,
  ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows
}
 
enum  ImGuiHoveredFlags_ {
  ImGuiHoveredFlags_Default = 0,
  ImGuiHoveredFlags_ChildWindows = 1 << 0,
  ImGuiHoveredFlags_RootWindow = 1 << 1,
  ImGuiHoveredFlags_AnyWindow = 1 << 2,
  ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 3,
  ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 5,
  ImGuiHoveredFlags_AllowWhenOverlapped = 1 << 6,
  ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped,
  ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows
}
 
enum  ImGuiDragDropFlags_ {
  ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0,
  ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1,
  ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2,
  ImGuiDragDropFlags_SourceAllowNullID = 1 << 3,
  ImGuiDragDropFlags_SourceExtern = 1 << 4,
  ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10,
  ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11,
  ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect
}
 
enum  ImGuiDataType_ {
  ImGuiDataType_S32,
  ImGuiDataType_U32,
  ImGuiDataType_S64,
  ImGuiDataType_U64,
  ImGuiDataType_Float,
  ImGuiDataType_Double,
  ImGuiDataType_COUNT
}
 
enum  ImGuiDir_ {
  ImGuiDir_None = -1,
  ImGuiDir_Left = 0,
  ImGuiDir_Right = 1,
  ImGuiDir_Up = 2,
  ImGuiDir_Down = 3,
  ImGuiDir_COUNT
}
 
enum  ImGuiKey_ {
  ImGuiKey_Tab,
  ImGuiKey_LeftArrow,
  ImGuiKey_RightArrow,
  ImGuiKey_UpArrow,
  ImGuiKey_DownArrow,
  ImGuiKey_PageUp,
  ImGuiKey_PageDown,
  ImGuiKey_Home,
  ImGuiKey_End,
  ImGuiKey_Insert,
  ImGuiKey_Delete,
  ImGuiKey_Backspace,
  ImGuiKey_Space,
  ImGuiKey_Enter,
  ImGuiKey_Escape,
  ImGuiKey_A,
  ImGuiKey_C,
  ImGuiKey_V,
  ImGuiKey_X,
  ImGuiKey_Y,
  ImGuiKey_Z,
  ImGuiKey_COUNT
}
 
enum  ImGuiNavInput_ {
  ImGuiNavInput_Activate,
  ImGuiNavInput_Cancel,
  ImGuiNavInput_Input,
  ImGuiNavInput_Menu,
  ImGuiNavInput_DpadLeft,
  ImGuiNavInput_DpadRight,
  ImGuiNavInput_DpadUp,
  ImGuiNavInput_DpadDown,
  ImGuiNavInput_LStickLeft,
  ImGuiNavInput_LStickRight,
  ImGuiNavInput_LStickUp,
  ImGuiNavInput_LStickDown,
  ImGuiNavInput_FocusPrev,
  ImGuiNavInput_FocusNext,
  ImGuiNavInput_TweakSlow,
  ImGuiNavInput_TweakFast,
  ImGuiNavInput_KeyMenu_,
  ImGuiNavInput_KeyLeft_,
  ImGuiNavInput_KeyRight_,
  ImGuiNavInput_KeyUp_,
  ImGuiNavInput_KeyDown_,
  ImGuiNavInput_COUNT,
  ImGuiNavInput_InternalStart_ = ImGuiNavInput_KeyMenu_
}
 
enum  ImGuiConfigFlags_ {
  ImGuiConfigFlags_NavEnableKeyboard = 1 << 0,
  ImGuiConfigFlags_NavEnableGamepad = 1 << 1,
  ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2,
  ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3,
  ImGuiConfigFlags_NoMouse = 1 << 4,
  ImGuiConfigFlags_NoMouseCursorChange = 1 << 5,
  ImGuiConfigFlags_IsSRGB = 1 << 20,
  ImGuiConfigFlags_IsTouchScreen = 1 << 21
}
 
enum  ImGuiBackendFlags_ {
  ImGuiBackendFlags_HasGamepad = 1 << 0,
  ImGuiBackendFlags_HasMouseCursors = 1 << 1,
  ImGuiBackendFlags_HasSetMousePos = 1 << 2
}
 
enum  ImGuiCol_ {
  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_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_PlotLines,
  ImGuiCol_PlotLinesHovered,
  ImGuiCol_PlotHistogram,
  ImGuiCol_PlotHistogramHovered,
  ImGuiCol_TextSelectedBg,
  ImGuiCol_ModalWindowDarkening,
  ImGuiCol_DragDropTarget,
  ImGuiCol_NavHighlight,
  ImGuiCol_NavWindowingHighlight,
  ImGuiCol_COUNT,
  ImGuiCol_ChildWindowBg = ImGuiCol_ChildBg,
  ImGuiCol_Column = ImGuiCol_Separator,
  ImGuiCol_ColumnHovered = ImGuiCol_SeparatorHovered,
  ImGuiCol_ColumnActive = ImGuiCol_SeparatorActive
}
 
enum  ImGuiStyleVar_ {
  ImGuiStyleVar_Alpha,
  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_ScrollbarSize,
  ImGuiStyleVar_ScrollbarRounding,
  ImGuiStyleVar_GrabMinSize,
  ImGuiStyleVar_GrabRounding,
  ImGuiStyleVar_ButtonTextAlign,
  ImGuiStyleVar_COUNT,
  ImGuiStyleVar_Count_ = ImGuiStyleVar_COUNT,
  ImGuiStyleVar_ChildWindowRounding = ImGuiStyleVar_ChildRounding
}
 
enum  ImGuiColorEditFlags_ {
  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_AlphaBar = 1 << 16,
  ImGuiColorEditFlags_AlphaPreview = 1 << 17,
  ImGuiColorEditFlags_AlphaPreviewHalf = 1 << 18,
  ImGuiColorEditFlags_HDR = 1 << 19,
  ImGuiColorEditFlags_RGB = 1 << 20,
  ImGuiColorEditFlags_HSV = 1 << 21,
  ImGuiColorEditFlags_HEX = 1 << 22,
  ImGuiColorEditFlags_Uint8 = 1 << 23,
  ImGuiColorEditFlags_Float = 1 << 24,
  ImGuiColorEditFlags_PickerHueBar = 1 << 25,
  ImGuiColorEditFlags_PickerHueWheel = 1 << 26,
  ImGuiColorEditFlags__InputsMask = ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_HSV|ImGuiColorEditFlags_HEX,
  ImGuiColorEditFlags__DataTypeMask = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float,
  ImGuiColorEditFlags__PickerMask = ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar,
  ImGuiColorEditFlags__OptionsDefault = ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_RGB|ImGuiColorEditFlags_PickerHueBar
}
 
enum  ImGuiMouseCursor_ {
  ImGuiMouseCursor_None = -1,
  ImGuiMouseCursor_Arrow = 0,
  ImGuiMouseCursor_TextInput,
  ImGuiMouseCursor_ResizeAll,
  ImGuiMouseCursor_ResizeNS,
  ImGuiMouseCursor_ResizeEW,
  ImGuiMouseCursor_ResizeNESW,
  ImGuiMouseCursor_ResizeNWSE,
  ImGuiMouseCursor_COUNT,
  ImGuiMouseCursor_Count_ = ImGuiMouseCursor_COUNT
}
 
enum  ImGuiCond_ {
  ImGuiCond_Always = 1 << 0,
  ImGuiCond_Once = 1 << 1,
  ImGuiCond_FirstUseEver = 1 << 2,
  ImGuiCond_Appearing = 1 << 3,
  ImGuiSetCond_Always = ImGuiCond_Always,
  ImGuiSetCond_Once = ImGuiCond_Once,
  ImGuiSetCond_FirstUseEver = ImGuiCond_FirstUseEver,
  ImGuiSetCond_Appearing = ImGuiCond_Appearing
}
 
enum  ImDrawCornerFlags_ {
  ImDrawCornerFlags_TopLeft = 1 << 0,
  ImDrawCornerFlags_TopRight = 1 << 1,
  ImDrawCornerFlags_BotLeft = 1 << 2,
  ImDrawCornerFlags_BotRight = 1 << 3,
  ImDrawCornerFlags_Top = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight,
  ImDrawCornerFlags_Bot = ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight,
  ImDrawCornerFlags_Left = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft,
  ImDrawCornerFlags_Right = ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight,
  ImDrawCornerFlags_All = 0xF
}
 
enum  ImDrawListFlags_ {
  ImDrawListFlags_AntiAliasedLines = 1 << 0,
  ImDrawListFlags_AntiAliasedFill = 1 << 1
}
 
enum  ImFontAtlasFlags_ {
  ImFontAtlasFlags_NoPowerOfTwoHeight = 1 << 0,
  ImFontAtlasFlags_NoMouseCursors = 1 << 1
}
 

Functions

ImGuiContextImGui::CreateContext (ImFontAtlas *shared_font_atlas=NULL)
 
void ImGui::DestroyContext (ImGuiContext *ctx=NULL)
 
ImGuiContextImGui::GetCurrentContext ()
 
void ImGui::SetCurrentContext (ImGuiContext *ctx)
 
bool ImGui::DebugCheckVersionAndDataLayout (const char *version_str, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_drawvert)
 
ImGuiIOImGui::GetIO ()
 
ImGuiStyleImGui::GetStyle ()
 
void ImGui::NewFrame ()
 
void ImGui::Render ()
 
ImDrawDataImGui::GetDrawData ()
 
void ImGui::EndFrame ()
 
void ImGui::ShowDemoWindow (bool *p_open=NULL)
 
void ImGui::ShowMetricsWindow (bool *p_open=NULL)
 
void ImGui::ShowStyleEditor (ImGuiStyle *ref=NULL)
 
bool ImGui::ShowStyleSelector (const char *label)
 
void ImGui::ShowFontSelector (const char *label)
 
void ImGui::ShowUserGuide ()
 
const char * ImGui::GetVersion ()
 
void ImGui::StyleColorsDark (ImGuiStyle *dst=NULL)
 
void ImGui::StyleColorsClassic (ImGuiStyle *dst=NULL)
 
void ImGui::StyleColorsLight (ImGuiStyle *dst=NULL)
 
bool ImGui::Begin (const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
 
void ImGui::End ()
 
bool ImGui::BeginChild (const char *str_id, const ImVec2 &size=ImVec2(0, 0), bool border=false, ImGuiWindowFlags flags=0)
 
bool ImGui::BeginChild (ImGuiID id, const ImVec2 &size=ImVec2(0, 0), bool border=false, ImGuiWindowFlags flags=0)
 
void ImGui::EndChild ()
 
bool ImGui::IsWindowAppearing ()
 
bool ImGui::IsWindowCollapsed ()
 
bool ImGui::IsWindowFocused (ImGuiFocusedFlags flags=0)
 
bool ImGui::IsWindowHovered (ImGuiHoveredFlags flags=0)
 
ImDrawListImGui::GetWindowDrawList ()
 
ImVec2 ImGui::GetWindowPos ()
 
ImVec2 ImGui::GetWindowSize ()
 
float ImGui::GetWindowWidth ()
 
float ImGui::GetWindowHeight ()
 
ImVec2 ImGui::GetContentRegionMax ()
 
ImVec2 ImGui::GetContentRegionAvail ()
 
float ImGui::GetContentRegionAvailWidth ()
 
ImVec2 ImGui::GetWindowContentRegionMin ()
 
ImVec2 ImGui::GetWindowContentRegionMax ()
 
float ImGui::GetWindowContentRegionWidth ()
 
void ImGui::SetNextWindowPos (const ImVec2 &pos, ImGuiCond cond=0, const ImVec2 &pivot=ImVec2(0, 0))
 
void ImGui::SetNextWindowSize (const ImVec2 &size, ImGuiCond cond=0)
 
void ImGui::SetNextWindowSizeConstraints (const ImVec2 &size_min, const ImVec2 &size_max, ImGuiSizeCallback custom_callback=NULL, void *custom_callback_data=NULL)
 
void ImGui::SetNextWindowContentSize (const ImVec2 &size)
 
void ImGui::SetNextWindowCollapsed (bool collapsed, ImGuiCond cond=0)
 
void ImGui::SetNextWindowFocus ()
 
void ImGui::SetNextWindowBgAlpha (float alpha)
 
void ImGui::SetWindowPos (const ImVec2 &pos, ImGuiCond cond=0)
 
void ImGui::SetWindowSize (const ImVec2 &size, ImGuiCond cond=0)
 
void ImGui::SetWindowCollapsed (bool collapsed, ImGuiCond cond=0)
 
void ImGui::SetWindowFocus ()
 
void ImGui::SetWindowFontScale (float scale)
 
void ImGui::SetWindowPos (const char *name, const ImVec2 &pos, ImGuiCond cond=0)
 
void ImGui::SetWindowSize (const char *name, const ImVec2 &size, ImGuiCond cond=0)
 
void ImGui::SetWindowCollapsed (const char *name, bool collapsed, ImGuiCond cond=0)
 
void ImGui::SetWindowFocus (const char *name)
 
float ImGui::GetScrollX ()
 
float ImGui::GetScrollY ()
 
float ImGui::GetScrollMaxX ()
 
float ImGui::GetScrollMaxY ()
 
void ImGui::SetScrollX (float scroll_x)
 
void ImGui::SetScrollY (float scroll_y)
 
void ImGui::SetScrollHere (float center_y_ratio=0.5f)
 
void ImGui::SetScrollFromPosY (float pos_y, float center_y_ratio=0.5f)
 
void ImGui::PushFont (ImFont *font)
 
void ImGui::PopFont ()
 
void ImGui::PushStyleColor (ImGuiCol idx, ImU32 col)
 
void ImGui::PushStyleColor (ImGuiCol idx, const ImVec4 &col)
 
void ImGui::PopStyleColor (int count=1)
 
void ImGui::PushStyleVar (ImGuiStyleVar idx, float val)
 
void ImGui::PushStyleVar (ImGuiStyleVar idx, const ImVec2 &val)
 
void ImGui::PopStyleVar (int count=1)
 
const ImVec4ImGui::GetStyleColorVec4 (ImGuiCol idx)
 
ImFontImGui::GetFont ()
 
float ImGui::GetFontSize ()
 
ImVec2 ImGui::GetFontTexUvWhitePixel ()
 
ImU32 ImGui::GetColorU32 (ImGuiCol idx, float alpha_mul=1.0f)
 
ImU32 ImGui::GetColorU32 (const ImVec4 &col)
 
ImU32 ImGui::GetColorU32 (ImU32 col)
 
void ImGui::PushItemWidth (float item_width)
 
void ImGui::PopItemWidth ()
 
float ImGui::CalcItemWidth ()
 
void ImGui::PushTextWrapPos (float wrap_pos_x=0.0f)
 
void ImGui::PopTextWrapPos ()
 
void ImGui::PushAllowKeyboardFocus (bool allow_keyboard_focus)
 
void ImGui::PopAllowKeyboardFocus ()
 
void ImGui::PushButtonRepeat (bool repeat)
 
void ImGui::PopButtonRepeat ()
 
void ImGui::Separator ()
 
void ImGui::SameLine (float pos_x=0.0f, float spacing_w=-1.0f)
 
void ImGui::NewLine ()
 
void ImGui::Spacing ()
 
void ImGui::Dummy (const ImVec2 &size)
 
void ImGui::Indent (float indent_w=0.0f)
 
void ImGui::Unindent (float indent_w=0.0f)
 
void ImGui::BeginGroup ()
 
void ImGui::EndGroup ()
 
ImVec2 ImGui::GetCursorPos ()
 
float ImGui::GetCursorPosX ()
 
float ImGui::GetCursorPosY ()
 
void ImGui::SetCursorPos (const ImVec2 &local_pos)
 
void ImGui::SetCursorPosX (float x)
 
void ImGui::SetCursorPosY (float y)
 
ImVec2 ImGui::GetCursorStartPos ()
 
ImVec2 ImGui::GetCursorScreenPos ()
 
void ImGui::SetCursorScreenPos (const ImVec2 &screen_pos)
 
void ImGui::AlignTextToFramePadding ()
 
float ImGui::GetTextLineHeight ()
 
float ImGui::GetTextLineHeightWithSpacing ()
 
float ImGui::GetFrameHeight ()
 
float ImGui::GetFrameHeightWithSpacing ()
 
void ImGui::PushID (const char *str_id)
 
void ImGui::PushID (const char *str_id_begin, const char *str_id_end)
 
void ImGui::PushID (const void *ptr_id)
 
void ImGui::PushID (int int_id)
 
void ImGui::PopID ()
 
ImGuiID ImGui::GetID (const char *str_id)
 
ImGuiID ImGui::GetID (const char *str_id_begin, const char *str_id_end)
 
ImGuiID ImGui::GetID (const void *ptr_id)
 
void ImGui::TextUnformatted (const char *text, const char *text_end=NULL)
 
void ImGui::Text (const char *fmt,...)
 
void ImGui::TextV (const char *fmt, va_list args)
 
void ImGui::TextColored (const ImVec4 &col, const char *fmt,...)
 
void ImGui::TextColoredV (const ImVec4 &col, const char *fmt, va_list args)
 
void ImGui::TextDisabled (const char *fmt,...)
 
void ImGui::TextDisabledV (const char *fmt, va_list args)
 
void ImGui::TextWrapped (const char *fmt,...)
 
void ImGui::TextWrappedV (const char *fmt, va_list args)
 
void ImGui::LabelText (const char *label, const char *fmt,...)
 
void ImGui::LabelTextV (const char *label, const char *fmt, va_list args)
 
void ImGui::BulletText (const char *fmt,...)
 
void ImGui::BulletTextV (const char *fmt, va_list args)
 
bool ImGui::Button (const char *label, const ImVec2 &size=ImVec2(0, 0))
 
bool ImGui::SmallButton (const char *label)
 
bool ImGui::ArrowButton (const char *str_id, ImGuiDir dir)
 
bool ImGui::InvisibleButton (const char *str_id, const ImVec2 &size)
 
void ImGui::Image (ImTextureID user_texture_id, const ImVec2 &size, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1), const ImVec4 &border_col=ImVec4(0, 0, 0, 0))
 
bool ImGui::ImageButton (ImTextureID user_texture_id, const ImVec2 &size, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), int frame_padding=-1, const ImVec4 &bg_col=ImVec4(0, 0, 0, 0), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1))
 
bool ImGui::Checkbox (const char *label, bool *v)
 
bool ImGui::CheckboxFlags (const char *label, unsigned int *flags, unsigned int flags_value)
 
bool ImGui::RadioButton (const char *label, bool active)
 
bool ImGui::RadioButton (const char *label, int *v, int v_button)
 
void ImGui::PlotLines (const char *label, const float *values, int values_count, int values_offset=0, const char *overlay_text=NULL, float scale_min=FLT_MAX, float scale_max=FLT_MAX, ImVec2 graph_size=ImVec2(0, 0), int stride=sizeof(float))
 
void ImGui::PlotLines (const char *label, float(*values_getter)(void *data, int idx), void *data, int values_count, int values_offset=0, const char *overlay_text=NULL, float scale_min=FLT_MAX, float scale_max=FLT_MAX, ImVec2 graph_size=ImVec2(0, 0))
 
void ImGui::PlotHistogram (const char *label, const float *values, int values_count, int values_offset=0, const char *overlay_text=NULL, float scale_min=FLT_MAX, float scale_max=FLT_MAX, ImVec2 graph_size=ImVec2(0, 0), int stride=sizeof(float))
 
void ImGui::PlotHistogram (const char *label, float(*values_getter)(void *data, int idx), void *data, int values_count, int values_offset=0, const char *overlay_text=NULL, float scale_min=FLT_MAX, float scale_max=FLT_MAX, ImVec2 graph_size=ImVec2(0, 0))
 
void ImGui::ProgressBar (float fraction, const ImVec2 &size_arg=ImVec2(-1, 0), const char *overlay=NULL)
 
void ImGui::Bullet ()
 
bool ImGui::BeginCombo (const char *label, const char *preview_value, ImGuiComboFlags flags=0)
 
void ImGui::EndCombo ()
 
bool ImGui::Combo (const char *label, int *current_item, const char *const items[], int items_count, int popup_max_height_in_items=-1)
 
bool ImGui::Combo (const char *label, int *current_item, const char *items_separated_by_zeros, int popup_max_height_in_items=-1)
 
bool ImGui::Combo (const char *label, int *current_item, bool(*items_getter)(void *data, int idx, const char **out_text), void *data, int items_count, int popup_max_height_in_items=-1)
 
bool ImGui::DragFloat (const char *label, float *v, float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", float power=1.0f)
 
bool ImGui::DragFloat2 (const char *label, float v[2], float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", float power=1.0f)
 
bool ImGui::DragFloat3 (const char *label, float v[3], float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", float power=1.0f)
 
bool ImGui::DragFloat4 (const char *label, float v[4], float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", float power=1.0f)
 
bool ImGui::DragFloatRange2 (const char *label, float *v_current_min, float *v_current_max, float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", const char *format_max=NULL, float power=1.0f)
 
bool ImGui::DragInt (const char *label, int *v, float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d")
 
bool ImGui::DragInt2 (const char *label, int v[2], float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d")
 
bool ImGui::DragInt3 (const char *label, int v[3], float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d")
 
bool ImGui::DragInt4 (const char *label, int v[4], float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d")
 
bool ImGui::DragIntRange2 (const char *label, int *v_current_min, int *v_current_max, float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d", const char *format_max=NULL)
 
bool ImGui::DragScalar (const char *label, ImGuiDataType data_type, void *v, float v_speed, const void *v_min=NULL, const void *v_max=NULL, const char *format=NULL, float power=1.0f)
 
bool ImGui::DragScalarN (const char *label, ImGuiDataType data_type, void *v, int components, float v_speed, const void *v_min=NULL, const void *v_max=NULL, const char *format=NULL, float power=1.0f)
 
bool ImGui::InputText (const char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiTextEditCallback callback=NULL, void *user_data=NULL)
 
bool ImGui::InputTextMultiline (const char *label, char *buf, size_t buf_size, const ImVec2 &size=ImVec2(0, 0), ImGuiInputTextFlags flags=0, ImGuiTextEditCallback callback=NULL, void *user_data=NULL)
 
bool ImGui::InputFloat (const char *label, float *v, float step=0.0f, float step_fast=0.0f, const char *format="%.3f", ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputFloat2 (const char *label, float v[2], const char *format="%.3f", ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputFloat3 (const char *label, float v[3], const char *format="%.3f", ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputFloat4 (const char *label, float v[4], const char *format="%.3f", ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputInt (const char *label, int *v, int step=1, int step_fast=100, ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputInt2 (const char *label, int v[2], ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputInt3 (const char *label, int v[3], ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputInt4 (const char *label, int v[4], ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputDouble (const char *label, double *v, double step=0.0f, double step_fast=0.0f, const char *format="%.6f", ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputScalar (const char *label, ImGuiDataType data_type, void *v, const void *step=NULL, const void *step_fast=NULL, const char *format=NULL, ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputScalarN (const char *label, ImGuiDataType data_type, void *v, int components, const void *step=NULL, const void *step_fast=NULL, const char *format=NULL, ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::SliderFloat (const char *label, float *v, float v_min, float v_max, const char *format="%.3f", float power=1.0f)
 
bool ImGui::SliderFloat2 (const char *label, float v[2], float v_min, float v_max, const char *format="%.3f", float power=1.0f)
 
bool ImGui::SliderFloat3 (const char *label, float v[3], float v_min, float v_max, const char *format="%.3f", float power=1.0f)
 
bool ImGui::SliderFloat4 (const char *label, float v[4], float v_min, float v_max, const char *format="%.3f", float power=1.0f)
 
bool ImGui::SliderAngle (const char *label, float *v_rad, float v_degrees_min=-360.0f, float v_degrees_max=+360.0f)
 
bool ImGui::SliderInt (const char *label, int *v, int v_min, int v_max, const char *format="%d")
 
bool ImGui::SliderInt2 (const char *label, int v[2], int v_min, int v_max, const char *format="%d")
 
bool ImGui::SliderInt3 (const char *label, int v[3], int v_min, int v_max, const char *format="%d")
 
bool ImGui::SliderInt4 (const char *label, int v[4], int v_min, int v_max, const char *format="%d")
 
bool ImGui::SliderScalar (const char *label, ImGuiDataType data_type, void *v, const void *v_min, const void *v_max, const char *format=NULL, float power=1.0f)
 
bool ImGui::SliderScalarN (const char *label, ImGuiDataType data_type, void *v, int components, const void *v_min, const void *v_max, const char *format=NULL, float power=1.0f)
 
bool ImGui::VSliderFloat (const char *label, const ImVec2 &size, float *v, float v_min, float v_max, const char *format="%.3f", float power=1.0f)
 
bool ImGui::VSliderInt (const char *label, const ImVec2 &size, int *v, int v_min, int v_max, const char *format="%d")
 
bool ImGui::VSliderScalar (const char *label, const ImVec2 &size, ImGuiDataType data_type, void *v, const void *v_min, const void *v_max, const char *format=NULL, float power=1.0f)
 
bool ImGui::ColorEdit3 (const char *label, float col[3], ImGuiColorEditFlags flags=0)
 
bool ImGui::ColorEdit4 (const char *label, float col[4], ImGuiColorEditFlags flags=0)
 
bool ImGui::ColorPicker3 (const char *label, float col[3], ImGuiColorEditFlags flags=0)
 
bool ImGui::ColorPicker4 (const char *label, float col[4], ImGuiColorEditFlags flags=0, const float *ref_col=NULL)
 
bool ImGui::ColorButton (const char *desc_id, const ImVec4 &col, ImGuiColorEditFlags flags=0, ImVec2 size=ImVec2(0, 0))
 
void ImGui::SetColorEditOptions (ImGuiColorEditFlags flags)
 
bool ImGui::TreeNode (const char *label)
 
bool ImGui::TreeNode (const char *str_id, const char *fmt,...)
 
bool ImGui::TreeNode (const void *ptr_id, const char *fmt,...)
 
bool ImGui::TreeNodeV (const char *str_id, const char *fmt, va_list args)
 
bool ImGui::TreeNodeV (const void *ptr_id, const char *fmt, va_list args)
 
bool ImGui::TreeNodeEx (const char *label, ImGuiTreeNodeFlags flags=0)
 
bool ImGui::TreeNodeEx (const char *str_id, ImGuiTreeNodeFlags flags, const char *fmt,...)
 
bool ImGui::TreeNodeEx (const void *ptr_id, ImGuiTreeNodeFlags flags, const char *fmt,...)
 
bool ImGui::TreeNodeExV (const char *str_id, ImGuiTreeNodeFlags flags, const char *fmt, va_list args)
 
bool ImGui::TreeNodeExV (const void *ptr_id, ImGuiTreeNodeFlags flags, const char *fmt, va_list args)
 
void ImGui::TreePush (const char *str_id)
 
void ImGui::TreePush (const void *ptr_id=NULL)
 
void ImGui::TreePop ()
 
void ImGui::TreeAdvanceToLabelPos ()
 
float ImGui::GetTreeNodeToLabelSpacing ()
 
void ImGui::SetNextTreeNodeOpen (bool is_open, ImGuiCond cond=0)
 
bool ImGui::CollapsingHeader (const char *label, ImGuiTreeNodeFlags flags=0)
 
bool ImGui::CollapsingHeader (const char *label, bool *p_open, ImGuiTreeNodeFlags flags=0)
 
bool ImGui::Selectable (const char *label, bool selected=false, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0))
 
bool ImGui::Selectable (const char *label, bool *p_selected, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0))
 
bool ImGui::ListBox (const char *label, int *current_item, const char *const items[], int items_count, int height_in_items=-1)
 
bool ImGui::ListBox (const char *label, int *current_item, bool(*items_getter)(void *data, int idx, const char **out_text), void *data, int items_count, int height_in_items=-1)
 
bool ImGui::ListBoxHeader (const char *label, const ImVec2 &size=ImVec2(0, 0))
 
bool ImGui::ListBoxHeader (const char *label, int items_count, int height_in_items=-1)
 
void ImGui::ListBoxFooter ()
 
void ImGui::Value (const char *prefix, bool b)
 
void ImGui::Value (const char *prefix, int v)
 
void ImGui::Value (const char *prefix, unsigned int v)
 
void ImGui::Value (const char *prefix, float v, const char *float_format=NULL)
 
void ImGui::SetTooltip (const char *fmt,...)
 
void ImGui::SetTooltipV (const char *fmt, va_list args)
 
void ImGui::BeginTooltip ()
 
void ImGui::EndTooltip ()
 
bool ImGui::BeginMainMenuBar ()
 
void ImGui::EndMainMenuBar ()
 
bool ImGui::BeginMenuBar ()
 
void ImGui::EndMenuBar ()
 
bool ImGui::BeginMenu (const char *label, bool enabled=true)
 
void ImGui::EndMenu ()
 
bool ImGui::MenuItem (const char *label, const char *shortcut=NULL, bool selected=false, bool enabled=true)
 
bool ImGui::MenuItem (const char *label, const char *shortcut, bool *p_selected, bool enabled=true)
 
void ImGui::OpenPopup (const char *str_id)
 
bool ImGui::BeginPopup (const char *str_id, ImGuiWindowFlags flags=0)
 
bool ImGui::BeginPopupContextItem (const char *str_id=NULL, int mouse_button=1)
 
bool ImGui::BeginPopupContextWindow (const char *str_id=NULL, int mouse_button=1, bool also_over_items=true)
 
bool ImGui::BeginPopupContextVoid (const char *str_id=NULL, int mouse_button=1)
 
bool ImGui::BeginPopupModal (const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
 
void ImGui::EndPopup ()
 
bool ImGui::OpenPopupOnItemClick (const char *str_id=NULL, int mouse_button=1)
 
bool ImGui::IsPopupOpen (const char *str_id)
 
void ImGui::CloseCurrentPopup ()
 
void ImGui::Columns (int count=1, const char *id=NULL, bool border=true)
 
void ImGui::NextColumn ()
 
int ImGui::GetColumnIndex ()
 
float ImGui::GetColumnWidth (int column_index=-1)
 
void ImGui::SetColumnWidth (int column_index, float width)
 
float ImGui::GetColumnOffset (int column_index=-1)
 
void ImGui::SetColumnOffset (int column_index, float offset_x)
 
int ImGui::GetColumnsCount ()
 
void ImGui::LogToTTY (int max_depth=-1)
 
void ImGui::LogToFile (int max_depth=-1, const char *filename=NULL)
 
void ImGui::LogToClipboard (int max_depth=-1)
 
void ImGui::LogFinish ()
 
void ImGui::LogButtons ()
 
void ImGui::LogText (const char *fmt,...)
 
bool ImGui::BeginDragDropSource (ImGuiDragDropFlags flags=0)
 
bool ImGui::SetDragDropPayload (const char *type, const void *data, size_t size, ImGuiCond cond=0)
 
void ImGui::EndDragDropSource ()
 
bool ImGui::BeginDragDropTarget ()
 
const ImGuiPayloadImGui::AcceptDragDropPayload (const char *type, ImGuiDragDropFlags flags=0)
 
void ImGui::EndDragDropTarget ()
 
void ImGui::PushClipRect (const ImVec2 &clip_rect_min, const ImVec2 &clip_rect_max, bool intersect_with_current_clip_rect)
 
void ImGui::PopClipRect ()
 
void ImGui::SetItemDefaultFocus ()
 
void ImGui::SetKeyboardFocusHere (int offset=0)
 
bool ImGui::IsItemHovered (ImGuiHoveredFlags flags=0)
 
bool ImGui::IsItemActive ()
 
bool ImGui::IsItemFocused ()
 
bool ImGui::IsItemClicked (int mouse_button=0)
 
bool ImGui::IsItemVisible ()
 
bool ImGui::IsAnyItemHovered ()
 
bool ImGui::IsAnyItemActive ()
 
bool ImGui::IsAnyItemFocused ()
 
ImVec2 ImGui::GetItemRectMin ()
 
ImVec2 ImGui::GetItemRectMax ()
 
ImVec2 ImGui::GetItemRectSize ()
 
void ImGui::SetItemAllowOverlap ()
 
bool ImGui::IsRectVisible (const ImVec2 &size)
 
bool ImGui::IsRectVisible (const ImVec2 &rect_min, const ImVec2 &rect_max)
 
float ImGui::GetTime ()
 
int ImGui::GetFrameCount ()
 
ImDrawListImGui::GetOverlayDrawList ()
 
ImDrawListSharedDataImGui::GetDrawListSharedData ()
 
const char * ImGui::GetStyleColorName (ImGuiCol idx)
 
void ImGui::SetStateStorage (ImGuiStorage *storage)
 
ImGuiStorageImGui::GetStateStorage ()
 
ImVec2 ImGui::CalcTextSize (const char *text, const char *text_end=NULL, bool hide_text_after_double_hash=false, float wrap_width=-1.0f)
 
void ImGui::CalcListClipping (int items_count, float items_height, int *out_items_display_start, int *out_items_display_end)
 
bool ImGui::BeginChildFrame (ImGuiID id, const ImVec2 &size, ImGuiWindowFlags flags=0)
 
void ImGui::EndChildFrame ()
 
ImVec4 ImGui::ColorConvertU32ToFloat4 (ImU32 in)
 
ImU32 ImGui::ColorConvertFloat4ToU32 (const ImVec4 &in)
 
void ImGui::ColorConvertRGBtoHSV (float r, float g, float b, float &out_h, float &out_s, float &out_v)
 
void ImGui::ColorConvertHSVtoRGB (float h, float s, float v, float &out_r, float &out_g, float &out_b)
 
int ImGui::GetKeyIndex (ImGuiKey imgui_key)
 
bool ImGui::IsKeyDown (int user_key_index)
 
bool ImGui::IsKeyPressed (int user_key_index, bool repeat=true)
 
bool ImGui::IsKeyReleased (int user_key_index)
 
int ImGui::GetKeyPressedAmount (int key_index, float repeat_delay, float rate)
 
bool ImGui::IsMouseDown (int button)
 
bool ImGui::IsAnyMouseDown ()
 
bool ImGui::IsMouseClicked (int button, bool repeat=false)
 
bool ImGui::IsMouseDoubleClicked (int button)
 
bool ImGui::IsMouseReleased (int button)
 
bool ImGui::IsMouseDragging (int button=0, float lock_threshold=-1.0f)
 
bool ImGui::IsMouseHoveringRect (const ImVec2 &r_min, const ImVec2 &r_max, bool clip=true)
 
bool ImGui::IsMousePosValid (const ImVec2 *mouse_pos=NULL)
 
ImVec2 ImGui::GetMousePos ()
 
ImVec2 ImGui::GetMousePosOnOpeningCurrentPopup ()
 
ImVec2 ImGui::GetMouseDragDelta (int button=0, float lock_threshold=-1.0f)
 
void ImGui::ResetMouseDragDelta (int button=0)
 
ImGuiMouseCursor ImGui::GetMouseCursor ()
 
void ImGui::SetMouseCursor (ImGuiMouseCursor type)
 
void ImGui::CaptureKeyboardFromApp (bool capture=true)
 
void ImGui::CaptureMouseFromApp (bool capture=true)
 
const char * ImGui::GetClipboardText ()
 
void ImGui::SetClipboardText (const char *text)
 
void ImGui::LoadIniSettingsFromDisk (const char *ini_filename)
 
void ImGui::LoadIniSettingsFromMemory (const char *ini_data, size_t ini_size=0)
 
void ImGui::SaveIniSettingsToDisk (const char *ini_filename)
 
const char * ImGui::SaveIniSettingsToMemory (size_t *out_ini_size=NULL)
 
void ImGui::SetAllocatorFunctions (void *(*alloc_func)(size_t sz, void *user_data), void(*free_func)(void *ptr, void *user_data), void *user_data=NULL)
 
voidImGui::MemAlloc (size_t size)
 
void ImGui::MemFree (void *ptr)
 
bool ImGui::InputFloat (const char *label, float *v, float step, float step_fast, int decimal_precision, ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputFloat2 (const char *label, float v[2], int decimal_precision, ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputFloat3 (const char *label, float v[3], int decimal_precision, ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::InputFloat4 (const char *label, float v[4], int decimal_precision, ImGuiInputTextFlags extra_flags=0)
 
bool ImGui::Begin (const char *name, bool *p_open, const ImVec2 &size_on_first_use, float bg_alpha_override=-1.0f, ImGuiWindowFlags flags=0)
 
voidoperator new (size_t, ImNewDummy, void *ptr)
 
void operator delete (void *, ImNewDummy, void *)
 
template<typename T >
void IM_DELETE (T *p)
 

Macro Definition Documentation

#define IM_ARRAYSIZE (   _ARR)    ((int)(sizeof(_ARR)/sizeof(*_ARR)))
#define IM_ASSERT (   _EXPR)    assert(_EXPR)
#define IM_COL32 (   R,
  G,
  B,
 
)    (((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))
#define IM_COL32_A_MASK   0xFF000000
#define IM_COL32_A_SHIFT   24
#define IM_COL32_B_SHIFT   16
#define IM_COL32_BLACK   IM_COL32(0,0,0,255)
#define IM_COL32_BLACK_TRANS   IM_COL32(0,0,0,0)
#define IM_COL32_G_SHIFT   8
#define IM_COL32_R_SHIFT   0
#define IM_COL32_WHITE   IM_COL32(255,255,255,255)
#define IM_FMTARGS (   FMT)
#define IM_FMTLIST (   FMT)
#define IM_NEW (   _TYPE)    new(ImNewDummy(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE
#define IM_OFFSETOF (   _TYPE,
  _MEMBER 
)    ((size_t)&(((_TYPE*)0)->_MEMBER))
#define IM_PLACEMENT_NEW (   _PTR)    new(ImNewDummy(), _PTR)
#define IMGUI_API
#define IMGUI_CHECKVERSION ( )    ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert))
#define IMGUI_ONCE_UPON_A_FRAME   static ImGuiOnceUponAFrame imgui_oaf; if (imgui_oaf)
#define IMGUI_PAYLOAD_TYPE_COLOR_3F   "_COL3F"
#define IMGUI_PAYLOAD_TYPE_COLOR_4F   "_COL4F"
#define IMGUI_VERSION   "1.62 WIP"

Typedef Documentation

typedef void(* ImDrawCallback) (const ImDrawList *parent_list, const ImDrawCmd *cmd)
typedef unsigned short ImDrawIdx
typedef int ImGuiCol
typedef int ImGuiCond
typedef int ImGuiDataType
typedef int ImGuiDir
typedef unsigned int ImGuiID
typedef int ImGuiKey
typedef int ImGuiNavInput
typedef void(* ImGuiSizeCallback) (ImGuiSizeCallbackData *data)
typedef int ImGuiStyleVar
typedef int(* ImGuiTextEditCallback) (ImGuiTextEditCallbackData *data)
typedef signed int ImS32
typedef signed long long ImS64
typedef void* ImTextureID
typedef unsigned int ImU32
typedef unsigned long long ImU64
typedef unsigned short ImWchar

Enumeration Type Documentation

Enumerator
ImDrawCornerFlags_TopLeft 
ImDrawCornerFlags_TopRight 
ImDrawCornerFlags_BotLeft 
ImDrawCornerFlags_BotRight 
ImDrawCornerFlags_Top 
ImDrawCornerFlags_Bot 
ImDrawCornerFlags_Left 
ImDrawCornerFlags_Right 
ImDrawCornerFlags_All 
Enumerator
ImDrawListFlags_AntiAliasedLines 
ImDrawListFlags_AntiAliasedFill 
Enumerator
ImFontAtlasFlags_NoPowerOfTwoHeight 
ImFontAtlasFlags_NoMouseCursors 
Enumerator
ImGuiBackendFlags_HasGamepad 
ImGuiBackendFlags_HasMouseCursors 
ImGuiBackendFlags_HasSetMousePos 
enum ImGuiCol_
Enumerator
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_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_PlotLines 
ImGuiCol_PlotLinesHovered 
ImGuiCol_PlotHistogram 
ImGuiCol_PlotHistogramHovered 
ImGuiCol_TextSelectedBg 
ImGuiCol_ModalWindowDarkening 
ImGuiCol_DragDropTarget 
ImGuiCol_NavHighlight 
ImGuiCol_NavWindowingHighlight 
ImGuiCol_COUNT 
ImGuiCol_ChildWindowBg 
ImGuiCol_Column 
ImGuiCol_ColumnHovered 
ImGuiCol_ColumnActive 
Enumerator
ImGuiColorEditFlags_NoAlpha 
ImGuiColorEditFlags_NoPicker 
ImGuiColorEditFlags_NoOptions 
ImGuiColorEditFlags_NoSmallPreview 
ImGuiColorEditFlags_NoInputs 
ImGuiColorEditFlags_NoTooltip 
ImGuiColorEditFlags_NoLabel 
ImGuiColorEditFlags_NoSidePreview 
ImGuiColorEditFlags_NoDragDrop 
ImGuiColorEditFlags_AlphaBar 
ImGuiColorEditFlags_AlphaPreview 
ImGuiColorEditFlags_AlphaPreviewHalf 
ImGuiColorEditFlags_HDR 
ImGuiColorEditFlags_RGB 
ImGuiColorEditFlags_HSV 
ImGuiColorEditFlags_HEX 
ImGuiColorEditFlags_Uint8 
ImGuiColorEditFlags_Float 
ImGuiColorEditFlags_PickerHueBar 
ImGuiColorEditFlags_PickerHueWheel 
ImGuiColorEditFlags__InputsMask 
ImGuiColorEditFlags__DataTypeMask 
ImGuiColorEditFlags__PickerMask 
ImGuiColorEditFlags__OptionsDefault 
Enumerator
ImGuiComboFlags_PopupAlignLeft 
ImGuiComboFlags_HeightSmall 
ImGuiComboFlags_HeightRegular 
ImGuiComboFlags_HeightLarge 
ImGuiComboFlags_HeightLargest 
ImGuiComboFlags_NoArrowButton 
ImGuiComboFlags_NoPreview 
ImGuiComboFlags_HeightMask_ 
enum ImGuiCond_
Enumerator
ImGuiCond_Always 
ImGuiCond_Once 
ImGuiCond_FirstUseEver 
ImGuiCond_Appearing 
ImGuiSetCond_Always 
ImGuiSetCond_Once 
ImGuiSetCond_FirstUseEver 
ImGuiSetCond_Appearing 
Enumerator
ImGuiConfigFlags_NavEnableKeyboard 
ImGuiConfigFlags_NavEnableGamepad 
ImGuiConfigFlags_NavEnableSetMousePos 
ImGuiConfigFlags_NavNoCaptureKeyboard 
ImGuiConfigFlags_NoMouse 
ImGuiConfigFlags_NoMouseCursorChange 
ImGuiConfigFlags_IsSRGB 
ImGuiConfigFlags_IsTouchScreen 
Enumerator
ImGuiDataType_S32 
ImGuiDataType_U32 
ImGuiDataType_S64 
ImGuiDataType_U64 
ImGuiDataType_Float 
ImGuiDataType_Double 
ImGuiDataType_COUNT 
enum ImGuiDir_
Enumerator
ImGuiDir_None 
ImGuiDir_Left 
ImGuiDir_Right 
ImGuiDir_Up 
ImGuiDir_Down 
ImGuiDir_COUNT 
Enumerator
ImGuiDragDropFlags_SourceNoPreviewTooltip 
ImGuiDragDropFlags_SourceNoDisableHover 
ImGuiDragDropFlags_SourceNoHoldToOpenOthers 
ImGuiDragDropFlags_SourceAllowNullID 
ImGuiDragDropFlags_SourceExtern 
ImGuiDragDropFlags_AcceptBeforeDelivery 
ImGuiDragDropFlags_AcceptNoDrawDefaultRect 
ImGuiDragDropFlags_AcceptPeekOnly 
Enumerator
ImGuiFocusedFlags_ChildWindows 
ImGuiFocusedFlags_RootWindow 
ImGuiFocusedFlags_AnyWindow 
ImGuiFocusedFlags_RootAndChildWindows 
Enumerator
ImGuiHoveredFlags_Default 
ImGuiHoveredFlags_ChildWindows 
ImGuiHoveredFlags_RootWindow 
ImGuiHoveredFlags_AnyWindow 
ImGuiHoveredFlags_AllowWhenBlockedByPopup 
ImGuiHoveredFlags_AllowWhenBlockedByActiveItem 
ImGuiHoveredFlags_AllowWhenOverlapped 
ImGuiHoveredFlags_RectOnly 
ImGuiHoveredFlags_RootAndChildWindows 
Enumerator
ImGuiInputTextFlags_CharsDecimal 
ImGuiInputTextFlags_CharsHexadecimal 
ImGuiInputTextFlags_CharsUppercase 
ImGuiInputTextFlags_CharsNoBlank 
ImGuiInputTextFlags_AutoSelectAll 
ImGuiInputTextFlags_EnterReturnsTrue 
ImGuiInputTextFlags_CallbackCompletion 
ImGuiInputTextFlags_CallbackHistory 
ImGuiInputTextFlags_CallbackAlways 
ImGuiInputTextFlags_CallbackCharFilter 
ImGuiInputTextFlags_AllowTabInput 
ImGuiInputTextFlags_CtrlEnterForNewLine 
ImGuiInputTextFlags_NoHorizontalScroll 
ImGuiInputTextFlags_AlwaysInsertMode 
ImGuiInputTextFlags_ReadOnly 
ImGuiInputTextFlags_Password 
ImGuiInputTextFlags_NoUndoRedo 
ImGuiInputTextFlags_CharsScientific 
ImGuiInputTextFlags_Multiline 
enum ImGuiKey_
Enumerator
ImGuiKey_Tab 
ImGuiKey_LeftArrow 
ImGuiKey_RightArrow 
ImGuiKey_UpArrow 
ImGuiKey_DownArrow 
ImGuiKey_PageUp 
ImGuiKey_PageDown 
ImGuiKey_Home 
ImGuiKey_End 
ImGuiKey_Insert 
ImGuiKey_Delete 
ImGuiKey_Backspace 
ImGuiKey_Space 
ImGuiKey_Enter 
ImGuiKey_Escape 
ImGuiKey_A 
ImGuiKey_C 
ImGuiKey_V 
ImGuiKey_X 
ImGuiKey_Y 
ImGuiKey_Z 
ImGuiKey_COUNT 
Enumerator
ImGuiMouseCursor_None 
ImGuiMouseCursor_Arrow 
ImGuiMouseCursor_TextInput 
ImGuiMouseCursor_ResizeAll 
ImGuiMouseCursor_ResizeNS 
ImGuiMouseCursor_ResizeEW 
ImGuiMouseCursor_ResizeNESW 
ImGuiMouseCursor_ResizeNWSE 
ImGuiMouseCursor_COUNT 
ImGuiMouseCursor_Count_ 
Enumerator
ImGuiNavInput_Activate 
ImGuiNavInput_Cancel 
ImGuiNavInput_Input 
ImGuiNavInput_Menu 
ImGuiNavInput_DpadLeft 
ImGuiNavInput_DpadRight 
ImGuiNavInput_DpadUp 
ImGuiNavInput_DpadDown 
ImGuiNavInput_LStickLeft 
ImGuiNavInput_LStickRight 
ImGuiNavInput_LStickUp 
ImGuiNavInput_LStickDown 
ImGuiNavInput_FocusPrev 
ImGuiNavInput_FocusNext 
ImGuiNavInput_TweakSlow 
ImGuiNavInput_TweakFast 
ImGuiNavInput_KeyMenu_ 
ImGuiNavInput_KeyLeft_ 
ImGuiNavInput_KeyRight_ 
ImGuiNavInput_KeyUp_ 
ImGuiNavInput_KeyDown_ 
ImGuiNavInput_COUNT 
ImGuiNavInput_InternalStart_ 
Enumerator
ImGuiSelectableFlags_DontClosePopups 
ImGuiSelectableFlags_SpanAllColumns 
ImGuiSelectableFlags_AllowDoubleClick 
Enumerator
ImGuiStyleVar_Alpha 
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_ScrollbarSize 
ImGuiStyleVar_ScrollbarRounding 
ImGuiStyleVar_GrabMinSize 
ImGuiStyleVar_GrabRounding 
ImGuiStyleVar_ButtonTextAlign 
ImGuiStyleVar_COUNT 
ImGuiStyleVar_Count_ 
ImGuiStyleVar_ChildWindowRounding 
Enumerator
ImGuiTreeNodeFlags_Selected 
ImGuiTreeNodeFlags_Framed 
ImGuiTreeNodeFlags_AllowItemOverlap 
ImGuiTreeNodeFlags_NoTreePushOnOpen 
ImGuiTreeNodeFlags_NoAutoOpenOnLog 
ImGuiTreeNodeFlags_DefaultOpen 
ImGuiTreeNodeFlags_OpenOnDoubleClick 
ImGuiTreeNodeFlags_OpenOnArrow 
ImGuiTreeNodeFlags_Leaf 
ImGuiTreeNodeFlags_Bullet 
ImGuiTreeNodeFlags_FramePadding 
ImGuiTreeNodeFlags_NavLeftJumpsBackHere 
ImGuiTreeNodeFlags_CollapsingHeader 
ImGuiTreeNodeFlags_AllowOverlapMode 
Enumerator
ImGuiWindowFlags_NoTitleBar 
ImGuiWindowFlags_NoResize 
ImGuiWindowFlags_NoMove 
ImGuiWindowFlags_NoScrollbar 
ImGuiWindowFlags_NoScrollWithMouse 
ImGuiWindowFlags_NoCollapse 
ImGuiWindowFlags_AlwaysAutoResize 
ImGuiWindowFlags_NoSavedSettings 
ImGuiWindowFlags_NoInputs 
ImGuiWindowFlags_MenuBar 
ImGuiWindowFlags_HorizontalScrollbar 
ImGuiWindowFlags_NoFocusOnAppearing 
ImGuiWindowFlags_NoBringToFrontOnFocus 
ImGuiWindowFlags_AlwaysVerticalScrollbar 
ImGuiWindowFlags_AlwaysHorizontalScrollbar 
ImGuiWindowFlags_AlwaysUseWindowPadding 
ImGuiWindowFlags_ResizeFromAnySide 
ImGuiWindowFlags_NoNavInputs 
ImGuiWindowFlags_NoNavFocus 
ImGuiWindowFlags_NoNav 
ImGuiWindowFlags_NavFlattened 
ImGuiWindowFlags_ChildWindow 
ImGuiWindowFlags_Tooltip 
ImGuiWindowFlags_Popup 
ImGuiWindowFlags_Modal 
ImGuiWindowFlags_ChildMenu 

Function Documentation

template<typename T >
void IM_DELETE ( T *  p)

Here is the call graph for this function:

Here is the caller graph for this function:

void operator delete ( void ,
ImNewDummy  ,
void  
)
inline
void* operator new ( size_t  ,
ImNewDummy  ,
void ptr 
)
inline