X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgrid.h;h=9324f95fac937b1bb53c1d1167a861da338109d8;hb=83f553a382ce554951594de85e4fd7b854305463;hp=621a29435318317be9aa7d00ea930b9efb93d3c2;hpb=b30edd979e6e9c7acfaaf3a90903814a7e62a71e;p=libs%2Fgltk.git diff --git a/source/grid.h b/source/grid.h index 621a294..9324f95 100644 --- a/source/grid.h +++ b/source/grid.h @@ -3,11 +3,12 @@ #include #include "arrangement.h" +#include "mspgltk_api.h" namespace Msp { namespace GLtk { -class Grid: public Arrangement +class MSPGLTK_API Grid: public Arrangement { public: class Loader: public DataFile::ObjectLoader @@ -29,8 +30,8 @@ private: std::vector columns; Edge row_top; Edge row_bottom; - bool first_row; - unsigned column; + bool first_row = true; + unsigned column = 0; public: Grid(Layout &, unsigned);