sigc::signal<void, int> signal_response;
private:
- bool stale;
+ bool stale = false;
public:
- Dialog();
-
- virtual const char *get_class() const { return "dialog"; }
+ const char *get_class() const override { return "dialog"; }
/** Adds an action button to the dialog. Pressing the button will invoke
response handlers and delete the dialog. */
away from the dialog. */
void set_modal(bool);
- virtual void button_release(int, int, unsigned);
- virtual bool key_release(unsigned, unsigned);
- virtual bool navigate(Navigation);
+ void button_release(int, int, unsigned) override;
+ bool key_release(unsigned, unsigned) override;
+ bool navigate(Navigation) override;
protected:
void response(int);
void check_stale();