]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/list.h
Fix a crash if the linear program contains an empty column
[libs/gltk.git] / source / list.h
index b6cae50c876071747945d01cd8f3d1ee3d7231c1..56fe6aafd92ee5d2fd033eab45c045c2c724ebe4 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_LIST_H_
 #define MSP_GLTK_LIST_H_
 
@@ -49,6 +42,8 @@ public:
        virtual const char *get_class() const { return "list"; }
 
        virtual void autosize();
+       void autosize_rows(unsigned);
+       void autosize_all();
 
        void append(const std::string &);
        void insert(unsigned, const std::string &);