added editor WIP
This commit is contained in:
16
TSE_Editor/src/UI/base/IGUIElement.hpp
Normal file
16
TSE_Editor/src/UI/base/IGUIElement.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
namespace TSE::EDITOR
|
||||
{
|
||||
class IGUIElement
|
||||
{
|
||||
protected:
|
||||
bool enabled = true;
|
||||
public:
|
||||
virtual void Render() = 0;
|
||||
inline void SetEnabled(bool state)
|
||||
{
|
||||
enabled = state;
|
||||
};
|
||||
};
|
||||
} // namespace TSE::EDITOR
|
||||
Reference in New Issue
Block a user