Navigation: Moving NavInitWindow() around and making it static (#323)

This commit is contained in:
ocornut
2016-07-24 11:56:36 +02:00
parent b2ad33ce41
commit 4bbdaa4e3c
2 changed files with 18 additions and 19 deletions

View File

@ -773,7 +773,6 @@ namespace ImGui
IMGUI_API void OpenPopupEx(const char* str_id, bool reopen_existing);
IMGUI_API void NavInitWindow(ImGuiWindow* window);
IMGUI_API ImVec2 NavGetTweakDelta();
inline IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul) { ImVec4 c = GImGui->Style.Colors[idx]; c.w *= GImGui->Style.Alpha * alpha_mul; return ImGui::ColorConvertFloat4ToU32(c); }