+ unsigned first_row;
+ unsigned visible_rows;
+ const Part *text_part;
+ VSlider *slider;
+
+public:
+ Entry(const std::string & = std::string());
+
+ virtual const char *get_class() const { return "entry"; }
+
+ virtual void autosize();
+
+ void set_text(const std::string &);
+ const std::string &get_text() const { return text.get(); }
+ void set_multiline(bool);
+ bool is_multiline() const { return multiline; }
+
+private:
+ virtual void rebuild_special(const Part &, CachedPart &);
+ virtual void render_special(const Part &, GL::Renderer &) const;
+
+public:
+ virtual void key_press(unsigned, unsigned);
+ virtual void character(wchar_t);
+private:
+ virtual void on_geometry_change();
+ virtual void on_style_change();