Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
Classes | 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 "Engine/api.hpp"
#include <assert.h>

Go to the source code of this file.

Classes

struct  ImVec2
 
struct  ImVec4
 
struct  ImGuiStyle
 
struct  ImGuiIO
 
class  ImVector< T >
 
struct  ImGuiOnceUponAFrame
 
struct  ImGuiTextFilter
 
struct  ImGuiTextFilter::TextRange
 
struct  ImGuiTextBuffer
 
struct  ImGuiStorage
 
struct  ImGuiStorage::Pair
 
struct  ImGuiTextEditCallbackData
 
struct  ImGuiSizeConstraintCallbackData
 
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.52 WIP"
 
#define IMGUI_API   ENGINE_API
 
#define IM_ASSERT(_EXPR)   assert(_EXPR)
 
#define IM_FMTARGS(FMT)
 
#define IM_FMTLIST(FMT)
 
#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 unsigned int ImU32
 
typedef unsigned int ImGuiID
 
typedef unsigned short ImWchar
 
typedef void * ImTextureID
 
typedef int ImGuiCol
 
typedef int ImGuiStyleVar
 
typedef int ImGuiKey
 
typedef int ImGuiColorEditFlags
 
typedef int ImGuiMouseCursor
 
typedef int ImGuiWindowFlags
 
typedef int ImGuiCond
 
typedef int ImGuiColumnsFlags
 
typedef int ImGuiInputTextFlags
 
typedef int ImGuiSelectableFlags
 
typedef int ImGuiTreeNodeFlags
 
typedef int(* ImGuiTextEditCallback) (ImGuiTextEditCallbackData *data)
 
typedef void(* ImGuiSizeConstraintCallback) (ImGuiSizeConstraintCallbackData *data)
 
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_ShowBorders = 1 << 7,
  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_ChildWindow = 1 << 22, ImGuiWindowFlags_ComboBox = 1 << 23, ImGuiWindowFlags_Tooltip = 1 << 24,
  ImGuiWindowFlags_Popup = 1 << 25, ImGuiWindowFlags_Modal = 1 << 26, ImGuiWindowFlags_ChildMenu = 1 << 27
}
 
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_Multiline = 1 << 20
}
 
enum  ImGuiTreeNodeFlags_ {
  ImGuiTreeNodeFlags_Selected = 1 << 0, ImGuiTreeNodeFlags_Framed = 1 << 1, ImGuiTreeNodeFlags_AllowOverlapMode = 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_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoAutoOpenOnLog
}
 
enum  ImGuiSelectableFlags_ { ImGuiSelectableFlags_DontClosePopups = 1 << 0, ImGuiSelectableFlags_SpanAllColumns = 1 << 1, ImGuiSelectableFlags_AllowDoubleClick = 1 << 2 }
 
enum  ImGuiKey_ {
  ImGuiKey_Tab, ImGuiKey_LeftArrow, ImGuiKey_RightArrow, ImGuiKey_UpArrow,
  ImGuiKey_DownArrow, ImGuiKey_PageUp, ImGuiKey_PageDown, ImGuiKey_Home,
  ImGuiKey_End, ImGuiKey_Delete, ImGuiKey_Backspace, ImGuiKey_Enter,
  ImGuiKey_Escape, ImGuiKey_A, ImGuiKey_C, ImGuiKey_V,
  ImGuiKey_X, ImGuiKey_Y, ImGuiKey_Z, ImGuiKey_COUNT
}
 
enum  ImGuiCol_ {
  ImGuiCol_Text, ImGuiCol_TextDisabled, ImGuiCol_WindowBg, ImGuiCol_ChildWindowBg,
  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_ComboBg, 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_CloseButton, ImGuiCol_CloseButtonHovered,
  ImGuiCol_CloseButtonActive, ImGuiCol_PlotLines, ImGuiCol_PlotLinesHovered, ImGuiCol_PlotHistogram,
  ImGuiCol_PlotHistogramHovered, ImGuiCol_TextSelectedBg, ImGuiCol_ModalWindowDarkening, ImGuiCol_COUNT,
  ImGuiCol_Column = ImGuiCol_Separator, ImGuiCol_ColumnHovered = ImGuiCol_SeparatorHovered, ImGuiCol_ColumnActive = ImGuiCol_SeparatorActive
}
 
enum  ImGuiStyleVar_ {
  ImGuiStyleVar_Alpha, ImGuiStyleVar_WindowPadding, ImGuiStyleVar_WindowRounding, ImGuiStyleVar_WindowMinSize,
  ImGuiStyleVar_ChildWindowRounding, ImGuiStyleVar_FramePadding, ImGuiStyleVar_FrameRounding, ImGuiStyleVar_ItemSpacing,
  ImGuiStyleVar_ItemInnerSpacing, ImGuiStyleVar_IndentSpacing, ImGuiStyleVar_GrabMinSize, ImGuiStyleVar_ButtonTextAlign,
  ImGuiStyleVar_Count_
}
 
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_AlphaBar = 1 << 9, ImGuiColorEditFlags_AlphaPreview = 1 << 10, ImGuiColorEditFlags_AlphaPreviewHalf = 1 << 11, ImGuiColorEditFlags_HDR = 1 << 12,
  ImGuiColorEditFlags_RGB = 1 << 13, ImGuiColorEditFlags_HSV = 1 << 14, ImGuiColorEditFlags_HEX = 1 << 15, ImGuiColorEditFlags_Uint8 = 1 << 16,
  ImGuiColorEditFlags_Float = 1 << 17, ImGuiColorEditFlags_PickerHueBar = 1 << 18, ImGuiColorEditFlags_PickerHueWheel = 1 << 19, 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_Move,
  ImGuiMouseCursor_ResizeNS, ImGuiMouseCursor_ResizeEW, ImGuiMouseCursor_ResizeNESW, ImGuiMouseCursor_ResizeNWSE,
  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
}
 

