Functions
ImGui Namespace Reference

Functions

const IMGUI_API ImGuiPayloadAcceptDragDropPayload (const char *type, ImGuiDragDropFlags flags=0)
 
IMGUI_API void ActivateItem (ImGuiID id)
 
IMGUI_API void AlignTextToFramePadding ()
 
IMGUI_API bool ArrowButton (const char *str_id, ImGuiDir dir)
 
IMGUI_API bool ArrowButtonEx (const char *str_id, ImGuiDir dir, ImVec2 size_arg, ImGuiButtonFlags flags=0)
 
IMGUI_API bool Begin (const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
 
IMGUI_API bool BeginChild (const char *str_id, const ImVec2 &size=ImVec2(0, 0), bool border=false, ImGuiWindowFlags flags=0)
 
IMGUI_API bool BeginChild (ImGuiID id, const ImVec2 &size=ImVec2(0, 0), bool border=false, ImGuiWindowFlags flags=0)
 
IMGUI_API bool BeginChildEx (const char *name, ImGuiID id, const ImVec2 &size_arg, bool border, ImGuiWindowFlags flags)
 
IMGUI_API bool BeginChildFrame (ImGuiID id, const ImVec2 &size, ImGuiWindowFlags flags=0)
 
IMGUI_API void BeginColumns (const char *str_id, int count, ImGuiColumnsFlags flags=0)
 
IMGUI_API bool BeginCombo (const char *label, const char *preview_value, ImGuiComboFlags flags=0)
 
IMGUI_API bool BeginDragDropSource (ImGuiDragDropFlags flags=0)
 
IMGUI_API bool BeginDragDropTarget ()
 
IMGUI_API bool BeginDragDropTargetCustom (const ImRect &bb, ImGuiID id)
 
IMGUI_API void BeginGroup ()
 
IMGUI_API bool BeginMainMenuBar ()
 
IMGUI_API bool BeginMenu (const char *label, bool enabled=true)
 
IMGUI_API bool BeginMenuBar ()
 
IMGUI_API bool BeginPopup (const char *str_id, ImGuiWindowFlags flags=0)
 
IMGUI_API bool BeginPopupContextItem (const char *str_id=NULL, ImGuiMouseButton mouse_button=1)
 
IMGUI_API bool BeginPopupContextVoid (const char *str_id=NULL, ImGuiMouseButton mouse_button=1)
 
IMGUI_API bool BeginPopupContextWindow (const char *str_id=NULL, ImGuiMouseButton mouse_button=1, bool also_over_items=true)
 
IMGUI_API bool BeginPopupEx (ImGuiID id, ImGuiWindowFlags extra_flags)
 
IMGUI_API bool BeginPopupModal (const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
 
IMGUI_API bool BeginTabBar (const char *str_id, ImGuiTabBarFlags flags=0)
 
IMGUI_API bool BeginTabBarEx (ImGuiTabBar *tab_bar, const ImRect &bb, ImGuiTabBarFlags flags)
 
IMGUI_API bool BeginTabItem (const char *label, bool *p_open=NULL, ImGuiTabItemFlags flags=0)
 
IMGUI_API void BeginTooltip ()
 
IMGUI_API void BeginTooltipEx (ImGuiWindowFlags extra_flags, ImGuiTooltipFlags tooltip_flags)
 
IMGUI_API void BringWindowToDisplayBack (ImGuiWindow *window)
 
IMGUI_API void BringWindowToDisplayFront (ImGuiWindow *window)
 
IMGUI_API void BringWindowToFocusFront (ImGuiWindow *window)
 
IMGUI_API void Bullet ()
 
IMGUI_API void BulletText (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void BulletTextV (const char *fmt, va_list args) IM_FMTLIST(1)
 
IMGUI_API bool Button (const char *label, const ImVec2 &size=ImVec2(0, 0))
 
IMGUI_API bool ButtonBehavior (const ImRect &bb, ImGuiID id, bool *out_hovered, bool *out_held, ImGuiButtonFlags flags=0)
 
IMGUI_API bool ButtonEx (const char *label, const ImVec2 &size_arg=ImVec2(0, 0), ImGuiButtonFlags flags=0)
 
static ImVec2 CalcItemRectClosestPoint (const ImVec2 &pos, bool on_edge=false, float outward=0.f)
 
IMGUI_API ImVec2 CalcItemSize (ImVec2 size, float default_w, float default_h)
 
IMGUI_API float CalcItemWidth ()
 
IMGUI_API void CalcListClipping (int items_count, float items_height, int *out_items_display_start, int *out_items_display_end)
 
IMGUI_API ImVec2 CalcTextSize (const char *text, const char *text_end=NULL, bool hide_text_after_double_hash=false, float wrap_width=-1.0f)
 
IMGUI_API int CalcTypematicRepeatAmount (float t0, float t1, float repeat_delay, float repeat_rate)
 
IMGUI_API ImVec2 CalcWindowExpectedSize (ImGuiWindow *window)
 
IMGUI_API float CalcWrapWidthForPos (const ImVec2 &pos, float wrap_pos_x)
 
IMGUI_API void CaptureKeyboardFromApp (bool want_capture_keyboard_value=true)
 
IMGUI_API void CaptureMouseFromApp (bool want_capture_mouse_value=true)
 
IMGUI_API bool Checkbox (const char *label, bool *v)
 
IMGUI_API bool CheckboxFlags (const char *label, unsigned int *flags, unsigned int flags_value)
 
IMGUI_API void ClearActiveID ()
 
IMGUI_API void ClearDragDrop ()
 
IMGUI_API bool CloseButton (ImGuiID id, const ImVec2 &pos)
 
IMGUI_API void CloseCurrentPopup ()
 
IMGUI_API void ClosePopupsOverWindow (ImGuiWindow *ref_window, bool restore_focus_to_window_under_popup)
 
IMGUI_API void ClosePopupToLevel (int remaining, bool restore_focus_to_window_under_popup)
 
IMGUI_API bool CollapseButton (ImGuiID id, const ImVec2 &pos)
 
IMGUI_API bool CollapsingHeader (const char *label, bool *p_open, ImGuiTreeNodeFlags flags=0)
 
IMGUI_API bool CollapsingHeader (const char *label, ImGuiTreeNodeFlags flags=0)
 
IMGUI_API bool ColorButton (const char *desc_id, const ImVec4 &col, ImGuiColorEditFlags flags=0, ImVec2 size=ImVec2(0, 0))
 
IMGUI_API ImU32 ColorConvertFloat4ToU32 (const ImVec4 &in)
 
IMGUI_API void ColorConvertHSVtoRGB (float h, float s, float v, float &out_r, float &out_g, float &out_b)
 
IMGUI_API void ColorConvertRGBtoHSV (float r, float g, float b, float &out_h, float &out_s, float &out_v)
 
IMGUI_API ImVec4 ColorConvertU32ToFloat4 (ImU32 in)
 
IMGUI_API bool ColorEdit3 (const char *label, float col[3], ImGuiColorEditFlags flags=0)
 
IMGUI_API bool ColorEdit4 (const char *label, float col[4], ImGuiColorEditFlags flags=0)
 
IMGUI_API void ColorEditOptionsPopup (const float *col, ImGuiColorEditFlags flags)
 
IMGUI_API bool ColorPicker3 (const char *label, float col[3], ImGuiColorEditFlags flags=0)
 
IMGUI_API bool ColorPicker4 (const char *label, float col[4], ImGuiColorEditFlags flags=0, const float *ref_col=NULL)
 
IMGUI_API void ColorPickerOptionsPopup (const float *ref_col, ImGuiColorEditFlags flags)
 
IMGUI_API void ColorTooltip (const char *text, const float *col, ImGuiColorEditFlags flags)
 
IMGUI_API void Columns (int count=1, const char *id=NULL, bool border=true)
 
IMGUI_API bool 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)
 
IMGUI_API bool Combo (const char *label, int *current_item, const char *const items[], int items_count, int popup_max_height_in_items=-1)
 
IMGUI_API bool Combo (const char *label, int *current_item, const char *items_separated_by_zeros, int popup_max_height_in_items=-1)
 
IMGUI_API ImGuiContextCreateContext (ImFontAtlas *shared_font_atlas=NULL)
 
IMGUI_API ImGuiWindowSettingsCreateNewWindowSettings (const char *name)
 
IMGUI_API void DataTypeApplyOp (ImGuiDataType data_type, int op, void *output, void *arg_1, const void *arg_2)
 
IMGUI_API bool DataTypeApplyOpFromText (const char *buf, const char *initial_value_buf, ImGuiDataType data_type, void *p_data, const char *format)
 
IMGUI_API int DataTypeFormatString (char *buf, int buf_size, ImGuiDataType data_type, const void *p_data, const char *format)
 
const IMGUI_API ImGuiDataTypeInfoDataTypeGetInfo (ImGuiDataType data_type)
 
IMGUI_API bool 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, size_t sz_drawidx)
 
void DebugDrawItemRect (ImU32 col=IM_COL32(255, 0, 0, 255))
 
void DebugStartItemPicker ()
 
IMGUI_API void DestroyContext (ImGuiContext *ctx=NULL)
 
IMGUI_API bool DragBehavior (ImGuiID id, ImGuiDataType data_type, void *p_v, float v_speed, const void *p_min, const void *p_max, const char *format, float power, ImGuiDragFlags flags)
 
template<typename T , typename SIGNED_T , typename FLOAT_T >
IMGUI_API bool DragBehaviorT (ImGuiDataType data_type, T *v, float v_speed, T v_min, T v_max, const char *format, float power, ImGuiDragFlags flags)
 
IMGUI_API bool 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)
 
IMGUI_API bool 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)
 
IMGUI_API bool 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)
 
IMGUI_API bool 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)
 
IMGUI_API bool 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)
 
