Renamed Color() helpers to ValueColor() - dangerously named, rarely used and probably to be made obsolete.

This commit is contained in:
ocornut
2015-12-04 23:39:54 +00:00
parent ecc97bda7d
commit c80e2274f1
2 changed files with 5 additions and 4 deletions

View File

@ -325,8 +325,8 @@ namespace ImGui
IMGUI_API void Value(const char* prefix, int v);
IMGUI_API void Value(const char* prefix, unsigned int v);
IMGUI_API void Value(const char* prefix, float v, const char* float_format = NULL);
IMGUI_API void Color(const char* prefix, const ImVec4& v);
IMGUI_API void Color(const char* prefix, unsigned int v);
IMGUI_API void ValueColor(const char* prefix, const ImVec4& v);
IMGUI_API void ValueColor(const char* prefix, unsigned int v);
// Tooltip
IMGUI_API void SetTooltip(const char* fmt, ...) IM_PRINTFARGS(1); // set tooltip under mouse-cursor, typically use with ImGui::IsHovered(). last call wins