Searched refs:ImColor (Results 1 - 7 of 7) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/intel/tools/
H A Daubinator_viewer.h10 ImColor clear_color;
11 ImColor dwords_color;
12 ImColor highlight_color;
13 ImColor error_color;
14 ImColor missing_color;
15 ImColor boolean_color;
H A Daubinator_viewer_urb.h68 draw_list->AddRectFilled(alloc_tl, alloc_br, ImColor(r, g, b));
81 draw_list->AddRectFilled(const_tl, const_br, ImColor(r, g, b));
/xsrc/external/mit/MesaLib/dist/src/intel/tools/
H A Daubinator_viewer.h10 ImColor clear_color;
11 ImColor dwords_color;
12 ImColor highlight_color;
13 ImColor error_color;
14 ImColor missing_color;
15 ImColor boolean_color;
H A Daubinator_viewer_urb.h68 draw_list->AddRectFilled(alloc_tl, alloc_br, ImColor(r, g, b));
81 draw_list->AddRectFilled(const_tl, const_br, ImColor(r, g, b));
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui.h21 // Helpers (ImGuiOnceUponAFrame, ImGuiTextFilter, ImGuiTextBuffer, ImGuiStorage, ImGuiListClipper, ImColor)
104 struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*OBSOLETE* please avoid using)
1697 // Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float)
1699 // **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE.
1700 // **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed.
1701 struct ImColor struct
1705 ImColor() { Value.x = Value.y = Value.z = Value.w = 0.0f; } function in struct:ImColor
1706 ImColor(int r, int g, int b, int a = 255) { float sc = 1.0f/255.0f; Value.x = (float)r * sc; Value.y = (float)g * sc; Value.z = (float)b * sc; Value.w = (float)a * sc; } function in struct:ImColor
1707 ImColor(ImU32 rgba) { float sc = 1.0f/255.0f; Value.x = (float)((rgba>>IM_COL32_R_SHIFT)&0xFF) * sc; Value.y = (float)((rgba>>IM_COL32_G_SHIFT)&0xFF) * sc; Value.z = (float)((rgba>>IM_COL32_B_SHIFT)&0xFF) * sc; Value.w = (float)((rgba>>IM_COL32_A_SHIFT)&0xFF) * sc; } function in struct:ImColor
1708 ImColor(floa function in struct:ImColor
1709 ImColor(const ImVec4& col) { Value = col; } function in struct:ImColor
[all...]
H A Dimgui_demo.cpp430 ImGui::PushStyleColor(ImGuiCol_Button, (ImVec4)ImColor::HSV(i/7.0f, 0.6f, 0.6f));
431 ImGui::PushStyleColor(ImGuiCol_ButtonHovered, (ImVec4)ImColor::HSV(i/7.0f, 0.7f, 0.7f));
432 ImGui::PushStyleColor(ImGuiCol_ButtonActive, (ImVec4)ImColor::HSV(i/7.0f, 0.8f, 0.8f));
734 ImGui::Image(my_tex_id, ImVec2(my_tex_w, my_tex_h), ImVec2(0,0), ImVec2(1,1), ImColor(255,255,255,255), ImColor(255,255,255,128));
746 ImGui::Image(my_tex_id, ImVec2(region_sz * zoom, region_sz * zoom), uv0, uv1, ImColor(255,255,255,255), ImColor(255,255,255,128));
755 if (ImGui::ImageButton(my_tex_id, ImVec2(32,32), ImVec2(0,0), ImVec2(32.0f/my_tex_w,32/my_tex_h), frame_padding, ImColor(0,0,0,255)))
1309 ImGui::PushStyleColor(ImGuiCol_FrameBg, (ImVec4)ImColor::HSV(i/7.0f, 0.5f, 0.5f));
1310 ImGui::PushStyleColor(ImGuiCol_FrameBgHovered, (ImVec4)ImColor
[all...]
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui.h21 // Helpers (ImGuiOnceUponAFrame, ImGuiTextFilter, ImGuiTextBuffer, ImGuiStorage, ImGuiListClipper, ImColor)
104 struct ImColor; // Helper functions to create a color that can be converted to either u32 or float4 (*OBSOLETE* please avoid using)
1697 // Helper: ImColor() implicity converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float)
1699 // **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE.
1700 // **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed.
1701 struct ImColor struct
1705 ImColor() { Value.x = Value.y = Value.z = Value.w = 0.0f; } function in struct:ImColor
1706 ImColor(int r, int g, int b, int a = 255) { float sc = 1.0f/255.0f; Value.x = (float)r * sc; Value.y = (float)g * sc; Value.z = (float)b * sc; Value.w = (float)a * sc; } function in struct:ImColor
1707 ImColor(ImU32 rgba) { float sc = 1.0f/255.0f; Value.x = (float)((rgba>>IM_COL32_R_SHIFT)&0xFF) * sc; Value.y = (float)((rgba>>IM_COL32_G_SHIFT)&0xFF) * sc; Value.z = (float)((rgba>>IM_COL32_B_SHIFT)&0xFF) * sc; Value.w = (float)((rgba>>IM_COL32_A_SHIFT)&0xFF) * sc; } function in struct:ImColor
1708 ImColor(floa function in struct:ImColor
1709 ImColor(const ImVec4& col) { Value = col; } function in struct:ImColor
[all...]

Completed in 119 milliseconds