Functions

IMGUI_API ImGuiIOImGui::GetIO ()
 
IMGUI_API ImGuiStyleImGui::GetStyle ()
 
IMGUI_API ImDrawDataImGui::GetDrawData ()
 
IMGUI_API void ImGui::NewFrame ()
 
IMGUI_API void ImGui::Render ()
 
IMGUI_API void ImGui::Shutdown ()
 
IMGUI_API void ImGui::ShowTestWindow (bool *p_open=NULL)
 
IMGUI_API void ImGui::ShowMetricsWindow (bool *p_open=NULL)
 
IMGUI_API void ImGui::ShowStyleEditor (ImGuiStyle *ref=NULL)
 
IMGUI_API void ImGui::ShowUserGuide ()
 
IMGUI_API bool ImGui::Begin (const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
 
IMGUI_API bool ImGui::Begin (const char *name, bool *p_open, const ImVec2 &size_on_first_use, float bg_alpha=-1.0f, ImGuiWindowFlags flags=0)
 
IMGUI_API void ImGui::End ()
 
IMGUI_API bool ImGui::BeginChild (const char *str_id, const ImVec2 &size=ImVec2(0, 0), bool border=false, ImGuiWindowFlags extra_flags=0)
 
IMGUI_API bool ImGui::BeginChild (ImGuiID id, const ImVec2 &size=ImVec2(0, 0), bool border=false, ImGuiWindowFlags extra_flags=0)
 
IMGUI_API void ImGui::EndChild ()
 
IMGUI_API ImVec2 ImGui::GetContentRegionMax ()
 
IMGUI_API ImVec2 ImGui::GetContentRegionAvail ()
 
IMGUI_API float ImGui::GetContentRegionAvailWidth ()
 
IMGUI_API ImVec2 ImGui::GetWindowContentRegionMin ()
 
IMGUI_API ImVec2 ImGui::GetWindowContentRegionMax ()
 
IMGUI_API float ImGui::GetWindowContentRegionWidth ()
 
IMGUI_API ImDrawListImGui::GetWindowDrawList ()
 
IMGUI_API ImVec2 ImGui::GetWindowPos ()
 
IMGUI_API ImVec2 ImGui::GetWindowSize ()
 
IMGUI_API float ImGui::GetWindowWidth ()
 
IMGUI_API float ImGui::GetWindowHeight ()
 
IMGUI_API bool ImGui::IsWindowCollapsed ()
 
IMGUI_API bool ImGui::IsWindowAppearing ()
 
IMGUI_API void ImGui::SetWindowFontScale (float scale)
 
IMGUI_API void ImGui::SetNextWindowPos (const ImVec2 &pos, ImGuiCond cond=0, const ImVec2 &pivot=ImVec2(0, 0))
 
IMGUI_API void ImGui::SetNextWindowSize (const ImVec2 &size, ImGuiCond cond=0)
 
IMGUI_API void ImGui::SetNextWindowSizeConstraints (const ImVec2 &size_min, const ImVec2 &size_max, ImGuiSizeConstraintCallback custom_callback=NULL, void *custom_callback_data=NULL)
 
IMGUI_API void ImGui::SetNextWindowContentSize (const ImVec2 &size)
 
IMGUI_API void ImGui::SetNextWindowContentWidth (float width)
 
IMGUI_API void ImGui::SetNextWindowCollapsed (bool collapsed, ImGuiCond cond=0)
 
IMGUI_API void ImGui::SetNextWindowFocus ()
 
IMGUI_API void ImGui::SetWindowPos (const ImVec2 &pos, ImGuiCond cond=0)
 
IMGUI_API void ImGui::SetWindowSize (const ImVec2 &size, ImGuiCond cond=0)
 
IMGUI_API void ImGui::SetWindowCollapsed (bool collapsed, ImGuiCond cond=0)
 
IMGUI_API void ImGui::SetWindowFocus ()
 
IMGUI_API void ImGui::SetWindowPos (const char *name, const ImVec2 &pos, ImGuiCond cond=0)
 
IMGUI_API void ImGui::SetWindowSize (const char *name, const ImVec2 &size, ImGuiCond cond=0)
 
IMGUI_API void ImGui::SetWindowCollapsed (const char *name, bool collapsed, ImGuiCond cond=0)
 
IMGUI_API void ImGui::SetWindowFocus (const char *name)
 
IMGUI_API float ImGui::GetScrollX ()
 
IMGUI_API float ImGui::GetScrollY ()
 
IMGUI_API float ImGui::GetScrollMaxX ()
 
IMGUI_API float ImGui::GetScrollMaxY ()
 
IMGUI_API void ImGui::SetScrollX (float scroll_x)
 
IMGUI_API void ImGui::SetScrollY (float scroll_y)
 
IMGUI_API void ImGui::SetScrollHere (float center_y_ratio=0.5f)
 
IMGUI_API void ImGui::SetScrollFromPosY (float pos_y, float center_y_ratio=0.5f)
 
IMGUI_API void ImGui::SetKeyboardFocusHere (int offset=0)
 
IMGUI_API void ImGui::SetStateStorage (ImGuiStorage *tree)
 
IMGUI_API ImGuiStorageImGui::GetStateStorage ()
 
IMGUI_API void ImGui::PushFont (ImFont *font)
 
IMGUI_API void ImGui::PopFont ()
 
IMGUI_API void ImGui::PushStyleColor (ImGuiCol idx, ImU32 col)
 
IMGUI_API void ImGui::PushStyleColor (ImGuiCol idx, const ImVec4 &col)
 
IMGUI_API void ImGui::PopStyleColor (int count=1)
 
IMGUI_API void ImGui::PushStyleVar (ImGuiStyleVar idx, float val)
 
IMGUI_API void ImGui::PushStyleVar (ImGuiStyleVar idx, const ImVec2 &val)
 
IMGUI_API void ImGui::PopStyleVar (int count=1)
 
IMGUI_API const ImVec4ImGui::GetStyleColorVec4 (ImGuiCol idx)
 
IMGUI_API ImFontImGui::GetFont ()
 
IMGUI_API float ImGui::GetFontSize ()
 
IMGUI_API ImVec2 ImGui::GetFontTexUvWhitePixel ()
 
IMGUI_API ImU32 ImGui::GetColorU32 (ImGuiCol idx, float alpha_mul=1.0f)
 
IMGUI_API ImU32 ImGui::GetColorU32 (const ImVec4 &col)
 
IMGUI_API ImU32 ImGui::GetColorU32 (ImU32 col)
 
IMGUI_API void ImGui::PushItemWidth (float item_width)
 
IMGUI_API void ImGui::PopItemWidth ()
 
IMGUI_API float ImGui::CalcItemWidth ()
 
IMGUI_API void ImGui::PushTextWrapPos (float wrap_pos_x=0.0f)
 
IMGUI_API void ImGui::PopTextWrapPos ()
 
IMGUI_API void ImGui::PushAllowKeyboardFocus (bool allow_keyboard_focus)
 
IMGUI_API void ImGui::PopAllowKeyboardFocus ()
 
IMGUI_API void ImGui::PushButtonRepeat (bool repeat)
 
IMGUI_API void ImGui::PopButtonRepeat ()
 
IMGUI_API void ImGui::Separator ()
 
IMGUI_API void ImGui::SameLine (float pos_x=0.0f, float spacing_w=-1.0f)
 
IMGUI_API void ImGui::NewLine ()
 
IMGUI_API void ImGui::Spacing ()
 
IMGUI_API void ImGui::Dummy (const ImVec2 &size)
 
IMGUI_API void ImGui::Indent (float indent_w=0.0f)
 
IMGUI_API void ImGui::Unindent (float indent_w=0.0f)
 
IMGUI_API void ImGui::BeginGroup ()
 
IMGUI_API void ImGui::EndGroup ()
 
IMGUI_API ImVec2 ImGui::GetCursorPos ()
 
IMGUI_API float ImGui::GetCursorPosX ()
 
IMGUI_API float ImGui::GetCursorPosY ()
 
IMGUI_API void ImGui::SetCursorPos (const ImVec2 &local_pos)
 
IMGUI_API void ImGui::SetCursorPosX (float x)
 
IMGUI_API void ImGui::SetCursorPosY (float y)
 
IMGUI_API ImVec2 ImGui::GetCursorStartPos ()
 
IMGUI_API ImVec2 ImGui::GetCursorScreenPos ()
 
IMGUI_API void ImGui::SetCursorScreenPos (const ImVec2 &pos)
 
IMGUI_API void ImGui::AlignFirstTextHeightToWidgets ()
 
IMGUI_API float ImGui::GetTextLineHeight ()
 
IMGUI_API float ImGui::GetTextLineHeightWithSpacing ()
 
IMGUI_API float ImGui::GetItemsLineHeightWithSpacing ()
 
IMGUI_API void ImGui::Columns (int count=1, const char *id=NULL, bool border=true)
 
IMGUI_API void ImGui::NextColumn ()
 
IMGUI_API int ImGui::GetColumnIndex ()
 
IMGUI_API float ImGui::GetColumnWidth (int column_index=-1)
 
IMGUI_API void ImGui::SetColumnWidth (int column_index, float width)
 
IMGUI_API float ImGui::GetColumnOffset (int column_index=-1)
 
IMGUI_API void ImGui::SetColumnOffset (int column_index, float offset_x)
 
IMGUI_API int ImGui::GetColumnsCount ()
 
IMGUI_API void ImGui::PushID (const char *str_id)
 
IMGUI_API void ImGui::PushID (const char *str_id_begin, const char *str_id_end)
 
IMGUI_API void ImGui::PushID (const void *ptr_id)
 
IMGUI_API void ImGui::PushID (int int_id)
 
IMGUI_API void ImGui::PopID ()
 
IMGUI_API ImGuiID ImGui::GetID (const char *str_id)
 
IMGUI_API ImGuiID ImGui::GetID (const char *str_id_begin, const char *str_id_end)
 
IMGUI_API ImGuiID ImGui::GetID (const void *ptr_id)
 
IMGUI_API void ImGui::TextUnformatted (const char *text, const char *text_end=NULL)
 
IMGUI_API void ImGui::Text (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void ImGui::TextV (const char *fmt, va_list args) IM_FMTLIST(1)
 
IMGUI_API void ImGui::TextColored (const ImVec4 &col, const char *fmt,...) IM_FMTARGS(2)
 
IMGUI_API void ImGui::TextColoredV (const ImVec4 &col, const char *fmt, va_list args) IM_FMTLIST(2)
 
IMGUI_API void ImGui::TextDisabled (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void ImGui::TextDisabledV (const char *fmt, va_list args) IM_FMTLIST(1)
 
IMGUI_API void ImGui::TextWrapped (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void ImGui::TextWrappedV (const char *fmt, va_list args) IM_FMTLIST(1)
 
IMGUI_API void ImGui::LabelText (const char *label, const char *fmt,...) IM_FMTARGS(2)
 
IMGUI_API void ImGui::LabelTextV (const char *label, const char *fmt, va_list args) IM_FMTLIST(2)
 
IMGUI_API void ImGui::BulletText (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void ImGui::BulletTextV (const char *fmt, va_list args) IM_FMTLIST(1)
 
IMGUI_API void ImGui::Bullet ()
 
IMGUI_API bool ImGui::Button (const char *label, const ImVec2 &size=ImVec2(0, 0))
 
IMGUI_API bool ImGui::SmallButton (const char *label)
 
IMGUI_API bool ImGui::InvisibleButton (const char *str_id, const ImVec2 &size)
 
IMGUI_API 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))
 
IMGUI_API 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))
 
IMGUI_API bool ImGui::Checkbox (const char *label, bool *v)
 
IMGUI_API bool ImGui::CheckboxFlags (const char *label, unsigned int *flags, unsigned int flags_value)
 
IMGUI_API bool ImGui::RadioButton (const char *label, bool active)
 
IMGUI_API bool ImGui::RadioButton (const char *label, int *v, int v_button)
 
IMGUI_API bool ImGui::Combo (const char *label, int *current_item, const char *const *items, int items_count, int height_in_items=-1)
 
IMGUI_API bool ImGui::Combo (const char *label, int *current_item, const char *items_separated_by_zeros, int height_in_items=-1)
 
IMGUI_API 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 height_in_items=-1)
 
