Files
anm2ed/src/types.hpp
T
shweetandClaude Opus 5.5 901c11691b types.hpp is UI-free: theme moves to util/imgui/theme.hpp, ImGui conversions and dummy values to layout.hpp
The model and edit layers no longer include ImGui or localization headers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 18:45:44 -04:00

88 lines
1.1 KiB
C++

#pragma once
#include <glm/glm.hpp>
namespace anm2ed::types::shortcut
{
enum Type
{
FOCUSED,
GLOBAL,
FOCUSED_SET,
GLOBAL_SET
};
}
namespace anm2ed::types::destination
{
enum Type
{
ALL,
THIS
};
}
namespace anm2ed::types::source
{
enum Type
{
NEW,
EXISTING
};
}
namespace anm2ed::types::overlay_draw_order
{
enum Type
{
OVER,
UNDER
};
}
namespace anm2ed::types::merge
{
enum Type
{
PREPEND,
APPEND,
REPLACE,
IGNORE
};
}
namespace anm2ed::types::edit_state
{
enum Type
{
NONE,
START,
DURING,
END,
COMPLETE
};
}
namespace anm2ed::types::color
{
using namespace glm;
constexpr auto WHITE = vec4(1.0);
constexpr auto BLACK = vec4(0.0, 0.0, 0.0, 1.0);
constexpr auto RED = vec4(1.0, 0.0, 0.0, 1.0);
constexpr auto GREEN = vec4(0.0, 1.0, 0.0, 1.0);
constexpr auto BLUE = vec4(0.0, 0.0, 1.0, 1.0);
constexpr auto PINK = vec4(1.0, 0.0, 1.0, 1.0);
}
namespace anm2ed::types
{
enum class OnionskinMode
{
TIME,
INDEX
};
constexpr auto ID_NONE = -1;
}