Stage 10a: delete dead code, merge tiny files, unify duplicated concepts
- Dead code: util/map, util/unordered_map, unused vector/math/string/input helpers, Document getters, special-interpolation bake leftovers, triggers_sort, SnapshotStack::max_size_get, AudioStream capture API. - Merges: util/xml, util/string, resource/strings.cpp inlined; constants into input.hpp; tooltip into layout; Recorder into render; onionskin, tools, welcome and frame properties are panel functions; timeline popups.cpp folded into timeline.cpp. - util/origin.hpp replaced by model Origin (the merge setting stays a combo index, so saved preferences keep their meaning). - Item type names/icons/colors moved from model/common.hpp to the timeline header; the model no longer includes icon/strings headers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4d16f21541
commit
4c569cb1e5
60 files changed
+605
-1021
No files matched your search
@@ -4,14 +4,10 @@
|
||||
#include "popup/autosave_restore.hpp"
|
||||
#include "taskbar.hpp"
|
||||
#include "window/animation_preview.hpp"
|
||||
#include "window/frame_properties.hpp"
|
||||
#include "window/onionskin.hpp"
|
||||
#include "window/panel.hpp"
|
||||
#include "window/shaders.hpp"
|
||||
#include "window/spritesheet_editor.hpp"
|
||||
#include "window/timeline/timeline.hpp"
|
||||
#include "window/tools.hpp"
|
||||
#include "window/welcome.hpp"
|
||||
|
||||
namespace anm2ed::imgui
|
||||
{
|
||||
@@ -22,17 +18,15 @@ namespace anm2ed::imgui
|
||||
AnimationsPanel animations{};
|
||||
RegionsPanel regions{};
|
||||
PanelState events{};
|
||||
FrameProperties frameProperties;
|
||||
FramePropertiesPanel frameProperties{};
|
||||
PanelState layers{};
|
||||
PanelState nulls{};
|
||||
Onionskin onionskin;
|
||||
ShadersPanel shaders{};
|
||||
SpritesheetEditor spritesheetEditor;
|
||||
SpritesheetsPanel spritesheets{};
|
||||
PanelState sounds{};
|
||||
Timeline timeline;
|
||||
Tools tools;
|
||||
Welcome welcome;
|
||||
PopupHelper toolsColorEditPopup{PopupHelper(LABEL_TOOLS_COLOR_EDIT_POPUP, POPUP_TO_CONTENT, POPUP_BY_ITEM)};
|
||||
AutosaveRestore autosaveRestore;
|
||||
|
||||
public:
|
||||
|
||||
Reference in new issue
Block a user