]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/part.h
typedef tweaks
[libs/gltk.git] / source / part.h
index edc8f77a5b84230d883d277f5bf29c2e77fe6ef9..a3c0dcf4a109eb045c162a4f007c5b937d911d81 100644 (file)
@@ -8,10 +8,8 @@ Distributed under the LGPL
 #ifndef MSP_GLTK_PART_H_
 #define MSP_GLTK_PART_H_
 
-#include <map>
 #include <string>
 #include <msp/datafile/loader.h>
-//#include "alignment.h"
 #include "geometry.h"
 #include "state.h"
 
@@ -41,6 +39,7 @@ public:
                void align(float, float);
                void fill(float, float);
                void margin();
+               void size(unsigned, unsigned);
        };
 
 private:
@@ -59,7 +58,6 @@ public:
        const Alignment &get_alignment() const { return align; }
        void render(const Geometry &, State) const;
 };
-typedef std::list<Part> PartSeq;
 
 } // namespace GLtk
 } // namespace Msp