21 lines
429 B
C++
21 lines
429 B
C++
#pragma once
|
|
|
|
#include <sophia/frame_info.hpp>
|
|
#include <sophia/ui/panel.hpp>
|
|
#include <sophia/ui/panel_registry.hpp>
|
|
|
|
namespace sophia {
|
|
|
|
class PanelRegistryPanel : public Panel {
|
|
public:
|
|
explicit PanelRegistryPanel(PanelRegistry& registry)
|
|
: Panel{{.name = "PanelRegistry"}}, registry{registry} {}
|
|
|
|
void onUpdate(const FrameInfo& frameInfo) override;
|
|
|
|
private:
|
|
PanelRegistry& registry;
|
|
};
|
|
|
|
} // namespace sophia
|