]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dropdown.h
Cache widget parts in meshes
[libs/gltk.git] / source / dropdown.h
index 598ad8035bf35459471487b557e693b6261e39a2..4af5a5fe9a265cb484a509950ee5982d8d486713 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2007-2011  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GLTK_DROPDOWN_H_
 #define MSP_GLTK_DROPDOWN_H_
 
@@ -52,6 +45,7 @@ public:
        int get_selected_index() const;
 
 private:
+       virtual void rebuild_special(const Part &, CachedPart &);
        virtual void render_special(const Part &) const;
 
 public:
@@ -60,6 +54,7 @@ private:
        virtual void on_geometry_change();
        virtual void on_style_change();
 
+       void list_autosize_changed();
        void resize_list();
        void list_item_selected(unsigned, const std::string &);
 };