]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/table.h
Consider part margins when autosizing
[libs/gltk.git] / source / table.h
index 190973e11c07baeacde9bbd2fa675e13dc2b4e78..072714416fa6880132bdcb6ee7207d035b9c6eb2 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2008  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GLTK_TABLE_H_
 #define MSP_GLTK_TABLE_H_
 
@@ -36,7 +29,7 @@ private:
        std::vector<unsigned> col_w;
 
 public:
-       Table(const Resources &);
+       Table();
 
        void set_rows(unsigned);
        void set_columns(unsigned);
@@ -48,7 +41,7 @@ public:
 private:
        virtual const char *get_class() const { return "table"; }
 
-       virtual void render_special(const Part &) const;
+       virtual void rebuild_special(const Part &, CachedPart &);
        virtual void on_style_change();
 };