mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Internals: moved ItemSize() variant to inline + comment. + Tidying up todo list (#5191)
This commit is contained in:
parent
14ca75d4e7
commit
28b2089ee4
3 changed files with 34 additions and 74 deletions
|
|
@ -8225,11 +8225,6 @@ void ImGui::ItemSize(const ImVec2& size, float text_baseline_y)
|
|||
SameLine();
|
||||
}
|
||||
|
||||
void ImGui::ItemSize(const ImRect& bb, float text_baseline_y)
|
||||
{
|
||||
ItemSize(bb.GetSize(), text_baseline_y);
|
||||
}
|
||||
|
||||
// Declare item bounding box for clipping and interaction.
|
||||
// Note that the size can be different than the one provided to ItemSize(). Typically, widgets that spread over available surface
|
||||
// declare their minimum size requirement to ItemSize() and provide a larger region to ItemAdd() which is used drawing/interaction.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue