From bdc5e756cf01a0ac094f6f247b1a778c94cf94dd Mon Sep 17 00:00:00 2001 From: Justin Scofield <47263509+scawful@users.noreply.github.com> Date: Tue, 31 Dec 2024 20:57:05 -0500 Subject: [PATCH] temporary removal of std format --- src/app/gui/color.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/gui/color.h b/src/app/gui/color.h index 34fae16a..9b47886d 100644 --- a/src/app/gui/color.h +++ b/src/app/gui/color.h @@ -1,7 +1,7 @@ #ifndef YAZE_GUI_COLOR_H #define YAZE_GUI_COLOR_H -#include +// #include #include #include "absl/status/status.h" @@ -23,10 +23,11 @@ inline ImVec4 ConvertColorToImVec4(const Color &color) { } inline std::string ColorToHexString(const Color &color) { - return std::format( + return ""; +/* std::format( "{:02X}{:02X}{:02X}{:02X}", static_cast(color.red * 255), static_cast(color.green * 255), static_cast(color.blue * 255), - static_cast(color.alpha * 255)); + static_cast(color.alpha * 255)); */ } // A utility function to convert an SnesColor object to an ImVec4 with