5#include "Resources/Resources.h"
7#include "Foundation/ComponentModel/Component.h"
15 enum class GuiPointerSource
28 uint32_t listenerID = 0;
30 glm::vec2 planeSize = { 1, 1 };
32 GuiPointerSource pointerSource = GuiPointerSource::Auto;
33 std::string pointerAction =
"LeftMouse";
37 bool alwaysInvalidate =
false;
39 static void registerType();
44template<>
inline Cogs::StringView getName<Cogs::Core::GuiPointerSource>() {
return "GuiPointerSource"; }
45template<>
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.