[studio/modlib] Remove color.hpp

This commit is contained in:
Gary Talent 2024-05-25 21:33:27 -05:00
parent 1f87216da4
commit 9c98b5e2c2

View File

@ -1,17 +0,0 @@
#pragma once
#include <nostalgia/core/color.hpp>
namespace studio {
[[nodiscard]]
constexpr nostalgia::core::Color16 applySelectionColor(
nostalgia::core::Color16 const color) noexcept {
namespace core = nostalgia::core;
auto const r = core::red16(color) / 2;
auto const g = (core::green16(color) + 20) / 2;
auto const b = (core::blue16(color) + 31) / 2;
return core::color16(r, g, b);
}
}