diff --git a/src/graphics/components/Component.h b/src/graphics/components/Component.h index c40e83881a1b3303e4282809bcd24f7ff55a3e1e..2924db028633bc61e837502108bc457cb5cfe8fc 100644 --- a/src/graphics/components/Component.h +++ b/src/graphics/components/Component.h @@ -149,6 +149,8 @@ public: std::function<void()> onClick = nullptr; std::function<void()> onFocus = nullptr; std::function<void()> onBlur = nullptr; + std::function<void()> onMouseover = nullptr; + std::function<void()> onMouseout = nullptr; }; #endif