]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/entry.h
Change mspparser -> mspdatafile
[libs/gltk.git] / source / entry.h
index b09ecb1f024d131161d76771d6b1a5ff7dd33059..2c9c31448cd4f2c6c3b6403297956109427b412e 100644 (file)
@@ -11,13 +11,13 @@ class Entry: public Widget
 public:
        Entry(const Resources &, const std::string & =std::string());
        void set_text(const std::string &);
+       const std::string &get_text() const { return text; }
        void key_press(unsigned, unsigned, wchar_t);
        void focus_in();
        void focus_out();
 private:
        std::string text;
        unsigned edit_pos;
-       bool active;
 
        const char *get_class() const { return "entry"; }
        void render_part(const Part &) const;