EmbeddedArtists AB / ewgui

Dependents:   app_emwin1 app_emwin2_pos lpc4088_ebb_gui_emwin

Embed: (wiki syntax)

« Back to documentation index

EwCheckBox Class Reference

EwCheckBox Class Reference

This is wrapper class for the emwin CHECKBOX interface. More...

#include <EwCheckBox.h>

Inherits EwWindow.

Public Member Functions

template<typename T >
void setChangedListener (T *tptr, void(T::*mptr)(EwWindow *w))
 Register a member function that will called when the checkbox state has changed.
void setChangedListener (void(*fptr)(EwWindow *w))
 Register a function that will called when the checkbox state has changed.

Detailed Description

This is wrapper class for the emwin CHECKBOX interface.

Definition at line 34 of file EwCheckBox.h.


Member Function Documentation

void setChangedListener ( void(*)(EwWindow *w)  fptr )

Register a function that will called when the checkbox state has changed.

Parameters:
fptrA pointer to a void function that will be called when the checkbox state has changed

Definition at line 84 of file EwCheckBox.cpp.

void setChangedListener ( T *  tptr,
void(T::*)(EwWindow *w)  mptr 
)

Register a member function that will called when the checkbox state has changed.

Parameters:
tptrpointer to the object to call the member function on
mptrpointer to the member function to be called

Definition at line 72 of file EwCheckBox.h.