CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
ComponentUI.hpp File Reference

Go to the source code of this file.

Classes

class  CeresEngine::Editor::UI::ComponentUI
 
class  CeresEngine::Editor::UI::BasicComponentUI< C, EO >
 
class  CeresEngine::Editor::UI::TComponentUI< C, EO >
 
class  CeresEngine::Editor::UI::ComponentUIRegistry
 

Namespaces

namespace  CeresEngine
 
namespace  CeresEngine::Editor
 
namespace  CeresEngine::Editor::UI
 

Macros

#define CE_EDITOR_COMPONENT_TOKENPASTE(x, y)   x##y
 
#define CE_EDITOR_COMPONENT_TOKENPASTE2(x, y)   CE_EDITOR_COMPONENT_TOKENPASTE(x, y)
 
#define CE_EDITOR_COMPONENT(...)
 
#define CE_EDITOR_COMPONENT_ADVANCED(EditorClass)    static const EditorClass CE_EDITOR_COMPONENT_TOKENPASTE2(componentUI, EditorClass) [[maybe_unused]] {}
 
#define CE_EDITOR_COMPONENT_ADVANCED_BEGIN(Name, ...)   struct Name##ComponentUI final : public ::CeresEngine::Editor::UI::TComponentUI<__VA_ARGS__>
 
#define CE_EDITOR_COMPONENT_ADVANCED_DECL(Name)
 
#define CE_EDITOR_COMPONENT_ADVANCED_END(Name)   static const Name##ComponentUI CE_EDITOR_COMPONENT_TOKENPASTE2(componentUI, __COUNTER__) [[maybe_unused]]{};
 

Macro Definition Documentation

◆ CE_EDITOR_COMPONENT

#define CE_EDITOR_COMPONENT (   ...)
Value:
static const ::CeresEngine::Editor::UI::TComponentUI<__VA_ARGS__> CE_EDITOR_COMPONENT_TOKENPASTE2(componentUI, __COUNTER__) [[maybe_unused]] = [ \
](::CeresEngine::Editor::UI::TComponentUI<__VA_ARGS__> & ui, ::CeresEngine::String & name, auto& supports, auto& add, auto& remove, auto& render) noexcept
#define CE_EDITOR_COMPONENT_TOKENPASTE2(x, y)
Definition ComponentUI.hpp:151
Definition ComponentUI.hpp:76

◆ CE_EDITOR_COMPONENT_ADVANCED

#define CE_EDITOR_COMPONENT_ADVANCED (   EditorClass)     static const EditorClass CE_EDITOR_COMPONENT_TOKENPASTE2(componentUI, EditorClass) [[maybe_unused]] {}

◆ CE_EDITOR_COMPONENT_ADVANCED_BEGIN

#define CE_EDITOR_COMPONENT_ADVANCED_BEGIN (   Name,
  ... 
)    struct Name##ComponentUI final : public ::CeresEngine::Editor::UI::TComponentUI<__VA_ARGS__>

◆ CE_EDITOR_COMPONENT_ADVANCED_DECL

#define CE_EDITOR_COMPONENT_ADVANCED_DECL (   Name)
Value:
Name##ComponentUI() : TComponentUI<__VA_ARGS__>(constructor_){}; \
static inline const auto constructor_ = [ \
](Name##ComponentUI & ui, ::CeresEngine::String & name, auto& supports, auto& add, auto& remove, auto& render) noexcept

◆ CE_EDITOR_COMPONENT_ADVANCED_END

#define CE_EDITOR_COMPONENT_ADVANCED_END (   Name)    static const Name##ComponentUI CE_EDITOR_COMPONENT_TOKENPASTE2(componentUI, __COUNTER__) [[maybe_unused]]{};

◆ CE_EDITOR_COMPONENT_TOKENPASTE

#define CE_EDITOR_COMPONENT_TOKENPASTE (   x,
 
)    x##y

◆ CE_EDITOR_COMPONENT_TOKENPASTE2

#define CE_EDITOR_COMPONENT_TOKENPASTE2 (   x,
 
)    CE_EDITOR_COMPONENT_TOKENPASTE(x, y)