Move INTERPOLATION_LABELS out of the model into the frame properties wizard
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
36869918e5
commit
ab276f6f08
3 files changed
+4
-4
No files matched your search
@@ -85,7 +85,7 @@ namespace anm2ed::imgui
|
||||
auto sounds = document.choices_get(SelectionKind::SOUNDS);
|
||||
auto shaders = document.choices_get(SelectionKind::SHADERS);
|
||||
std::vector<const char*> interpolationLabels{};
|
||||
for (auto label : INTERPOLATION_LABELS)
|
||||
for (auto label : wizard::INTERPOLATION_LABELS)
|
||||
interpolationLabels.push_back(localize.get(label));
|
||||
|
||||
auto mode_selector_draw = [&]()
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
|
||||
namespace anm2ed::imgui::wizard
|
||||
{
|
||||
inline constexpr StringType INTERPOLATION_LABELS[] = {BASIC_NONE, BASIC_LINEAR, BASIC_EASE_IN, BASIC_EASE_OUT,
|
||||
BASIC_EASE_IN_OUT};
|
||||
|
||||
class ChangeAllFrameProperties
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -191,9 +191,6 @@ namespace anm2ed
|
||||
std::optional<bool> isFlipY{};
|
||||
};
|
||||
|
||||
inline constexpr StringType INTERPOLATION_LABELS[] = {BASIC_NONE, BASIC_LINEAR, BASIC_EASE_IN, BASIC_EASE_OUT,
|
||||
BASIC_EASE_IN_OUT};
|
||||
|
||||
struct Reference
|
||||
{
|
||||
int animationIndex{-1};
|
||||
|
||||
Reference in new issue
Block a user