selectionbox.h
void setUserCB(Widget::CBUserSelection cbUserSelection)
cbUserSelection will be invoked per user selection
std::function< void(Widget *, int)> CBUserSelection
signature of a callback which gets a user selection
Definition: widget.h:48
virtual const char * getType() const
getType is always implemented by derived to return the same static pointer per widget.
static std::shared_ptr< SelectionBox > create(Layout &layoutVal, std::vector< std::string > selectionNames, Widget::CBUserSelection cbUserSelection=Widget::CBUserSelection(), const cv::Point &pos=cv::Point(0, 0))
create a selection box widget
Generated by 1.8.11