mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 02:49:19 +02:00
refactor(editor): named overlay colours
This commit is contained in:
@@ -17,6 +17,15 @@ http://mozilla.org/MPL/2.0/.
|
||||
|
||||
#include <limits>
|
||||
|
||||
namespace overlay_color
|
||||
{
|
||||
ImU32 constexpr marked{IM_COL32(255, 210, 60, 255)};
|
||||
ImU32 constexpr grip{IM_COL32(60, 230, 90, 255)};
|
||||
ImU32 constexpr selected{IM_COL32(40, 220, 255, 255)};
|
||||
ImU32 constexpr invalid{IM_COL32(255, 60, 60, 255)};
|
||||
ImU32 constexpr highlight{IM_COL32(255, 255, 255, 255)};
|
||||
} // namespace overlay_color
|
||||
|
||||
// world to screen projection of the current camera, for overlays drawn with ImGui
|
||||
class screen_projection
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user