3#include <cgv/base/base.h>
23 virtual void show(
bool modal =
false) = 0;
45#include <cgv/config/lib_end.h>
std::string name
store the name as a string
reference counted pointer, which can work together with types that are derived from ref_counted,...
gui_group(const std::string &name="")
construct from name
window(const std::string &name)
construct from name
virtual bool dispatch_event(event &e)
dispatch a cgv event
virtual void show(bool modal=false)=0
show the window. This needs to be called after creation to make the window visible
virtual gui_group_ptr get_inner_group()
return the group that is managing the content of the window
std::string get_type_name() const
overload to return the type name of this object
virtual void hide()=0
hide the window
namespace that holds the abstract gui interface
data::ref_ptr< window > window_ptr
ref counted pointer to &window
data::ref_ptr< gui_group, true > gui_group_ptr
ref counted pointer to a gui group
data::ref_ptr< const window > const_window_ptr
ref counted pointer to const window
this header is dependency free