PCL
|
Typedefs | |
using | pcl::Button::check_event_handler = void(Control::*)(Button &sender, Button::check_state state) |
using | pcl::Button::click_event_handler = void(Control::*)(Button &sender, bool checked) |
using | pcl::Button::press_event_handler = void(Control::*)(Button &sender) |
Functions | |
void | pcl::Button::OnCheck (check_event_handler handler, Control &receiver) |
void | pcl::Button::OnClick (click_event_handler handler, Control &receiver) |
void | pcl::Button::OnPress (press_event_handler handler, Control &receiver) |
void | pcl::Button::OnRelease (press_event_handler handler, Control &receiver) |
using pcl::Button::check_event_handler = void (Control::*)( Button& sender, Button::check_state state ) |
Defines the prototype of a button check event handler.
A button check event is generated when a checkable button control changes its check state, either by clicking it with the mouse, or by activating it with the keyboard.
sender | The control that sends a button press event. |
state | The current check state of the sender button. |
using pcl::Button::click_event_handler = void (Control::*)( Button& sender, bool checked ) |
Defines the prototype of a button click event handler.
A button click event is generated when a button control is clicked with the mouse (pressed down then released while the mouse cursor stays within the button) or activated with the keyboard.
sender | The control that sends a button click event. |
checked | Whether the sender button is currently checked. |
using pcl::Button::press_event_handler = void (Control::*)( Button& sender ) |
void pcl::Button::OnCheck | ( | check_event_handler | handler, |
Control & | receiver | ||
) |
Sets the button check event handler for this button.
handler | The button check event handler. Must be a member function of the receiver object's class. |
receiver | The control that will receive check events from this button. |
void pcl::Button::OnClick | ( | click_event_handler | handler, |
Control & | receiver | ||
) |
Sets the button click event handler for this button.
handler | The button click event handler. Must be a member function of the receiver object's class. |
receiver | The control that will receive click events from this button. |
void pcl::Button::OnPress | ( | press_event_handler | handler, |
Control & | receiver | ||
) |
Sets the button press event handler for this button.
handler | The button press event handler. Must be a member function of the receiver object's class. |
receiver | The control that will receive press events from this button. |
void pcl::Button::OnRelease | ( | press_event_handler | handler, |
Control & | receiver | ||
) |
Sets the button release event handler for this button.
handler | The button release event handler. Must be a member function of the receiver object's class. |
receiver | The control that will receive release events from this button. |