chore: sync editor worktree changes
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user