class button : public gadget { 
button
public: button() : gadget(PRESS) { } void callback() { cout << "..."; } };

slide: Another button class