chore: sync editor worktree changes

This commit is contained in:
2026-04-05 01:25:09 +08:00
parent 061e74d98f
commit b2774f1745
27 changed files with 1014 additions and 281 deletions

View File

@@ -14,7 +14,7 @@ public:
virtual void onDetach() {}
virtual void onUpdate(float dt) {}
virtual void onEvent(void* event) {}
virtual void onImGuiRender() {}
virtual void onUIRender() {}
const std::string& getName() const { return m_name; }

View File

@@ -20,7 +20,7 @@ public:
void onUpdate(float dt);
void onEvent(void* event);
void onImGuiRender();
void onUIRender();
void onAttach();
void onDetach();
@@ -78,9 +78,9 @@ inline void LayerStack::onEvent(void* event) {
}
}
inline void LayerStack::onImGuiRender() {
inline void LayerStack::onUIRender() {
for (auto& layer : m_layers) {
layer->onImGuiRender();
layer->onUIRender();
}
}