X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgeometry.h;h=4fe6a75ae33dab5a89fa2f907a177a6ee644fcc9;hb=73afd124ab87e8bace98db55517a56c797a9b8c7;hp=08d660eeb05a4b9507968a6f8845924e524f70e1;hpb=2f70d404230954f0693a62a021b5d2ad1faed8fa;p=libs%2Fgltk.git diff --git a/source/geometry.h b/source/geometry.h index 08d660e..4fe6a75 100644 --- a/source/geometry.h +++ b/source/geometry.h @@ -8,7 +8,7 @@ Distributed under the LGPL #ifndef MSP_GLTK_GEOMETRY_H_ #define MSP_GLTK_GEOMETRY_H_ -#include +#include namespace Msp { namespace GLtk { @@ -33,13 +33,10 @@ Specifies margins on the sides of an element. */ struct Sides { - class Loader: public DataFile::Loader + class Loader: public DataFile::ObjectLoader { public: Loader(Sides &); - Sides &get_object() { return sides; } - private: - Sides &sides; }; unsigned top;