X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fentry.h;h=82a9d79f259e62d6969ee82aba7671a33c316c78;hb=10c448468c4e225fab701e69bdc296422bb3f509;hp=4854340a14f730a1fe90fcc9c847be1ce87514ce;hpb=ec63df81f6c3f77454b0fe3bdae24876c84616b1;p=libs%2Fgltk.git diff --git a/source/entry.h b/source/entry.h index 4854340..82a9d79 100644 --- a/source/entry.h +++ b/source/entry.h @@ -31,6 +31,7 @@ public: void multiline(bool); }; + // Deprecated sigc::signal signal_enter; private: @@ -51,7 +52,7 @@ public: virtual const char *get_class() const { return "entry"; } private: - virtual void autosize_special(const Part &, Geometry &); + virtual void autosize_special(const Part &, Geometry &) const; public: void set_text(const std::string &); @@ -69,15 +70,15 @@ private: virtual void render_special(const Part &, GL::Renderer &) const; public: - virtual void key_press(unsigned, unsigned); - virtual void character(wchar_t); + virtual bool key_press(unsigned, unsigned); + virtual bool character(wchar_t); virtual void focus_out(); + virtual bool navigate(Navigation); private: virtual void on_geometry_change(); virtual void on_style_change(); void set_edit_position(unsigned); - void reposition_slider(); void check_view_range(); void slider_value_changed(double); };