17 void* value_ptr,
const std::string& value_type,
18 const std::string& gui_type,
const std::string& options,
bool* toggles) = 0;
26 void* value_ptr,
const std::string& value_type,
27 const std::string& gui_type =
"",
const std::string& options =
"",
bool* toggles = 0);
31class gui_creator_registration
34 gui_creator_registration(
const char* creator_name) {
43#include <cgv/config/lib_end.h>
derive from this class to provide a gui to the current viewer
namespace that holds the abstract gui interface
void register_gui_creator(gui_creator *gc, const char *creator_name)
register a gui creator
bool create_gui(provider *p, const std::string &label, void *value_ptr, const std::string &value_type, const std::string &gui_type, const std::string &options, bool *toggles)
create the gui for a composed structure
this header is dependency free
interface for gui creators
virtual bool create(provider *p, const std::string &label, void *value_ptr, const std::string &value_type, const std::string &gui_type, const std::string &options, bool *toggles)=0
attempt to create a gui and return whether this was successful