Home
last modified time | relevance | path

Searched refs:ImU32 (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mesa3d/src/imgui/
Dimgui.h154 typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) typedef
301 IMGUI_API void PushStyleColor(ImGuiCol idx, ImU32 col);
311 …IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul = 1.0f); // retriev…
312 …IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retriev…
313 …IMGUI_API ImU32 GetColorU32(ImU32 col); // retriev…
637 IMGUI_API ImVec4 ColorConvertU32ToFloat4(ImU32 in);
638 IMGUI_API ImU32 ColorConvertFloat4ToU32(const ImVec4& in);
1692 …IM_COL32(R,G,B,A) (((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G…
1707 …ImColor(ImU32 rgba) { float sc = 1.0f/255.0f; Value.x … in ImColor()
1710 …inline operator ImU32() const { return ImGui::ColorConvertFloat4… in ImU32() function
[all …]
Dimgui_draw.cpp618 void ImDrawList::PrimRect(const ImVec2& a, const ImVec2& c, ImU32 col) in PrimRect()
633 …st::PrimRectUV(const ImVec2& a, const ImVec2& c, const ImVec2& uv_a, const ImVec2& uv_c, ImU32 col) in PrimRectUV()
648 …Vec2& d, const ImVec2& uv_a, const ImVec2& uv_b, const ImVec2& uv_c, const ImVec2& uv_d, ImU32 col) in PrimQuadUV()
669 void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 col, bool closed, … in AddPolyline()
685 const ImU32 col_trans = col & ~IM_COL32_A_MASK; in AddPolyline()
857 void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_count, ImU32 col) in AddConvexPolyFilled()
868 const ImU32 col_trans = col & ~IM_COL32_A_MASK; in AddConvexPolyFilled()
1046 void ImDrawList::AddLine(const ImVec2& a, const ImVec2& b, ImU32 col, float thickness) in AddLine()
1056 void ImDrawList::AddRect(const ImVec2& a, const ImVec2& b, ImU32 col, float rounding, int rounding_… in AddRect()
1067 void ImDrawList::AddRectFilled(const ImVec2& a, const ImVec2& b, ImU32 col, float rounding, int rou… in AddRectFilled()
[all …]
Dimgui_internal.h151 IMGUI_API ImU32 ImHashData(const void* data, size_t data_size, ImU32 seed = 0);
152 IMGUI_API ImU32 ImHashStr(const char* data, size_t data_size, ImU32 seed = 0);
161 static inline ImU32 ImHash(const void* data, int size, ImU32 seed = 0) { return size ? ImHashDa…
1062ImU32 TreeDepthMayJumpToParentOnPop; // Store a copy of !g.NavIdIsAlive for Tree…
1435 … TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImU32 col);
1445 …IMGUI_API void RenderFrame(ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, bool border = true…
1447 …IMGUI_API void RenderColorRectWithAlphaCheckerboard(ImVec2 p_min, ImVec2 p_max, ImU32 fil…
1450 IMGUI_API void RenderCheckMark(ImVec2 pos, ImU32 col, float sz);
1457 …rArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col);
1458 …IMGUI_API void RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 co…
[all …]
Dimgui.cpp1033 …ow, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4]…
1443 static const ImU32 GCrc32LookupTable[256] =
1466 ImU32 ImHashData(const void* data_p, size_t data_size, ImU32 seed) in ImHashData()
1468 ImU32 crc = ~seed; in ImHashData()
1470 const ImU32* crc32_lut = GCrc32LookupTable; in ImHashData()
1482 ImU32 ImHashStr(const char* data, size_t data_size, ImU32 seed) in ImHashStr()
1485 ImU32 crc = seed; in ImHashStr()
1487 const ImU32* crc32_lut = GCrc32LookupTable; in ImHashStr()
1756 ImVec4 ImGui::ColorConvertU32ToFloat4(ImU32 in) in ColorConvertU32ToFloat4()
1766 ImU32 ImGui::ColorConvertFloat4ToU32(const ImVec4& in) in ColorConvertFloat4ToU32()
[all …]
Dimgui_widgets.cpp79 static const ImU32 IM_U32_MIN = 0;
80 static const ImU32 IM_U32_MAX = UINT_MAX; // (0xFFFFFFFF)
573 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_Butto… in ButtonEx()
647 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_Butto… in ArrowButtonEx()
683 ImU32 cross_col = GetColorU32(ImGuiCol_Text); in CloseButton()
701ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHover… in CollapseButton()
833 …const ImU32 grab_col = GetColorU32(held ? ImGuiCol_ScrollbarGrabActive : hovered ? ImGuiCol_Scroll… in Scrollbar()
896 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_Butto… in ImageButton()
1258 …const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : (hovered && g.HoveredIdTimer >= ho… in SplitterBehavior()
1310 const ImU32 frame_col = GetColorU32(hovered ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg); in BeginCombo()
[all …]
Dimgui_memory_editor.h98ImU32 HighlightColor; // // background color of highlig…
273 const ImU32 color_text = ImGui::GetColorU32(ImGuiCol_Text);
274 …const ImU32 color_disabled = OptGreyOutZeroes ? ImGui::GetColorU32(ImGuiCol_TextDisabled) : color_…
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui.h151 typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) typedef
296 IMGUI_API void PushStyleColor(ImGuiCol idx, ImU32 col);
306 …IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul = 1.0f); // retriev…
307 …IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retriev…
308 …IMGUI_API ImU32 GetColorU32(ImU32 col); // retriev…
630 IMGUI_API ImVec4 ColorConvertU32ToFloat4(ImU32 in);
631 IMGUI_API ImU32 ColorConvertFloat4ToU32(const ImVec4& in);
1684 …IM_COL32(R,G,B,A) (((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G…
1699 …ImColor(ImU32 rgba) { float sc = 1.0f/255.0f; Value.x … in ImColor()
1702 …inline operator ImU32() const { return ImGui::ColorConvertFloat4… in ImU32() function
[all …]
Dimgui_draw.cpp616 void ImDrawList::PrimRect(const ImVec2& a, const ImVec2& c, ImU32 col) in PrimRect()
631 …st::PrimRectUV(const ImVec2& a, const ImVec2& c, const ImVec2& uv_a, const ImVec2& uv_c, ImU32 col) in PrimRectUV()
646 …Vec2& d, const ImVec2& uv_a, const ImVec2& uv_b, const ImVec2& uv_c, const ImVec2& uv_d, ImU32 col) in PrimQuadUV()
667 void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 col, bool closed, … in AddPolyline()
683 const ImU32 col_trans = col & ~IM_COL32_A_MASK; in AddPolyline()
855 void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_count, ImU32 col) in AddConvexPolyFilled()
866 const ImU32 col_trans = col & ~IM_COL32_A_MASK; in AddConvexPolyFilled()
1041 void ImDrawList::AddLine(const ImVec2& a, const ImVec2& b, ImU32 col, float thickness) in AddLine()
1051 void ImDrawList::AddRect(const ImVec2& a, const ImVec2& b, ImU32 col, float rounding, int rounding_… in AddRect()
1062 void ImDrawList::AddRectFilled(const ImVec2& a, const ImVec2& b, ImU32 col, float rounding, int rou… in AddRectFilled()
[all …]
Dimgui.cpp1033 …ow, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4]…
1430 ImU32 ImHash(const void* data, int data_size, ImU32 seed) in ImHash()
1432 static ImU32 crc32_lut[256] = { 0 }; in ImHash()
1435 const ImU32 polynomial = 0xEDB88320; in ImHash()
1436 for (ImU32 i = 0; i < 256; i++) in ImHash()
1438 ImU32 crc = i; in ImHash()
1439 for (ImU32 j = 0; j < 8; j++) in ImHash()
1440 crc = (crc >> 1) ^ (ImU32(-int(crc & 1)) & polynomial); in ImHash()
1446 ImU32 crc = seed; in ImHash()
1718 ImVec4 ImGui::ColorConvertU32ToFloat4(ImU32 in) in ColorConvertU32ToFloat4()
[all …]
Dimgui_internal.h148 IMGUI_API ImU32 ImHash(const void* data, int data_size, ImU32 seed = 0); // Pass data_si…
1032ImU32 TreeDepthMayJumpToParentOnPop; // Store a copy of !g.NavIdIsAlive for Tree…
1388 … TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImU32 col);
1398 …IMGUI_API void RenderFrame(ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, bool border = true…
1400 …IMGUI_API void RenderColorRectWithAlphaCheckerboard(ImVec2 p_min, ImVec2 p_max, ImU32 fil…
1403 IMGUI_API void RenderCheckMark(ImVec2 pos, ImU32 col, float sz);
1410 …rArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col);
1411 …IMGUI_API void RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 co…
1412 …IMGUI_API void RenderPixelEllipsis(ImDrawList* draw_list, ImVec2 pos, int count, ImU32 co…
1452 … vert_start_idx, int vert_end_idx, ImVec2 gradient_p0, ImVec2 gradient_p1, ImU32 col0, ImU32 col1);
Dimgui_widgets.cpp77 static const ImU32 IM_U32_MIN = 0;
78 static const ImU32 IM_U32_MAX = UINT_MAX; // (0xFFFFFFFF)
569 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_Butto… in ButtonEx()
642 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_Butto… in ArrowButtonEx()
678 ImU32 cross_col = GetColorU32(ImGuiCol_Text); in CloseButton()
696ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHover… in CollapseButton()
809 …const ImU32 grab_col = GetColorU32(held ? ImGuiCol_ScrollbarGrabActive : hovered ? ImGuiCol_Scroll… in Scrollbar()
872 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_Butto… in ImageButton()
1252 …const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : (hovered && g.HoveredIdTimer >= ho… in SplitterBehavior()
1304 const ImU32 frame_col = GetColorU32(hovered ? ImGuiCol_FrameBgHovered : ImGuiCol_FrameBg); in BeginCombo()
[all …]
Dimgui_demo.cpp1171 …const ImU32 u32_zero = 0, u32_one = 1, u32_fifty = 50, u32_min = 0, u32_max = UINT… in ShowDemoWindowWidgets()
1179 static ImU32 u32_v = (ImU32)-1; in ShowDemoWindowWidgets()
3856 const ImU32 col32 = ImColor(col); in ShowExampleAppCustomRendering()
/third_party/skia/third_party/externals/imgui/
Dimgui.h227 typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors) typedef
404 …IMGUI_API void PushStyleColor(ImGuiCol idx, ImU32 col); // modify …
428 …IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul = 1.0f); // retriev…
429 …IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retriev…
430 …IMGUI_API ImU32 GetColorU32(ImU32 col); // retriev…
773 …IMGUI_API void TableSetBgColor(ImGuiTableBgTarget target, ImU32 color, int column…
880 IMGUI_API ImVec4 ColorConvertU32ToFloat4(ImU32 in);
881 IMGUI_API ImU32 ColorConvertFloat4ToU32(const ImVec4& in);
2229 …IM_COL32(R,G,B,A) (((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G…
2244 …ImColor(ImU32 rgba) { float sc = 1.0f / 255.0f; Value.… in ImColor()
[all …]
Dimgui_internal.h290 IMGUI_API ImGuiID ImHashData(const void* data, size_t data_size, ImU32 seed = 0);
291 IMGUI_API ImGuiID ImHashStr(const char* data, size_t data_size = 0, ImU32 seed = 0);
293 static inline ImGuiID ImHash(const void* data, int size, ImU32 seed = 0) { return size ? ImHashDa…
300 IMGUI_API ImU32 ImAlphaBlendColors(ImU32 col_a, ImU32 col_b);
514 inline bool ImBitArrayTestBit(const ImU32* arr, int n) { ImU32 mask = (ImU32)1 << (n & 31)… in ImBitArrayTestBit()
515 inline void ImBitArrayClearBit(ImU32* arr, int n) { ImU32 mask = (ImU32)1 << (n & 31)… in ImBitArrayClearBit()
516 inline void ImBitArraySetBit(ImU32* arr, int n) { ImU32 mask = (ImU32)1 << (n & 31)… in ImBitArraySetBit()
517 inline void ImBitArraySetBitRange(ImU32* arr, int n, int n2) // Works on range [n..n2) in ImBitArraySetBitRange()
524 ImU32 mask = (ImU32)(((ImU64)1 << b_mod) - 1) & ~(ImU32)(((ImU64)1 << a_mod) - 1); in ImBitArraySetBitRange()
535 ImU32 Storage[(BITCOUNT + 31) >> 5];
[all …]
Dimgui_draw.cpp663 void ImDrawList::PrimRect(const ImVec2& a, const ImVec2& c, ImU32 col) in PrimRect()
678 …st::PrimRectUV(const ImVec2& a, const ImVec2& c, const ImVec2& uv_a, const ImVec2& uv_c, ImU32 col) in PrimRectUV()
693 …Vec2& d, const ImVec2& uv_a, const ImVec2& uv_b, const ImVec2& uv_c, const ImVec2& uv_d, ImU32 col) in PrimQuadUV()
716 void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 col, ImDrawFlags f… in AddPolyline()
730 const ImU32 col_trans = col & ~IM_COL32_A_MASK; in AddPolyline()
972 void ImDrawList::AddConvexPolyFilled(const ImVec2* points, const int points_count, ImU32 col) in AddConvexPolyFilled()
983 const ImU32 col_trans = col & ~IM_COL32_A_MASK; in AddConvexPolyFilled()
1377 void ImDrawList::AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness) in AddLine()
1388 void ImDrawList::AddRect(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding, ImDra… in AddRect()
1399 void ImDrawList::AddRectFilled(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding,… in AddRectFilled()
[all …]
Dimgui_widgets.cpp106 static const ImU32 IM_U32_MIN = 0;
107 static const ImU32 IM_U32_MAX = UINT_MAX; // (0xFFFFFFFF)
408 ImU32 text_col = GetColorU32(ImGuiCol_Text); in BulletTextV()
698 …const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_Butto… in ButtonEx()
775 …const ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_Bu… 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()
840ImU32 bg_col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHo… in CollapseButton()
841 ImU32 text_col = GetColorU32(ImGuiCol_Text); in CollapseButton()
[all …]
Dimgui.cpp939 …ow, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4]…
941 …title_bar_rect, bool title_bar_is_highlight, int resize_grip_count, const ImU32 resize_grip_col[4]…
1505 static const ImU32 GCrc32LookupTable[256] =
1528 ImGuiID ImHashData(const void* data_p, size_t data_size, ImU32 seed) in ImHashData()
1530 ImU32 crc = ~seed; in ImHashData()
1532 const ImU32* crc32_lut = GCrc32LookupTable; in ImHashData()
1544 ImGuiID ImHashStr(const char* data_p, size_t data_size, ImU32 seed) in ImHashStr()
1547 ImU32 crc = seed; in ImHashStr()
1549 const ImU32* crc32_lut = GCrc32LookupTable; in ImHashStr()
1830 IMGUI_API ImU32 ImAlphaBlendColors(ImU32 col_a, ImU32 col_b) in ImAlphaBlendColors()
[all …]
Dimgui_tables.cpp1607 void ImGui::TableSetBgColor(ImGuiTableBgTarget target, ImU32 color, int column_n) in TableSetBgColor()
1757 ImU32 bg_col0 = 0; in TableEndRow()
1758 ImU32 bg_col1 = 0; in TableEndRow()
1767 ImU32 border_col = 0; in TableEndRow()
2531 ImU32 col; in TableDrawBorders()
2559 const ImU32 outer_col = table->BorderColorStrong; in TableDrawBorders()
2919 …const ImU32 col = GetColorU32(held ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_HeaderHovered : Im… in TableHeader()
3377 …if (sscanf(line, "UserID=0x%08X%n", (ImU32*)&n, &r)==1) { line = ImStrSkipBlank(line + r); column-… in TableSettingsHandler_ReadLine()
4006 …const ImU32 col = GetColorU32(held ? ImGuiCol_SeparatorActive : hovered ? ImGuiCol_SeparatorHovere… in EndColumns()
Dimgui_demo.cpp1898 …const ImU32 u32_zero = 0, u32_one = 1, u32_fifty = 50, u32_min = 0, u32_max = UINT… in ShowDemoWindowWidgets()
1910 static ImU32 u32_v = (ImU32)-1; in ShowDemoWindowWidgets()
4552ImU32 row_bg_color = ImGui::GetColorU32(row_bg_type == 1 ? ImVec4(0.7f, 0.3f, 0.3f, 0.65f) : ImVec…
4568 ImU32 cell_bg_color = ImGui::GetColorU32(ImVec4(0.3f, 0.3f, 0.7f, 0.65f));
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_COL32(0, 255, 0, 255));
7181 ImU32 col_b = ImGui::GetColorU32(IM_COL32(255, 0, 0, 255));
7208 const ImU32 col = ImColor(colf);
/third_party/skia/third_party/externals/imgui/misc/freetype/
Dimgui_freetype.cpp316 … #define DE_MULTIPLY(color, alpha) (ImU32)(255.0f * (float)color / (float)alpha + 0.5f) in BlitGlyph()
476 IM_ASSERT(sizeof(src_tmp.GlyphsSet.Storage.Data[0]) == sizeof(ImU32)); in ImFontAtlasBuildWithFreeTypeEx()
477 const ImU32* it_begin = src_tmp.GlyphsSet.Storage.begin(); in ImFontAtlasBuildWithFreeTypeEx()
478 const ImU32* it_end = src_tmp.GlyphsSet.Storage.end(); in ImFontAtlasBuildWithFreeTypeEx()
479 for (const ImU32* it = it_begin; it < it_end; it++) in ImFontAtlasBuildWithFreeTypeEx()
480 if (ImU32 entries_32 = *it) in ImFontAtlasBuildWithFreeTypeEx()
481 for (ImU32 bit_n = 0; bit_n < 32; bit_n++) in ImFontAtlasBuildWithFreeTypeEx()
482 if (entries_32 & ((ImU32)1 << bit_n)) in ImFontAtlasBuildWithFreeTypeEx()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_dx9.cpp322 ImU32* dst_start = (ImU32*)ImGui::MemAlloc((size_t)width * height * bytes_per_pixel); in ImGui_ImplDX9_CreateFontsTexture()
323 …for (ImU32* src = (ImU32*)pixels, *dst = dst_start, *dst_end = dst_start + (size_t)width * height;… in ImGui_ImplDX9_CreateFontsTexture()
Dimgui_impl_wgpu.cpp35 extern ImGuiID ImHashData(const void* data_p, size_t data_size, ImU32 seed = 0);
/third_party/skia/tools/viewer/
DImGuiLayer.h63 void fillColor(ImU32 color) { in fillColor()
67 void dragPoint(SkPoint* p, bool tooltip = false, ImU32 color = 0xFFFFFFFF) {
/third_party/flutter/skia/tools/viewer/
DImGuiLayer.h62 void fillColor(ImU32 color) { in fillColor()
66 void dragPoint(SkPoint* p, bool tooltip = false, ImU32 color = 0xFFFFFFFF) {
/third_party/skia/third_party/externals/imgui/docs/
DFONTS.md282 ImU32* p = (ImU32*)tex_pixels + (rect->Y + y) * tex_width + (rect->X);

12