| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_draw.cpp | 177 ImVec4* colors = style->Colors; 179 colors[ImGuiCol_Text] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f); 180 colors[ImGuiCol_TextDisabled] = ImVec4(0.50f, 0.50f, 0.50f, 1.00f); 181 colors[ImGuiCol_WindowBg] = ImVec4(0.06f, 0.06f, 0.06f, 0.94f); 182 colors[ImGuiCol_ChildBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); 183 colors[ImGuiCol_PopupBg] = ImVec4(0.08f, 0.08f, 0.08f, 0.94f); 184 colors[ImGuiCol_Border] = ImVec4(0.43f, 0.43f, 0.50f, 0.50f); 185 colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); 186 colors[ImGuiCol_FrameBg] = ImVec4(0.16f, 0.29f, 0.48f, 0.54f); 187 colors[ImGuiCol_FrameBgHovered] = ImVec4(0.2 [all...] |
| H A D | imgui.h | 50 #define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert)) 181 struct ImVec4 struct 184 ImVec4() { x = y = z = w = 0.0f; } function in struct:ImVec4 185 ImVec4(float _x, float _y, float _z, float _w) { x = _x; y = _y; z = _z; w = _w; } function in struct:ImVec4 187 IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4. 302 IMGUI_API void PushStyleColor(ImGuiCol idx, const ImVec4& col); 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. 312 IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retrieve given color with style alpha applied 373 IMGUI_API void TextColored(const ImVec4& col, const char* fmt, ...) IM_FMTARGS(2); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); 374 IMGUI_API void TextColoredV(const ImVec4 [all...] |
| H A D | imgui_internal.h | 190 // Helpers: ImVec2/ImVec4 operators 204 static inline ImVec4 operator+(const ImVec4& lhs, const ImVec4& rhs) { return ImVec4(lhs.x+rhs.x, lhs.y+rhs.y, lhs.z+rhs.z, lhs.w+rhs.w); } 205 static inline ImVec4 operator-(const ImVec4& lhs, const ImVec4& rhs) { return ImVec4(lhs.x-rhs.x, lhs.y-rhs.y, lhs.z-rhs.z, lhs.w-rhs.w); } 206 static inline ImVec4 operato [all...] |
| H A D | imgui_demo.cpp | 430 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)); 660 ImGui::TextColored(ImVec4(1.0f,0.0f,1.0f,1.0f), "Pink"); 661 ImGui::TextColored(ImVec4(1.0f,1.0f,0.0f,1.0f), "Yellow"); 1029 static ImVec4 color = ImVec4(114.0f/255.0f, 144.0f/255.0f, 154.0f/255.0f, 200.0f/255.0f); 1061 static ImVec4 saved_palette[32] = { }; 1072 static ImVec4 backup_color; 1102 color = ImVec4(saved_palett [all...] |
| H A D | imgui_widgets.cpp | 253 void ImGui::TextColored(const ImVec4& col, const char* fmt, ...) 261 void ImGui::TextColoredV(const ImVec4& col, const char* fmt, va_list args) 842 void ImGui::Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& tint_col, const ImVec4& border_col) 870 bool ImGui::ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, int frame_padding, const ImVec4& bg_col, const ImVec4& tint_col) 3621 const ImVec4 clip_rect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x + size.x, frame_bb.Min.y + size.y); // Not using frame_bb.Max because we have adjusted size 3951 const ImVec4 col_v4(col[0], col[1], col[2], alpha ? col[3] : 1.0f); 4250 ImVec4 col_v4(col[0], col[1], col[2], (flags & ImGuiColorEditFlags_NoAlpha) ? 1.0f : col[3]); 4257 ImVec4 ref_col_v [all...] |
| H A D | imgui.cpp | 43 - How can I use my own math types instead of ImVec2/ImVec4? 150 - C++: ImVec2/ImVec4 do not expose math operators by default, because it is expected that you use your own math types. 151 See FAQ "How can I use my own math types instead of ImVec2/ImVec4?" for details about setting up imconfig.h for that. 152 However, imgui_internal.h can optionally export math operators for ImVec2/ImVec4, which we use in this codebase. 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. 454 - changed prototype of rarely used 'ColorButton(ImVec4 col, bool small_height = false, bool outline_border = true)' to 'ColorButton(const char* desc_id, ImVec4 col, ImGuiColorEditFlags flags = 0, ImVec2 size = ImVec2(0,0))' 466 ImVec4 ConvertTitleBgCol(const ImVec4& win_bg_col, const ImVec4 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_draw.cpp | 177 ImVec4* colors = style->Colors; 179 colors[ImGuiCol_Text] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f); 180 colors[ImGuiCol_TextDisabled] = ImVec4(0.50f, 0.50f, 0.50f, 1.00f); 181 colors[ImGuiCol_WindowBg] = ImVec4(0.06f, 0.06f, 0.06f, 0.94f); 182 colors[ImGuiCol_ChildBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); 183 colors[ImGuiCol_PopupBg] = ImVec4(0.08f, 0.08f, 0.08f, 0.94f); 184 colors[ImGuiCol_Border] = ImVec4(0.43f, 0.43f, 0.50f, 0.50f); 185 colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); 186 colors[ImGuiCol_FrameBg] = ImVec4(0.16f, 0.29f, 0.48f, 0.54f); 187 colors[ImGuiCol_FrameBgHovered] = ImVec4(0.2 [all...] |
| H A D | imgui.h | 50 #define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert)) 181 struct ImVec4 struct 184 ImVec4() { x = y = z = w = 0.0f; } function in struct:ImVec4 185 ImVec4(float _x, float _y, float _z, float _w) { x = _x; y = _y; z = _z; w = _w; } function in struct:ImVec4 187 IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4. 302 IMGUI_API void PushStyleColor(ImGuiCol idx, const ImVec4& col); 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. 312 IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retrieve given color with style alpha applied 373 IMGUI_API void TextColored(const ImVec4& col, const char* fmt, ...) IM_FMTARGS(2); // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); 374 IMGUI_API void TextColoredV(const ImVec4 [all...] |
| H A D | imgui_internal.h | 190 // Helpers: ImVec2/ImVec4 operators 204 static inline ImVec4 operator+(const ImVec4& lhs, const ImVec4& rhs) { return ImVec4(lhs.x+rhs.x, lhs.y+rhs.y, lhs.z+rhs.z, lhs.w+rhs.w); } 205 static inline ImVec4 operator-(const ImVec4& lhs, const ImVec4& rhs) { return ImVec4(lhs.x-rhs.x, lhs.y-rhs.y, lhs.z-rhs.z, lhs.w-rhs.w); } 206 static inline ImVec4 operato [all...] |
| H A D | imgui_widgets.cpp | 253 void ImGui::TextColored(const ImVec4& col, const char* fmt, ...) 261 void ImGui::TextColoredV(const ImVec4& col, const char* fmt, va_list args) 842 void ImGui::Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& tint_col, const ImVec4& border_col) 870 bool ImGui::ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, int frame_padding, const ImVec4& bg_col, const ImVec4& tint_col) 3621 const ImVec4 clip_rect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x + size.x, frame_bb.Min.y + size.y); // Not using frame_bb.Max because we have adjusted size 3951 const ImVec4 col_v4(col[0], col[1], col[2], alpha ? col[3] : 1.0f); 4250 ImVec4 col_v4(col[0], col[1], col[2], (flags & ImGuiColorEditFlags_NoAlpha) ? 1.0f : col[3]); 4257 ImVec4 ref_col_v [all...] |
| H A D | imgui.cpp | 43 - How can I use my own math types instead of ImVec2/ImVec4? 150 - C++: ImVec2/ImVec4 do not expose math operators by default, because it is expected that you use your own math types. 151 See FAQ "How can I use my own math types instead of ImVec2/ImVec4?" for details about setting up imconfig.h for that. 152 However, imgui_internal.h can optionally export math operators for ImVec2/ImVec4, which we use in this codebase. 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. 454 - changed prototype of rarely used 'ColorButton(ImVec4 col, bool small_height = false, bool outline_border = true)' to 'ColorButton(const char* desc_id, ImVec4 col, ImGuiColorEditFlags flags = 0, ImVec2 size = ImVec2(0,0))' 466 ImVec4 ConvertTitleBgCol(const ImVec4& win_bg_col, const ImVec4 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/tools/imgui/ |
| H A D | imgui_impl_opengl3.cpp | 196 ImVec4 clip_rect = ImVec4(pcmd->ClipRect.x - pos.x, pcmd->ClipRect.y - pos.y, pcmd->ClipRect.z - pos.x, pcmd->ClipRect.w - pos.y);
|
| /xsrc/external/mit/MesaLib/dist/src/intel/tools/imgui/ |
| H A D | imgui_impl_opengl3.cpp | 196 ImVec4 clip_rect = ImVec4(pcmd->ClipRect.x - pos.x, pcmd->ClipRect.y - pos.y, pcmd->ClipRect.z - pos.x, pcmd->ClipRect.w - pos.y);
|