IMGUI_API 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))
 
IMGUI_API 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))
 
IMGUI_API 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))
 
IMGUI_API 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))
 
IMGUI_API void ImGui::ProgressBar (float fraction, const ImVec2 &size_arg=ImVec2(-1, 0), const char *overlay=NULL)
 
IMGUI_API 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 *display_format="%.3f", float power=1.0f)
 
IMGUI_API 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 *display_format="%.3f", float power=1.0f)
 
IMGUI_API 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 *display_format="%.3f", float power=1.0f)
 
IMGUI_API 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 *display_format="%.3f", float power=1.0f)
 
IMGUI_API 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 *display_format="%.3f", const char *display_format_max=NULL, float power=1.0f)
 
IMGUI_API bool ImGui::DragInt (const char *label, int *v, float v_speed=1.0f, int v_min=0, int v_max=0, const char *display_format="%.0f")
 
IMGUI_API bool ImGui::DragInt2 (const char *label, int v[2], float v_speed=1.0f, int v_min=0, int v_max=0, const char *display_format="%.0f")
 
IMGUI_API bool ImGui::DragInt3 (const char *label, int v[3], float v_speed=1.0f, int v_min=0, int v_max=0, const char *display_format="%.0f")
 
IMGUI_API bool ImGui::DragInt4 (const char *label, int v[4], float v_speed=1.0f, int v_min=0, int v_max=0, const char *display_format="%.0f")
 