IMGUI_API bool DragInt (const char *label, int *v, float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d")
 
IMGUI_API bool DragInt2 (const char *label, int v[2], float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d")
 
IMGUI_API bool DragInt3 (const char *label, int v[3], float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d")
 
IMGUI_API bool DragInt4 (const char *label, int v[4], float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d")
 
IMGUI_API bool 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)
 
IMGUI_API bool DragScalar (const char *label, ImGuiDataType data_type, void *p_data, float v_speed, const void *p_min=NULL, const void *p_max=NULL, const char *format=NULL, float power=1.0f)
 
IMGUI_API bool DragScalarN (const char *label, ImGuiDataType data_type, void *p_data, int components, float v_speed, const void *p_min=NULL, const void *p_max=NULL, const char *format=NULL, float power=1.0f)
 
IMGUI_API void Dummy (const ImVec2 &size)
 
IMGUI_API void End ()
 
IMGUI_API void EndChild ()
 
IMGUI_API void EndChildFrame ()
 
IMGUI_API void EndColumns ()
 
IMGUI_API void EndCombo ()
 
IMGUI_API void EndDragDropSource ()
 
IMGUI_API void EndDragDropTarget ()
 
IMGUI_API void EndFrame ()
 
IMGUI_API void EndGroup ()
 
IMGUI_API void EndMainMenuBar ()
 
IMGUI_API void EndMenu ()
 
IMGUI_API void EndMenuBar ()
 
IMGUI_API void EndPopup ()
 
IMGUI_API void EndTabBar ()
 
IMGUI_API void EndTabItem ()
 
IMGUI_API void EndTooltip ()
 
static void ErrorCheckBeginEndCompareStacksSize (ImGuiWindow *window, bool write)
 
static void ErrorCheckEndFrameSanityChecks ()
 
static void ErrorCheckNewFrameSanityChecks ()
 
IMGUI_API ImVec2 FindBestWindowPosForPopup (ImGuiWindow *window)
 
IMGUI_API ImVec2 FindBestWindowPosForPopupEx (const ImVec2 &ref_pos, const ImVec2 &size, ImGuiDir *last_dir, const ImRect &r_outer, const ImRect &r_avoid, ImGuiPopupPositionPolicy policy=ImGuiPopupPositionPolicy_Default)
 
IMGUI_API ImGuiColumnsFindOrCreateColumns (ImGuiWindow *window, ImGuiID id)
 
IMGUI_API ImGuiWindowSettingsFindOrCreateWindowSettings (const char *name)
 
const IMGUI_API char * FindRenderedTextEnd (const char *text, const char *text_end=NULL)
 
IMGUI_API ImGuiSettingsHandlerFindSettingsHandler (const char *type_name)
 
IMGUI_API ImGuiWindowFindWindowByID (ImGuiID id)
 
IMGUI_API ImGuiWindowFindWindowByName (const char *name)
 
static int FindWindowFocusIndex (ImGuiWindow *window)
 
IMGUI_API ImGuiWindowSettingsFindWindowSettings (ImGuiID id)
 
IMGUI_API bool FocusableItemRegister (ImGuiWindow *window, ImGuiID id)
 
IMGUI_API void FocusableItemUnregister (ImGuiWindow *window)
 
IMGUI_API void FocusTopMostWindowUnderOne (ImGuiWindow *under_this_window, ImGuiWindow *ignore_window)
 
IMGUI_API void FocusWindow (ImGuiWindow *window)
 
IMGUI_API void GcAwakeTransientWindowBuffers (ImGuiWindow *window)
 
IMGUI_API void GcCompactTransientWindowBuffers (ImGuiWindow *window)
 
ImGuiID GetActiveID ()
 
IMGUI_API ImDrawListGetBackgroundDrawList ()
 
const IMGUI_API char * GetClipboardText ()
 
IMGUI_API ImU32 GetColorU32 (const ImVec4 &col)
 
IMGUI_API ImU32 GetColorU32 (ImGuiCol idx, float alpha_mul=1.0f)
 
IMGUI_API ImU32 GetColorU32 (ImU32 col)
 
IMGUI_API int GetColumnIndex ()
 
IMGUI_API float GetColumnNormFromOffset (const ImGuiColumns *columns, float offset)
 
IMGUI_API float GetColumnOffset (int column_index=-1)
 
IMGUI_API float GetColumnOffsetFromNorm (const ImGuiColumns *columns, float offset_norm)
 
IMGUI_API int GetColumnsCount ()
 
IMGUI_API ImGuiID GetColumnsID (const char *str_id, int count)
 
IMGUI_API float GetColumnWidth (int column_index=-1)
 
IMGUI_API ImVec2 GetContentRegionAvail ()
 
static float GetContentRegionAvailWidth ()
 
IMGUI_API ImVec2 GetContentRegionMax ()
 
IMGUI_API ImVec2 GetContentRegionMaxAbs ()
 
IMGUI_API ImGuiContextGetCurrentContext ()
 
ImGuiWindowGetCurrentWindow ()
 
ImGuiWindowGetCurrentWindowRead ()
 
IMGUI_API ImVec2 GetCursorPos ()
 
IMGUI_API float GetCursorPosX ()
 
IMGUI_API float GetCursorPosY ()
 
IMGUI_API ImVec2 GetCursorScreenPos ()
 
IMGUI_API ImVec2 GetCursorStartPos ()
 
ImFontGetDefaultFont ()
 
const IMGUI_API ImGuiPayloadGetDragDropPayload ()
 
IMGUI_API ImDrawDataGetDrawData ()
 
IMGUI_API ImDrawListSharedDataGetDrawListSharedData ()
 
ImGuiID GetFocusID ()
 
ImGuiID GetFocusScopeID ()
 
IMGUI_API ImFontGetFont ()
 
IMGUI_API float GetFontSize ()
 
IMGUI_API ImVec2 GetFontTexUvWhitePixel ()
 
IMGUI_API ImDrawListGetForegroundDrawList ()
 
ImDrawListGetForegroundDrawList (ImGuiWindow *window)
 
IMGUI_API int GetFrameCount ()
 
IMGUI_API float GetFrameHeight ()
 
IMGUI_API float GetFrameHeightWithSpacing ()
 
IMGUI_API ImGuiID GetHoveredID ()
 
IMGUI_API ImGuiID GetID (const char *str_id)
 
IMGUI_API ImGuiID GetID (const char *str_id_begin, const char *str_id_end)
 
IMGUI_API ImGuiID GetID (const void *ptr_id)
 
ImGuiInputTextStateGetInputTextState (ImGuiID id)
 
IMGUI_API ImGuiIOGetIO ()
 
ImGuiID GetItemID ()
 
IMGUI_API ImVec2 GetItemRectMax ()
 
IMGUI_API ImVec2 GetItemRectMin ()
 
IMGUI_API ImVec2 GetItemRectSize ()
 
ImGuiItemStatusFlags GetItemStatusFlags ()
 
IMGUI_API int GetKeyIndex (ImGuiKey imgui_key)
 
IMGUI_API int GetKeyPressedAmount (int key_index, float repeat_delay, float rate)
 
IMGUI_API ImGuiMouseCursor GetMouseCursor ()
 
IMGUI_API ImVec2 GetMouseDragDelta (ImGuiMouseButton button=0, float lock_threshold=-1.0f)
 
IMGUI_API ImVec2 GetMousePos ()
 
IMGUI_API ImVec2 GetMousePosOnOpeningCurrentPopup ()
 
IMGUI_API float GetNavInputAmount (ImGuiNavInput n, ImGuiInputReadMode mode)
 
IMGUI_API ImVec2 GetNavInputAmount2d (ImGuiNavDirSourceFlags dir_sources, ImGuiInputReadMode mode, float slow_factor=0.0f, float fast_factor=0.0f)
 
static ImDrawListGetOverlayDrawList ()
 
IMGUI_API float GetScrollMaxX ()
 
IMGUI_API float GetScrollMaxY ()
 
IMGUI_API float GetScrollX ()
 
IMGUI_API float GetScrollY ()
 
IMGUI_API ImGuiStorageGetStateStorage ()
 
IMGUI_API ImGuiStyleGetStyle ()
 
const IMGUI_API char * GetStyleColorName (ImGuiCol idx)
 
const IMGUI_API ImVec4GetStyleColorVec4 (ImGuiCol idx)
 
IMGUI_API float GetTextLineHeight ()
 
IMGUI_API float GetTextLineHeightWithSpacing ()
 
IMGUI_API double GetTime ()
 
IMGUI_API ImGuiWindowGetTopMostPopupModal ()
 
IMGUI_API float GetTreeNodeToLabelSpacing ()
 
const IMGUI_API char * GetVersion ()
 
IMGUI_API ImRect GetWindowAllowedExtentRect (ImGuiWindow *window)
 
IMGUI_API ImVec2 GetWindowContentRegionMax ()
 
IMGUI_API ImVec2 GetWindowContentRegionMin ()
 
IMGUI_API float GetWindowContentRegionWidth ()
 
IMGUI_API ImDrawListGetWindowDrawList ()
 
IMGUI_API float GetWindowHeight ()
 
IMGUI_API ImVec2 GetWindowPos ()
 
IMGUI_API ImGuiID GetWindowResizeID (ImGuiWindow *window, int n)
 
IMGUI_API ImGuiID GetWindowScrollbarID (ImGuiWindow *window, ImGuiAxis axis)
 
IMGUI_API ImVec2 GetWindowSize ()
 
IMGUI_API float GetWindowWidth ()
 
IMGUI_API void 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 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 void Indent (float indent_w=0.0f)
 
IMGUI_API void Initialize (ImGuiContext *context)
 
IMGUI_API bool InputDouble (const char *label, double *v, double step=0.0, double step_fast=0.0, const char *format="%.6f", ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputFloat (const char *label, float *v, float step, float step_fast, int decimal_precision, ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputFloat (const char *label, float *v, float step=0.0f, float step_fast=0.0f, const char *format="%.3f", ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputFloat2 (const char *label, float v[2], const char *format="%.3f", ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputFloat2 (const char *label, float v[2], int decimal_precision, ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputFloat3 (const char *label, float v[3], const char *format="%.3f", ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputFloat3 (const char *label, float v[3], int decimal_precision, ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputFloat4 (const char *label, float v[4], const char *format="%.3f", ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputFloat4 (const char *label, float v[4], int decimal_precision, ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputInt (const char *label, int *v, int step=1, int step_fast=100, ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputInt2 (const char *label, int v[2], ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputInt3 (const char *label, int v[3], ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputInt4 (const char *label, int v[4], ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputScalar (const char *label, ImGuiDataType data_type, void *p_data, const void *p_step=NULL, const void *p_step_fast=NULL, const char *format=NULL, ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputScalarN (const char *label, ImGuiDataType data_type, void *p_data, int components, const void *p_step=NULL, const void *p_step_fast=NULL, const char *format=NULL, ImGuiInputTextFlags flags=0)
 
IMGUI_API bool InputText (const char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
 
IMGUI_API bool InputText (const char *label, std::string *str, ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
 
IMGUI_API bool InputTextEx (const char *label, const char *hint, char *buf, int buf_size, const ImVec2 &size_arg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
 
IMGUI_API bool InputTextMultiline (const char *label, char *buf, size_t buf_size, const ImVec2 &size=ImVec2(0, 0), ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
 
IMGUI_API bool InputTextMultiline (const char *label, std::string *str, const ImVec2 &size=ImVec2(0, 0), ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
 
IMGUI_API bool InputTextWithHint (const char *label, const char *hint, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
 
IMGUI_API bool InputTextWithHint (const char *label, const char *hint, std::string *str, ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
 
IMGUI_API bool InvisibleButton (const char *str_id, const ImVec2 &size)
 
bool IsActiveIdUsingKey (ImGuiKey key)
 
bool IsActiveIdUsingNavDir (ImGuiDir dir)
 
bool IsActiveIdUsingNavInput (ImGuiNavInput input)
 
IMGUI_API bool IsAnyItemActive ()
 
IMGUI_API bool IsAnyItemFocused ()
 
IMGUI_API bool IsAnyItemHovered ()
 
IMGUI_API bool IsAnyMouseDown ()
 
static bool IsAnyWindowFocused ()
 
static bool IsAnyWindowHovered ()
 
IMGUI_API bool IsClippedEx (const ImRect &bb, ImGuiID id, bool clip_even_when_logged)
 
IMGUI_API bool IsDragDropPayloadBeingAccepted ()
 
IMGUI_API bool IsItemActivated ()
 
IMGUI_API bool IsItemActive ()
 
IMGUI_API bool IsItemClicked (ImGuiMouseButton mouse_button=0)
 
IMGUI_API bool IsItemDeactivated ()
 
static bool IsItemDeactivatedAfterChange ()
 
IMGUI_API bool IsItemDeactivatedAfterEdit ()
 
IMGUI_API bool IsItemEdited ()
 
IMGUI_API bool IsItemFocused ()
 
IMGUI_API bool IsItemHovered (ImGuiHoveredFlags flags=0)
 
IMGUI_API bool IsItemToggledOpen ()
 
IMGUI_API bool IsItemToggledSelection ()
 
IMGUI_API bool IsItemVisible ()
 
IMGUI_API bool IsKeyDown (int user_key_index)
 
IMGUI_API bool IsKeyPressed (int user_key_index, bool repeat=true)
 
bool IsKeyPressedMap (ImGuiKey key, bool repeat=true)
 
IMGUI_API bool IsKeyReleased (int user_key_index)
 
IMGUI_API bool IsMouseClicked (ImGuiMouseButton button, bool repeat=false)
 
IMGUI_API bool IsMouseDoubleClicked (ImGuiMouseButton button)
 
IMGUI_API bool IsMouseDown (ImGuiMouseButton button)
 
IMGUI_API bool IsMouseDragging (ImGuiMouseButton button, float lock_threshold=-1.0f)
 
IMGUI_API bool IsMouseDragPastThreshold (ImGuiMouseButton button, float lock_threshold=-1.0f)
 
IMGUI_API bool IsMouseHoveringRect (const ImVec2 &r_min, const ImVec2 &r_max, bool clip=true)
 
IMGUI_API bool IsMousePosValid (const ImVec2 *mouse_pos=NULL)
 
IMGUI_API bool IsMouseReleased (ImGuiMouseButton button)
 
bool IsNavInputDown (ImGuiNavInput n)
 
bool IsNavInputTest (ImGuiNavInput n, ImGuiInputReadMode rm)
 
IMGUI_API bool IsPopupOpen (const char *str_id)
 
IMGUI_API bool IsPopupOpen (ImGuiID id)
 
IMGUI_API bool IsRectVisible (const ImVec2 &rect_min, const ImVec2 &rect_max)
 
IMGUI_API bool IsRectVisible (const ImVec2 &size)
 
IMGUI_API bool IsWindowAppearing ()
 
IMGUI_API bool IsWindowChildOf (ImGuiWindow *window, ImGuiWindow *potential_parent)
 
IMGUI_API bool IsWindowCollapsed ()
 
IMGUI_API bool IsWindowFocused (ImGuiFocusedFlags flags=0)
 
IMGUI_API bool IsWindowHovered (ImGuiHoveredFlags flags=0)
 
IMGUI_API bool IsWindowNavFocusable (ImGuiWindow *window)
 
IMGUI_API bool ItemAdd (const ImRect &bb, ImGuiID id, const ImRect *nav_bb=NULL)
 
IMGUI_API bool ItemHoverable (const ImRect &bb, ImGuiID id)
 
IMGUI_API void ItemSize (const ImRect &bb, float text_baseline_y=-1.0f)
 
IMGUI_API void ItemSize (const ImVec2 &size, float text_baseline_y=-1.0f)
 
IMGUI_API void KeepAliveID (ImGuiID id)
 
IMGUI_API void LabelText (const char *label, const char *fmt,...) IM_FMTARGS(2)
 
IMGUI_API void LabelTextV (const char *label, const char *fmt, va_list args) IM_FMTLIST(2)
 
IMGUI_API bool 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 ListBox (const char *label, int *current_item, const char *const items[], int items_count, int height_in_items=-1)
 
IMGUI_API void ListBoxFooter ()
 
IMGUI_API bool ListBoxHeader (const char *label, const ImVec2 &size=ImVec2(0, 0))
 
IMGUI_API bool ListBoxHeader (const char *label, int items_count, int height_in_items=-1)
 
IMGUI_API void LoadIniSettingsFromDisk (const char *ini_filename)
 
IMGUI_API void LoadIniSettingsFromMemory (const char *ini_data, size_t ini_size=0)
 
IMGUI_API void LogBegin (ImGuiLogType type, int auto_open_depth)
 
IMGUI_API void LogButtons ()
 
IMGUI_API void LogFinish ()
 
IMGUI_API void LogRenderedText (const ImVec2 *ref_pos, const char *text, const char *text_end=NULL)
 
IMGUI_API void LogText (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void LogToBuffer (int auto_open_depth=-1)
 
IMGUI_API void LogToClipboard (int auto_open_depth=-1)
 
IMGUI_API void LogToFile (int auto_open_depth=-1, const char *filename=NULL)
 
IMGUI_API void LogToTTY (int auto_open_depth=-1)
 
IMGUI_API void MarkIniSettingsDirty ()
 
IMGUI_API void MarkIniSettingsDirty (ImGuiWindow *window)
 
IMGUI_API void MarkItemEdited (ImGuiID id)
 
IMGUI_API voidMemAlloc (size_t size)
 
IMGUI_API void MemFree (void *ptr)
 
IMGUI_API bool MenuItem (const char *label, const char *shortcut, bool *p_selected, bool enabled=true)
 
IMGUI_API bool MenuItem (const char *label, const char *shortcut=NULL, bool selected=false, bool enabled=true)
 
static ImVec2 NavCalcPreferredRefPos ()
 
IMGUI_API void NavInitWindow (ImGuiWindow *window, bool force_reinit)
 
IMGUI_API bool NavMoveRequestButNoResultYet ()
 
IMGUI_API void NavMoveRequestCancel ()
 
IMGUI_API void NavMoveRequestForward (ImGuiDir move_dir, ImGuiDir clip_dir, const ImRect &bb_rel, ImGuiNavMoveFlags move_flags)
 
IMGUI_API void NavMoveRequestTryWrapping (ImGuiWindow *window, ImGuiNavMoveFlags move_flags)
 
static void NavProcessItem (ImGuiWindow *window, const ImRect &nav_bb, ImGuiID id)
 
static ImGuiWindowNavRestoreLastChildNavWindow (ImGuiWindow *window)
 
static void NavSaveLastChildNavWindowIntoParent (ImGuiWindow *nav_window)
 
static bool NavScoreItem (ImGuiNavMoveResult *result, ImRect cand)
 
static void NavUpdate ()
 
static void NavUpdateAnyRequestFlag ()
 
static void NavUpdateMoveResult ()
 
static float NavUpdatePageUpPageDown ()
 
static void NavUpdateWindowing ()
 
static void NavUpdateWindowingOverlay ()
 
IMGUI_API void NewFrame ()
 
IMGUI_API void NewLine ()
 
IMGUI_API void NextColumn ()
 
IMGUI_API void OpenPopup (const char *str_id)
 
IMGUI_API void OpenPopupEx (ImGuiID id)
 
IMGUI_API bool OpenPopupOnItemClick (const char *str_id=NULL, ImGuiMouseButton mouse_button=1)
 
IMGUI_API void PlotEx (ImGuiPlotType plot_type, const char *label, float(*values_getter)(void *data, int idx), void *data, int values_count, int values_offset, const char *overlay_text, float scale_min, float scale_max, ImVec2 frame_size)
 
IMGUI_API void 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 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 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 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 PopAllowKeyboardFocus ()
 
IMGUI_API void PopButtonRepeat ()
 
IMGUI_API void PopClipRect ()
 
IMGUI_API void PopColumnsBackground ()
 
IMGUI_API void PopFocusScope ()
 
IMGUI_API void PopFont ()
 
IMGUI_API void PopID ()
 
IMGUI_API void PopItemFlag ()
 
IMGUI_API void PopItemWidth ()
 
IMGUI_API void PopStyleColor (int count=1)
 
IMGUI_API void PopStyleVar (int count=1)
 
IMGUI_API void PopTextWrapPos ()
 
IMGUI_API void ProgressBar (float fraction, const ImVec2 &size_arg=ImVec2(-1, 0), const char *overlay=NULL)
 
IMGUI_API void PushAllowKeyboardFocus (bool allow_keyboard_focus)
 
IMGUI_API void PushButtonRepeat (bool repeat)
 
IMGUI_API void PushClipRect (const ImVec2 &clip_rect_min, const ImVec2 &clip_rect_max, bool intersect_with_current_clip_rect)
 
IMGUI_API void PushColumnClipRect (int column_index)
 
IMGUI_API void PushColumnsBackground ()
 
IMGUI_API void PushFocusScope (ImGuiID id)
 
IMGUI_API void PushFont (ImFont *font)
 
IMGUI_API void PushID (const char *str_id)
 
IMGUI_API void PushID (const char *str_id_begin, const char *str_id_end)
 
IMGUI_API void PushID (const void *ptr_id)
 
IMGUI_API void PushID (int int_id)
 
IMGUI_API void PushItemFlag (ImGuiItemFlags option, bool enabled)
 
IMGUI_API void PushItemWidth (float item_width)
 
IMGUI_API void PushMultiItemsWidths (int components, float width_full)
 
IMGUI_API void PushOverrideID (ImGuiID id)
 
IMGUI_API void PushStyleColor (ImGuiCol idx, const ImVec4 &col)
 
IMGUI_API void PushStyleColor (ImGuiCol idx, ImU32 col)
 
IMGUI_API void PushStyleVar (ImGuiStyleVar idx, const ImVec2 &val)
 
IMGUI_API void PushStyleVar (ImGuiStyleVar idx, float val)
 
IMGUI_API void PushTextWrapPos (float wrap_local_pos_x=0.0f)
 
IMGUI_API bool RadioButton (const char *label, bool active)
 
IMGUI_API bool RadioButton (const char *label, int *v, int v_button)
 
IMGUI_API void Render ()
 
IMGUI_API void RenderArrow (ImDrawList *draw_list, ImVec2 pos, ImU32 col, ImGuiDir dir, float scale=1.0f)
 
void RenderArrow (ImVec2 pos, ImGuiDir dir, float scale=1.0f)
 
IMGUI_API void RenderArrowPointingAt (ImDrawList *draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col)
 
IMGUI_API void RenderBullet (ImDrawList *draw_list, ImVec2 pos, ImU32 col)
 
void RenderBullet (ImVec2 pos)
 
IMGUI_API void RenderCheckMark (ImDrawList *draw_list, ImVec2 pos, ImU32 col, float sz)
 
IMGUI_API void RenderColorRectWithAlphaCheckerboard (ImDrawList *draw_list, ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, float grid_step, ImVec2 grid_off, float rounding=0.0f, int rounding_corners_flags=~0)
 
IMGUI_API void RenderFrame (ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, bool border=true, float rounding=0.0f)
 
IMGUI_API void RenderFrameBorder (ImVec2 p_min, ImVec2 p_max, float rounding=0.0f)
 
IMGUI_API void RenderMouseCursor (ImDrawList *draw_list, ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow)
 
IMGUI_API void RenderNavHighlight (const ImRect &bb, ImGuiID id, ImGuiNavHighlightFlags flags=ImGuiNavHighlightFlags_TypeDefault)
 
IMGUI_API void RenderRectFilledRangeH (ImDrawList *draw_list, const ImRect &rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding)
 
IMGUI_API void RenderText (ImVec2 pos, const char *text, const char *text_end=NULL, bool hide_text_after_hash=true)
 
IMGUI_API void RenderTextClipped (const ImVec2 &pos_min, const ImVec2 &pos_max, const char *text, const char *text_end, const ImVec2 *text_size_if_known, const ImVec2 &align=ImVec2(0, 0), const ImRect *clip_rect=NULL)
 
IMGUI_API void RenderTextClippedEx (ImDrawList *draw_list, const ImVec2 &pos_min, const ImVec2 &pos_max, const char *text, const char *text_end, const ImVec2 *text_size_if_known, const ImVec2 &align=ImVec2(0, 0), const ImRect *clip_rect=NULL)
 
IMGUI_API void RenderTextEllipsis (ImDrawList *draw_list, const ImVec2 &pos_min, const ImVec2 &pos_max, float clip_max_x, float ellipsis_max_x, const char *text, const char *text_end, const ImVec2 *text_size_if_known)
 
IMGUI_API void RenderTextWrapped (ImVec2 pos, const char *text, const char *text_end, float wrap_width)
 
static void RenderWindowDecorations (ImGuiWindow *window, const ImRect &title_bar_rect, bool title_bar_is_highlight, int resize_grip_count, const ImU32 resize_grip_col[4], float resize_grip_draw_size)
 
static void RenderWindowOuterBorders (ImGuiWindow *window)
 
static void RenderWindowTitleBarContents (ImGuiWindow *window, const ImRect &title_bar_rect, const char *name, bool *p_open)
 
IMGUI_API void ResetMouseDragDelta (ImGuiMouseButton button=0)
 
template<typename T , typename SIGNED_T >
IMGUI_API T RoundScalarWithFormatT (const char *format, ImGuiDataType data_type, T v)
 
IMGUI_API void SameLine (float offset_from_start_x=0.0f, float spacing=-1.0f)
 
IMGUI_API void SaveIniSettingsToDisk (const char *ini_filename)
 
const IMGUI_API char * SaveIniSettingsToMemory (size_t *out_ini_size=NULL)
 
IMGUI_API void Scrollbar (ImGuiAxis axis)
 
IMGUI_API bool ScrollbarEx (const ImRect &bb, ImGuiID id, ImGuiAxis axis, float *p_scroll_v, float avail_v, float contents_v, ImDrawCornerFlags rounding_corners)
 
IMGUI_API ImVec2 ScrollToBringRectIntoView (ImGuiWindow *window, const ImRect &item_rect)
 
IMGUI_API bool Selectable (const char *label, bool *p_selected, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0))
 
IMGUI_API bool Selectable (const char *label, bool selected=false, ImGuiSelectableFlags flags=0, const ImVec2 &size=ImVec2(0, 0))
 
IMGUI_API void Separator ()
 
IMGUI_API void SeparatorEx (ImGuiSeparatorFlags flags)
 
IMGUI_API void SetActiveID (ImGuiID id, ImGuiWindow *window)
 
IMGUI_API void SetAllocatorFunctions (void *(*alloc_func)(size_t sz, void *user_data), void(*free_func)(void *ptr, void *user_data), void *user_data=NULL)
 
IMGUI_API void SetClipboardText (const char *text)
 
IMGUI_API void SetColorEditOptions (ImGuiColorEditFlags flags)
 
IMGUI_API void SetColumnOffset (int column_index, float offset_x)
 
IMGUI_API void SetColumnWidth (int column_index, float width)
 
IMGUI_API void SetCurrentContext (ImGuiContext *ctx)
 
IMGUI_API void SetCurrentFont (ImFont *font)
 
IMGUI_API void SetCursorPos (const ImVec2 &local_pos)
 
IMGUI_API void SetCursorPosX (float local_x)
 
IMGUI_API void SetCursorPosY (float local_y)
 
IMGUI_API void SetCursorScreenPos (const ImVec2 &pos)
 
IMGUI_API bool SetDragDropPayload (const char *type, const void *data, size_t sz, ImGuiCond cond=0)
 
IMGUI_API void SetFocusID (ImGuiID id, ImGuiWindow *window)
 
IMGUI_API void SetHoveredID (ImGuiID id)
 
IMGUI_API void SetItemAllowOverlap ()
 
IMGUI_API void SetItemDefaultFocus ()
 
IMGUI_API void SetKeyboardFocusHere (int offset=0)
 
IMGUI_API void SetMouseCursor (ImGuiMouseCursor cursor_type)
 
IMGUI_API void SetNavID (ImGuiID id, int nav_layer, ImGuiID focus_scope_id)
 
IMGUI_API void SetNavIDWithRectRel (ImGuiID id, int nav_layer, ImGuiID focus_scope_id, const ImRect &rect_rel)
 
IMGUI_API void SetNextItemOpen (bool is_open, ImGuiCond cond=0)
 
IMGUI_API void SetNextItemWidth (float item_width)
 
static void SetNextTreeNodeOpen (bool open, ImGuiCond cond=0)
 
IMGUI_API void SetNextWindowBgAlpha (float alpha)
 
IMGUI_API void SetNextWindowCollapsed (bool collapsed, ImGuiCond cond=0)
 
IMGUI_API void SetNextWindowContentSize (const ImVec2 &size)
 
IMGUI_API void SetNextWindowFocus ()
 
IMGUI_API void SetNextWindowPos (const ImVec2 &pos, ImGuiCond cond=0, const ImVec2 &pivot=ImVec2(0, 0))
 
IMGUI_API void SetNextWindowSize (const ImVec2 &size, ImGuiCond cond=0)
 
IMGUI_API void SetNextWindowSizeConstraints (const ImVec2 &size_min, const ImVec2 &size_max, ImGuiSizeCallback custom_callback=NULL, void *custom_callback_data=NULL)
 
IMGUI_API void SetScrollFromPosX (float local_x, float center_x_ratio=0.5f)
 
IMGUI_API void SetScrollFromPosX (ImGuiWindow *window, float local_x, float center_x_ratio=0.5f)
 
IMGUI_API void SetScrollFromPosY (float local_y, float center_y_ratio=0.5f)
 
IMGUI_API void SetScrollFromPosY (ImGuiWindow *window, float local_y, float center_y_ratio=0.5f)
 
static void SetScrollHere (float center_ratio=0.5f)
 
IMGUI_API void SetScrollHereX (float center_x_ratio=0.5f)
 
IMGUI_API void SetScrollHereY (float center_y_ratio=0.5f)
 
IMGUI_API void SetScrollX (float scroll_x)
 
IMGUI_API void SetScrollX (ImGuiWindow *window, float new_scroll_x)
 
IMGUI_API void SetScrollY (float scroll_y)
 
IMGUI_API void SetScrollY (ImGuiWindow *window, float new_scroll_y)
 
IMGUI_API void SetStateStorage (ImGuiStorage *storage)
 
IMGUI_API void SetTabItemClosed (const char *tab_or_docked_window_label)
 
IMGUI_API void SetTooltip (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void SetTooltipV (const char *fmt, va_list args) IM_FMTLIST(1)
 
IMGUI_API void SetWindowCollapsed (bool collapsed, ImGuiCond cond=0)
 
IMGUI_API void SetWindowCollapsed (const char *name, bool collapsed, ImGuiCond cond=0)
 
IMGUI_API void SetWindowCollapsed (ImGuiWindow *window, bool collapsed, ImGuiCond cond=0)
 
IMGUI_API void SetWindowFocus ()
 
IMGUI_API void SetWindowFocus (const char *name)
 
IMGUI_API void SetWindowFontScale (float scale)
 
IMGUI_API void SetWindowPos (const char *name, const ImVec2 &pos, ImGuiCond cond=0)
 
IMGUI_API void SetWindowPos (const ImVec2 &pos, ImGuiCond cond=0)
 
IMGUI_API void SetWindowPos (ImGuiWindow *window, const ImVec2 &pos, ImGuiCond cond=0)
 
IMGUI_API void SetWindowSize (const char *name, const ImVec2 &size, ImGuiCond cond=0)
 
IMGUI_API void SetWindowSize (const ImVec2 &size, ImGuiCond cond=0)
 
IMGUI_API void SetWindowSize (ImGuiWindow *window, const ImVec2 &size, ImGuiCond cond=0)
 
IMGUI_API void ShadeVertsLinearColorGradientKeepAlpha (ImDrawList *draw_list, int vert_start_idx, int vert_end_idx, ImVec2 gradient_p0, ImVec2 gradient_p1, ImU32 col0, ImU32 col1)
 
IMGUI_API void ShadeVertsLinearUV (ImDrawList *draw_list, int vert_start_idx, int vert_end_idx, const ImVec2 &a, const ImVec2 &b, const ImVec2 &uv_a, const ImVec2 &uv_b, bool clamp)
 
IMGUI_API void ShowAboutWindow (bool *p_open=NULL)
 
IMGUI_API void ShowDemoWindow (bool *p_open=NULL)
 
IMGUI_API void ShowFontSelector (const char *label)
 
IMGUI_API void ShowMetricsWindow (bool *p_open=NULL)
 
IMGUI_API void ShowStyleEditor (ImGuiStyle *ref=NULL)
 
IMGUI_API bool ShowStyleSelector (const char *label)
 
IMGUI_API void ShowUserGuide ()
 
IMGUI_API void ShrinkWidths (ImGuiShrinkWidthItem *items, int count, float width_excess)
 
IMGUI_API void Shutdown (ImGuiContext *context)
 
IMGUI_API bool SliderAngle (const char *label, float *v_rad, float v_degrees_min=-360.0f, float v_degrees_max=+360.0f, const char *format="%.0f deg")
 
IMGUI_API bool SliderBehavior (const ImRect &bb, ImGuiID id, ImGuiDataType data_type, void *p_v, const void *p_min, const void *p_max, const char *format, float power, ImGuiSliderFlags flags, ImRect *out_grab_bb)
 
template<typename T , typename SIGNED_T , typename FLOAT_T >
IMGUI_API bool SliderBehaviorT (const ImRect &bb, ImGuiID id, ImGuiDataType data_type, T *v, T v_min, T v_max, const char *format, float power, ImGuiSliderFlags flags, ImRect *out_grab_bb)
 
template<typename T , typename FLOAT_T >
IMGUI_API float SliderCalcRatioFromValueT (ImGuiDataType data_type, T v, T v_min, T v_max, float power, float linear_zero_pos)
 
IMGUI_API bool SliderFloat (const char *label, float *v, float v_min, float v_max, const char *format="%.3f", float power=1.0f)
 
IMGUI_API bool SliderFloat2 (const char *label, float v[2], float v_min, float v_max, const char *format="%.3f", float power=1.0f)
 
IMGUI_API bool SliderFloat3 (const char *label, float v[3], float v_min, float v_max, const char *format="%.3f", float power=1.0f)
 
IMGUI_API bool SliderFloat4 (const char *label, float v[4], float v_min, float v_max, const char *format="%.3f", float power=1.0f)
 
IMGUI_API bool SliderInt (const char *label, int *v, int v_min, int v_max, const char *format="%d")
 
IMGUI_API bool SliderInt2 (const char *label, int v[2], int v_min, int v_max, const char *format="%d")
 
IMGUI_API bool SliderInt3 (const char *label, int v[3], int v_min, int v_max, const char *format="%d")
 
IMGUI_API bool SliderInt4 (const char *label, int v[4], int v_min, int v_max, const char *format="%d")
 
IMGUI_API bool SliderScalar (const char *label, ImGuiDataType data_type, void *p_data, const void *p_min, const void *p_max, const char *format=NULL, float power=1.0f)
 
IMGUI_API bool SliderScalarN (const char *label, ImGuiDataType data_type, void *p_data, int components, const void *p_min, const void *p_max, const char *format=NULL, float power=1.0f)
 
IMGUI_API bool SmallButton (const char *label)
 
IMGUI_API void Spacing ()
 
IMGUI_API bool SplitterBehavior (const ImRect &bb, ImGuiID id, ImGuiAxis axis, float *size1, float *size2, float min_size1, float min_size2, float hover_extend=0.0f, float hover_visibility_delay=0.0f)
 
IMGUI_API void StartMouseMovingWindow (ImGuiWindow *window)
 
IMGUI_API void StyleColorsClassic (ImGuiStyle *dst=NULL)
 
IMGUI_API void StyleColorsDark (ImGuiStyle *dst=NULL)
 
IMGUI_API void StyleColorsLight (ImGuiStyle *dst=NULL)
 
static float TabBarCalcMaxTabWidth ()
 
static ImU32 TabBarCalcTabID (ImGuiTabBar *tab_bar, const char *label)
 
IMGUI_API void TabBarCloseTab (ImGuiTabBar *tab_bar, ImGuiTabItem *tab)
 
IMGUI_API ImGuiTabItemTabBarFindTabByID (ImGuiTabBar *tab_bar, ImGuiID tab_id)
 
static void TabBarLayout (ImGuiTabBar *tab_bar)
 
IMGUI_API void TabBarQueueChangeTabOrder (ImGuiTabBar *tab_bar, const ImGuiTabItem *tab, int dir)
 
IMGUI_API void TabBarRemoveTab (ImGuiTabBar *tab_bar, ImGuiID tab_id)
 
static float TabBarScrollClamp (ImGuiTabBar *tab_bar, float scrolling)
 
static ImGuiTabItemTabBarScrollingButtons (ImGuiTabBar *tab_bar)
 
static void TabBarScrollToTab (ImGuiTabBar *tab_bar, ImGuiTabItem *tab)
 
static ImGuiTabItemTabBarTabListPopupButton (ImGuiTabBar *tab_bar)
 
IMGUI_API void TabItemBackground (ImDrawList *draw_list, const ImRect &bb, ImGuiTabItemFlags flags, ImU32 col)
 
IMGUI_API ImVec2 TabItemCalcSize (const char *label, bool has_close_button)
 
IMGUI_API bool TabItemEx (ImGuiTabBar *tab_bar, const char *label, bool *p_open, ImGuiTabItemFlags flags)
 
IMGUI_API bool TabItemLabelAndCloseButton (ImDrawList *draw_list, const ImRect &bb, ImGuiTabItemFlags flags, ImVec2 frame_padding, const char *label, ImGuiID tab_id, ImGuiID close_button_id)
 
bool TempInputIsActive (ImGuiID id)
 
IMGUI_API bool TempInputScalar (const ImRect &bb, ImGuiID id, const char *label, ImGuiDataType data_type, void *p_data, const char *format)
 
IMGUI_API bool TempInputText (const ImRect &bb, ImGuiID id, const char *label, char *buf, int buf_size, ImGuiInputTextFlags flags)
 
IMGUI_API void Text (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void TextColored (const ImVec4 &col, const char *fmt,...) IM_FMTARGS(2)
 
IMGUI_API void TextColoredV (const ImVec4 &col, const char *fmt, va_list args) IM_FMTLIST(2)
 
IMGUI_API void TextDisabled (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void TextDisabledV (const char *fmt, va_list args) IM_FMTLIST(1)
 
IMGUI_API void TextEx (const char *text, const char *text_end=NULL, ImGuiTextFlags flags=0)
 
IMGUI_API void TextUnformatted (const char *text, const char *text_end=NULL)
 
IMGUI_API void TextV (const char *fmt, va_list args) IM_FMTLIST(1)
 
IMGUI_API void TextWrapped (const char *fmt,...) IM_FMTARGS(1)
 
IMGUI_API void TextWrappedV (const char *fmt, va_list args) IM_FMTLIST(1)
 
static void TreeAdvanceToLabelPos ()
 
IMGUI_API bool TreeNode (const char *label)
 
IMGUI_API bool TreeNode (const char *str_id, const char *fmt,...) IM_FMTARGS(2)
 
IMGUI_API bool TreeNode (const void *ptr_id, const char *fmt,...) IM_FMTARGS(2)
 
IMGUI_API bool TreeNodeBehavior (ImGuiID id, ImGuiTreeNodeFlags flags, const char *label, const char *label_end=NULL)
 
IMGUI_API bool TreeNodeBehaviorIsOpen (ImGuiID id, ImGuiTreeNodeFlags flags=0)
 
IMGUI_API bool TreeNodeEx (const char *label, ImGuiTreeNodeFlags flags=0)
 
IMGUI_API bool TreeNodeEx (const char *str_id, ImGuiTreeNodeFlags flags, const char *fmt,...) IM_FMTARGS(3)
 
IMGUI_API bool TreeNodeEx (const void *ptr_id, ImGuiTreeNodeFlags flags, const char *fmt,...) IM_FMTARGS(3)
 
IMGUI_API bool TreeNodeExV (const char *str_id, ImGuiTreeNodeFlags flags, const char *fmt, va_list args) IM_FMTLIST(3)
 
IMGUI_API bool TreeNodeExV (const void *ptr_id, ImGuiTreeNodeFlags flags, const char *fmt, va_list args) IM_FMTLIST(3)
 
IMGUI_API bool TreeNodeV (const char *str_id, const char *fmt, va_list args) IM_FMTLIST(2)
 
IMGUI_API bool TreeNodeV (const void *ptr_id, const char *fmt, va_list args) IM_FMTLIST(2)
 
IMGUI_API void TreePop ()
 
IMGUI_API void TreePush (const char *str_id)
 
IMGUI_API void TreePush (const void *ptr_id=NULL)
 
IMGUI_API void TreePushOverrideID (ImGuiID id)
 
IMGUI_API void Unindent (float indent_w=0.0f)
 
static void UpdateDebugToolItemPicker ()
 
IMGUI_API void UpdateHoveredWindowAndCaptureFlags ()
 
static void UpdateMouseInputs ()
 
IMGUI_API void UpdateMouseMovingWindowEndFrame ()
 
IMGUI_API void UpdateMouseMovingWindowNewFrame ()
 
static void UpdateMouseWheel ()
 
static void UpdateSettings ()
 
static void UpdateTabFocus ()
 
static bool UpdateWindowManualResize (ImGuiWindow *window, const ImVec2 &size_auto_fit, int *border_held, int resize_grip_count, ImU32 resize_grip_col[4])
 
IMGUI_API void UpdateWindowParentAndRootLinks (ImGuiWindow *window, ImGuiWindowFlags flags, ImGuiWindow *parent_window)
 
IMGUI_API void Value (const char *prefix, bool b)
 
IMGUI_API void Value (const char *prefix, float v, const char *float_format=NULL)
 
IMGUI_API void Value (const char *prefix, int v)
 
IMGUI_API void Value (const char *prefix, unsigned int v)
 
IMGUI_API bool VSliderFloat (const char *label, const ImVec2 &size, float *v, float v_min, float v_max, const char *format="%.3f", float power=1.0f)
 
IMGUI_API bool VSliderInt (const char *label, const ImVec2 &size, int *v, int v_min, int v_max, const char *format="%d")
 
IMGUI_API bool VSliderScalar (const char *label, const ImVec2 &size, ImGuiDataType data_type, void *p_data, const void *p_min, const void *p_max, const char *format=NULL, float power=1.0f)
 

Function Documentation

◆ AcceptDragDropPayload()

const ImGuiPayload * ImGui::AcceptDragDropPayload ( const char *  type,
ImGuiDragDropFlags  flags = 0 
)

Definition at line 9244 of file imgui.cpp.

◆ ActivateItem()

void ImGui::ActivateItem ( ImGuiID  id)

Definition at line 6558 of file imgui.cpp.

◆ AlignTextToFramePadding()

void ImGui::AlignTextToFramePadding ( )

Definition at line 1242 of file imgui_widgets.cpp.

◆ ArrowButton()

bool ImGui::ArrowButton ( const char *  str_id,
ImGuiDir  dir 
)

Definition at line 748 of file imgui_widgets.cpp.

◆ ArrowButtonEx()

bool ImGui::ArrowButtonEx ( const char *  str_id,
ImGuiDir  dir,
ImVec2  size_arg,
ImGuiButtonFlags  flags = 0 
)

Definition at line 718 of file imgui_widgets.cpp.

◆ Begin()

bool ImGui::Begin ( const char *  name,
bool *  p_open = NULL,
ImGuiWindowFlags  flags = 0 
)

Definition at line 5397 of file imgui.cpp.

◆ BeginChild() [1/2]

bool ImGui::BeginChild ( const char *  str_id,
const ImVec2 size = ImVec2(0,0),
bool  border = false,
ImGuiWindowFlags  flags = 0 
)

Definition at line 4743 of file imgui.cpp.

◆ BeginChild() [2/2]

bool ImGui::BeginChild ( ImGuiID  id,
const ImVec2 size = ImVec2(0,0),
bool  border = false,
ImGuiWindowFlags  flags = 0 
)

Definition at line 4749 of file imgui.cpp.

◆ BeginChildEx()

bool ImGui::BeginChildEx ( const char *  name,
ImGuiID  id,
const ImVec2 size_arg,
bool  border,
ImGuiWindowFlags  flags 
)

Definition at line 4692 of file imgui.cpp.

◆ BeginChildFrame()

bool ImGui::BeginChildFrame ( ImGuiID  id,
const ImVec2 size,
ImGuiWindowFlags  flags = 0 
)

Definition at line 4799 of file imgui.cpp.

◆ BeginColumns()

void ImGui::BeginColumns ( const char *  str_id,
int  count,
ImGuiColumnsFlags  flags = 0 
)

Definition at line 7494 of file imgui_widgets.cpp.

◆ BeginCombo()

bool ImGui::BeginCombo ( const char *  label,
const char *  preview_value,
ImGuiComboFlags  flags = 0 
)

Definition at line 1443 of file imgui_widgets.cpp.

◆ BeginDragDropSource()

bool ImGui::BeginDragDropSource ( ImGuiDragDropFlags  flags = 0)

Definition at line 9024 of file imgui.cpp.

◆ BeginDragDropTarget()

bool ImGui::BeginDragDropTarget ( )

Definition at line 9212 of file imgui.cpp.

◆ BeginDragDropTargetCustom()

bool ImGui::BeginDragDropTargetCustom ( const ImRect bb,
ImGuiID  id 
)

Definition at line 9186 of file imgui.cpp.

◆ BeginGroup()

void ImGui::BeginGroup ( )

Definition at line 7179 of file imgui.cpp.

◆ BeginMainMenuBar()

bool ImGui::BeginMainMenuBar ( )

Definition at line 6152 of file imgui_widgets.cpp.

◆ BeginMenu()

bool ImGui::BeginMenu ( const char *  label,
bool  enabled = true 
)

Definition at line 6185 of file imgui_widgets.cpp.

◆ BeginMenuBar()

bool ImGui::BeginMenuBar ( )

Definition at line 6082 of file imgui_widgets.cpp.

◆ BeginPopup()

bool ImGui::BeginPopup ( const char *  str_id,
ImGuiWindowFlags  flags = 0 
)

Definition at line 7687 of file imgui.cpp.

◆ BeginPopupContextItem()

bool ImGui::BeginPopupContextItem ( const char *  str_id = NULL,
ImGuiMouseButton  mouse_button = 1 
)

Definition at line 7763 of file imgui.cpp.

◆ BeginPopupContextVoid()

bool ImGui::BeginPopupContextVoid ( const char *  str_id = NULL,
ImGuiMouseButton  mouse_button = 1 
)

Definition at line 7786 of file imgui.cpp.

◆ BeginPopupContextWindow()

bool ImGui::BeginPopupContextWindow ( const char *  str_id = NULL,
ImGuiMouseButton  mouse_button = 1,
bool  also_over_items = true 
)

Definition at line 7775 of file imgui.cpp.

◆ BeginPopupEx()

bool ImGui::BeginPopupEx ( ImGuiID  id,
ImGuiWindowFlags  extra_flags 
)

Definition at line 7664 of file imgui.cpp.

◆ BeginPopupModal()

bool ImGui::BeginPopupModal ( const char *  name,
bool *  p_open = NULL,
ImGuiWindowFlags  flags = 0 
)

Definition at line 7701 of file imgui.cpp.

◆ BeginTabBar()

bool ImGui::BeginTabBar ( const char *  str_id,
ImGuiTabBarFlags  flags = 0 
)

Definition at line 6491 of file imgui_widgets.cpp.

◆ BeginTabBarEx()

bool ImGui::BeginTabBarEx ( ImGuiTabBar tab_bar,
const ImRect bb,
ImGuiTabBarFlags  flags 
)

Definition at line 6505 of file imgui_widgets.cpp.

◆ BeginTabItem()

bool ImGui::BeginTabItem ( const char *  label,
bool *  p_open = NULL,
ImGuiTabItemFlags  flags = 0 
)

Definition at line 6951 of file imgui_widgets.cpp.

◆ BeginTooltip()

void ImGui::BeginTooltip ( )

Definition at line 7435 of file imgui.cpp.

◆ BeginTooltipEx()

void ImGui::BeginTooltipEx ( ImGuiWindowFlags  extra_flags,
ImGuiTooltipFlags  tooltip_flags 
)

Definition at line 7440 of file imgui.cpp.

◆ BringWindowToDisplayBack()

void ImGui::BringWindowToDisplayBack ( ImGuiWindow window)

Definition at line 6070 of file imgui.cpp.

◆ BringWindowToDisplayFront()

void ImGui::BringWindowToDisplayFront ( ImGuiWindow window)

Definition at line 6055 of file imgui.cpp.

◆ BringWindowToFocusFront()

void ImGui::BringWindowToFocusFront ( ImGuiWindow window)

Definition at line 6041 of file imgui.cpp.

◆ Bullet()

void ImGui::Bullet ( )

Definition at line 1171 of file imgui_widgets.cpp.

◆ BulletText()

void ImGui::BulletText ( const char *  fmt,
  ... 
)

Definition at line 349 of file imgui_widgets.cpp.

◆ BulletTextV()

void ImGui::BulletTextV ( const char *  fmt,
va_list  args 
)

Definition at line 358 of file imgui_widgets.cpp.

◆ Button()

bool ImGui::Button ( const char *  label,
const ImVec2 size = ImVec2(0,0) 
)

Definition at line 678 of file imgui_widgets.cpp.

◆ ButtonBehavior()

bool ImGui::ButtonBehavior ( const ImRect bb,
ImGuiID  id,
bool *  out_hovered,
bool *  out_held,
ImGuiButtonFlags  flags = 0 
)

Definition at line 459 of file imgui_widgets.cpp.

◆ ButtonEx()

bool ImGui::ButtonEx ( const char *  label,
const ImVec2 size_arg = ImVec2(0,0),
ImGuiButtonFlags  flags = 0 
)

Definition at line 638 of file imgui_widgets.cpp.

◆ CalcItemRectClosestPoint()

static ImVec2 ImGui::CalcItemRectClosestPoint ( const ImVec2 pos,
bool  on_edge = false,
float  outward = 0.f 
)
inlinestatic

Definition at line 1647 of file imgui.h.

◆ CalcItemSize()

ImVec2 ImGui::CalcItemSize ( ImVec2  size,
float  default_w,
float  default_h 
)

Definition at line 7084 of file imgui.cpp.

◆ CalcItemWidth()

float ImGui::CalcItemWidth ( )

Definition at line 7062 of file imgui.cpp.

◆ CalcListClipping()

void ImGui::CalcListClipping ( int  items_count,
float  items_height,
int *  out_items_display_start,
int *  out_items_display_end 
)

Definition at line 2209 of file imgui.cpp.

◆ CalcTextSize()

ImVec2 ImGui::CalcTextSize ( const char *  text,
const char *  text_end = NULL,
bool  hide_text_after_double_hash = false,
float  wrap_width = -1.0f 
)

Definition at line 4274 of file imgui.cpp.

◆ CalcTypematicRepeatAmount()

int ImGui::CalcTypematicRepeatAmount ( float  t0,
float  t1,
float  repeat_delay,
float  repeat_rate 
)

Definition at line 4380 of file imgui.cpp.

◆ CalcWindowExpectedSize()

ImVec2 ImGui::CalcWindowExpectedSize ( ImGuiWindow window)

Definition at line 4969 of file imgui.cpp.

◆ CalcWrapWidthForPos()

float ImGui::CalcWrapWidthForPos ( const ImVec2 pos,
float  wrap_pos_x 
)

Definition at line 3195 of file imgui.cpp.

◆ CaptureKeyboardFromApp()

void ImGui::CaptureKeyboardFromApp ( bool  want_capture_keyboard_value = true)

Definition at line 4553 of file imgui.cpp.

◆ CaptureMouseFromApp()

void ImGui::CaptureMouseFromApp ( bool  want_capture_mouse_value = true)

Definition at line 4558 of file imgui.cpp.

◆ Checkbox()

bool ImGui::Checkbox ( const char *  label,
bool *  v 
)

Definition at line 1008 of file imgui_widgets.cpp.

◆ CheckboxFlags()

bool ImGui::CheckboxFlags ( const char *  label,
unsigned int *  flags,
unsigned int  flags_value 
)

Definition at line 1059 of file imgui_widgets.cpp.

◆ ClearActiveID()

void ImGui::ClearActiveID ( )

Definition at line 3001 of file imgui.cpp.

◆ ClearDragDrop()

void ImGui::ClearDragDrop ( )

Definition at line 9008 of file imgui.cpp.

◆ CloseButton()

bool ImGui::CloseButton ( ImGuiID  id,
const ImVec2 pos 
)

Definition at line 755 of file imgui_widgets.cpp.

◆ CloseCurrentPopup()

void ImGui::CloseCurrentPopup ( )

Definition at line 7634 of file imgui.cpp.

◆ ClosePopupsOverWindow()

void ImGui::ClosePopupsOverWindow ( ImGuiWindow ref_window,
bool  restore_focus_to_window_under_popup 
)

Definition at line 7571 of file imgui.cpp.

◆ ClosePopupToLevel()

void ImGui::ClosePopupToLevel ( int  remaining,
bool  restore_focus_to_window_under_popup 
)

Definition at line 7609 of file imgui.cpp.

◆ CollapseButton()

bool ImGui::CollapseButton ( ImGuiID  id,
const ImVec2 pos 
)

Definition at line 785 of file imgui_widgets.cpp.

◆ CollapsingHeader() [1/2]

bool ImGui::CollapsingHeader ( const char *  label,
bool *  p_open,
ImGuiTreeNodeFlags  flags = 0 
)

Definition at line 5530 of file imgui_widgets.cpp.

◆ CollapsingHeader() [2/2]

bool ImGui::CollapsingHeader ( const char *  label,
ImGuiTreeNodeFlags  flags = 0 
)

Definition at line 5521 of file imgui_widgets.cpp.

◆ ColorButton()

bool ImGui::ColorButton ( const char *  desc_id,
const ImVec4 col,
ImGuiColorEditFlags  flags = 0,
ImVec2  size = ImVec2(0,0) 
)

Definition at line 4889 of file imgui_widgets.cpp.

◆ ColorConvertFloat4ToU32()

ImU32 ImGui::ColorConvertFloat4ToU32 ( const ImVec4 in)

Definition at line 1819 of file imgui.cpp.

◆ ColorConvertHSVtoRGB()

void ImGui::ColorConvertHSVtoRGB ( float  h,
float  s,
float  v,
float &  out_r,
float &  out_g,
float &  out_b 
)

Definition at line 1853 of file imgui.cpp.

◆ ColorConvertRGBtoHSV()

void ImGui::ColorConvertRGBtoHSV ( float  r,
float  g,
float  b,
float &  out_h,
float &  out_s,
float &  out_v 
)

Definition at line 1831 of file imgui.cpp.

◆ ColorConvertU32ToFloat4()

ImVec4 ImGui::ColorConvertU32ToFloat4 ( ImU32  in)

Definition at line 1809 of file imgui.cpp.

◆ ColorEdit3()

bool ImGui::ColorEdit3 ( const char *  label,
float  col[3],
ImGuiColorEditFlags  flags = 0 
)

Definition at line 4242 of file imgui_widgets.cpp.

◆ ColorEdit4()

bool ImGui::ColorEdit4 ( const char *  label,
float  col[4],
ImGuiColorEditFlags  flags = 0 
)

Definition at line 4250 of file imgui_widgets.cpp.

◆ ColorEditOptionsPopup()

void ImGui::ColorEditOptionsPopup ( const float *  col,
ImGuiColorEditFlags  flags 
)

Definition at line 5026 of file imgui_widgets.cpp.

◆ ColorPicker3()

bool ImGui::ColorPicker3 ( const char *  label,
float  col[3],
ImGuiColorEditFlags  flags = 0 
)

Definition at line 4487 of file imgui_widgets.cpp.

◆ ColorPicker4()

bool ImGui::ColorPicker4 ( const char *  label,
float  col[4],
ImGuiColorEditFlags  flags = 0,
const float *  ref_col = NULL 
)

Definition at line 4510 of file imgui_widgets.cpp.

◆ ColorPickerOptionsPopup()

void ImGui::ColorPickerOptionsPopup ( const float *  ref_col,
ImGuiColorEditFlags  flags 
)

Definition at line 5077 of file imgui_widgets.cpp.

◆ ColorTooltip()

void ImGui::ColorTooltip ( const char *  text,
const float *  col,
ImGuiColorEditFlags  flags 
)

Definition at line 4992 of file imgui_widgets.cpp.

◆ Columns()

void ImGui::Columns ( int  count = 1,
const char *  id = NULL,
bool  border = true 
)

Definition at line 7697 of file imgui_widgets.cpp.

◆ Combo() [1/3]

IMGUI_API bool ImGui::Combo ( const char *  label,
int *  current_item,
bool(*)(void *data, int idx, const char **out_text)  items_getter,
void data,
int  items_count,
int  popup_max_height_in_items = -1 
)

◆ Combo() [2/3]

bool ImGui::Combo ( const char *  label,
int *  current_item,
const char *const  items[],
int  items_count,
int  popup_max_height_in_items = -1 
)

Definition at line 1628 of file imgui_widgets.cpp.

◆ Combo() [3/3]

bool ImGui::Combo ( const char *  label,
int *  current_item,
const char *  items_separated_by_zeros,
int  popup_max_height_in_items = -1 
)

Definition at line 1635 of file imgui_widgets.cpp.

◆ CreateContext()

ImGuiContext * ImGui::CreateContext ( ImFontAtlas shared_font_atlas = NULL)

Definition at line 3267 of file imgui.cpp.

◆ CreateNewWindowSettings()

ImGuiWindowSettings * ImGui::CreateNewWindowSettings ( const char *  name)

Definition at line 9563 of file imgui.cpp.

◆ DataTypeApplyOp()

void ImGui::DataTypeApplyOp ( ImGuiDataType  data_type,
int  op,
void output,
void arg_1,
const void arg_2 
)

Definition at line 1733 of file imgui_widgets.cpp.

◆ DataTypeApplyOpFromText()

bool ImGui::DataTypeApplyOpFromText ( const char *  buf,
const char *  initial_value_buf,
ImGuiDataType  data_type,
void p_data,
const char *  format 
)

Definition at line 1785 of file imgui_widgets.cpp.

◆ DataTypeFormatString()

int ImGui::DataTypeFormatString ( char *  buf,
int  buf_size,
ImGuiDataType  data_type,
const void p_data,
const char *  format 
)

Definition at line 1710 of file imgui_widgets.cpp.

◆ DataTypeGetInfo()

const ImGuiDataTypeInfo * ImGui::DataTypeGetInfo ( ImGuiDataType  data_type)

Definition at line 1704 of file imgui_widgets.cpp.

◆ DebugCheckVersionAndDataLayout()

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,
size_t  sz_drawidx 
)

Definition at line 6696 of file imgui.cpp.

◆ DebugDrawItemRect()

void ImGui::DebugDrawItemRect ( ImU32  col = IM_COL32(255,0,0,255))
inline

Definition at line 1896 of file imgui_internal.h.

◆ DebugStartItemPicker()

void ImGui::DebugStartItemPicker ( )
inline

Definition at line 1897 of file imgui_internal.h.

◆ DestroyContext()

void ImGui::DestroyContext ( ImGuiContext ctx = NULL)

Definition at line 3276 of file imgui.cpp.

◆ DragBehavior()

bool ImGui::DragBehavior ( ImGuiID  id,
ImGuiDataType  data_type,
void p_v,
float  v_speed,
const void p_min,
const void p_max,
const char *  format,
float  power,
ImGuiDragFlags  flags 
)

Definition at line 2053 of file imgui_widgets.cpp.

◆ DragBehaviorT()

template<typename T , typename SIGNED_T , typename FLOAT_T >
IMGUI_API bool ImGui::DragBehaviorT ( ImGuiDataType  data_type,
T v,
float  v_speed,
T  v_min,
T  v_max,
const char *  format,
float  power,
ImGuiDragFlags  flags 
)

◆ DragFloat()

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 
)

Definition at line 2195 of file imgui_widgets.cpp.

◆ DragFloat2()

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 
)

Definition at line 2200 of file imgui_widgets.cpp.

◆ DragFloat3()

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 
)

Definition at line 2205 of file imgui_widgets.cpp.

◆ DragFloat4()

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 
)

Definition at line 2210 of file imgui_widgets.cpp.

◆ DragFloatRange2()

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 
)

Definition at line 2215 of file imgui_widgets.cpp.

◆ DragInt()

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

Definition at line 2240 of file imgui_widgets.cpp.

◆ DragInt2()

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

Definition at line 2245 of file imgui_widgets.cpp.

◆ DragInt3()

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

Definition at line 2250 of file imgui_widgets.cpp.

◆ DragInt4()

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

Definition at line 2255 of file imgui_widgets.cpp.

◆ DragIntRange2()

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 
)

Definition at line 2260 of file imgui_widgets.cpp.

◆ DragScalar()

bool ImGui::DragScalar ( const char *  label,
ImGuiDataType  data_type,
void p_data,
float  v_speed,
const void p_min = NULL,
const void p_max = NULL,
const char *  format = NULL,
float  power = 1.0f 
)

Definition at line 2086 of file imgui_widgets.cpp.

◆ DragScalarN()

bool ImGui::DragScalarN ( const char *  label,
ImGuiDataType  data_type,
void p_data,
int  components,
float  v_speed,
const void p_min = NULL,
const void p_max = NULL,
const char *  format = NULL,
float  power = 1.0f 
)

Definition at line 2160 of file imgui_widgets.cpp.

◆ Dummy()

void ImGui::Dummy ( const ImVec2 size)

Definition at line 1215 of file imgui_widgets.cpp.

◆ End()

void ImGui::End ( )

Definition at line 6007 of file imgui.cpp.

◆ EndChild()

void ImGui::EndChild ( )

Definition at line 4755 of file imgui.cpp.

◆ EndChildFrame()

void ImGui::EndChildFrame ( )

Definition at line 4813 of file imgui.cpp.

◆ EndColumns()

void ImGui::EndColumns ( )

Definition at line 7621 of file imgui_widgets.cpp.

◆ EndCombo()

void ImGui::EndCombo ( )

Definition at line 1551 of file imgui_widgets.cpp.

◆ EndDragDropSource()

void ImGui::EndDragDropSource ( )

Definition at line 9127 of file imgui.cpp.

◆ EndDragDropTarget()

void ImGui::EndDragDropTarget ( )

Definition at line 9294 of file imgui.cpp.

◆ EndFrame()

void ImGui::EndFrame ( )

Definition at line 4143 of file imgui.cpp.

◆ EndGroup()

void ImGui::EndGroup ( )

Definition at line 7204 of file imgui.cpp.

◆ EndMainMenuBar()

void ImGui::EndMainMenuBar ( )

Definition at line 6172 of file imgui_widgets.cpp.

◆ EndMenu()

void ImGui::EndMenu ( )

Definition at line 6349 of file imgui_widgets.cpp.

◆ EndMenuBar()

void ImGui::EndMenuBar ( )

Definition at line 6110 of file imgui_widgets.cpp.

◆ EndPopup()

void ImGui::EndPopup ( )

Definition at line 7729 of file imgui.cpp.

◆ EndTabBar()

void ImGui::EndTabBar ( )

Definition at line 6557 of file imgui_widgets.cpp.

◆ EndTabItem()

void ImGui::EndTabItem ( )

Definition at line 6973 of file imgui_widgets.cpp.

◆ EndTooltip()

void ImGui::EndTooltip ( )

Definition at line 7472 of file imgui.cpp.

◆ ErrorCheckBeginEndCompareStacksSize()

static void ImGui::ErrorCheckBeginEndCompareStacksSize ( ImGuiWindow window,
bool  write 
)
static

Definition at line 6767 of file imgui.cpp.

◆ ErrorCheckEndFrameSanityChecks()

static void ImGui::ErrorCheckEndFrameSanityChecks ( )
static

Definition at line 6738 of file imgui.cpp.

◆ ErrorCheckNewFrameSanityChecks()

static void ImGui::ErrorCheckNewFrameSanityChecks ( )
static

Definition at line 6709 of file imgui.cpp.

◆ FindBestWindowPosForPopup()

ImVec2 ImGui::FindBestWindowPosForPopup ( ImGuiWindow window)

Definition at line 7860 of file imgui.cpp.

◆ FindBestWindowPosForPopupEx()

ImVec2 ImGui::FindBestWindowPosForPopupEx ( const ImVec2 ref_pos,
const ImVec2 size,
ImGuiDir last_dir,
const ImRect r_outer,
const ImRect r_avoid,
ImGuiPopupPositionPolicy  policy = ImGuiPopupPositionPolicy_Default 
)

Definition at line 7798 of file imgui.cpp.

◆ FindOrCreateColumns()

ImGuiColumns * ImGui::FindOrCreateColumns ( ImGuiWindow window,
ImGuiID  id 
)

Definition at line 7468 of file imgui_widgets.cpp.

◆ FindOrCreateWindowSettings()

ImGuiWindowSettings * ImGui::FindOrCreateWindowSettings ( const char *  name)

Definition at line 9594 of file imgui.cpp.

◆ FindRenderedTextEnd()

const char * ImGui::FindRenderedTextEnd ( const char *  text,
const char *  text_end = NULL 
)

Definition at line 2561 of file imgui.cpp.

◆ FindSettingsHandler()

ImGuiSettingsHandler * ImGui::FindSettingsHandler ( const char *  type_name)

Definition at line 9611 of file imgui.cpp.

◆ FindWindowByID()

ImGuiWindow * ImGui::FindWindowByID ( ImGuiID  id)

Definition at line 4825 of file imgui.cpp.

◆ FindWindowByName()

ImGuiWindow * ImGui::FindWindowByName ( const char *  name)

Definition at line 4831 of file imgui.cpp.

◆ FindWindowFocusIndex()

static int ImGui::FindWindowFocusIndex ( ImGuiWindow window)
static

Definition at line 8787 of file imgui.cpp.

◆ FindWindowSettings()

ImGuiWindowSettings * ImGui::FindWindowSettings ( ImGuiID  id)

Definition at line 9585 of file imgui.cpp.

◆ FocusableItemRegister()

bool ImGui::FocusableItemRegister ( ImGuiWindow window,
ImGuiID  id 
)

Definition at line 3152 of file imgui.cpp.

◆ FocusableItemUnregister()

void ImGui::FocusableItemUnregister ( ImGuiWindow window)

Definition at line 3189 of file imgui.cpp.

◆ FocusTopMostWindowUnderOne()

void ImGui::FocusTopMostWindowUnderOne ( ImGuiWindow under_this_window,
ImGuiWindow ignore_window 
)

Definition at line 6125 of file imgui.cpp.

◆ FocusWindow()

void ImGui::FocusWindow ( ImGuiWindow window)

Definition at line 6085 of file imgui.cpp.

◆ GcAwakeTransientWindowBuffers()

void ImGui::GcAwakeTransientWindowBuffers ( ImGuiWindow window)

Definition at line 2959 of file imgui.cpp.

◆ GcCompactTransientWindowBuffers()

void ImGui::GcCompactTransientWindowBuffers ( ImGuiWindow window)

Definition at line 2945 of file imgui.cpp.

◆ GetActiveID()

ImGuiID ImGui::GetActiveID ( )
inline

Definition at line 1709 of file imgui_internal.h.

◆ GetBackgroundDrawList()

ImDrawList * ImGui::GetBackgroundDrawList ( )

Definition at line 3309 of file imgui.cpp.

◆ GetClipboardText()

const char * ImGui::GetClipboardText ( )

Definition at line 3226 of file imgui.cpp.

◆ GetColorU32() [1/3]

ImU32 ImGui::GetColorU32 ( const ImVec4 col)

Definition at line 2353 of file imgui.cpp.

◆ GetColorU32() [2/3]

ImU32 ImGui::GetColorU32 ( ImGuiCol  idx,
float  alpha_mul = 1.0f 
)

Definition at line 2345 of file imgui.cpp.

◆ GetColorU32() [3/3]

ImU32 ImGui::GetColorU32 ( ImU32  col)

Definition at line 2367 of file imgui.cpp.

◆ GetColumnIndex()

int ImGui::GetColumnIndex ( )

Definition at line 7317 of file imgui_widgets.cpp.

◆ GetColumnNormFromOffset()

float ImGui::GetColumnNormFromOffset ( const ImGuiColumns columns,
float  offset 
)

Definition at line 7334 of file imgui_widgets.cpp.

◆ GetColumnOffset()

float ImGui::GetColumnOffset ( int  column_index = -1)

Definition at line 7358 of file imgui_widgets.cpp.

◆ GetColumnOffsetFromNorm()

float ImGui::GetColumnOffsetFromNorm ( const ImGuiColumns columns,
float  offset_norm 
)

Definition at line 7329 of file imgui_widgets.cpp.

◆ GetColumnsCount()

int ImGui::GetColumnsCount ( )

Definition at line 7323 of file imgui_widgets.cpp.

◆ GetColumnsID()

ImGuiID ImGui::GetColumnsID ( const char *  str_id,
int  count 
)

Definition at line 7481 of file imgui_widgets.cpp.

◆ GetColumnWidth()

float ImGui::GetColumnWidth ( int  column_index = -1)

Definition at line 7387 of file imgui_widgets.cpp.

◆ GetContentRegionAvail()

ImVec2 ImGui::GetContentRegionAvail ( )

Definition at line 7153 of file imgui.cpp.

◆ GetContentRegionAvailWidth()

static float ImGui::GetContentRegionAvailWidth ( )
inlinestatic

Definition at line 1632 of file imgui.h.

◆ GetContentRegionMax()

ImVec2 ImGui::GetContentRegionMax ( )

Definition at line 7132 of file imgui.cpp.

◆ GetContentRegionMaxAbs()

ImVec2 ImGui::GetContentRegionMaxAbs ( )

Definition at line 7143 of file imgui.cpp.

◆ GetCurrentContext()

ImGuiContext * ImGui::GetCurrentContext ( )

Definition at line 3246 of file imgui.cpp.

◆ GetCurrentWindow()

ImGuiWindow* ImGui::GetCurrentWindow ( )
inline

Definition at line 1657 of file imgui_internal.h.

◆ GetCurrentWindowRead()

ImGuiWindow* ImGui::GetCurrentWindowRead ( )
inline

Definition at line 1656 of file imgui_internal.h.

◆ GetCursorPos()

ImVec2 ImGui::GetCursorPos ( )

Definition at line 6961 of file imgui.cpp.

◆ GetCursorPosX()

float ImGui::GetCursorPosX ( )

Definition at line 6967 of file imgui.cpp.

◆ GetCursorPosY()

float ImGui::GetCursorPosY ( )

Definition at line 6973 of file imgui.cpp.

◆ GetCursorScreenPos()

ImVec2 ImGui::GetCursorScreenPos ( )

Definition at line 6946 of file imgui.cpp.

◆ GetCursorStartPos()

ImVec2 ImGui::GetCursorStartPos ( )

Definition at line 7000 of file imgui.cpp.

◆ GetDefaultFont()

ImFont* ImGui::GetDefaultFont ( )
inline

Definition at line 1678 of file imgui_internal.h.

◆ GetDragDropPayload()

const ImGuiPayload * ImGui::GetDragDropPayload ( )

Definition at line 9287 of file imgui.cpp.

◆ GetDrawData()

ImDrawData * ImGui::GetDrawData ( )

Definition at line 3293 of file imgui.cpp.

◆ GetDrawListSharedData()

ImDrawListSharedData * ImGui::GetDrawListSharedData ( )

Definition at line 3319 of file imgui.cpp.

◆ GetFocusID()

ImGuiID ImGui::GetFocusID ( )
inline

Definition at line 1710 of file imgui_internal.h.

◆ GetFocusScopeID()

ImGuiID ImGui::GetFocusScopeID ( )
inline

Definition at line 1769 of file imgui_internal.h.

◆ GetFont()

ImFont * ImGui::GetFont ( )

Definition at line 6535 of file imgui.cpp.

◆ GetFontSize()

float ImGui::GetFontSize ( )

Definition at line 6540 of file imgui.cpp.

◆ GetFontTexUvWhitePixel()

ImVec2 ImGui::GetFontTexUvWhitePixel ( )

Definition at line 6545 of file imgui.cpp.

◆ GetForegroundDrawList() [1/2]

ImDrawList * ImGui::GetForegroundDrawList ( )

Definition at line 3314 of file imgui.cpp.

◆ GetForegroundDrawList() [2/2]

ImDrawList* ImGui::GetForegroundDrawList ( ImGuiWindow window)
inline

Definition at line 1679 of file imgui_internal.h.

◆ GetFrameCount()

int ImGui::GetFrameCount ( )

Definition at line 3304 of file imgui.cpp.

◆ GetFrameHeight()

float ImGui::GetFrameHeight ( )

Definition at line 7117 of file imgui.cpp.

◆ GetFrameHeightWithSpacing()

float ImGui::GetFrameHeightWithSpacing ( )

Definition at line 7123 of file imgui.cpp.

◆ GetHoveredID()

ImGuiID ImGui::GetHoveredID ( )

Definition at line 3015 of file imgui.cpp.

◆ GetID() [1/3]

ImGuiID ImGui::GetID ( const char *  str_id)

Definition at line 6656 of file imgui.cpp.

◆ GetID() [2/3]

ImGuiID ImGui::GetID ( const char *  str_id_begin,
const char *  str_id_end 
)

Definition at line 6662 of file imgui.cpp.

◆ GetID() [3/3]

ImGuiID ImGui::GetID ( const void ptr_id)

Definition at line 6668 of file imgui.cpp.

◆ GetInputTextState()

ImGuiInputTextState* ImGui::GetInputTextState ( ImGuiID  id)
inline

Definition at line 1877 of file imgui_internal.h.

◆ GetIO()

ImGuiIO & ImGui::GetIO ( )

Definition at line 3286 of file imgui.cpp.

◆ GetItemID()

ImGuiID ImGui::GetItemID ( )
inline

Definition at line 1707 of file imgui_internal.h.

◆ GetItemRectMax()

ImVec2 ImGui::GetItemRectMax ( )

Definition at line 4674 of file imgui.cpp.

◆ GetItemRectMin()

ImVec2 ImGui::GetItemRectMin ( )

Definition at line 4668 of file imgui.cpp.

◆ GetItemRectSize()

ImVec2 ImGui::GetItemRectSize ( )

Definition at line 4680 of file imgui.cpp.

◆ GetItemStatusFlags()

ImGuiItemStatusFlags ImGui::GetItemStatusFlags ( )
inline

Definition at line 1708 of file imgui_internal.h.

◆ GetKeyIndex()

int ImGui::GetKeyIndex ( ImGuiKey  imgui_key)

Definition at line 4358 of file imgui.cpp.

◆ GetKeyPressedAmount()

int ImGui::GetKeyPressedAmount ( int  key_index,
float  repeat_delay,
float  rate 
)

Definition at line 4394 of file imgui.cpp.

◆ GetMouseCursor()

ImGuiMouseCursor ImGui::GetMouseCursor ( )

Definition at line 4543 of file imgui.cpp.

◆ GetMouseDragDelta()

ImVec2 ImGui::GetMouseDragDelta ( ImGuiMouseButton  button = 0,
float  lock_threshold = -1.0f 
)

Definition at line 4522 of file imgui.cpp.

◆ GetMousePos()

ImVec2 ImGui::GetMousePos ( )

Definition at line 4484 of file imgui.cpp.

◆ GetMousePosOnOpeningCurrentPopup()

ImVec2 ImGui::GetMousePosOnOpeningCurrentPopup ( )

Definition at line 4491 of file imgui.cpp.

◆ GetNavInputAmount()

float ImGui::GetNavInputAmount ( ImGuiNavInput  n,
ImGuiInputReadMode  mode 
)

Definition at line 8333 of file imgui.cpp.

◆ GetNavInputAmount2d()

ImVec2 ImGui::GetNavInputAmount2d ( ImGuiNavDirSourceFlags  dir_sources,
ImGuiInputReadMode  mode,
float  slow_factor = 0.0f,
float  fast_factor = 0.0f 
)

Definition at line 8355 of file imgui.cpp.

◆ GetOverlayDrawList()

static ImDrawList* ImGui::GetOverlayDrawList ( )
inlinestatic

Definition at line 1634 of file imgui.h.

◆ GetScrollMaxX()

float ImGui::GetScrollMaxX ( )

Definition at line 7341 of file imgui.cpp.

◆ GetScrollMaxY()

float ImGui::GetScrollMaxY ( )

Definition at line 7347 of file imgui.cpp.

◆ GetScrollX()

float ImGui::GetScrollX ( )

Definition at line 7329 of file imgui.cpp.

◆ GetScrollY()

float ImGui::GetScrollY ( )

Definition at line 7335 of file imgui.cpp.

◆ GetStateStorage()

ImGuiStorage * ImGui::GetStateStorage ( )

Definition at line 6613 of file imgui.cpp.

◆ GetStyle()

ImGuiStyle & ImGui::GetStyle ( )

Definition at line 2339 of file imgui.cpp.

◆ GetStyleColorName()

const char * ImGui::GetStyleColorName ( ImGuiCol  idx)

Definition at line 2496 of file imgui.cpp.

◆ GetStyleColorVec4()

const ImVec4 & ImGui::GetStyleColorVec4 ( ImGuiCol  idx)

Definition at line 2361 of file imgui.cpp.

◆ GetTextLineHeight()

float ImGui::GetTextLineHeight ( )

Definition at line 7105 of file imgui.cpp.

◆ GetTextLineHeightWithSpacing()

float ImGui::GetTextLineHeightWithSpacing ( )

Definition at line 7111 of file imgui.cpp.

◆ GetTime()

double ImGui::GetTime ( )

Definition at line 3299 of file imgui.cpp.

◆ GetTopMostPopupModal()

ImGuiWindow * ImGui::GetTopMostPopupModal ( )

Definition at line 7509 of file imgui.cpp.

◆ GetTreeNodeToLabelSpacing()

float ImGui::GetTreeNodeToLabelSpacing ( )

Definition at line 5502 of file imgui_widgets.cpp.

◆ GetVersion()

const char * ImGui::GetVersion ( )
Gets the version from google/protobuf/__init__.py

Do not import google.protobuf.__init__ directly, because an installed
protobuf library may be loaded instead.

Definition at line 3239 of file imgui.cpp.

◆ GetWindowAllowedExtentRect()

ImRect ImGui::GetWindowAllowedExtentRect ( ImGuiWindow window)

Definition at line 7851 of file imgui.cpp.

◆ GetWindowContentRegionMax()

ImVec2 ImGui::GetWindowContentRegionMax ( )

Definition at line 7166 of file imgui.cpp.

◆ GetWindowContentRegionMin()

ImVec2 ImGui::GetWindowContentRegionMin ( )

Definition at line 7160 of file imgui.cpp.

◆ GetWindowContentRegionWidth()

float ImGui::GetWindowContentRegionWidth ( )

Definition at line 7172 of file imgui.cpp.

◆ GetWindowDrawList()

ImDrawList * ImGui::GetWindowDrawList ( )

Definition at line 6529 of file imgui.cpp.

◆ GetWindowHeight()

float ImGui::GetWindowHeight ( )

Definition at line 6325 of file imgui.cpp.

◆ GetWindowPos()

ImVec2 ImGui::GetWindowPos ( )

Definition at line 6331 of file imgui.cpp.

◆ GetWindowResizeID()

ImGuiID ImGui::GetWindowResizeID ( ImGuiWindow window,
int  n 
)

Definition at line 5029 of file imgui.cpp.

◆ GetWindowScrollbarID()

ImGuiID ImGui::GetWindowScrollbarID ( ImGuiWindow window,
ImGuiAxis  axis 
)

Definition at line 810 of file imgui_widgets.cpp.

◆ GetWindowSize()

ImVec2 ImGui::GetWindowSize ( )

Definition at line 6369 of file imgui.cpp.

◆ GetWindowWidth()

float ImGui::GetWindowWidth ( )

Definition at line 6319 of file imgui.cpp.

◆ Image()

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

Definition at line 944 of file imgui_widgets.cpp.

◆ ImageButton()

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

Definition at line 972 of file imgui_widgets.cpp.

◆ Indent()

void ImGui::Indent ( float  indent_w = 0.0f)

Definition at line 7006 of file imgui.cpp.

◆ Initialize()

void ImGui::Initialize ( ImGuiContext context)

Definition at line 3894 of file imgui.cpp.

◆ InputDouble()

bool ImGui::InputDouble ( const char *  label,
double *  v,
double  step = 0.0,
double  step_fast = 0.0,
const char *  format = "%.6f",
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3095 of file imgui_widgets.cpp.

◆ InputFloat() [1/2]

bool ImGui::InputFloat ( const char *  label,
float *  v,
float  step,
float  step_fast,
int  decimal_precision,
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3040 of file imgui_widgets.cpp.

◆ InputFloat() [2/2]

bool ImGui::InputFloat ( const char *  label,
float *  v,
float  step = 0.0f,
float  step_fast = 0.0f,
const char *  format = "%.3f",
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3017 of file imgui_widgets.cpp.

◆ InputFloat2() [1/2]

bool ImGui::InputFloat2 ( const char *  label,
float  v[2],
const char *  format = "%.3f",
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3023 of file imgui_widgets.cpp.

◆ InputFloat2() [2/2]

bool ImGui::InputFloat2 ( const char *  label,
float  v[2],
int  decimal_precision,
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3048 of file imgui_widgets.cpp.

◆ InputFloat3() [1/2]

bool ImGui::InputFloat3 ( const char *  label,
float  v[3],
const char *  format = "%.3f",
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3028 of file imgui_widgets.cpp.

◆ InputFloat3() [2/2]

bool ImGui::InputFloat3 ( const char *  label,
float  v[3],
int  decimal_precision,
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3056 of file imgui_widgets.cpp.

◆ InputFloat4() [1/2]

bool ImGui::InputFloat4 ( const char *  label,
float  v[4],
const char *  format = "%.3f",
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3033 of file imgui_widgets.cpp.

◆ InputFloat4() [2/2]

bool ImGui::InputFloat4 ( const char *  label,
float  v[4],
int  decimal_precision,
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3064 of file imgui_widgets.cpp.

◆ InputInt()

bool ImGui::InputInt ( const char *  label,
int *  v,
int  step = 1,
int  step_fast = 100,
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3073 of file imgui_widgets.cpp.

◆ InputInt2()

bool ImGui::InputInt2 ( const char *  label,
int  v[2],
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3080 of file imgui_widgets.cpp.

◆ InputInt3()

bool ImGui::InputInt3 ( const char *  label,
int  v[3],
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3085 of file imgui_widgets.cpp.

◆ InputInt4()

bool ImGui::InputInt4 ( const char *  label,
int  v[4],
ImGuiInputTextFlags  flags = 0 
)

Definition at line 3090 of file imgui_widgets.cpp.

◆ InputScalar()

bool ImGui::InputScalar ( const char *  label,
ImGuiDataType  data_type,
void p_data,
const void p_step = NULL,
const void p_step_fast = NULL,
const char *  format = NULL,
ImGuiInputTextFlags  flags = 0 
)

Definition at line 2910 of file imgui_widgets.cpp.

◆ InputScalarN()

bool ImGui::InputScalarN ( const char *  label,
ImGuiDataType  data_type,
void p_data,
int  components,
const void p_step = NULL,
const void p_step_fast = NULL,
const char *  format = NULL,
ImGuiInputTextFlags  flags = 0 
)

Definition at line 2982 of file imgui_widgets.cpp.

◆ InputText() [1/2]

bool ImGui::InputText ( const char *  label,
char *  buf,
size_t  buf_size,
ImGuiInputTextFlags  flags = 0,
ImGuiInputTextCallback  callback = NULL,
void user_data = NULL 
)

Definition at line 3110 of file imgui_widgets.cpp.

◆ InputText() [2/2]

bool ImGui::InputText ( const char *  label,
std::string str,
ImGuiInputTextFlags  flags = 0,
ImGuiInputTextCallback  callback = NULL,
void user_data = NULL 
)

Definition at line 43 of file imgui_stdlib.cpp.

◆ InputTextEx()

bool ImGui::InputTextEx ( const char *  label,
const char *  hint,
char *  buf,
int  buf_size,
const ImVec2 size_arg,
ImGuiInputTextFlags  flags,
ImGuiInputTextCallback  callback = NULL,
void user_data = NULL 
)

Definition at line 3448 of file imgui_widgets.cpp.

◆ InputTextMultiline() [1/2]

bool ImGui::InputTextMultiline ( const char *  label,
char *  buf,
size_t  buf_size,
const ImVec2 size = ImVec2(0,0),
ImGuiInputTextFlags  flags = 0,
ImGuiInputTextCallback  callback = NULL,
void user_data = NULL 
)

Definition at line 3116 of file imgui_widgets.cpp.

◆ InputTextMultiline() [2/2]

bool ImGui::InputTextMultiline ( const char *  label,
std::string str,
const ImVec2 size = ImVec2(0, 0),
ImGuiInputTextFlags  flags = 0,
ImGuiInputTextCallback  callback = NULL,
void user_data = NULL 
)

Definition at line 55 of file imgui_stdlib.cpp.

◆ InputTextWithHint() [1/2]

bool ImGui::InputTextWithHint ( const char *  label,
const char *  hint,
char *  buf,
size_t  buf_size,
ImGuiInputTextFlags  flags = 0,
ImGuiInputTextCallback  callback = NULL,
void user_data = NULL 
)

Definition at line 3121 of file imgui_widgets.cpp.

◆ InputTextWithHint() [2/2]

bool ImGui::InputTextWithHint ( const char *  label,
const char *  hint,
std::string str,
ImGuiInputTextFlags  flags = 0,
ImGuiInputTextCallback  callback = NULL,
void user_data = NULL 
)

Definition at line 67 of file imgui_stdlib.cpp.

◆ InvisibleButton()

bool ImGui::InvisibleButton ( const char *  str_id,
const ImVec2 size 
)

Definition at line 696 of file imgui_widgets.cpp.

◆ IsActiveIdUsingKey()

bool ImGui::IsActiveIdUsingKey ( ImGuiKey  key)
inline

Definition at line 1775 of file imgui_internal.h.

◆ IsActiveIdUsingNavDir()

bool ImGui::IsActiveIdUsingNavDir ( ImGuiDir  dir)
inline

Definition at line 1773 of file imgui_internal.h.

◆ IsActiveIdUsingNavInput()

bool ImGui::IsActiveIdUsingNavInput ( ImGuiNavInput  input)
inline

Definition at line 1774 of file imgui_internal.h.

◆ IsAnyItemActive()

bool ImGui::IsAnyItemActive ( )

Definition at line 4634 of file imgui.cpp.

◆ IsAnyItemFocused()

bool ImGui::IsAnyItemFocused ( )

Definition at line 4640 of file imgui.cpp.

◆ IsAnyItemHovered()

bool ImGui::IsAnyItemHovered ( )

Definition at line 4628 of file imgui.cpp.

◆ IsAnyMouseDown()

bool ImGui::IsAnyMouseDown ( )

Definition at line 4510 of file imgui.cpp.

◆ IsAnyWindowFocused()

static bool ImGui::IsAnyWindowFocused ( )
inlinestatic

Definition at line 1645 of file imgui.h.

◆ IsAnyWindowHovered()

static bool ImGui::IsAnyWindowHovered ( )
inlinestatic

Definition at line 1646 of file imgui.h.

◆ IsClippedEx()

bool ImGui::IsClippedEx ( const ImRect bb,
ImGuiID  id,
bool  clip_even_when_logged 
)

Definition at line 3140 of file imgui.cpp.

◆ IsDragDropPayloadBeingAccepted()

bool ImGui::IsDragDropPayloadBeingAccepted ( )

Definition at line 9238 of file imgui.cpp.

◆ IsItemActivated()

bool ImGui::IsItemActivated ( )

Definition at line 4574 of file imgui.cpp.

◆ IsItemActive()

bool ImGui::IsItemActive ( )

Definition at line 4563 of file imgui.cpp.

◆ IsItemClicked()

bool ImGui::IsItemClicked ( ImGuiMouseButton  mouse_button = 0)

Definition at line 4611 of file imgui.cpp.

◆ IsItemDeactivated()

bool ImGui::IsItemDeactivated ( )

Definition at line 4586 of file imgui.cpp.

◆ IsItemDeactivatedAfterChange()

static bool ImGui::IsItemDeactivatedAfterChange ( )
inlinestatic

Definition at line 1638 of file imgui.h.

◆ IsItemDeactivatedAfterEdit()

bool ImGui::IsItemDeactivatedAfterEdit ( )

Definition at line 4595 of file imgui.cpp.

◆ IsItemEdited()

bool ImGui::IsItemEdited ( )

Definition at line 4652 of file imgui.cpp.

◆ IsItemFocused()

bool ImGui::IsItemFocused ( )

Definition at line 4601 of file imgui.cpp.

◆ IsItemHovered()

bool ImGui::IsItemHovered ( ImGuiHoveredFlags  flags = 0)

Definition at line 3065 of file imgui.cpp.

◆ IsItemToggledOpen()

bool ImGui::IsItemToggledOpen ( )

Definition at line 4616 of file imgui.cpp.

◆ IsItemToggledSelection()

bool ImGui::IsItemToggledSelection ( )

Definition at line 4622 of file imgui.cpp.

◆ IsItemVisible()

bool ImGui::IsItemVisible ( )

Definition at line 4646 of file imgui.cpp.

◆ IsKeyDown()

bool ImGui::IsKeyDown ( int  user_key_index)

Definition at line 4367 of file imgui.cpp.

◆ IsKeyPressed()

bool ImGui::IsKeyPressed ( int  user_key_index,
bool  repeat = true 
)

Definition at line 4404 of file imgui.cpp.

◆ IsKeyPressedMap()

bool ImGui::IsKeyPressedMap ( ImGuiKey  key,
bool  repeat = true 
)
inline

Definition at line 1777 of file imgui_internal.h.

◆ IsKeyReleased()

bool ImGui::IsKeyReleased ( int  user_key_index)

Definition at line 4418 of file imgui.cpp.

◆ IsMouseClicked()

bool ImGui::IsMouseClicked ( ImGuiMouseButton  button,
bool  repeat = false 
)

Definition at line 4433 of file imgui.cpp.

◆ IsMouseDoubleClicked()

bool ImGui::IsMouseDoubleClicked ( ImGuiMouseButton  button)

Definition at line 4458 of file imgui.cpp.

◆ IsMouseDown()

bool ImGui::IsMouseDown ( ImGuiMouseButton  button)

Definition at line 4426 of file imgui.cpp.

◆ IsMouseDragging()

bool ImGui::IsMouseDragging ( ImGuiMouseButton  button,
float  lock_threshold = -1.0f 
)

Definition at line 4475 of file imgui.cpp.

◆ IsMouseDragPastThreshold()

bool ImGui::IsMouseDragPastThreshold ( ImGuiMouseButton  button,
float  lock_threshold = -1.0f 
)

Definition at line 4466 of file imgui.cpp.

◆ IsMouseHoveringRect()

bool ImGui::IsMouseHoveringRect ( const ImVec2 r_min,
const ImVec2 r_max,
bool  clip = true 
)

Definition at line 4342 of file imgui.cpp.

◆ IsMousePosValid()

bool ImGui::IsMousePosValid ( const ImVec2 mouse_pos = NULL)

Definition at line 4500 of file imgui.cpp.

◆ IsMouseReleased()

bool ImGui::IsMouseReleased ( ImGuiMouseButton  button)

Definition at line 4451 of file imgui.cpp.

◆ IsNavInputDown()

bool ImGui::IsNavInputDown ( ImGuiNavInput  n)
inline

Definition at line 1778 of file imgui_internal.h.

◆ IsNavInputTest()

bool ImGui::IsNavInputTest ( ImGuiNavInput  n,
ImGuiInputReadMode  rm 
)
inline

Definition at line 1779 of file imgui_internal.h.

◆ IsPopupOpen() [1/2]

bool ImGui::IsPopupOpen ( const char *  str_id)

Definition at line 7503 of file imgui.cpp.

◆ IsPopupOpen() [2/2]

bool ImGui::IsPopupOpen ( ImGuiID  id)

Definition at line 7497 of file imgui.cpp.

◆ IsRectVisible() [1/2]

bool ImGui::IsRectVisible ( const ImVec2 rect_min,
const ImVec2 rect_max 
)

Definition at line 6680 of file imgui.cpp.

◆ IsRectVisible() [2/2]

bool ImGui::IsRectVisible ( const ImVec2 size)

Definition at line 6674 of file imgui.cpp.

◆ IsWindowAppearing()

bool ImGui::IsWindowAppearing ( )

Definition at line 6440 of file imgui.cpp.

◆ IsWindowChildOf()

bool ImGui::IsWindowChildOf ( ImGuiWindow window,
ImGuiWindow potential_parent 
)

Definition at line 6236 of file imgui.cpp.

◆ IsWindowCollapsed()

bool ImGui::IsWindowCollapsed ( )

Definition at line 6434 of file imgui.cpp.

◆ IsWindowFocused()

bool ImGui::IsWindowFocused ( ImGuiFocusedFlags  flags = 0)

Definition at line 6290 of file imgui.cpp.

◆ IsWindowHovered()

bool ImGui::IsWindowHovered ( ImGuiHoveredFlags  flags = 0)

Definition at line 6249 of file imgui.cpp.

◆ IsWindowNavFocusable()

bool ImGui::IsWindowNavFocusable ( ImGuiWindow window)

Definition at line 6314 of file imgui.cpp.

◆ ItemAdd()

bool ImGui::ItemAdd ( const ImRect bb,
ImGuiID  id,
const ImRect nav_bb = NULL 
)

Definition at line 6864 of file imgui.cpp.

◆ ItemHoverable()

bool ImGui::ItemHoverable ( const ImRect bb,
ImGuiID  id 
)

Definition at line 3107 of file imgui.cpp.

◆ ItemSize() [1/2]

void ImGui::ItemSize ( const ImRect bb,
float  text_baseline_y = -1.0f 
)

Definition at line 6856 of file imgui.cpp.

◆ ItemSize() [2/2]

void ImGui::ItemSize ( const ImVec2 size,
float  text_baseline_y = -1.0f 
)

Definition at line 6823 of file imgui.cpp.

◆ KeepAliveID()

void ImGui::KeepAliveID ( ImGuiID  id)

Definition at line 3021 of file imgui.cpp.

◆ LabelText()

void ImGui::LabelText ( const char *  label,
const char *  fmt,
  ... 
)

Definition at line 315 of file imgui_widgets.cpp.

◆ LabelTextV()

void ImGui::LabelTextV ( const char *  label,
const char *  fmt,
va_list  args 
)

Definition at line 324 of file imgui_widgets.cpp.

◆ ListBox() [1/2]

IMGUI_API bool ImGui::ListBox ( const char *  label,
int *  current_item,
bool(*)(void *data, int idx, const char **out_text)  items_getter,
void data,
int  items_count,
int  height_in_items = -1 
)

◆ ListBox() [2/2]

bool ImGui::ListBox ( const char *  label,
int *  current_item,
const char *const  items[],
int  items_count,
int  height_in_items = -1 
)

Definition at line 5788 of file imgui_widgets.cpp.

◆ ListBoxFooter()

void ImGui::ListBoxFooter ( )

Definition at line 5772 of file imgui_widgets.cpp.

◆ ListBoxHeader() [1/2]

bool ImGui::ListBoxHeader ( const char *  label,
const ImVec2 size = ImVec2(0,0) 
)

Definition at line 5718 of file imgui_widgets.cpp.

◆ ListBoxHeader() [2/2]

bool ImGui::ListBoxHeader ( const char *  label,
int  items_count,
int  height_in_items = -1 
)

Definition at line 5753 of file imgui_widgets.cpp.

◆ LoadIniSettingsFromDisk()

void ImGui::LoadIniSettingsFromDisk ( const char *  ini_filename)

Definition at line 9601 of file imgui.cpp.

◆ LoadIniSettingsFromMemory()

void ImGui::LoadIniSettingsFromMemory ( const char *  ini_data,
size_t  ini_size = 0 
)

Definition at line 9622 of file imgui.cpp.

◆ LogBegin()

void ImGui::LogBegin ( ImGuiLogType  type,
int  auto_open_depth 
)

Definition at line 9384 of file imgui.cpp.

◆ LogButtons()

void ImGui::LogButtons ( )

Definition at line 9489 of file imgui.cpp.

◆ LogFinish()

void ImGui::LogFinish ( )

Definition at line 9453 of file imgui.cpp.

◆ LogRenderedText()

void ImGui::LogRenderedText ( const ImVec2 ref_pos,
const char *  text,
const char *  text_end = NULL 
)

Definition at line 9333 of file imgui.cpp.

◆ LogText()

void ImGui::LogText ( const char *  fmt,
  ... 
)

Definition at line 9310 of file imgui.cpp.

◆ LogToBuffer()

void ImGui::LogToBuffer ( int  auto_open_depth = -1)

Definition at line 9445 of file imgui.cpp.

◆ LogToClipboard()

void ImGui::LogToClipboard ( int  auto_open_depth = -1)

Definition at line 9437 of file imgui.cpp.

◆ LogToFile()

void ImGui::LogToFile ( int  auto_open_depth = -1,
const char *  filename = NULL 
)

Definition at line 9412 of file imgui.cpp.

◆ LogToTTY()

void ImGui::LogToTTY ( int  auto_open_depth = -1)

Definition at line 9399 of file imgui.cpp.

◆ MarkIniSettingsDirty() [1/2]

void ImGui::MarkIniSettingsDirty ( )

Definition at line 9548 of file imgui.cpp.

◆ MarkIniSettingsDirty() [2/2]

void ImGui::MarkIniSettingsDirty ( ImGuiWindow window)

Definition at line 9555 of file imgui.cpp.

◆ MarkItemEdited()

void ImGui::MarkItemEdited ( ImGuiID  id)

Definition at line 3030 of file imgui.cpp.

◆ MemAlloc()

void * ImGui::MemAlloc ( size_t  size)

Definition at line 3210 of file imgui.cpp.

◆ MemFree()

void ImGui::MemFree ( void ptr)

Definition at line 3218 of file imgui.cpp.

◆ MenuItem() [1/2]

bool ImGui::MenuItem ( const char *  label,
const char *  shortcut,
bool *  p_selected,
bool  enabled = true 
)

Definition at line 6414 of file imgui_widgets.cpp.

◆ MenuItem() [2/2]

bool ImGui::MenuItem ( const char *  label,
const char *  shortcut = NULL,
bool  selected = false,
bool  enabled = true 
)

Definition at line 6365 of file imgui_widgets.cpp.

◆ NavCalcPreferredRefPos()

static ImVec2 ImGui::NavCalcPreferredRefPos ( )
static

Definition at line 8313 of file imgui.cpp.

◆ NavInitWindow()

void ImGui::NavInitWindow ( ImGuiWindow window,
bool  force_reinit 
)

Definition at line 8288 of file imgui.cpp.

◆ NavMoveRequestButNoResultYet()

bool ImGui::NavMoveRequestButNoResultYet ( )

Definition at line 8188 of file imgui.cpp.

◆ NavMoveRequestCancel()

void ImGui::NavMoveRequestCancel ( )

Definition at line 8194 of file imgui.cpp.

◆ NavMoveRequestForward()

void ImGui::NavMoveRequestForward ( ImGuiDir  move_dir,
ImGuiDir  clip_dir,
const ImRect bb_rel,
ImGuiNavMoveFlags  move_flags 
)

Definition at line 8201 of file imgui.cpp.

◆ NavMoveRequestTryWrapping()

void ImGui::NavMoveRequestTryWrapping ( ImGuiWindow window,
ImGuiNavMoveFlags  move_flags 
)

Definition at line 8213 of file imgui.cpp.

◆ NavProcessItem()

static void ImGui::NavProcessItem ( ImGuiWindow window,
const ImRect nav_bb,
ImGuiID  id 
)
static

Definition at line 8116 of file imgui.cpp.

◆ NavRestoreLastChildNavWindow()

static ImGuiWindow * ImGui::NavRestoreLastChildNavWindow ( ImGuiWindow window)
static

Definition at line 8261 of file imgui.cpp.

◆ NavSaveLastChildNavWindowIntoParent()

static void ImGui::NavSaveLastChildNavWindowIntoParent ( ImGuiWindow nav_window)
static

Definition at line 8250 of file imgui.cpp.

◆ NavScoreItem()

static bool ImGui::NavScoreItem ( ImGuiNavMoveResult result,
ImRect  cand 
)
static

Definition at line 7984 of file imgui.cpp.

◆ NavUpdate()

static void ImGui::NavUpdate ( )
static

Definition at line 8371 of file imgui.cpp.

◆ NavUpdateAnyRequestFlag()

static void ImGui::NavUpdateAnyRequestFlag ( )
inlinestatic

Definition at line 8279 of file imgui.cpp.

◆ NavUpdateMoveResult()

static void ImGui::NavUpdateMoveResult ( )
static

Definition at line 8653 of file imgui.cpp.

◆ NavUpdatePageUpPageDown()

static float ImGui::NavUpdatePageUpPageDown ( )
static

Definition at line 8716 of file imgui.cpp.

◆ NavUpdateWindowing()

static void ImGui::NavUpdateWindowing ( )
static

Definition at line 8824 of file imgui.cpp.

◆ NavUpdateWindowingOverlay()

void ImGui::NavUpdateWindowingOverlay ( )
static

Definition at line 8976 of file imgui.cpp.

◆ NewFrame()

void ImGui::NewFrame ( )

Definition at line 3691 of file imgui.cpp.

◆ NewLine()

void ImGui::NewLine ( )

Definition at line 1226 of file imgui_widgets.cpp.

◆ NextColumn()

void ImGui::NextColumn ( )

Definition at line 7570 of file imgui_widgets.cpp.

◆ OpenPopup()

void ImGui::OpenPopup ( const char *  str_id)

Definition at line 7519 of file imgui.cpp.

◆ OpenPopupEx()

void ImGui::OpenPopupEx ( ImGuiID  id)

Definition at line 7529 of file imgui.cpp.

◆ OpenPopupOnItemClick()

bool ImGui::OpenPopupOnItemClick ( const char *  str_id = NULL,
ImGuiMouseButton  mouse_button = 1 
)

Definition at line 7747 of file imgui.cpp.

◆ PlotEx()

void ImGui::PlotEx ( ImGuiPlotType  plot_type,
const char *  label,
float(*)(void *data, int idx values_getter,
void data,
int  values_count,
int  values_offset,
const char *  overlay_text,
float  scale_min,
float  scale_max,
ImVec2  frame_size 
)

Definition at line 5836 of file imgui_widgets.cpp.

◆ PlotHistogram() [1/2]

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

Definition at line 5976 of file imgui_widgets.cpp.

◆ PlotHistogram() [2/2]

void ImGui::PlotHistogram ( const char *  label,
float(*)(void *data, int idx values_getter,
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) 
)

Definition at line 5982 of file imgui_widgets.cpp.

◆ PlotLines() [1/2]

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

Definition at line 5965 of file imgui_widgets.cpp.

◆ PlotLines() [2/2]

void ImGui::PlotLines ( const char *  label,
float(*)(void *data, int idx values_getter,
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) 
)

Definition at line 5971 of file imgui_widgets.cpp.

◆ PopAllowKeyboardFocus()

void ImGui::PopAllowKeyboardFocus ( )

Definition at line 6207 of file imgui.cpp.

◆ PopButtonRepeat()

void ImGui::PopButtonRepeat ( )

Definition at line 6217 of file imgui.cpp.

◆ PopClipRect()

void ImGui::PopClipRect ( )

Definition at line 4135 of file imgui.cpp.

◆ PopColumnsBackground()

void ImGui::PopColumnsBackground ( )

Definition at line 7458 of file imgui_widgets.cpp.

◆ PopFocusScope()

void ImGui::PopFocusScope ( )

Definition at line 6572 of file imgui.cpp.

◆ PopFont()

void ImGui::PopFont ( )

Definition at line 6176 of file imgui.cpp.

◆ PopID()

void ImGui::PopID ( )

Definition at line 6650 of file imgui.cpp.

◆ PopItemFlag()

void ImGui::PopItemFlag ( )

Definition at line 6194 of file imgui.cpp.

◆ PopItemWidth()

void ImGui::PopItemWidth ( )

Definition at line 7053 of file imgui.cpp.

◆ PopStyleColor()

void ImGui::PopStyleColor ( int  count = 1)

Definition at line 2398 of file imgui.cpp.

◆ PopStyleVar()

void ImGui::PopStyleVar ( int  count = 1)

Definition at line 2480 of file imgui.cpp.

◆ PopTextWrapPos()

void ImGui::PopTextWrapPos ( )

Definition at line 6229 of file imgui.cpp.

◆ ProgressBar()

void ImGui::ProgressBar ( float  fraction,
const ImVec2 size_arg = ImVec2(-1,0),
const char *  overlay = NULL 
)

Definition at line 1135 of file imgui_widgets.cpp.

◆ PushAllowKeyboardFocus()

void ImGui::PushAllowKeyboardFocus ( bool  allow_keyboard_focus)

Definition at line 6202 of file imgui.cpp.

◆ PushButtonRepeat()

void ImGui::PushButtonRepeat ( bool  repeat)

Definition at line 6212 of file imgui.cpp.

◆ PushClipRect()

void ImGui::PushClipRect ( const ImVec2 clip_rect_min,
const ImVec2 clip_rect_max,
bool  intersect_with_current_clip_rect 
)

Definition at line 4128 of file imgui.cpp.

◆ PushColumnClipRect()

void ImGui::PushColumnClipRect ( int  column_index)

Definition at line 7433 of file imgui_widgets.cpp.

◆ PushColumnsBackground()

void ImGui::PushColumnsBackground ( )

Definition at line 7445 of file imgui_widgets.cpp.

◆ PushFocusScope()

void ImGui::PushFocusScope ( ImGuiID  id)

Definition at line 6564 of file imgui.cpp.

◆ PushFont()

void ImGui::PushFont ( ImFont font)

Definition at line 6166 of file imgui.cpp.

◆ PushID() [1/4]

void ImGui::PushID ( const char *  str_id)

Definition at line 6619 of file imgui.cpp.

◆ PushID() [2/4]

void ImGui::PushID ( const char *  str_id_begin,
const char *  str_id_end 
)

Definition at line 6625 of file imgui.cpp.

◆ PushID() [3/4]

void ImGui::PushID ( const void ptr_id)

Definition at line 6631 of file imgui.cpp.

◆ PushID() [4/4]

void ImGui::PushID ( int  int_id)

Definition at line 6637 of file imgui.cpp.

◆ PushItemFlag()

void ImGui::PushItemFlag ( ImGuiItemFlags  option,
bool  enabled 
)

Definition at line 6184 of file imgui.cpp.

◆ PushItemWidth()

void ImGui::PushItemWidth ( float  item_width)

Definition at line 7030 of file imgui.cpp.

◆ PushMultiItemsWidths()

void ImGui::PushMultiItemsWidths ( int  components,
float  width_full 
)

Definition at line 7039 of file imgui.cpp.

◆ PushOverrideID()

void ImGui::PushOverrideID ( ImGuiID  id)

Definition at line 6644 of file imgui.cpp.

◆ PushStyleColor() [1/2]

void ImGui::PushStyleColor ( ImGuiCol  idx,
const ImVec4 col 
)

Definition at line 2388 of file imgui.cpp.

◆ PushStyleColor() [2/2]

void ImGui::PushStyleColor ( ImGuiCol  idx,
ImU32  col 
)

Definition at line 2378 of file imgui.cpp.

◆ PushStyleVar() [1/2]

void ImGui::PushStyleVar ( ImGuiStyleVar  idx,
const ImVec2 val 
)

Definition at line 2466 of file imgui.cpp.

◆ PushStyleVar() [2/2]

void ImGui::PushStyleVar ( ImGuiStyleVar  idx,
float  val 
)

Definition at line 2452 of file imgui.cpp.

◆ PushTextWrapPos()

void ImGui::PushTextWrapPos ( float  wrap_local_pos_x = 0.0f)

Definition at line 6222 of file imgui.cpp.

◆ RadioButton() [1/2]

bool ImGui::RadioButton ( const char *  label,
bool  active 
)

Definition at line 1074 of file imgui_widgets.cpp.

◆ RadioButton() [2/2]

bool ImGui::RadioButton ( const char *  label,
int *  v,
int  v_button 
)

Definition at line 1126 of file imgui_widgets.cpp.

◆ Render()

void ImGui::Render ( )

Definition at line 4222 of file imgui.cpp.

◆ RenderArrow() [1/2]

void ImGui::RenderArrow ( ImDrawList draw_list,
ImVec2  pos,
ImU32  col,
ImGuiDir  dir,
float  scale = 1.0f 
)

Definition at line 3179 of file imgui_draw.cpp.

◆ RenderArrow() [2/2]

void ImGui::RenderArrow ( ImVec2  pos,
ImGuiDir  dir,
float  scale = 1.0f 
)
inline

Definition at line 1833 of file imgui_internal.h.

◆ RenderArrowPointingAt()

void ImGui::RenderArrowPointingAt ( ImDrawList draw_list,
ImVec2  pos,
ImVec2  half_sz,
ImGuiDir  direction,
ImU32  col 
)

Definition at line 3252 of file imgui_draw.cpp.

◆ RenderBullet() [1/2]

void ImGui::RenderBullet ( ImDrawList draw_list,
ImVec2  pos,
ImU32  col 
)

Definition at line 3210 of file imgui_draw.cpp.

◆ RenderBullet() [2/2]

void ImGui::RenderBullet ( ImVec2  pos)
inline

Definition at line 1834 of file imgui_internal.h.

◆ RenderCheckMark()

void ImGui::RenderCheckMark ( ImDrawList draw_list,
ImVec2  pos,
ImU32  col,
float  sz 
)

Definition at line 3215 of file imgui_draw.cpp.

◆ RenderColorRectWithAlphaCheckerboard()

void ImGui::RenderColorRectWithAlphaCheckerboard ( ImDrawList draw_list,
ImVec2  p_min,
ImVec2  p_max,
ImU32  fill_col,
float  grid_step,
ImVec2  grid_off,
float  rounding = 0.0f,
int  rounding_corners_flags = ~0 
)

Definition at line 3337 of file imgui_draw.cpp.

◆ RenderFrame()

void ImGui::RenderFrame ( ImVec2  p_min,
ImVec2  p_max,
ImU32  fill_col,
bool  border = true,
float  rounding = 0.0f 
)

Definition at line 2743 of file imgui.cpp.

◆ RenderFrameBorder()

void ImGui::RenderFrameBorder ( ImVec2  p_min,
ImVec2  p_max,
float  rounding = 0.0f 
)

Definition at line 2756 of file imgui.cpp.

◆ RenderMouseCursor()

void ImGui::RenderMouseCursor ( ImDrawList draw_list,
ImVec2  pos,
float  scale,
ImGuiMouseCursor  mouse_cursor,
ImU32  col_fill,
ImU32  col_border,
ImU32  col_shadow 
)

Definition at line 3230 of file imgui_draw.cpp.

◆ RenderNavHighlight()

void ImGui::RenderNavHighlight ( const ImRect bb,
ImGuiID  id,
ImGuiNavHighlightFlags  flags = ImGuiNavHighlightFlags_TypeDefault 
)

Definition at line 2768 of file imgui.cpp.

◆ RenderRectFilledRangeH()

void ImGui::RenderRectFilledRangeH ( ImDrawList draw_list,
const ImRect rect,
ImU32  col,
float  x_start_norm,
float  x_end_norm,
float  rounding 
)

Definition at line 3273 of file imgui_draw.cpp.

◆ RenderText()

void ImGui::RenderText ( ImVec2  pos,
const char *  text,
const char *  text_end = NULL,
bool  hide_text_after_hash = true 
)

Definition at line 2574 of file imgui.cpp.

◆ RenderTextClipped()

void ImGui::RenderTextClipped ( const ImVec2 pos_min,
const ImVec2 pos_max,
const char *  text,
const char *  text_end,
const ImVec2 text_size_if_known,
const ImVec2 align = ImVec2(0,0),
const ImRect clip_rect = NULL 
)

Definition at line 2646 of file imgui.cpp.

◆ RenderTextClippedEx()

void ImGui::RenderTextClippedEx ( ImDrawList draw_list,
const ImVec2 pos_min,
const ImVec2 pos_max,
const char *  text,
const char *  text_end,
const ImVec2 text_size_if_known,
const ImVec2 align = ImVec2(0, 0),
const ImRect clip_rect = NULL 
)

Definition at line 2618 of file imgui.cpp.

◆ RenderTextEllipsis()

void ImGui::RenderTextEllipsis ( ImDrawList draw_list,
const ImVec2 pos_min,
const ImVec2 pos_max,
float  clip_max_x,
float  ellipsis_max_x,
const char *  text,
const char *  text_end,
const ImVec2 text_size_if_known 
)

Definition at line 2665 of file imgui.cpp.

◆ RenderTextWrapped()

void ImGui::RenderTextWrapped ( ImVec2  pos,
const char *  text,
const char *  text_end,
float  wrap_width 
)

Definition at line 2600 of file imgui.cpp.

◆ RenderWindowDecorations()

void ImGui::RenderWindowDecorations ( ImGuiWindow window,
const ImRect title_bar_rect,
bool  title_bar_is_highlight,
int  resize_grip_count,
const ImU32  resize_grip_col[4],
float  resize_grip_draw_size 
)
static

Definition at line 5208 of file imgui.cpp.

◆ RenderWindowOuterBorders()

static void ImGui::RenderWindowOuterBorders ( ImGuiWindow window)
static

Definition at line 5169 of file imgui.cpp.

◆ RenderWindowTitleBarContents()

void ImGui::RenderWindowTitleBarContents ( ImGuiWindow window,
const ImRect title_bar_rect,
const char *  name,
bool *  p_open 
)
static

Definition at line 5291 of file imgui.cpp.

◆ ResetMouseDragDelta()

void ImGui::ResetMouseDragDelta ( ImGuiMouseButton  button = 0)

Definition at line 4535 of file imgui.cpp.

◆ RoundScalarWithFormatT()

template<typename T , typename SIGNED_T >
IMGUI_API T ImGui::RoundScalarWithFormatT ( const char *  format,
ImGuiDataType  data_type,
T  v 
)

◆ SameLine()

void ImGui::SameLine ( float  offset_from_start_x = 0.0f,
float  spacing = -1.0f 
)

Definition at line 6923 of file imgui.cpp.

◆ SaveIniSettingsToDisk()

void ImGui::SaveIniSettingsToDisk ( const char *  ini_filename)

Definition at line 9677 of file imgui.cpp.

◆ SaveIniSettingsToMemory()

const char * ImGui::SaveIniSettingsToMemory ( size_t *  out_ini_size = NULL)

Definition at line 9694 of file imgui.cpp.

◆ Scrollbar()

void ImGui::Scrollbar ( ImGuiAxis  axis)

Definition at line 912 of file imgui_widgets.cpp.

◆ ScrollbarEx()

bool ImGui::ScrollbarEx ( const ImRect bb,
ImGuiID  id,
ImGuiAxis  axis,
float *  p_scroll_v,
float  avail_v,
float  contents_v,
ImDrawCornerFlags  rounding_corners 
)

Definition at line 821 of file imgui_widgets.cpp.

◆ ScrollToBringRectIntoView()

ImVec2 ImGui::ScrollToBringRectIntoView ( ImGuiWindow window,
const ImRect item_rect 
)

Definition at line 7300 of file imgui.cpp.

◆ Selectable() [1/2]

bool ImGui::Selectable ( const char *  label,
bool *  p_selected,
ImGuiSelectableFlags  flags = 0,
const ImVec2 size = ImVec2(0,0) 
)

Definition at line 5694 of file imgui_widgets.cpp.

◆ Selectable() [2/2]

bool ImGui::Selectable ( const char *  label,
bool  selected = false,
ImGuiSelectableFlags  flags = 0,
const ImVec2 size = ImVec2(0,0) 
)

Definition at line 5572 of file imgui_widgets.cpp.

◆ Separator()

void ImGui::Separator ( )

Definition at line 1311 of file imgui_widgets.cpp.

◆ SeparatorEx()

void ImGui::SeparatorEx ( ImGuiSeparatorFlags  flags)

Definition at line 1254 of file imgui_widgets.cpp.

◆ SetActiveID()

void ImGui::SetActiveID ( ImGuiID  id,
ImGuiWindow window 
)

Definition at line 2969 of file imgui.cpp.

◆ SetAllocatorFunctions()

void ImGui::SetAllocatorFunctions ( void *(*)(size_t sz, void *user_data)  alloc_func,
void(*)(void *ptr, void *user_data)  free_func,
void user_data = NULL 
)

Definition at line 3260 of file imgui.cpp.

◆ SetClipboardText()

void ImGui::SetClipboardText ( const char *  text)

Definition at line 3232 of file imgui.cpp.

◆ SetColorEditOptions()

void ImGui::SetColorEditOptions ( ImGuiColorEditFlags  flags)

Definition at line 4973 of file imgui_widgets.cpp.

◆ SetColumnOffset()

void ImGui::SetColumnOffset ( int  column_index,
float  offset_x 
)

Definition at line 7400 of file imgui_widgets.cpp.

◆ SetColumnWidth()

void ImGui::SetColumnWidth ( int  column_index,
float  width 
)

Definition at line 7422 of file imgui_widgets.cpp.

◆ SetCurrentContext()

void ImGui::SetCurrentContext ( ImGuiContext ctx)

Definition at line 3251 of file imgui.cpp.

◆ SetCurrentFont()

void ImGui::SetCurrentFont ( ImFont font)

Definition at line 6151 of file imgui.cpp.

◆ SetCursorPos()

void ImGui::SetCursorPos ( const ImVec2 local_pos)

Definition at line 6979 of file imgui.cpp.

◆ SetCursorPosX()

void ImGui::SetCursorPosX ( float  local_x)

Definition at line 6986 of file imgui.cpp.

◆ SetCursorPosY()

void ImGui::SetCursorPosY ( float  local_y)

Definition at line 6993 of file imgui.cpp.

◆ SetCursorScreenPos()

void ImGui::SetCursorScreenPos ( const ImVec2 pos)

Definition at line 6952 of file imgui.cpp.

◆ SetDragDropPayload()

bool ImGui::SetDragDropPayload ( const char *  type,
const void data,
size_t  sz,
ImGuiCond  cond = 0 
)

Definition at line 9143 of file imgui.cpp.

◆ SetFocusID()

void ImGui::SetFocusID ( ImGuiID  id,
ImGuiWindow window 
)

Definition at line 7929 of file imgui.cpp.

◆ SetHoveredID()

void ImGui::SetHoveredID ( ImGuiID  id)

Definition at line 3006 of file imgui.cpp.

◆ SetItemAllowOverlap()

void ImGui::SetItemAllowOverlap ( )

Definition at line 4659 of file imgui.cpp.

◆ SetItemDefaultFocus()

void ImGui::SetItemDefaultFocus ( )

Definition at line 6590 of file imgui.cpp.

◆ SetKeyboardFocusHere()

void ImGui::SetKeyboardFocusHere ( int  offset = 0)

Definition at line 6580 of file imgui.cpp.

◆ SetMouseCursor()

void ImGui::SetMouseCursor ( ImGuiMouseCursor  cursor_type)

Definition at line 4548 of file imgui.cpp.

◆ SetNavID()

void ImGui::SetNavID ( ImGuiID  id,
int  nav_layer,
ImGuiID  focus_scope_id 
)

Definition at line 7909 of file imgui.cpp.

◆ SetNavIDWithRectRel()

void ImGui::SetNavIDWithRectRel ( ImGuiID  id,
int  nav_layer,
ImGuiID  focus_scope_id,
const ImRect rect_rel 
)

Definition at line 7919 of file imgui.cpp.

◆ SetNextItemOpen()

void ImGui::SetNextItemOpen ( bool  is_open,
ImGuiCond  cond = 0 
)

Definition at line 5509 of file imgui_widgets.cpp.

◆ SetNextItemWidth()

void ImGui::SetNextItemWidth ( float  item_width)

Definition at line 7023 of file imgui.cpp.

◆ SetNextTreeNodeOpen()

static void ImGui::SetNextTreeNodeOpen ( bool  open,
ImGuiCond  cond = 0 
)
inlinestatic

Definition at line 1630 of file imgui.h.

◆ SetNextWindowBgAlpha()

void ImGui::SetNextWindowBgAlpha ( float  alpha)

Definition at line 6522 of file imgui.cpp.

◆ SetNextWindowCollapsed()

void ImGui::SetNextWindowCollapsed ( bool  collapsed,
ImGuiCond  cond = 0 
)

Definition at line 6507 of file imgui.cpp.

◆ SetNextWindowContentSize()

void ImGui::SetNextWindowContentSize ( const ImVec2 size)

Definition at line 6500 of file imgui.cpp.

◆ SetNextWindowFocus()

void ImGui::SetNextWindowFocus ( )

Definition at line 6516 of file imgui.cpp.

◆ SetNextWindowPos()

void ImGui::SetNextWindowPos ( const ImVec2 pos,
ImGuiCond  cond = 0,
const ImVec2 pivot = ImVec2(0,0) 
)

Definition at line 6470 of file imgui.cpp.

◆ SetNextWindowSize()

void ImGui::SetNextWindowSize ( const ImVec2 size,
ImGuiCond  cond = 0 
)

Definition at line 6480 of file imgui.cpp.

◆ SetNextWindowSizeConstraints()

void ImGui::SetNextWindowSizeConstraints ( const ImVec2 size_min,
const ImVec2 size_max,
ImGuiSizeCallback  custom_callback = NULL,
void custom_callback_data = NULL 
)

Definition at line 6489 of file imgui.cpp.

◆ SetScrollFromPosX() [1/2]

void ImGui::SetScrollFromPosX ( float  local_x,
float  center_x_ratio = 0.5f 
)

Definition at line 7398 of file imgui.cpp.

◆ SetScrollFromPosX() [2/2]

void ImGui::SetScrollFromPosX ( ImGuiWindow window,
float  local_x,
float  center_x_ratio = 0.5f 
)

Definition at line 7380 of file imgui.cpp.

◆ SetScrollFromPosY() [1/2]

void ImGui::SetScrollFromPosY ( float  local_y,
float  center_y_ratio = 0.5f 
)

Definition at line 7404 of file imgui.cpp.

◆ SetScrollFromPosY() [2/2]

void ImGui::SetScrollFromPosY ( ImGuiWindow window,
float  local_y,
float  center_y_ratio = 0.5f 
)

Definition at line 7388 of file imgui.cpp.

◆ SetScrollHere()

static void ImGui::SetScrollHere ( float  center_ratio = 0.5f)
inlinestatic

Definition at line 1636 of file imgui.h.

◆ SetScrollHereX()

void ImGui::SetScrollHereX ( float  center_x_ratio = 0.5f)

Definition at line 7411 of file imgui.cpp.

◆ SetScrollHereY()

void ImGui::SetScrollHereY ( float  center_y_ratio = 0.5f)

Definition at line 7422 of file imgui.cpp.

◆ SetScrollX() [1/2]

void ImGui::SetScrollX ( float  scroll_x)

Definition at line 7353 of file imgui.cpp.

◆ SetScrollX() [2/2]

void ImGui::SetScrollX ( ImGuiWindow window,
float  new_scroll_x 
)

Definition at line 7367 of file imgui.cpp.

◆ SetScrollY() [1/2]

void ImGui::SetScrollY ( float  scroll_y)

Definition at line 7360 of file imgui.cpp.

◆ SetScrollY() [2/2]

void ImGui::SetScrollY ( ImGuiWindow window,
float  new_scroll_y 
)

Definition at line 7373 of file imgui.cpp.

◆ SetStateStorage()

void ImGui::SetStateStorage ( ImGuiStorage storage)

Definition at line 6607 of file imgui.cpp.

◆ SetTabItemClosed()

void ImGui::SetTabItemClosed ( const char *  tab_or_docked_window_label)

Definition at line 7192 of file imgui_widgets.cpp.

◆ SetTooltip()

void ImGui::SetTooltip ( const char *  fmt,
  ... 
)

Definition at line 7485 of file imgui.cpp.

◆ SetTooltipV()

void ImGui::SetTooltipV ( const char *  fmt,
va_list  args 
)

Definition at line 7478 of file imgui.cpp.

◆ SetWindowCollapsed() [1/3]

void ImGui::SetWindowCollapsed ( bool  collapsed,
ImGuiCond  cond = 0 
)

Definition at line 6429 of file imgui.cpp.

◆ SetWindowCollapsed() [2/3]

void ImGui::SetWindowCollapsed ( const char *  name,
bool  collapsed,
ImGuiCond  cond = 0 
)

Definition at line 6446 of file imgui.cpp.

◆ SetWindowCollapsed() [3/3]

void ImGui::SetWindowCollapsed ( ImGuiWindow window,
bool  collapsed,
ImGuiCond  cond = 0 
)

Definition at line 6418 of file imgui.cpp.

◆ SetWindowFocus() [1/2]

void ImGui::SetWindowFocus ( )

Definition at line 6452 of file imgui.cpp.

◆ SetWindowFocus() [2/2]

void ImGui::SetWindowFocus ( const char *  name)

Definition at line 6457 of file imgui.cpp.

◆ SetWindowFontScale()

void ImGui::SetWindowFontScale ( float  scale)

Definition at line 6550 of file imgui.cpp.

◆ SetWindowPos() [1/3]

void ImGui::SetWindowPos ( const char *  name,
const ImVec2 pos,
ImGuiCond  cond = 0 
)

Definition at line 6363 of file imgui.cpp.

◆ SetWindowPos() [2/3]

void ImGui::SetWindowPos ( const ImVec2 pos,
ImGuiCond  cond = 0 
)

Definition at line 6357 of file imgui.cpp.

◆ SetWindowPos() [3/3]

void ImGui::SetWindowPos ( ImGuiWindow window,
const ImVec2 pos,
ImGuiCond  cond = 0 
)

Definition at line 6338 of file imgui.cpp.

◆ SetWindowSize() [1/3]

void ImGui::SetWindowSize ( const char *  name,
const ImVec2 size,
ImGuiCond  cond = 0 
)

Definition at line 6412 of file imgui.cpp.

◆ SetWindowSize() [2/3]

void ImGui::SetWindowSize ( const ImVec2 size,
ImGuiCond  cond = 0 
)

Definition at line 6407 of file imgui.cpp.

◆ SetWindowSize() [3/3]

void ImGui::SetWindowSize ( ImGuiWindow window,
const ImVec2 size,
ImGuiCond  cond = 0 
)

Definition at line 6375 of file imgui.cpp.

◆ ShadeVertsLinearColorGradientKeepAlpha()

void ImGui::ShadeVertsLinearColorGradientKeepAlpha ( ImDrawList draw_list,
int  vert_start_idx,
int  vert_end_idx,
ImVec2  gradient_p0,
ImVec2  gradient_p1,
ImU32  col0,
ImU32  col1 
)

Definition at line 1469 of file imgui_draw.cpp.

◆ ShadeVertsLinearUV()

void ImGui::ShadeVertsLinearUV ( ImDrawList draw_list,
int  vert_start_idx,
int  vert_end_idx,
const ImVec2 a,
const ImVec2 b,
const ImVec2 uv_a,
const ImVec2 uv_b,
bool  clamp 
)

Definition at line 1487 of file imgui_draw.cpp.

◆ ShowAboutWindow()

void ImGui::ShowAboutWindow ( bool *  p_open = NULL)

Definition at line 3090 of file imgui_demo.cpp.

◆ ShowDemoWindow()

void ImGui::ShowDemoWindow ( bool *  p_open = NULL)

Definition at line 208 of file imgui_demo.cpp.

◆ ShowFontSelector()

void ImGui::ShowFontSelector ( const char *  label)

Definition at line 3250 of file imgui_demo.cpp.

◆ ShowMetricsWindow()

void ImGui::ShowMetricsWindow ( bool *  p_open = NULL)

Definition at line 9956 of file imgui.cpp.

◆ ShowStyleEditor()

void ImGui::ShowStyleEditor ( ImGuiStyle ref = NULL)

Definition at line 3274 of file imgui_demo.cpp.

◆ ShowStyleSelector()

bool ImGui::ShowStyleSelector ( const char *  label)

Definition at line 3232 of file imgui_demo.cpp.

◆ ShowUserGuide()

void ImGui::ShowUserGuide ( )

Definition at line 160 of file imgui_demo.cpp.

◆ ShrinkWidths()

void ImGui::ShrinkWidths ( ImGuiShrinkWidthItem items,
int  count,
float  width_excess 
)

Definition at line 1392 of file imgui_widgets.cpp.

◆ Shutdown()

void ImGui::Shutdown ( ImGuiContext context)

Definition at line 3930 of file imgui.cpp.

◆ SliderAngle()

bool ImGui::SliderAngle ( const char *  label,
float *  v_rad,
float  v_degrees_min = -360.0f,
float  v_degrees_max = +360.0f,
const char *  format = "%.0f deg" 
)

Definition at line 2672 of file imgui_widgets.cpp.

◆ SliderBehavior()

bool ImGui::SliderBehavior ( const ImRect bb,
ImGuiID  id,
ImGuiDataType  data_type,
void p_v,
const void p_min,
const void p_max,
const char *  format,
float  power,
ImGuiSliderFlags  flags,
ImRect out_grab_bb 
)

Definition at line 2506 of file imgui_widgets.cpp.

◆ SliderBehaviorT()

template<typename T , typename SIGNED_T , typename FLOAT_T >
IMGUI_API bool ImGui::SliderBehaviorT ( const ImRect bb,
ImGuiID  id,
ImGuiDataType  data_type,
T v,
T  v_min,
T  v_max,
const char *  format,
float  power,
ImGuiSliderFlags  flags,
ImRect out_grab_bb 
)

◆ SliderCalcRatioFromValueT()

template<typename T , typename FLOAT_T >
IMGUI_API float ImGui::SliderCalcRatioFromValueT ( ImGuiDataType  data_type,
T  v,
T  v_min,
T  v_max,
float  power,
float  linear_zero_pos 
)

◆ SliderFloat()

bool ImGui::SliderFloat ( const char *  label,
float *  v,
float  v_min,
float  v_max,
const char *  format = "%.3f",
float  power = 1.0f 
)

Definition at line 2652 of file imgui_widgets.cpp.

◆ SliderFloat2()

bool ImGui::SliderFloat2 ( const char *  label,
float  v[2],
float  v_min,
float  v_max,
const char *  format = "%.3f",
float  power = 1.0f 
)

Definition at line 2657 of file imgui_widgets.cpp.

◆ SliderFloat3()

bool ImGui::SliderFloat3 ( const char *  label,
float  v[3],
float  v_min,
float  v_max,
const char *  format = "%.3f",
float  power = 1.0f 
)

Definition at line 2662 of file imgui_widgets.cpp.

◆ SliderFloat4()

bool ImGui::SliderFloat4 ( const char *  label,
float  v[4],
float  v_min,
float  v_max,
const char *  format = "%.3f",
float  power = 1.0f 
)

Definition at line 2667 of file imgui_widgets.cpp.

◆ SliderInt()

bool ImGui::SliderInt ( const char *  label,
int *  v,
int  v_min,
int  v_max,
const char *  format = "%d" 
)

Definition at line 2682 of file imgui_widgets.cpp.

◆ SliderInt2()

bool ImGui::SliderInt2 ( const char *  label,
int  v[2],
int  v_min,
int  v_max,
const char *  format = "%d" 
)

Definition at line 2687 of file imgui_widgets.cpp.

◆ SliderInt3()

bool ImGui::SliderInt3 ( const char *  label,
int  v[3],
int  v_min,
int  v_max,
const char *  format = "%d" 
)

Definition at line 2692 of file imgui_widgets.cpp.

◆ SliderInt4()

bool ImGui::SliderInt4 ( const char *  label,
int  v[4],
int  v_min,
int  v_max,
const char *  format = "%d" 
)

Definition at line 2697 of file imgui_widgets.cpp.

◆ SliderScalar()

bool ImGui::SliderScalar ( const char *  label,
ImGuiDataType  data_type,
void p_data,
const void p_min,
const void p_max,
const char *  format = NULL,
float  power = 1.0f 
)

Definition at line 2540 of file imgui_widgets.cpp.

◆ SliderScalarN()

bool ImGui::SliderScalarN ( const char *  label,
ImGuiDataType  data_type,
void p_data,
int  components,
const void p_min,
const void p_max,
const char *  format = NULL,
float  power = 1.0f 
)

Definition at line 2617 of file imgui_widgets.cpp.

◆ SmallButton()

bool ImGui::SmallButton ( const char *  label)

Definition at line 684 of file imgui_widgets.cpp.

◆ Spacing()

void ImGui::Spacing ( )

Definition at line 1207 of file imgui_widgets.cpp.

◆ SplitterBehavior()

bool ImGui::SplitterBehavior ( const ImRect bb,
ImGuiID  id,
ImGuiAxis  axis,
float *  size1,
float *  size2,
float  min_size1,
float  min_size2,
float  hover_extend = 0.0f,
float  hover_visibility_delay = 0.0f 
)

Definition at line 1325 of file imgui_widgets.cpp.

◆ StartMouseMovingWindow()

void ImGui::StartMouseMovingWindow ( ImGuiWindow window)

Definition at line 3324 of file imgui.cpp.

◆ StyleColorsClassic()

void ImGui::StyleColorsClassic ( ImGuiStyle dst = NULL)

Definition at line 233 of file imgui_draw.cpp.

◆ StyleColorsDark()

void ImGui::StyleColorsDark ( ImGuiStyle dst = NULL)

Definition at line 178 of file imgui_draw.cpp.

◆ StyleColorsLight()

void ImGui::StyleColorsLight ( ImGuiStyle dst = NULL)

Definition at line 289 of file imgui_draw.cpp.

◆ TabBarCalcMaxTabWidth()

static float ImGui::TabBarCalcMaxTabWidth ( )
static

Definition at line 6774 of file imgui_widgets.cpp.

◆ TabBarCalcTabID()

static ImU32 ImGui::TabBarCalcTabID ( ImGuiTabBar tab_bar,
const char *  label 
)
static

Definition at line 6759 of file imgui_widgets.cpp.

◆ TabBarCloseTab()

void ImGui::TabBarCloseTab ( ImGuiTabBar tab_bar,
ImGuiTabItem tab 
)

Definition at line 6800 of file imgui_widgets.cpp.

◆ TabBarFindTabByID()

ImGuiTabItem * ImGui::TabBarFindTabByID ( ImGuiTabBar tab_bar,
ImGuiID  tab_id 
)

Definition at line 6780 of file imgui_widgets.cpp.

◆ TabBarLayout()

static void ImGui::TabBarLayout ( ImGuiTabBar tab_bar)
static

Definition at line 6589 of file imgui_widgets.cpp.

◆ TabBarQueueChangeTabOrder()

void ImGui::TabBarQueueChangeTabOrder ( ImGuiTabBar tab_bar,
const ImGuiTabItem tab,
int  dir 
)

Definition at line 6842 of file imgui_widgets.cpp.

◆ TabBarRemoveTab()

void ImGui::TabBarRemoveTab ( ImGuiTabBar tab_bar,
ImGuiID  tab_id 
)

Definition at line 6790 of file imgui_widgets.cpp.

◆ TabBarScrollClamp()

static float ImGui::TabBarScrollClamp ( ImGuiTabBar tab_bar,
float  scrolling 
)
static

Definition at line 6816 of file imgui_widgets.cpp.

◆ TabBarScrollingButtons()

static ImGuiTabItem * ImGui::TabBarScrollingButtons ( ImGuiTabBar tab_bar)
static

Definition at line 6850 of file imgui_widgets.cpp.

◆ TabBarScrollToTab()

static void ImGui::TabBarScrollToTab ( ImGuiTabBar tab_bar,
ImGuiTabItem tab 
)
static

Definition at line 6822 of file imgui_widgets.cpp.

◆ TabBarTabListPopupButton()

static ImGuiTabItem * ImGui::TabBarTabListPopupButton ( ImGuiTabBar tab_bar)
static

Definition at line 6904 of file imgui_widgets.cpp.

◆ TabItemBackground()

void ImGui::TabItemBackground ( ImDrawList draw_list,
const ImRect bb,
ImGuiTabItemFlags  flags,
ImU32  col 
)

Definition at line 7217 of file imgui_widgets.cpp.

◆ TabItemCalcSize()

ImVec2 ImGui::TabItemCalcSize ( const char *  label,
bool  has_close_button 
)

Definition at line 7205 of file imgui_widgets.cpp.

◆ TabItemEx()

bool ImGui::TabItemEx ( ImGuiTabBar tab_bar,
const char *  label,
bool *  p_open,
ImGuiTabItemFlags  flags 
)

Definition at line 6992 of file imgui_widgets.cpp.

◆ TabItemLabelAndCloseButton()

bool ImGui::TabItemLabelAndCloseButton ( ImDrawList draw_list,
const ImRect bb,
ImGuiTabItemFlags  flags,
ImVec2  frame_padding,
const char *  label,
ImGuiID  tab_id,
ImGuiID  close_button_id 
)

Definition at line 7244 of file imgui_widgets.cpp.

◆ TempInputIsActive()

bool ImGui::TempInputIsActive ( ImGuiID  id)
inline

Definition at line 1876 of file imgui_internal.h.

◆ TempInputScalar()

bool ImGui::TempInputScalar ( const ImRect bb,
ImGuiID  id,
const char *  label,
ImGuiDataType  data_type,
void p_data,
const char *  format 
)

Definition at line 2886 of file imgui_widgets.cpp.

◆ TempInputText()

bool ImGui::TempInputText ( const ImRect bb,
ImGuiID  id,
const char *  label,
char *  buf,
int  buf_size,
ImGuiInputTextFlags  flags 
)

Definition at line 2866 of file imgui_widgets.cpp.

◆ Text()

void ImGui::Text ( const char *  fmt,
  ... 
)

Definition at line 247 of file imgui_widgets.cpp.

◆ TextColored()

void ImGui::TextColored ( const ImVec4 col,
const char *  fmt,
  ... 
)

Definition at line 266 of file imgui_widgets.cpp.

◆ TextColoredV()

void ImGui::TextColoredV ( const ImVec4 col,
const char *  fmt,
va_list  args 
)

Definition at line 274 of file imgui_widgets.cpp.

◆ TextDisabled()

void ImGui::TextDisabled ( const char *  fmt,
  ... 
)

Definition at line 281 of file imgui_widgets.cpp.

◆ TextDisabledV()

void ImGui::TextDisabledV ( const char *  fmt,
va_list  args 
)

Definition at line 289 of file imgui_widgets.cpp.

◆ TextEx()

void ImGui::TextEx ( const char *  text,
const char *  text_end = NULL,
ImGuiTextFlags  flags = 0 
)

Definition at line 139 of file imgui_widgets.cpp.

◆ TextUnformatted()

void ImGui::TextUnformatted ( const char *  text,
const char *  text_end = NULL 
)

Definition at line 242 of file imgui_widgets.cpp.

◆ TextV()

void ImGui::TextV ( const char *  fmt,
va_list  args 
)

Definition at line 255 of file imgui_widgets.cpp.

◆ TextWrapped()

void ImGui::TextWrapped ( const char *  fmt,
  ... 
)

Definition at line 296 of file imgui_widgets.cpp.

◆ TextWrappedV()

void ImGui::TextWrappedV ( const char *  fmt,
va_list  args 
)

Definition at line 304 of file imgui_widgets.cpp.

◆ TreeAdvanceToLabelPos()

static void ImGui::TreeAdvanceToLabelPos ( )
inlinestatic

Definition at line 1628 of file imgui.h.

◆ TreeNode() [1/3]

bool ImGui::TreeNode ( const char *  label)

Definition at line 5148 of file imgui_widgets.cpp.

◆ TreeNode() [2/3]

bool ImGui::TreeNode ( const char *  str_id,
const char *  fmt,
  ... 
)

Definition at line 5130 of file imgui_widgets.cpp.

◆ TreeNode() [3/3]

bool ImGui::TreeNode ( const void ptr_id,
const char *  fmt,
  ... 
)

Definition at line 5139 of file imgui_widgets.cpp.

◆ TreeNodeBehavior()

bool ImGui::TreeNodeBehavior ( ImGuiID  id,
ImGuiTreeNodeFlags  flags,
const char *  label,
const char *  label_end = NULL 
)

Definition at line 5261 of file imgui_widgets.cpp.

◆ TreeNodeBehaviorIsOpen()

bool ImGui::TreeNodeBehaviorIsOpen ( ImGuiID  id,
ImGuiTreeNodeFlags  flags = 0 
)

Definition at line 5215 of file imgui_widgets.cpp.

◆ TreeNodeEx() [1/3]

bool ImGui::TreeNodeEx ( const char *  label,
ImGuiTreeNodeFlags  flags = 0 
)

Definition at line 5166 of file imgui_widgets.cpp.

◆ TreeNodeEx() [2/3]

bool ImGui::TreeNodeEx ( const char *  str_id,
ImGuiTreeNodeFlags  flags,
const char *  fmt,
  ... 
)

Definition at line 5175 of file imgui_widgets.cpp.

◆ TreeNodeEx() [3/3]

bool ImGui::TreeNodeEx ( const void ptr_id,
ImGuiTreeNodeFlags  flags,
const char *  fmt,
  ... 
)

Definition at line 5184 of file imgui_widgets.cpp.

◆ TreeNodeExV() [1/2]

bool ImGui::TreeNodeExV ( const char *  str_id,
ImGuiTreeNodeFlags  flags,
const char *  fmt,
va_list  args 
)

Definition at line 5193 of file imgui_widgets.cpp.

◆ TreeNodeExV() [2/2]

bool ImGui::TreeNodeExV ( const void ptr_id,
ImGuiTreeNodeFlags  flags,
const char *  fmt,
va_list  args 
)

Definition at line 5204 of file imgui_widgets.cpp.

◆ TreeNodeV() [1/2]

bool ImGui::TreeNodeV ( const char *  str_id,
const char *  fmt,
va_list  args 
)

Definition at line 5156 of file imgui_widgets.cpp.

◆ TreeNodeV() [2/2]

bool ImGui::TreeNodeV ( const void ptr_id,
const char *  fmt,
va_list  args 
)

Definition at line 5161 of file imgui_widgets.cpp.

◆ TreePop()

void ImGui::TreePop ( )

Definition at line 5479 of file imgui_widgets.cpp.

◆ TreePush() [1/2]

void ImGui::TreePush ( const char *  str_id)

Definition at line 5455 of file imgui_widgets.cpp.

◆ TreePush() [2/2]

void ImGui::TreePush ( const void ptr_id = NULL)

Definition at line 5463 of file imgui_widgets.cpp.

◆ TreePushOverrideID()

void ImGui::TreePushOverrideID ( ImGuiID  id)

Definition at line 5471 of file imgui_widgets.cpp.

◆ Unindent()

void ImGui::Unindent ( float  indent_w = 0.0f)

Definition at line 7014 of file imgui.cpp.

◆ UpdateDebugToolItemPicker()

void ImGui::UpdateDebugToolItemPicker ( )
static

Definition at line 3870 of file imgui.cpp.

◆ UpdateHoveredWindowAndCaptureFlags()

void ImGui::UpdateHoveredWindowAndCaptureFlags ( )

Definition at line 3622 of file imgui.cpp.

◆ UpdateMouseInputs()

static void ImGui::UpdateMouseInputs ( )
static

Definition at line 3442 of file imgui.cpp.

◆ UpdateMouseMovingWindowEndFrame()

void ImGui::UpdateMouseMovingWindowEndFrame ( )

Definition at line 3387 of file imgui.cpp.

◆ UpdateMouseMovingWindowNewFrame()

void ImGui::UpdateMouseMovingWindowNewFrame ( )

Definition at line 3347 of file imgui.cpp.

◆ UpdateMouseWheel()

void ImGui::UpdateMouseWheel ( )
static

Definition at line 3509 of file imgui.cpp.

◆ UpdateSettings()

void ImGui::UpdateSettings ( )
static

Definition at line 9521 of file imgui.cpp.

◆ UpdateTabFocus()

void ImGui::UpdateTabFocus ( )
static

Definition at line 3585 of file imgui.cpp.

◆ UpdateWindowManualResize()

static bool ImGui::UpdateWindowManualResize ( ImGuiWindow window,
const ImVec2 size_auto_fit,
int *  border_held,
int  resize_grip_count,
ImU32  resize_grip_col[4] 
)
static

Definition at line 5040 of file imgui.cpp.

◆ UpdateWindowParentAndRootLinks()

void ImGui::UpdateWindowParentAndRootLinks ( ImGuiWindow window,
ImGuiWindowFlags  flags,
ImGuiWindow parent_window 
)

Definition at line 5375 of file imgui.cpp.

◆ Value() [1/4]

void ImGui::Value ( const char *  prefix,
bool  b 
)

Definition at line 5994 of file imgui_widgets.cpp.

◆ Value() [2/4]

void ImGui::Value ( const char *  prefix,
float  v,
const char *  float_format = NULL 
)

Definition at line 6009 of file imgui_widgets.cpp.

◆ Value() [3/4]

void ImGui::Value ( const char *  prefix,
int  v 
)

Definition at line 5999 of file imgui_widgets.cpp.

◆ Value() [4/4]

void ImGui::Value ( const char *  prefix,
unsigned int  v 
)

Definition at line 6004 of file imgui_widgets.cpp.

◆ VSliderFloat()

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 
)

Definition at line 2761 of file imgui_widgets.cpp.

◆ VSliderInt()

bool ImGui::VSliderInt ( const char *  label,
const ImVec2 size,
int *  v,
int  v_min,
int  v_max,
const char *  format = "%d" 
)

Definition at line 2766 of file imgui_widgets.cpp.

◆ VSliderScalar()

bool ImGui::VSliderScalar ( const char *  label,
const ImVec2 size,
ImGuiDataType  data_type,
void p_data,
const void p_min,
const void p_max,
const char *  format = NULL,
float  power = 1.0f 
)

Definition at line 2702 of file imgui_widgets.cpp.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:10