Style: Moving code in a function to make incoming diff easier to parse.

This commit is contained in:
omar
2017-08-14 15:14:46 +08:00
parent 2b7fe73a08
commit c26b29b254
2 changed files with 54 additions and 43 deletions

View File

@ -402,6 +402,9 @@ namespace ImGui
IMGUI_API void PushClipRect(const ImVec2& clip_rect_min, const ImVec2& clip_rect_max, bool intersect_with_current_clip_rect);
IMGUI_API void PopClipRect();
// Styles
IMGUI_API void StyleColorsClassic(ImGuiStyle* dst = NULL);
// Utilities
IMGUI_API bool IsItemHovered(); // was the last item hovered by mouse?
IMGUI_API bool IsItemHoveredRect(); // was the last item hovered by mouse? even if another item is active or window is blocked by popup while we are hovering this