IMGUI_API 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 *display_format="%.0f", const char *display_format_max=NULL)
 
IMGUI_API bool ImGui::InputText (const char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiTextEditCallback callback=NULL, void *user_data=NULL)
 
IMGUI_API 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)
 
IMGUI_API bool ImGui::InputFloat (const char *label, float *v, float step=0.0f, float step_fast=0.0f, int decimal_precision=-1, ImGuiInputTextFlags extra_flags=0)
 
IMGUI_API bool ImGui::InputFloat2 (const char *label, float v[2], int decimal_precision=-1, ImGuiInputTextFlags extra_flags=0)
 
IMGUI_API bool ImGui::InputFloat3 (const char *label, float v[3], int decimal_precision=-1, ImGuiInputTextFlags extra_flags=0)
 
IMGUI_API bool ImGui::InputFloat4 (const char *label, float v[4], int decimal_precision=-1, ImGuiInputTextFlags extra_flags=0)
 
IMGUI_API bool ImGui::InputInt (const char *label, int *v, int step=1, int step_fast=100, ImGuiInputTextFlags extra_flags=0)
 
IMGUI_API bool ImGui::InputInt2 (const char *label, int v[2], ImGuiInputTextFlags extra_flags=0)
 
IMGUI_API bool ImGui::InputInt3 (const char *label, int v[3], ImGuiInputTextFlags extra_flags=0)
 
IMGUI_API bool ImGui::InputInt4 (const char *label, int v[4], ImGuiInputTextFlags extra_flags=0)
 
IMGUI_API bool ImGui::SliderFloat (const char *label, float *v, float v_min, float v_max, const char *display_format="%.3f", float power=1.0f)
 
IMGUI_API bool ImGui::SliderFloat2 (const char *label, float v[2], float v_min, float v_max, const char *display_format="%.3f", float power=1.0f)
 
IMGUI_API bool ImGui::SliderFloat3 (const char *label, float v[3], float v_min, float v_max, const char *display_format="%.3f", float power=1.0f)
 
IMGUI_API bool ImGui::SliderFloat4 (const char *label, float v[4], float v_min, float v_max, const char *display_format="%.3f", float power=1.0f)
 
IMGUI_API bool ImGui::SliderAngle (const char *label, float *v_rad, float v_degrees_min=-360.0f, float v_degrees_max=+360.0f)
 
IMGUI_API bool ImGui::SliderInt (const char *label, int *v, int v_min, int v_max, const char *display_format="%.0f")
 
IMGUI_API bool ImGui::SliderInt2 (const char *label, int v[2], int v_min, int v_max, const char *display_format="%.0f")
 
