Split window.cpp per window and drive menus from one flag table

- WINDOW_FLAGS table builds every context menu, footer and shortcut set
- Shared list-row and card-row renderers replace per-window copies
- Layers/nulls/events share one properties popup; Manager keeps one item popup API
- Regions, spritesheets and sounds drop hand-built menus, footers and shortcut blocks
- Animation remove and cut share one erase path that also clears group ids
- Index-mapped multi-select fixes shift-range over non-contiguous ids
- Fix Remove Unused tooltip showing the Add shortcut and the missing break in item properties

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-03 13:27:34 -04:00
1 parent 3f31cedeed
commit d926fc6677
13 files changed
+2811 -4466

No files matched your search

+3
View File
@@ -509,6 +509,9 @@ namespace anm2ed
bool element_child_id_erase(Element&, ElementType, int);
int track_frames_count_get(const Element&);
int animations_count_get(const Element&);
int animations_child_index_get(const Element&, int);
int animations_child_insert_index_get(const Element&, int);
Element root_animation_make();
float interpolation_factor(Interpolation, float);
void frame_mix(Element&, const Element&, float);
Element frame_generate(const Element&, float);
-3
View File
@@ -61,9 +61,6 @@ namespace anm2ed
ElementType group_child_type_get(ElementType);
Element* content_container_get(Element&, ElementType);
std::unordered_map<int, int> child_ids_compact(Element&, ElementType);
int animations_child_index_get(const Element&, int);
int animations_child_insert_index_get(const Element&, int);
Element root_animation_make();
void group_frames_bake(Element&);
void group_frames_restore(Element&);
void group_metadata_embed(Element&);