mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Undo IsHovered > IsItemHovered, shorter name wins
This commit is contained in:
parent
f30d23a502
commit
309ff44579
2 changed files with 3 additions and 3 deletions
2
imgui.h
2
imgui.h
|
|
@ -231,7 +231,7 @@ namespace ImGui
|
|||
// Utilities
|
||||
void SetTooltip(const char* fmt, ...); // set tooltip under mouse-cursor, typically use with ImGui::IsHovered(). (currently no contention handling, last call win)
|
||||
void SetNewWindowDefaultPos(ImVec2 pos); // set position of window that do
|
||||
bool IsItemHovered(); // was the last item active area hovered by mouse?
|
||||
bool IsHovered(); // was the last item active area hovered by mouse?
|
||||
ImVec2 GetItemBoxMin(); // get bounding box of last item
|
||||
ImVec2 GetItemBoxMax(); // get bounding box of last item
|
||||
bool IsClipped(ImVec2 item_size); // to perform coarse clipping on user's side (as an optimisation)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue