8 #ifndef SSG_HAVECONTEXTMENU_HPP_ 9 #define SSG_HAVECONTEXTMENU_HPP_ 11 #include "Pressable.hpp" 18 void setMenu(
const std::shared_ptr<Element>& menu);
19 virtual void draw(sf::RenderTarget& target,
const sf::RenderStates& states)
const;
20 virtual bool update(sf::Vector2f pointerPos,
bool pressLeft,
bool pressRight,
bool aboveHover);
21 void setMenuActive(
bool menuActive);
25 std::shared_ptr<Element> menu;
Definition: Pressable.hpp:42