]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dropdown.h
Change State into a bitmask to allow more fine-grained control of styles
[libs/gltk.git] / source / dropdown.h
index d1a2609772fbe85047664f33a599c9c9d008d009..49088e20f2dc8e01e6567f7b6eb69618f1febc0a 100644 (file)
@@ -30,6 +30,7 @@ public:
 private:
        List *list;
        std::string text;
+       bool dropped;
        bool list_active;
 
 public:
@@ -43,8 +44,6 @@ public:
        virtual void button_press(int, int, unsigned);
        virtual void button_release(int, int, unsigned);
        virtual void pointer_motion(int, int);
-       virtual void pointer_enter();
-       virtual void pointer_leave();
 private:
        virtual const char *get_class() const { return "dropdown"; }
        virtual void render_special(const Part &) const;