void init();
public:
- virtual const char *get_class() const { return "dropdown"; }
+ const char *get_class() const override { return "dropdown"; }
private:
- virtual void autosize_special(const Part &, Geometry &) const;
+ void autosize_special(const Part &, Geometry &) const override;
public:
void set_data(ListData &d) { list.set_data(d); }
int get_selected_index() const { return list.get_selected_index(); }
private:
- virtual void rebuild_special(const Part &);
- virtual void render_special(const Part &, GL::Renderer &) const;
+ void rebuild_special(const Part &) override;
+ void render_special(const Part &, GL::Renderer &) const override;
public:
- virtual void button_press(int, int, unsigned);
- virtual bool navigate(Navigation);
+ void button_press(int, int, unsigned) override;
+ bool navigate(Navigation) override;
private:
- virtual void on_size_change();
- virtual void on_style_change();
+ void on_size_change() override;
+ void on_style_change() override;
void open_list();
void close_list();