[studio/modlib] Remove color.hpp
This commit is contained in:
parent
1f87216da4
commit
9c98b5e2c2
@ -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);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user