Home2L - C/C++ API v1.4-0-g38cc (2024-05-25)
Smart Tools for a Private Home
|
Horizontal or vertical slider.
Classes | |
class | CSlider |
Slider widget. More... | |
Macros | |
#define | SLIDER_WIDTH 48 |
Default width of a slider. | |
#define | SLIDER_BAR_HEIGHT 16 |
Default height of a slider bar. | |
#define | SLIDER_TRAMPOLINE(CB_NAME, CLASS_NAME, METHOD_NAME) |
Macro to define a trampoline to another class. More... | |
#define SLIDER_TRAMPOLINE | ( | CB_NAME, | |
CLASS_NAME, | |||
METHOD_NAME | |||
) |
Macro to define a trampoline to another class.
The class must define a method:
void CLASS_NAME::METHOD_NAME (CSlider *slider, int val, int lastVal)
If the method is protected, the following line may be added to the class:
friend CB_NAME (CButton *, int, int, void *);
To the slider, the trampoline must be passed by a call like:
CSlider::SetCbValueChanged (CB_NAME, <class object pointer>)
Definition at line 991 of file ui_widgets.H.