5#include "Resources/Resources.h"
7#include "Foundation/ComponentModel/Component.h"
15 enum class GuiPointerSource
29 glm::vec2 planeSize = { 1, 1 };
31 GuiPointerSource pointerSource = GuiPointerSource::Auto;
32 std::string pointerAction =
"LeftMouse";
36 bool alwaysInvalidate =
false;
38 static void registerType();
43template<>
inline Cogs::StringView getName<Cogs::Core::GuiPointerSource>() {
return "GuiPointerSource"; }
44template<>
inline Cogs::StringView getName<Cogs::Core::GuiComponent>() {
return "GuiComponent"; }
Base class for Component instances.
Provides a weakly referenced view over the contents of a string.
std::shared_ptr< ComponentModel::Entity > EntityPtr
Smart pointer for Entity access.
Contains all Cogs related functionality.