cgv
|
type independent base class of control provider interface More...
#include <control.h>
Public Member Functions | |
virtual bool | controls (const void *ptr, void *user_data) const =0 |
overload to check if ptr points to the controlled value More... | |
type independent base class of control provider interface
|
pure virtual |
overload to check if ptr points to the controlled value
The method is used when searching controls with find_control. The default implementation compares ptr to get_value_void().
Implemented in cgv::gui::control_provider< T >, and cgv::gui::control_provider< bool >.