Home
last modified time | relevance | path

Searched refs:ImVec4 (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui_draw.cpp177 ImVec4* colors = style->Colors; in StyleColorsDark()
179 colors[ImGuiCol_Text] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f); in StyleColorsDark()
180 colors[ImGuiCol_TextDisabled] = ImVec4(0.50f, 0.50f, 0.50f, 1.00f); in StyleColorsDark()
181 colors[ImGuiCol_WindowBg] = ImVec4(0.06f, 0.06f, 0.06f, 0.94f); in StyleColorsDark()
182 colors[ImGuiCol_ChildBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); in StyleColorsDark()
183 colors[ImGuiCol_PopupBg] = ImVec4(0.08f, 0.08f, 0.08f, 0.94f); in StyleColorsDark()
184 colors[ImGuiCol_Border] = ImVec4(0.43f, 0.43f, 0.50f, 0.50f); in StyleColorsDark()
185 colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); in StyleColorsDark()
186 colors[ImGuiCol_FrameBg] = ImVec4(0.16f, 0.29f, 0.48f, 0.54f); in StyleColorsDark()
187 colors[ImGuiCol_FrameBgHovered] = ImVec4(0.26f, 0.59f, 0.98f, 0.40f); in StyleColorsDark()
[all …]
Dimgui.h50 …GUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVer…
181 struct ImVec4 struct
184 ImVec4() { x = y = z = w = 0.0f; } in ImVec4() argument
185 ImVec4(float _x, float _y, float _z, float _w) { x = _x; y = _y; z = _z; w = _w; } in ImVec4() argument
302 IMGUI_API void PushStyleColor(ImGuiCol idx, const ImVec4& col);
307 …IMGUI_API const ImVec4& GetStyleColorVec4(ImGuiCol idx); // retriev…
312 …IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retriev…
373 …IMGUI_API void TextColored(const ImVec4& col, const char* fmt, ...) IM_FMTARGS…
374 …IMGUI_API void TextColoredV(const ImVec4& col, const char* fmt, va_list args) IM_FMTLIST…
390 …), const ImVec2& uv1 = ImVec2(1,1), const ImVec4& tint_col = ImVec4(1,1,1,1), const ImVec4& border…
[all …]
Dimgui_internal.h204 static inline ImVec4 operator+(const ImVec4& lhs, const ImVec4& rhs) { return ImVec4(lhs…
205 static inline ImVec4 operator-(const ImVec4& lhs, const ImVec4& rhs) { return ImVec4(lhs…
206 static inline ImVec4 operator*(const ImVec4& lhs, const ImVec4& rhs) { return ImVec4(lhs…
238 static inline ImVec4 ImLerp(const ImVec4& a, const ImVec4& b, float t) { return ImVec4(a.x… in ImLerp()
241 static inline float ImLengthSqr(const ImVec4& lhs) { return lhs.x*lhs.… in ImLengthSqr()
487 … ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} in ImRect()
518 ImVec4 BackupValue;
673 ImVec4 ClipRectFullscreen; // Value for PushClipRectFullscreen()
894 ImVec4 ColorPickerRef;
Dimgui_widgets.cpp253 void ImGui::TextColored(const ImVec4& col, const char* fmt, ...) in TextColored()
261 void ImGui::TextColoredV(const ImVec4& col, const char* fmt, va_list args) in TextColoredV()
842 …st ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& tint_col, const ImVec4& borde… in Image()
870 …onst ImVec2& uv0, const ImVec2& uv1, int frame_padding, const ImVec4& bg_col, const ImVec4& tint_c… in ImageButton()
3621 …const ImVec4 clip_rect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x + size.x, frame_bb.Min.y + s… in InputTextEx()
3951 const ImVec4 col_v4(col[0], col[1], col[2], alpha ? col[3] : 1.0f); in ColorEdit4()
4250ImVec4 col_v4(col[0], col[1], col[2], (flags & ImGuiColorEditFlags_NoAlpha) ? 1.0f : col[3]); in ColorPicker4()
4257ImVec4 ref_col_v4(ref_col[0], ref_col[1], ref_col[2], (flags & ImGuiColorEditFlags_NoAlpha) ? 1.0f… in ColorPicker4()
4308ImVec4 hue_color_f(1, 1, 1, 1); ColorConvertHSVtoRGB(H, 1, 1, hue_color_f.x, hue_color_f.y, hue_co… in ColorPicker4()
4310 ImU32 col32_no_alpha = ColorConvertFloat4ToU32(ImVec4(col[0], col[1], col[2], 1.0f)); in ColorPicker4()
[all …]
Dimgui.cpp1756 ImVec4 ImGui::ColorConvertU32ToFloat4(ImU32 in) in ColorConvertU32ToFloat4()
1759 return ImVec4( in ColorConvertU32ToFloat4()
1766 ImU32 ImGui::ColorConvertFloat4ToU32(const ImVec4& in) in ColorConvertFloat4ToU32()
1830 ImVec4 c = style.Colors[idx]; in GetColorU32()
1835 ImU32 ImGui::GetColorU32(const ImVec4& col) in GetColorU32()
1838 ImVec4 c = col; in GetColorU32()
1843 const ImVec4& ImGui::GetStyleColorVec4(ImGuiCol idx) in GetStyleColorVec4()
2348 ImVec4 fine_clip_rect(clip_min->x, clip_min->y, clip_max->x, clip_max->y); in RenderTextClippedEx()
3009 …if (sz_vec4 != sizeof(ImVec4)) { error = true; IM_ASSERT(sz_vec4 == sizeof(ImVec4) … in DebugCheckVersionAndDataLayout()
3420 …g.DrawListSharedData.ClipRectFullscreen = ImVec4(0.0f, 0.0f, g.IO.DisplaySize.x, g.IO.DisplaySize.… in NewFrame()
[all …]
/external/mesa3d/src/intel/tools/imgui/
Dimgui_impl_opengl3.cpp196ImVec4 clip_rect = ImVec4(pcmd->ClipRect.x - pos.x, pcmd->ClipRect.y - pos.y, pcmd->ClipRect.z - p… in ImGui_ImplOpenGL3_RenderDrawData()