Lines Matching refs:col

446  - 2017/08/20 (1.51) - added PushStyleColor(ImGuiCol idx, ImU32 col) overload, which _might_ cause an "ambiguous call" compilation error if you are using ImColor() with implicit cast. Cast to ImU32 or ImVec4 explicily to fix.
453 - changed prototype of 'ColorEdit4(const char* label, float col[4], bool show_alpha = true)' to 'ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags = 0)', where passing flags = 0x01 is a safe no-op (hello dodgy backward compatibility!). - check and run the demo window, under "Color/Picker Widgets", to understand the various new options.
454 - changed prototype of rarely used 'ColorButton(ImVec4 col, bool small_height = false, bool outline_border = true)' to 'ColorButton(const char* desc_id, ImVec4 col, ImGuiColorEditFlags flags = 0, ImVec2 size = ImVec2(0,0))'
1835 ImU32 ImGui::GetColorU32(const ImVec4& col)
1838 ImVec4 c = col;
1849 ImU32 ImGui::GetColorU32(ImU32 col)
1853 return col;
1854 ImU32 a = (col & IM_COL32_A_MASK) >> IM_COL32_A_SHIFT;
1856 return (col & ~IM_COL32_A_MASK) | (a << IM_COL32_A_SHIFT);
2440 void ImGui::RenderCheckMark(ImVec2 pos, ImU32 col, float sz)
2455 window->DrawList->PathStroke(col, false, thickness);
5756 void ImGui::PushStyleColor(ImGuiCol idx, ImU32 col)
5763 g.Style.Colors[idx] = ColorConvertU32ToFloat4(col);
5766 void ImGui::PushStyleColor(ImGuiCol idx, const ImVec4& col)
5773 g.Style.Colors[idx] = col;
7834 if (g.NavWindow) { ImU32 col = (!g.NavWindow->Hidden) ? IM_COL32(255,0,255,255) : IM_COL32(255,0,0,255); ImVec2 p = NavCalcPreferredRefPos(); char buf[32]; ImFormatString(buf, 32, "%d", g.NavLayer); GetOverlayDrawList(g.NavWindow)->AddCircleFilled(p, 3.0f, col); GetOverlayDrawList(g.NavWindow)->AddText(NULL, 13.0f, p + ImVec2(8,-4), col, buf); }
8429 const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : hovered ? ImGuiCol_SeparatorHovered : ImGuiCol_Separator);
8431 window->DrawList->AddLine(ImVec2(xi, ImMax(y1 + 1.0f, window->ClipRect.Min.y)), ImVec2(xi, ImMin(y2, window->ClipRect.Max.y)), col);
9355 buf_p += ImFormatString(buf_p, buf_end - buf_p, "%s %04d: pos (%8.2f,%8.2f), uv (%.6f,%.6f), col %08X\n",
9356 (n == 0) ? "idx" : " ", idx_i, v.pos.x, v.pos.y, v.uv.x, v.uv.y, v.col);