added editor WIP
This commit is contained in:
24
TSE_Editor/src/UI/windows/PropertiesView.hpp
Normal file
24
TSE_Editor/src/UI/windows/PropertiesView.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "UI/base/GuiWindow.h"
|
||||
#include "UI/ElementDrawer.hpp"
|
||||
|
||||
namespace TSE::EDITOR
|
||||
{
|
||||
class PropertiesView : public GuiWindow
|
||||
{
|
||||
private:
|
||||
inline static Inspectable currentlyInspecting = {};
|
||||
bool debugMode = false;
|
||||
inline static bool locked = false;
|
||||
|
||||
public:
|
||||
PropertiesView();
|
||||
|
||||
void Define() override;
|
||||
void MenuBar();
|
||||
static void SetInspectorElement(InspectableType type, void* element);
|
||||
static void ClearInspectorElement();
|
||||
static void ForceClearInspectorElement();
|
||||
};
|
||||
} // namespace TSE::EDITOR
|
||||
Reference in New Issue
Block a user