MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / ItemSize

Function ItemSize

extern/imgui/imgui_internal.h:3048–3048  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3046 // Basic Helpers for widget code
3047 IMGUI_API void ItemSize(const ImVec2& size, float text_baseline_y = -1.0f);
3048 inline void ItemSize(const ImRect& bb, float text_baseline_y = -1.0f) { ItemSize(bb.GetSize(), text_baseline_y); } // FIXME: This is a misleading API since we expect CursorPos to be bb.Min.
3049 IMGUI_API bool ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb = NULL, ImGuiItemFlags extra_flags = 0);
3050 IMGUI_API bool ItemHoverable(const ImRect& bb, ImGuiID id);
3051 IMGUI_API bool IsClippedEx(const ImRect& bb, ImGuiID id);

Callers 15

BeginTableExMethod · 0.85
EndTableMethod · 0.85
TableHeaderMethod · 0.85
EndChildMethod · 0.85
EndGroupMethod · 0.85
DockSpaceMethod · 0.85
TextExMethod · 0.85
LabelTextVMethod · 0.85
BulletTextVMethod · 0.85
ButtonExMethod · 0.85
InvisibleButtonMethod · 0.85
ArrowButtonExMethod · 0.85

Calls 1

GetSizeMethod · 0.80

Tested by

no test coverage detected