Lines Matching defs:idx
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.
1827 ImU32 ImGui::GetColorU32(ImGuiCol idx, float alpha_mul)
1830 ImVec4 c = style.Colors[idx];
1843 const ImVec4& ImGui::GetStyleColorVec4(ImGuiCol idx)
1846 return style.Colors[idx];
5756 void ImGui::PushStyleColor(ImGuiCol idx, ImU32 col)
5760 backup.Col = idx;
5761 backup.BackupValue = g.Style.Colors[idx];
5763 g.Style.Colors[idx] = ColorConvertU32ToFloat4(col);
5766 void ImGui::PushStyleColor(ImGuiCol idx, const ImVec4& col)
5770 backup.Col = idx;
5771 backup.BackupValue = g.Style.Colors[idx];
5773 g.Style.Colors[idx] = col;
5823 static const ImGuiStyleVarInfo* GetStyleVarInfo(ImGuiStyleVar idx)
5825 IM_ASSERT(idx >= 0 && idx < ImGuiStyleVar_COUNT);
5827 return &GStyleVarInfo[idx];
5830 void ImGui::PushStyleVar(ImGuiStyleVar idx, float val)
5832 const ImGuiStyleVarInfo* var_info = GetStyleVarInfo(idx);
5837 g.StyleModifiers.push_back(ImGuiStyleMod(idx, *pvar));
5844 void ImGui::PushStyleVar(ImGuiStyleVar idx, const ImVec2& val)
5846 const ImGuiStyleVarInfo* var_info = GetStyleVarInfo(idx);
5851 g.StyleModifiers.push_back(ImGuiStyleMod(idx, *pvar));
5874 const char* ImGui::GetStyleColorName(ImGuiCol idx)
5877 switch (idx)
9356 (n == 0) ? "idx" : " ", idx_i, v.pos.x, v.pos.y, v.uv.x, v.uv.y, v.col);