From 76ab5587e4ed9a98e096da5b72a1593f7f5c54f6 Mon Sep 17 00:00:00 2001 From: ocornut Date: Sun, 13 Dec 2015 19:55:15 +0000 Subject: [PATCH] GetColorU32: Comments --- imgui.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imgui.h b/imgui.h index 2dd0368a..32c7d11a 100644 --- a/imgui.h +++ b/imgui.h @@ -173,8 +173,8 @@ namespace ImGui IMGUI_API void PushStyleVar(ImGuiStyleVar idx, float val); IMGUI_API void PushStyleVar(ImGuiStyleVar idx, const ImVec2& val); IMGUI_API void PopStyleVar(int count = 1); - IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul = 1.0f); - IMGUI_API ImU32 GetColorU32(const ImVec4& col); + IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul = 1.0f); // retrieve given style color with style alpha applied and optional extra alpha multiplier + IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retrieve given color with style alpha applied // Parameters stacks (current window) IMGUI_API void PushItemWidth(float item_width); // width of items for the common item+label case, pixels. 0.0f = default to ~2/3 of windows width, >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -1.0f always align width to the right side)