/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_widgets.cpp | 408 ImU32 text_col = GetColorU32(ImGuiCol_Text); in BulletTextV() 698 const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); in ButtonEx() 775 const ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); in ArrowButtonEx() 776 const ImU32 text_col = GetColorU32(ImGuiCol_Text); in ArrowButtonEx() 815 ImU32 col = GetColorU32(held ? ImGuiCol_ButtonActive : ImGuiCol_ButtonHovered); in CloseButton() 821 ImU32 cross_col = GetColorU32(ImGuiCol_Text); in CloseButton() 840 ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); in CollapseButton() 841 ImU32 text_col = GetColorU32(ImGuiCol_Text); in CollapseButton() 986 const ImU32 bg_col = GetColorU32(ImGuiCol_ScrollbarBg); in ScrollbarEx() 987 const ImU32 grab_col = GetColorU32(hel in ScrollbarEx() [all...] |
H A D | imgui.cpp | 2469 ImU32 ImGui::GetColorU32(ImGuiCol idx, float alpha_mul) in GetColorU32() function in ImGui 2477 ImU32 ImGui::GetColorU32(const ImVec4& col) in GetColorU32() function in ImGui 2491 ImU32 ImGui::GetColorU32(ImU32 col) in GetColorU32() function in ImGui 2726 window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_display_end); in RenderText() 2742 window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_end, wrap_width); in RenderTextWrapped() 2770 draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, &fine_clip_rect); in RenderTextClippedEx() 2774 draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, NULL); in RenderTextClippedEx() 2861 font->RenderChar(draw_list, font_size, ImVec2(ellipsis_x, pos_min.y), GetColorU32(ImGuiCol_Text), ellipsis_char); in RenderTextEllipsis() 2883 window->DrawList->AddRect(p_min + ImVec2(1, 1), p_max + ImVec2(1, 1), GetColorU32(ImGuiCol_BorderShadow), rounding, 0, border_size); in RenderFrame() 2884 window->DrawList->AddRect(p_min, p_max, GetColorU32(ImGuiCol_Borde in RenderFrame() [all...] |
H A D | imgui_tables.cpp | 459 table->BorderColorStrong = GetColorU32(ImGuiCol_TableBorderStrong); in BeginTableEx() 460 table->BorderColorLight = GetColorU32(ImGuiCol_TableBorderLight); in BeginTableEx() 1720 TableSetBgColor(ImGuiTableBgTarget_RowBg0, GetColorU32(ImGuiCol_TableHeaderBg)); in TableBeginRow() 1762 bg_col0 = GetColorU32((table->RowBgColorCounter & 1) ? ImGuiCol_TableRowBgAlt : ImGuiCol_TableRowBg); in TableEndRow() 2536 col = is_resized ? GetColorU32(ImGuiCol_SeparatorActive) : is_hovered ? GetColorU32(ImGuiCol_SeparatorHovered) : table->BorderColorStrong; in TableDrawBorders() 2919 const ImU32 col = GetColorU32(held ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_HeaderHovered : ImGuiCol_Header); 2927 TableSetBgColor(ImGuiTableBgTarget_CellBg, GetColorU32(ImGuiCol_TableHeaderBg), table->CurrentColumn); 2965 PushStyleColor(ImGuiCol_Text, GetColorU32(ImGuiCol_Text, 0.70f)); 2970 RenderArrow(window->DrawList, ImVec2(x, y), GetColorU32(ImGuiCol_Tex [all...] |
H A D | imgui_demo.cpp | 4552 ImU32 row_bg_color = ImGui::GetColorU32(row_bg_type == 1 ? ImVec4(0.7f, 0.3f, 0.3f, 0.65f) : ImVec4(0.2f + row * 0.1f, 0.2f, 0.2f, 0.65f)); // Flat or Gradient? 4568 ImU32 cell_bg_color = ImGui::GetColorU32(ImVec4(0.3f, 0.3f, 0.7f, 0.65f)); 5621 ImGui::GetForegroundDrawList()->AddLine(io.MouseClickedPos[0], io.MousePos, ImGui::GetColorU32(ImGuiCol_Button), 4.0f); // Draw a line between the button and the mouse cursor 6075 draw_list->AddCircle(ImVec2(p1.x + offset_x, p1.y + offset_y), rad, ImGui::GetColorU32(ImGuiCol_Text)); 6080 draw_list->AddCircleFilled(ImVec2(p2.x + offset_x, p2.y + offset_y), rad, ImGui::GetColorU32(ImGuiCol_Text)); 6191 ImGui::GetWindowDrawList()->AddRectFilled(p, ImVec2(p.x + sz, p.y + sz), ImGui::GetColorU32((ImGuiCol)i)); 7166 // Calling ImGui::GetColorU32() multiplies the given colors by the current Style Alpha, but you may pass the IM_COL32() directly as well.. 7172 ImU32 col_a = ImGui::GetColorU32(IM_COL32(0, 0, 0, 255)); 7173 ImU32 col_b = ImGui::GetColorU32(IM_COL32(255, 255, 255, 255)); 7180 ImU32 col_a = ImGui::GetColorU32(IM_COL3 [all...] |
H A D | imgui.h | 428 IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul = 1.0f); // retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList 429 IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList 430 IMGUI_API ImU32 GetColorU32(ImU32 col); // retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList 431 IMGUI_API const ImVec4& GetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in.
|
H A D | imgui_internal.h | 2663 inline void RenderArrow(ImVec2 pos, ImGuiDir dir, float scale=1.0f) { ImGuiWindow* window = GetCurrentWindow(); RenderArrow(window->DrawList, pos, GetColorU32(ImGuiCol_Text), dir, scale); } 2664 inline void RenderBullet(ImVec2 pos) { ImGuiWindow* window = GetCurrentWindow(); RenderBullet(window->DrawList, pos, GetColorU32(ImGuiCol_Text)); }
|
H A D | imgui_draw.cpp | 3915 // FIXME: uses ImGui::GetColorU32 3922 ImU32 col_bg1 = GetColorU32(ImAlphaBlendColors(IM_COL32(204, 204, 204, 255), col)); in RenderColorRectWithAlphaCheckerboard() 3923 ImU32 col_bg2 = GetColorU32(ImAlphaBlendColors(IM_COL32(128, 128, 128, 255), col)); in RenderColorRectWithAlphaCheckerboard()
|
/third_party/mesa3d/src/imgui/ |
H A D | imgui_widgets.cpp | 573 const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); in ButtonEx() 647 const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); in ArrowButtonEx() 680 window->DrawList->AddCircleFilled(center, ImMax(2.0f, radius), GetColorU32(held ? ImGuiCol_ButtonActive : ImGuiCol_ButtonHovered), 9); in CloseButton() 683 ImU32 cross_col = GetColorU32(ImGuiCol_Text); in CloseButton() 701 ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); in CollapseButton() 764 window->DrawList->AddRectFilled(bb.Min, bb.Max, GetColorU32(ImGuiCol_ScrollbarBg), window->WindowRounding, window_rounding_corners); in Scrollbar() 833 const ImU32 grab_col = GetColorU32(held ? ImGuiCol_ScrollbarGrabActive : hovered ? ImGuiCol_ScrollbarGrabHovered : ImGuiCol_ScrollbarGrab, alpha); in Scrollbar() 857 window->DrawList->AddRect(bb.Min, bb.Max, GetColorU32(border_col), 0.0f); in Image() 858 window->DrawList->AddImage(user_texture_id, bb.Min + ImVec2(1, 1), bb.Max - ImVec2(1, 1), uv0, uv1, GetColorU32(tint_col)); in Image() 862 window->DrawList->AddImage(user_texture_id, bb.Min, bb.Max, uv0, uv1, GetColorU32(tint_co in Image() [all...] |
H A D | imgui_memory_editor.h | 271 draw_list->AddLine(ImVec2(window_pos.x + s.PosAsciiStart - s.GlyphWidth, window_pos.y), ImVec2(window_pos.x + s.PosAsciiStart - s.GlyphWidth, window_pos.y + 9999), ImGui::GetColorU32(ImGuiCol_Border)); in DrawContents() 273 const ImU32 color_text = ImGui::GetColorU32(ImGuiCol_Text); in DrawContents() 274 const ImU32 color_disabled = OptGreyOutZeroes ? ImGui::GetColorU32(ImGuiCol_TextDisabled) : color_text; in DrawContents() 419 draw_list->AddRectFilled(pos, ImVec2(pos.x + s.GlyphWidth, pos.y + s.LineHeight), ImGui::GetColorU32(ImGuiCol_FrameBg)); in DrawContents() 420 draw_list->AddRectFilled(pos, ImVec2(pos.x + s.GlyphWidth, pos.y + s.LineHeight), ImGui::GetColorU32(ImGuiCol_TextSelectedBg)); in DrawContents()
|
H A D | imgui.cpp | 1827 ImU32 ImGui::GetColorU32(ImGuiCol idx, float alpha_mul) in GetColorU32() function in ImGui 1835 ImU32 ImGui::GetColorU32(const ImVec4& col) in GetColorU32() function in ImGui 1849 ImU32 ImGui::GetColorU32(ImU32 col) in GetColorU32() function in ImGui 2305 window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_display_end); in RenderText() 2321 window->DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_end, wrap_width); in RenderTextWrapped() 2349 draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, &fine_clip_rect); in RenderTextClippedEx() 2353 draw_list->AddText(NULL, 0.0f, pos, GetColorU32(ImGuiCol_Text), text, text_display_end, 0.0f, NULL); in RenderTextClippedEx() 2381 window->DrawList->AddRect(p_min+ImVec2(1,1), p_max+ImVec2(1,1), GetColorU32(ImGuiCol_BorderShadow), rounding, ImDrawCornerFlags_All, border_size); in RenderFrame() 2382 window->DrawList->AddRect(p_min, p_max, GetColorU32(ImGuiCol_Border), rounding, ImDrawCornerFlags_All, border_size); in RenderFrame() 2393 window->DrawList->AddRect(p_min+ImVec2(1,1), p_max+ImVec2(1,1), GetColorU32(ImGuiCol_BorderShado in RenderFrameBorder() [all...] |
H A D | imgui.h | 307 IMGUI_API const ImVec4& GetStyleColorVec4(ImGuiCol idx); // retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. 311 IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul = 1.0f); // retrieve given style color with style alpha applied and optional extra alpha multiplier 312 IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retrieve given color with style alpha applied 313 IMGUI_API ImU32 GetColorU32(ImU32 col); // retrieve given color with style alpha applied
|
/third_party/mesa3d/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 58 draw_list->AddText(alloc_pos, ImGui::GetColorU32(ImGuiCol_Text), label); in DrawAllocation()
|