PCL
|
Typedefs | |
using | pcl::ColorComboBox::color_event_handler = void(Control::*)(ColorComboBox &sender, RGBA color) |
Functions | |
void | pcl::ColorComboBox::OnColorHighlighted (color_event_handler handler, Control &receiver) |
void | pcl::ColorComboBox::OnColorSelected (color_event_handler handler, Control &receiver) |
void | pcl::ColorComboBox::OnCustomColorDefined (color_event_handler handler, Control &receiver) |
using pcl::ColorComboBox::color_event_handler = void (Control::*)( ColorComboBox& sender, RGBA color ) |
Defines the prototype of a color combo box event handler.
A color combo box event is generated when an item is selected or highlighted in a color combo box, or when a new custom color has been defined.
sender | The ColorComboBox control that sends a color combo box event. |
color | The RGBA value of the color that has been selected or highlighted in the sender color combo box. |
Definition at line 186 of file ColorComboBox.h.
void pcl::ColorComboBox::OnColorHighlighted | ( | color_event_handler | handler, |
Control & | receiver | ||
) |
Sets the color highlighted event handler for this color combo box control.
handler | The color combo box event handler. Must be a member function of the receiver object's class. This handler will be called whenever a color is highlighted in this color combo box control. |
receiver | The control that will receive color highlighted events from this color combo box. |
void pcl::ColorComboBox::OnColorSelected | ( | color_event_handler | handler, |
Control & | receiver | ||
) |
Sets the color selected event handler for this color combo box.
handler | The color combo box event handler. Must be a member function of the receiver object's class. This handler will be called whenever a color is selected in this color combo box control. |
receiver | The control that will receive color selected events from this color combo box. |
void pcl::ColorComboBox::OnCustomColorDefined | ( | color_event_handler | handler, |
Control & | receiver | ||
) |
Sets the custom color defined event handler for this color combo box control.
handler | The color combo box event handler. Must be a member function of the receiver object's class. This handler will be called whenever a new custom color is defined in this color combo box control. |
receiver | The control that will receive custom color defined events from this color combo box. |