#ifndef SPECTER_MENU_HPP
#define SPECTER_MENU_HPP
#include "View.hpp"
#include "TextView.hpp"
#include "ScrollView.hpp"
namespace Specter
{
struct IMenuNode
{
virtual boo::ITexture* icon() const {return nullptr;}
virtual const std::string* text() const {return nullptr;}
virtual size_t subNodeCount() const {return 0;}
virtual IMenuNode* subNode(size_t idx) {return nullptr;}
virtual void activated(const boo::SWindowCoord& coord) {}
};
class Menu : public View
{
IMenuNode* m_rootNode;
IMenuNode* m_thisNode;
std::unique_ptr