IMGUI_API bool ImGui::SliderInt3 (const char *label, int v[3], int v_min, int v_max, const char *display_format="%.0f")
 
IMGUI_API bool ImGui::SliderInt4 (const char *label, int v[4], int v_min, int v_max, const char *display_format="%.0f")
 
IMGUI_API bool ImGui::VSliderFloat (const char *label, const ImVec2 &size, float *v, float v_min, float v_max, const char *display_format="%.3f", float power=1.0f)
 
IMGUI_API bool ImGui::VSliderInt (const char *label, const ImVec2 &size, int *v, int v_min, int v_max, const char *display_format="%.0f")
 
IMGUI_API bool ImGui::ColorEdit3 (const char *label, float col[3], ImGuiColorEditFlags flags=0)
 
IMGUI_API bool ImGui::ColorEdit4 (const char *label, float col[4], ImGuiColorEditFlags flags=0)
 
IMGUI_API bool ImGui::ColorPicker3 (const char *label, float col[3], ImGuiColorEditFlags flags=0)
 
IMGUI_API bool ImGui::ColorPicker4 (const char *label, float col[4], ImGuiColorEditFlags flags=0, const float *ref_col=NULL)
 
IMGUI_API bool ImGui::ColorButton (const char *desc_id, const ImVec4 &col, ImGuiColorEditFlags flags=0, ImVec2 size=ImVec2(0, 0))
 
IMGUI_API void ImGui::SetColorEditOptions (ImGuiColorEditFlags flags)
 
IMGUI_API bool ImGui::TreeNode (const char *label)
 
IMGUI_API bool ImGui::TreeNode (const char *str_id, const char *fmt,...) IM_FMTARGS(2)
 
IMGUI_API bool ImGui::TreeNode (const void *ptr_id, const char *fmt,...) IM_FMTARGS(2)
 
IMGUI_API bool ImGui::TreeNodeV (const char *str_id, const char *fmt, va_list args) IM_FMTLIST(2)
 
IMGUI_API bool ImGui::TreeNodeV (const void *ptr_id, const char *fmt, va_list args) IM_FMTLIST(2)
 
IMGUI_API bool ImGui::TreeNodeEx (const char *label, ImGuiTreeNodeFlags flags=0)
 
IMGUI_API bool ImGui::TreeNodeEx (const char *str_id, ImGuiTreeNodeFlags flags, const char *fmt,...) IM_FMTARGS(3)
 
IMGUI_API bool ImGui::TreeNodeEx (const void *ptr_id, ImGuiTreeNodeFlags flags, const char *fmt,...) IM_FMTARGS(3)
 
IMGUI_API bool ImGui::TreeNodeExV (const char *str_id, ImGuiTreeNodeFlags flags, const char *fmt, va_list args) IM_FMTLIST(3)
 
IMGUI_API bool ImGui::TreeNodeExV (const void *ptr_id, ImGuiTreeNodeFlags flags, const char *fmt, va_list args) IM_FMTLIST(3)
 
IMGUI_API void ImGui::TreePush (const char *str_id=NULL)
 
IMGUI_API void ImGui::TreePush (const void *ptr_id=NULL)
 
IMGUI_API void ImGui::TreePop ()
 
IMGUI_API void ImGui::TreeAdvanceToLabelPos ()
 
IMGUI_API float ImGui::GetTreeNodeToLabelSpacing ()
 
IMGUI_API void ImGui::SetNextTreeNodeOpen (bool is_open, ImGuiCond cond=0)
 
IMGUI_API bool ImGui::CollapsingHeader (const char *label, ImGuiTreeNodeFlags flags=0)
 
IMGUI_API bool ImGui::CollapsingHeader (const char *label, bool *p_open, ImGuiTreeNodeFlags flags=0)
 
IMGUI_API bool ImGui::Selectable (const char *label, bool selected=false, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0))
 
IMGUI_API bool ImGui::Selectable (const char *label, bool *p_selected, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0))
 
IMGUI_API bool ImGui::ListBox (const char *label, int *current_item, const char *const *items, int items_count, int height_in_items=-1)
 
IMGUI_API 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)
 
IMGUI_API bool ImGui::ListBoxHeader (const char *label, const ImVec2 &size=ImVec2(0, 0))
 
IMGUI_API bool ImGui::ListBoxHeader (const char *label, int items_count, int height_in_items=-1)
 
IMGUI_API void ImGui::ListBoxFooter ()
 
IMGUI_API void ImGui::Value (const char *prefix, bool b)
 
IMGUI_API void ImGui::Value (const char *prefix, int v)
 
IMGUI_API void ImGui::Value (const char *prefix, unsigned int v)
 
IMGUI_API void ImGui::Value (const char *prefix, float v, const char *float_format=NULL)
 
IMGUI_API void ImGui::SetTooltip (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void ImGui::SetTooltipV (const char *fmt, va_list args) IM_FMTLIST(1)
 
IMGUI_API void ImGui::BeginTooltip ()
 
IMGUI_API void ImGui::EndTooltip ()
 
IMGUI_API bool ImGui::BeginMainMenuBar ()
 
IMGUI_API void ImGui::EndMainMenuBar ()
 
IMGUI_API bool ImGui::BeginMenuBar ()
 
IMGUI_API void ImGui::EndMenuBar ()
 
IMGUI_API bool ImGui::BeginMenu (const char *label, bool enabled=true)
 
IMGUI_API void ImGui::EndMenu ()
 
IMGUI_API bool ImGui::MenuItem (const char *label, const char *shortcut=NULL, bool selected=false, bool enabled=true)
 
IMGUI_API bool ImGui::MenuItem (const char *label, const char *shortcut, bool *p_selected, bool enabled=true)
 
IMGUI_API void ImGui::OpenPopup (const char *str_id)
 
IMGUI_API bool ImGui::BeginPopup (const char *str_id)
 
IMGUI_API bool ImGui::BeginPopupModal (const char *name, bool *p_open=NULL, ImGuiWindowFlags extra_flags=0)
 
IMGUI_API bool ImGui::BeginPopupContextItem (const char *str_id, int mouse_button=1)
 
IMGUI_API bool ImGui::BeginPopupContextWindow (const char *str_id=NULL, int mouse_button=1, bool also_over_items=true)
 
IMGUI_API bool ImGui::BeginPopupContextVoid (const char *str_id=NULL, int mouse_button=1)
 
IMGUI_API void ImGui::EndPopup ()
 
IMGUI_API bool ImGui::IsPopupOpen (const char *str_id)
 
IMGUI_API void ImGui::CloseCurrentPopup ()
 
IMGUI_API void ImGui::LogToTTY (int max_depth=-1)
 
IMGUI_API void ImGui::LogToFile (int max_depth=-1, const char *filename=NULL)
 
IMGUI_API void ImGui::LogToClipboard (int max_depth=-1)
 
IMGUI_API void ImGui::LogFinish ()
 
IMGUI_API void ImGui::LogButtons ()
 
IMGUI_API void ImGui::LogText (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void ImGui::PushClipRect (const ImVec2 &clip_rect_min, const ImVec2 &clip_rect_max, bool intersect_with_current_clip_rect)
 
IMGUI_API void ImGui::PopClipRect ()
 
IMGUI_API void ImGui::StyleColorsClassic (ImGuiStyle *dst=NULL)
 
IMGUI_API bool ImGui::IsItemHovered ()
 
IMGUI_API bool ImGui::IsItemRectHovered ()
 
IMGUI_API bool ImGui::IsItemActive ()
 
IMGUI_API bool ImGui::IsItemClicked (int mouse_button=0)
 
IMGUI_API bool ImGui::IsItemVisible ()
 
IMGUI_API bool ImGui::IsAnyItemHovered ()
 
IMGUI_API bool ImGui::IsAnyItemActive ()
 
IMGUI_API ImVec2 ImGui::GetItemRectMin ()
 
IMGUI_API ImVec2 ImGui::GetItemRectMax ()
 
IMGUI_API ImVec2 ImGui::GetItemRectSize ()
 
IMGUI_API void ImGui::SetItemAllowOverlap ()
 
IMGUI_API bool ImGui::IsWindowFocused ()
 
IMGUI_API bool ImGui::IsWindowHovered ()
 
IMGUI_API bool ImGui::IsWindowRectHovered ()
 
IMGUI_API bool ImGui::IsRootWindowFocused ()
 
IMGUI_API bool ImGui::IsRootWindowOrAnyChildFocused ()
 
IMGUI_API bool ImGui::IsRootWindowOrAnyChildHovered ()
 
IMGUI_API bool ImGui::IsAnyWindowHovered ()
 
IMGUI_API bool ImGui::IsRectVisible (const ImVec2 &size)
 
IMGUI_API bool ImGui::IsRectVisible (const ImVec2 &rect_min, const ImVec2 &rect_max)
 
IMGUI_API float ImGui::GetTime ()
 
IMGUI_API int ImGui::GetFrameCount ()
 
IMGUI_API const char * ImGui::GetStyleColorName (ImGuiCol idx)
 
IMGUI_API ImVec2 ImGui::CalcItemRectClosestPoint (const ImVec2 &pos, bool on_edge=false, float outward=+0.0f)
 
IMGUI_API ImVec2 ImGui::CalcTextSize (const char *text, const char *text_end=NULL, bool hide_text_after_double_hash=false, float wrap_width=-1.0f)
 
IMGUI_API void ImGui::CalcListClipping (int items_count, float items_height, int *out_items_display_start, int *out_items_display_end)
 
IMGUI_API bool ImGui::BeginChildFrame (ImGuiID id, const ImVec2 &size, ImGuiWindowFlags extra_flags=0)
 
IMGUI_API void ImGui::EndChildFrame ()
 
IMGUI_API ImVec4 ImGui::ColorConvertU32ToFloat4 (ImU32 in)
 
IMGUI_API ImU32 ImGui::ColorConvertFloat4ToU32 (const ImVec4 &in)
 
IMGUI_API void ImGui::ColorConvertRGBtoHSV (float r, float g, float b, float &out_h, float &out_s, float &out_v)
 
IMGUI_API void ImGui::ColorConvertHSVtoRGB (float h, float s, float v, float &out_r, float &out_g, float &out_b)
 
IMGUI_API int ImGui::GetKeyIndex (ImGuiKey imgui_key)
 
IMGUI_API bool ImGui::IsKeyDown (int user_key_index)
 
IMGUI_API bool ImGui::IsKeyPressed (int user_key_index, bool repeat=true)
 
IMGUI_API bool ImGui::IsKeyReleased (int user_key_index)
 
IMGUI_API int ImGui::GetKeyPressedAmount (int key_index, float repeat_delay, float rate)
 
IMGUI_API bool ImGui::IsMouseDown (int button)
 
IMGUI_API bool ImGui::IsMouseClicked (int button, bool repeat=false)
 
IMGUI_API bool ImGui::IsMouseDoubleClicked (int button)
 
IMGUI_API bool ImGui::IsMouseReleased (int button)
 
IMGUI_API bool ImGui::IsMouseDragging (int button=0, float lock_threshold=-1.0f)
 
IMGUI_API bool ImGui::IsMouseHoveringRect (const ImVec2 &r_min, const ImVec2 &r_max, bool clip=true)
 
IMGUI_API bool ImGui::IsMousePosValid (const ImVec2 *mouse_pos=NULL)
 
IMGUI_API ImVec2 ImGui::GetMousePos ()
 
IMGUI_API ImVec2 ImGui::GetMousePosOnOpeningCurrentPopup ()
 
IMGUI_API ImVec2 ImGui::GetMouseDragDelta (int button=0, float lock_threshold=-1.0f)
 
IMGUI_API void ImGui::ResetMouseDragDelta (int button=0)
 
IMGUI_API ImGuiMouseCursor ImGui::GetMouseCursor ()
 
IMGUI_API void ImGui::SetMouseCursor (ImGuiMouseCursor type)
 
IMGUI_API void ImGui::CaptureKeyboardFromApp (bool capture=true)
 
IMGUI_API void ImGui::CaptureMouseFromApp (bool capture=true)
 
IMGUI_API void * ImGui::MemAlloc (size_t sz)
 
IMGUI_API void ImGui::MemFree (void *ptr)
 
IMGUI_API const char * ImGui::GetClipboardText ()
 
IMGUI_API void ImGui::SetClipboardText (const char *text)
 
IMGUI_API const char * ImGui::GetVersion ()
 
IMGUI_API ImGuiContextImGui::CreateContext (void *(*malloc_fn)(size_t)=NULL, void(*free_fn)(void *)=NULL)
 
IMGUI_API void ImGui::DestroyContext (ImGuiContext *ctx)
 
IMGUI_API ImGuiContextImGui::GetCurrentContext ()
 
IMGUI_API void ImGui::SetCurrentContext (ImGuiContext *ctx)
 
void ImGui::SetNextWindowPosCenter (ImGuiCond cond=0)
 

Macro Definition Documentation

#define IM_ASSERT (   _EXPR)    assert(_EXPR)

Definition at line 30 of file imgui.h.

#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))

Definition at line 1112 of file imgui.h.

#define IM_COL32_A_MASK   0xFF000000

Definition at line 1110 of file imgui.h.

#define IM_COL32_A_SHIFT   24

Definition at line 1109 of file imgui.h.

#define IM_COL32_B_SHIFT   16

Definition at line 1108 of file imgui.h.

#define IM_COL32_BLACK   IM_COL32(0,0,0,255)

Definition at line 1114 of file imgui.h.

#define IM_COL32_BLACK_TRANS   IM_COL32(0,0,0,0)

Definition at line 1115 of file imgui.h.

#define IM_COL32_G_SHIFT   8

Definition at line 1107 of file imgui.h.

#define IM_COL32_R_SHIFT   0

Definition at line 1106 of file imgui.h.

#define IM_COL32_WHITE   IM_COL32(255,255,255,255)

Definition at line 1113 of file imgui.h.

#define IM_FMTARGS (   FMT)

Definition at line 38 of file imgui.h.

#define IM_FMTLIST (   FMT)

Definition at line 39 of file imgui.h.

#define IMGUI_API   ENGINE_API

Definition at line 24 of file imgui.h.

#define IMGUI_ONCE_UPON_A_FRAME   static ImGuiOnceUponAFrame imgui_oaf; if (imgui_oaf)

Definition at line 962 of file imgui.h.

#define IMGUI_VERSION   "1.52 WIP"

Definition at line 20 of file imgui.h.

Typedef Documentation

typedef void(* ImDrawCallback) (const ImDrawList *parent_list, const ImDrawCmd *cmd)

Definition at line 1177 of file imgui.h.

typedef unsigned short ImDrawIdx

Definition at line 1193 of file imgui.h.

typedef int ImGuiCol

Definition at line 73 of file imgui.h.

typedef int ImGuiColorEditFlags

Definition at line 76 of file imgui.h.

typedef int ImGuiColumnsFlags

Definition at line 80 of file imgui.h.

typedef int ImGuiCond

Definition at line 79 of file imgui.h.

typedef unsigned int ImGuiID

Definition at line 70 of file imgui.h.

typedef int ImGuiInputTextFlags

Definition at line 81 of file imgui.h.

typedef int ImGuiKey

Definition at line 75 of file imgui.h.

typedef int ImGuiMouseCursor

Definition at line 77 of file imgui.h.

typedef int ImGuiSelectableFlags

Definition at line 82 of file imgui.h.

typedef void(* ImGuiSizeConstraintCallback) (ImGuiSizeConstraintCallbackData *data)

Definition at line 85 of file imgui.h.

typedef int ImGuiStyleVar

Definition at line 74 of file imgui.h.

typedef int(* ImGuiTextEditCallback) (ImGuiTextEditCallbackData *data)

Definition at line 84 of file imgui.h.

typedef int ImGuiTreeNodeFlags

Definition at line 83 of file imgui.h.

typedef int ImGuiWindowFlags

Definition at line 78 of file imgui.h.

typedef void* ImTextureID

Definition at line 72 of file imgui.h.

typedef unsigned int ImU32

Definition at line 66 of file imgui.h.

typedef unsigned long long ImU64

Definition at line 89 of file imgui.h.

typedef unsigned short ImWchar

Definition at line 71 of file imgui.h.

Enumeration Type Documentation

enum ImGuiCol_
Enumerator
ImGuiCol_Text 
ImGuiCol_TextDisabled 
ImGuiCol_WindowBg 
ImGuiCol_ChildWindowBg 
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_ComboBg 
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_CloseButton 
ImGuiCol_CloseButtonHovered 
ImGuiCol_CloseButtonActive 
ImGuiCol_PlotLines 
ImGuiCol_PlotLinesHovered 
ImGuiCol_PlotHistogram 
ImGuiCol_PlotHistogramHovered 
ImGuiCol_TextSelectedBg 
ImGuiCol_ModalWindowDarkening 
ImGuiCol_COUNT 
ImGuiCol_Column 
ImGuiCol_ColumnHovered 
ImGuiCol_ColumnActive 

Definition at line 612 of file imgui.h.

Enumerator
ImGuiColorEditFlags_NoAlpha 
ImGuiColorEditFlags_NoPicker 
ImGuiColorEditFlags_NoOptions 
ImGuiColorEditFlags_NoSmallPreview 
ImGuiColorEditFlags_NoInputs 
ImGuiColorEditFlags_NoTooltip 
ImGuiColorEditFlags_NoLabel 
ImGuiColorEditFlags_NoSidePreview 
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 

Definition at line 687 of file imgui.h.

enum ImGuiCond_
Enumerator
ImGuiCond_Always 
ImGuiCond_Once 
ImGuiCond_FirstUseEver 
ImGuiCond_Appearing 
ImGuiSetCond_Always 
ImGuiSetCond_Once 
ImGuiSetCond_FirstUseEver 
ImGuiSetCond_Appearing 

Definition at line 732 of file imgui.h.

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_Multiline 

Definition at line 536 of file imgui.h.

enum ImGuiKey_
Enumerator
ImGuiKey_Tab 
ImGuiKey_LeftArrow 
ImGuiKey_RightArrow 
ImGuiKey_UpArrow 
ImGuiKey_DownArrow 
ImGuiKey_PageUp 
ImGuiKey_PageDown 
ImGuiKey_Home 
ImGuiKey_End 
ImGuiKey_Delete 
ImGuiKey_Backspace 
ImGuiKey_Enter 
ImGuiKey_Escape 
ImGuiKey_A 
ImGuiKey_C 
ImGuiKey_V 
ImGuiKey_X 
ImGuiKey_Y 
ImGuiKey_Z 
ImGuiKey_COUNT 

Definition at line 587 of file imgui.h.

Enumerator
ImGuiMouseCursor_None 
ImGuiMouseCursor_Arrow 
ImGuiMouseCursor_TextInput 
ImGuiMouseCursor_Move 
ImGuiMouseCursor_ResizeNS 
ImGuiMouseCursor_ResizeEW 
ImGuiMouseCursor_ResizeNESW 
ImGuiMouseCursor_ResizeNWSE 
ImGuiMouseCursor_Count_ 

Definition at line 717 of file imgui.h.

Enumerator
ImGuiSelectableFlags_DontClosePopups 
ImGuiSelectableFlags_SpanAllColumns 
ImGuiSelectableFlags_AllowDoubleClick 

Definition at line 578 of file imgui.h.

Enumerator
ImGuiStyleVar_Alpha 
ImGuiStyleVar_WindowPadding 
ImGuiStyleVar_WindowRounding 
ImGuiStyleVar_WindowMinSize 
ImGuiStyleVar_ChildWindowRounding 
ImGuiStyleVar_FramePadding 
ImGuiStyleVar_FrameRounding 
ImGuiStyleVar_ItemSpacing 
ImGuiStyleVar_ItemInnerSpacing 
ImGuiStyleVar_IndentSpacing 
ImGuiStyleVar_GrabMinSize 
ImGuiStyleVar_ButtonTextAlign 
ImGuiStyleVar_Count_ 

Definition at line 668 of file imgui.h.

Enumerator
ImGuiTreeNodeFlags_Selected 
ImGuiTreeNodeFlags_Framed 
ImGuiTreeNodeFlags_AllowOverlapMode 
ImGuiTreeNodeFlags_NoTreePushOnOpen 
ImGuiTreeNodeFlags_NoAutoOpenOnLog 
ImGuiTreeNodeFlags_DefaultOpen 
ImGuiTreeNodeFlags_OpenOnDoubleClick 
ImGuiTreeNodeFlags_OpenOnArrow 
ImGuiTreeNodeFlags_Leaf 
ImGuiTreeNodeFlags_Bullet 
ImGuiTreeNodeFlags_CollapsingHeader 

Definition at line 560 of file imgui.h.

Enumerator
ImGuiWindowFlags_NoTitleBar 
ImGuiWindowFlags_NoResize 
ImGuiWindowFlags_NoMove 
ImGuiWindowFlags_NoScrollbar 
ImGuiWindowFlags_NoScrollWithMouse 
ImGuiWindowFlags_NoCollapse 
ImGuiWindowFlags_AlwaysAutoResize 
ImGuiWindowFlags_ShowBorders 
ImGuiWindowFlags_NoSavedSettings 
ImGuiWindowFlags_NoInputs 
ImGuiWindowFlags_MenuBar 
ImGuiWindowFlags_HorizontalScrollbar 
ImGuiWindowFlags_NoFocusOnAppearing 
ImGuiWindowFlags_NoBringToFrontOnFocus 
ImGuiWindowFlags_AlwaysVerticalScrollbar 
ImGuiWindowFlags_AlwaysHorizontalScrollbar 
ImGuiWindowFlags_AlwaysUseWindowPadding 
ImGuiWindowFlags_ChildWindow 
ImGuiWindowFlags_ComboBox 
ImGuiWindowFlags_Tooltip 
ImGuiWindowFlags_Popup 
ImGuiWindowFlags_Modal 
ImGuiWindowFlags_ChildMenu 

Definition at line 506 of file imgui.h.