X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flist.h;h=2970bb454b19425a5a3626de1c025facd8ccebc3;hb=1aa6cd9b865e366737dcc9d2d36c4f8faed5bc4f;hp=b3b3a88704207470ef3825b16ca30c9161644338;hpb=43ac7c4514658754d09552463425bcd344fb9ded;p=libs%2Fgltk.git diff --git a/source/list.h b/source/list.h index b3b3a88..2970bb4 100644 --- a/source/list.h +++ b/source/list.h @@ -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_LIST_H_ #define MSP_GLTK_LIST_H_ @@ -56,6 +49,9 @@ public: void insert(unsigned, const std::string &); void remove(unsigned); void clear(); +private: + void items_changed(); +public: unsigned get_n_items() const { return items.size(); } void set_selected_index(int); @@ -63,6 +59,7 @@ public: int get_selected_index() const { return sel_index; } private: + virtual void rebuild_special(const Part &, CachedPart &); virtual void render_special(const Part &) const; public: