X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fentry.h;h=fbd5f921054b3a0c17d1ed0a1385475c710831fe;hb=f0b600c3b1739f7e088da6ab8eb7c2e67adf592c;hp=edea4c3a2a1b4ad8b04e32520fc84ace645dc04a;hpb=319cde3c06181ba1c3619567525002926d8b4889;p=libs%2Fgltk.git diff --git a/source/entry.h b/source/entry.h index edea4c3..fbd5f92 100644 --- a/source/entry.h +++ b/source/entry.h @@ -22,6 +22,15 @@ Special parts: class Entry: virtual public Widget, private Container { public: + class Loader: public DataFile::DerivedObjectLoader + { + public: + Loader(Entry &); + + private: + void multiline(bool); + }; + sigc::signal signal_enter; private: @@ -41,8 +50,10 @@ public: virtual const char *get_class() const { return "entry"; } - virtual void autosize(); +private: + virtual void autosize_special(const Part &, Geometry &) const; +public: void set_text(const std::string &); const std::string &get_text() const { return text.get(); } @@ -66,7 +77,6 @@ private: virtual void on_style_change(); void set_edit_position(unsigned); - void reposition_slider(); void check_view_range(); void slider_value_changed(double); };