#pragma once #include #include #include #include "lib_begin.h" namespace cgv { namespace gui { /// %gui independent %button class that provides a click signal class CGV_API button : public base::node { public: /// construct from name button(const std::string& name = ""); /// overload to return the type name of this object std::string get_type_name() const; /// this signal is sent when the user presses the %button cgv::signal::signal click; }; /// ref counted pointer to button typedef data::ref_ptr