Move noAction to cLed since its purpose is mainly to prevent the default LED toggle-selected action without introducing any alternate behaviour.
This commit is contained in:
@@ -72,6 +72,7 @@ protected:
|
||||
class cLed : public cButton {
|
||||
public:
|
||||
static void init();
|
||||
static bool noAction(cDialog&,std::string,eKeyMod) {return true;}
|
||||
void attachClickHandler(click_callback_t f) throw();
|
||||
void attachFocusHandler(focus_callback_t f) throw();
|
||||
bool triggerClickHandler(cDialog& me, std::string id, eKeyMod mods);
|
||||
|
Reference in New Issue
Block a user